@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/us/qicore/Patient/example-2> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-2"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient example-2</b></p><a name=\"example-2\"> </a><a name=\"hcexample-2\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-patient.html\">QICore Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Sarah Hugankiss (official) Female, DoB: 1946-09-25 ( Medical record number (use: usual, period: 1995-05-06 --&gt; (ongoing)))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td>true</td><td style=\"background-color: #f3f5da\" title=\"Known status of Patient\">Deceased:</td><td colspan=\"3\">false</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: (202) 212 1212(Mobile)</li><li>1600 Pennslyvania Ave(home)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Nominated Contact: Next-of-Kin\">Next-of-Kin:</td><td colspan=\"3\"><ul><li>Bénédicte du Marché  (Female)</li><li>534 Erewhon St PleasantVille VT 3999 (home)</li><li><a href=\"tel:+33(237)998327\">+33 (237) 998327</a></li><li>Valid Period:2012 --&gt; (ongoing)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Patient Links\">Links:</td><td colspan=\"3\"><ul><li>Managing Organization: <a href=\"Organization-example.html\">Organization Health Level Seven International</a></li></ul></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  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:1.2.36.146.595.217.0.1"^^xsd:anyURI ;
       fhir:l <urn:oid:1.2.36.146.595.217.0.1>
     ] ;
     fhir:value [ fhir:v "12345" ] ;
     fhir:period [
       fhir:start [ fhir:v "1995-05-06"^^xsd:date ]
     ] ;
     fhir:assigner [
       fhir:display [ fhir:v "Acme Healthcare" ]
     ]
  ] ) ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:family [ fhir:v "Hugankiss" ] ;
     fhir:given ( [ fhir:v "Sarah" ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "(202) 212 1212" ] ;
     fhir:use [ fhir:v "mobile" ] ;
     fhir:rank [ fhir:v "1"^^xsd:positiveInteger ]
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [
     fhir:v "1946-09-25"^^xsd:date ;
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org/fhir/StructureDefinition/patient-birthTime"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/StructureDefinition/patient-birthTime>
       ] ;
       fhir:value [
         a fhir:DateTime ;
         fhir:v "1946-09-25T14:35:45-05:00"^^xsd:dateTime
       ]
     ] )
  ] ; # 
  fhir:deceased [
     a fhir:Boolean ;
     fhir:v false
  ] ; # 
  fhir:address ( [
     fhir:use [ fhir:v "home" ] ;
     fhir:type [ fhir:v "both" ] ;
     fhir:text [ fhir:v "1600 Pennslyvania Ave" ] ;
     fhir:line ( [ fhir:v "1600 Pennslyvania Ave" ] ) ;
     fhir:city [ fhir:v "Washington DC" ] ;
     fhir:state [ fhir:v "DC" ] ;
     fhir:postalCode [ fhir:v "20500" ] ;
     fhir:period [
       fhir:start [ fhir:v "1946-12-25"^^xsd:date ]
     ]
  ] ) ; # 
  fhir:contact ( [
     fhir:relationship ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0131"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0131>
         ] ;
         fhir:code [ fhir:v "N" ]
       ] )
     ] ) ;
     fhir:name [
       fhir:family [
         fhir:v "du Marché" ;
         fhir:extension ( [
           fhir:url [
             fhir:v "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/StructureDefinition/humanname-own-prefix>
           ] ;
           fhir:value [
             a fhir:String ;
             fhir:v "VV"
           ]
         ] ) #     the \"du\" part is a family name prefix (VV in iso 21090)    
       ] ;
       fhir:given ( [ fhir:v "Bénédicte" ] )
     ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "phone" ] ;
       fhir:value [ fhir:v "+33 (237) 998327" ]
     ] ) ;
     fhir:address [
       fhir:use [ fhir:v "home" ] ;
       fhir:type [ fhir:v "both" ] ;
       fhir:line ( [ fhir:v "534 Erewhon St" ] ) ;
       fhir:city [ fhir:v "PleasantVille" ] ;
       fhir:district [ fhir:v "Rainbow" ] ;
       fhir:state [ fhir:v "VT" ] ;
       fhir:postalCode [ fhir:v "3999" ] ;
       fhir:period [
         fhir:start [ fhir:v "1974-12-25"^^xsd:date ]
       ]
     ] ;
     fhir:gender [ fhir:v "female" ] ;
     fhir:period [
       fhir:start [ fhir:v "2012"^^xsd:gYear ] #     The contact relationship started in 2012    
     ]
  ] ) ; # 
  fhir:managingOrganization [
     fhir:l <http://hl7.org/fhir/us/qicore/Organization/example> ;
     fhir:reference [ fhir:v "Organization/example" ]
  ] . # 

<http://hl7.org/fhir/us/qicore/Organization/example> a fhir:Us .

# -------------------------------------------------------------------------------------

