@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://mohcc.gov.zw/fhir/core/Patient/zw-patient-example> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "zw-patient-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://mohcc.gov.zw/fhir/core/StructureDefinition/zw-patient"^^xsd:anyURI ;
       fhir:link <http://mohcc.gov.zw/fhir/core/StructureDefinition/zw-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 zw-patient-example</b></p><a name=\"zw-patient-example\"> </a><a name=\"hczw-patient-example\"> </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-zw-patient.html\">Zimbabwe Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Tendai Moyo (official) Female, DoB: 1985-06-15 ( http://mohcc.gov.zw/identifiers/nationalID#ZimNationalIdentity#01-234567B89)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Known Marital status of Patient\">Marital Status:</td><td colspan=\"3\"><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-MaritalStatus M}\">Married</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Other Id (see the one above)\">Other Id:</td><td colspan=\"3\"><a href=\"NamingSystem-zw-phid-ns.html\" title=\"Identifier system for the Patient Health ID (PHID) issued by the Impilo EMR. PROVISIONAL URL pending the official MOHCC / Impilo system.\">ZimPatientHealthId</a>/486B3072</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li><a href=\"tel:+263772123456\">+263772123456</a></li><li>123 Main Street Harare HA 00263 ZW (home)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Language spoken\">Language:</td><td colspan=\"3\"><span title=\"Codes:{urn:ietf:bcp:47 sn}\">Shona</span> (preferred)</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Nominated Contact: Next-of-Kin\">Next-of-Kin:</td><td colspan=\"3\"><ul><li>Farai Moyo </li><li><a href=\"tel:+263772987654\">+263772987654</a></li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The patient's legal status as citizen of a country.\">Patient Citizenship:</td><td colspan=\"3\"><ul><li>code: <span title=\"Codes:{http://mohcc.gov.zw/fhir/core/CodeSystem/ZimCountryCS ZW}\">Zimbabwe</span></li></ul></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:extension ( [
       fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://mohcc.gov.zw/fhir/core/CodeSystem/ZimCountryCS"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "ZW" ] ;
           fhir:display [ fhir:v "Zimbabwe" ]
         ] )
       ]
     ] ) ;
     fhir:url [ fhir:v "http://mohcc.gov.zw/fhir/core/StructureDefinition/citizenship"^^xsd:anyURI ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://mohcc.gov.zw/identifiers/nationalID"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "01-234567B89" ]
  ] [
     fhir:system [ fhir:v "http://mohcc.gov.zw/identifiers/phid"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "486B3072" ]
  ] ) ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:family [ fhir:v "Moyo" ] ;
     fhir:given ( [ fhir:v "Tendai" ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "+263772123456" ] ;
     fhir:use [ fhir:v "mobile" ]
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1985-06-15"^^xsd:date] ; # 
  fhir:address ( [
     fhir:use [ fhir:v "home" ] ;
     fhir:line ( [ fhir:v "123 Main Street" ] ) ;
     fhir:city [ fhir:v "Harare" ] ;
     fhir:district [ fhir:v "010A" ] ;
     fhir:state [ fhir:v "HA" ] ;
     fhir:postalCode [ fhir:v "00263" ] ;
     fhir:country [ fhir:v "ZW" ]
  ] ) ; # 
  fhir:maritalStatus [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "M" ] ;
       fhir:display [ fhir:v "Married" ]
     ] )
  ] ; # 
  fhir:contact ( [
     fhir:relationship ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0131"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "N" ] ;
         fhir:display [ fhir:v "Next-of-Kin" ]
       ] )
     ] ) ;
     fhir:name [
       fhir:family [ fhir:v "Moyo" ] ;
       fhir:given ( [ fhir:v "Farai" ] )
     ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "phone" ] ;
       fhir:value [ fhir:v "+263772987654" ]
     ] )
  ] ) ; # 
  fhir:communication ( [
     fhir:language [
       fhir:coding ( [
         fhir:system [ fhir:v "urn:ietf:bcp:47"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "sn" ] ;
         fhir:display [ fhir:v "Shona" ]
       ] )
     ] ;
     fhir:preferred [ fhir:v true ]
  ] ) . # 

# -------------------------------------------------------------------------------------

