@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/Patient/pat2> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "pat2"] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "usual" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
         ] ;
         fhir:code [ fhir:v "MR" ]
       ] )
     ] ;
     fhir:system [
       fhir:v "urn:oid:0.1.2.3.4.5.6.7"^^xsd:anyURI ;
       fhir:l <urn:oid:0.1.2.3.4.5.6.7>
     ] ;
     fhir:value [ fhir:v "123456" ]
  ] ) ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:family [ fhir:v "Donald" ] ;
     fhir:given ( [ fhir:v "Duck" ] [ fhir:v "D" ] )
  ] ) ; # 
  fhir:gender [
     fhir:v "other" ;
     fhir:extension ( [
       fhir:url [
         fhir:v "http://example.org/Profile/administrative-status"^^xsd:anyURI ;
         fhir:l <http://example.org/Profile/administrative-status>
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/v2-0001"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/v2-0001>
           ] ;
           fhir:code [ fhir:v "A" ] ;
           fhir:display [ fhir:v "Ambiguous" ]
         ] )
       ]
     ] )
  ] ; # 
  fhir:photo ( [
     fhir:contentType [ fhir:v "image/gif" ] ;
     fhir:data [ fhir:v "[encoded data, 99912 characters]"^^xsd:base64Binary ]
  ] ) ; # 
  fhir:managingOrganization [
     fhir:l <http://hl7.org/fhir/Organization/1> ;
     fhir:reference [ fhir:v "Organization/1" ] ;
     fhir:display [ fhir:v "ACME Healthcare, Inc" ]
  ] ; # 
  fhir:link ( [
     fhir:other [
       fhir:l <http://hl7.org/fhir/Patient/pat1> ;
       fhir:reference [ fhir:v "Patient/pat1" ]
     ] ;
     fhir:type [ fhir:v "seealso" ]
  ] ) . # 

<http://hl7.org/fhir/Organization/1> a fhir:Organization .

<http://hl7.org/fhir/Patient/pat1> a fhir:Patient .

# -------------------------------------------------------------------------------------

