@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://localhost:8085/fhir/Patient/PatientKPS> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "PatientKPS"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://localhost:8085/fhir/StructureDefinition/ke-kps-patient"^^xsd:anyURI ;
       fhir:l <http://localhost:8085/fhir/StructureDefinition/ke-kps-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 PatientKPS</b></p><a name=\"PatientKPS\"> </a><a name=\"hcPatientKPS\"> </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-ke-kps-patient.html\">Patient Profile - KPS</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Amina Mohamed  Female, DoB: 1992-03-25 ( http://moh.kenya/identifier/nationalID-no#12345678)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li><a href=\"tel:+254700123456\">+254700123456</a></li><li>Limuru Road Parklands Nairobi 00100 KE </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>Fatuma Abdullahi </li><li><a href=\"tel:+254711223344\">+254711223344</a></li></ul></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://moh.kenya/identifier/nationalID-no"^^xsd:anyURI ;
       fhir:l <http://moh.kenya/identifier/nationalID-no>
     ] ;
     fhir:value [ fhir:v "12345678" ]
  ] ) ; # 
  fhir:name ( [
     fhir:family [ fhir:v "Mohamed" ] ;
     fhir:given ( [ fhir:v "Amina" ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "+254700123456" ] ;
     fhir:use [ fhir:v "mobile" ]
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1992-03-25"^^xsd:date] ; # 
  fhir:address ( [
     fhir:line ( [ fhir:v "Limuru Road" ] ) ;
     fhir:city [ fhir:v "Parklands" ] ;
     fhir:district [ fhir:v "Westlands" ] ;
     fhir:state [ fhir:v "Nairobi" ] ;
     fhir:postalCode [ fhir:v "00100" ] ;
     fhir:country [ fhir:v "KE" ]
  ] ) ; # 
  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 "Abdullahi" ] ;
       fhir:given ( [ fhir:v "Fatuma" ] )
     ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "phone" ] ;
       fhir:value [ fhir:v "+254711223344" ] ;
       fhir:use [ fhir:v "mobile" ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

