@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 -------------------------------------------------------------------

<https://nshr-uat.sha.go.ke/fhir/Patient/ECLM-PT-001> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ECLM-PT-001"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-eclaims-patient"^^xsd:anyURI ;
       fhir:l <https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-eclaims-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 ECLM-PT-001</b></p><a name=\"ECLM-PT-001\"> </a><a name=\"hcECLM-PT-001\"> </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-eclaims-patient.html\">eClaims Patient Profile</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">John Mwangi Kamau (official) Male, DoB: 1985-06-15 ( National ID: 12345678 (use: official, ))</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:{https://nshr-uat.sha.go.ke/fhir/CodeSystem/civil-status-cs MARRIED}\">Married</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Other Id (see the one above)\">Other Id:</td><td colspan=\"3\">SHA Number/SHA-2024-001234 (use: official, )</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:+254712345678\">+254712345678</a></li><li>Nairobi Nairobi County KE (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>Mary Kamau </li><li><a href=\"tel:+254798765432\">+254798765432</a></li></ul></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "https://nshr-uat.sha.go.ke/fhir/CodeSystem/identifier-types-cs"^^xsd:anyURI ;
           fhir:l <https://nshr-uat.sha.go.ke/fhir/CodeSystem/identifier-types-cs>
         ] ;
         fhir:code [ fhir:v "SHA-NUMBER" ] ;
         fhir:display [ fhir:v "SHA Number" ]
       ] )
     ] ;
     fhir:system [
       fhir:v "https://nshr-uat.sha.go.ke/fhir/Identifier/sha-number"^^xsd:anyURI ;
       fhir:l <https://nshr-uat.sha.go.ke/fhir/Identifier/sha-number>
     ] ;
     fhir:value [ fhir:v "SHA-2024-001234" ]
  ] [
     fhir:use [ fhir:v "official" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "https://nshr-uat.sha.go.ke/fhir/CodeSystem/identifier-types-cs"^^xsd:anyURI ;
           fhir:l <https://nshr-uat.sha.go.ke/fhir/CodeSystem/identifier-types-cs>
         ] ;
         fhir:code [ fhir:v "NATIONAL-ID" ] ;
         fhir:display [ fhir:v "National ID" ]
       ] )
     ] ;
     fhir:system [
       fhir:v "https://nshr-uat.sha.go.ke/fhir/Identifier/national-id"^^xsd:anyURI ;
       fhir:l <https://nshr-uat.sha.go.ke/fhir/Identifier/national-id>
     ] ;
     fhir:value [ fhir:v "12345678" ]
  ] ) ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:family [ fhir:v "Kamau" ] ;
     fhir:given ( [ fhir:v "John" ] [ fhir:v "Mwangi" ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "+254712345678" ] ;
     fhir:use [ fhir:v "mobile" ]
  ] ) ; # 
  fhir:gender [ fhir:v "male"] ; # 
  fhir:birthDate [ fhir:v "1985-06-15"^^xsd:date] ; # 
  fhir:address ( [
     fhir:use [ fhir:v "home" ] ;
     fhir:city [ fhir:v "Nairobi" ] ;
     fhir:district [ fhir:v "Westlands" ] ;
     fhir:state [ fhir:v "Nairobi County" ] ;
     fhir:country [ fhir:v "KE" ]
  ] ) ; # 
  fhir:maritalStatus [
     fhir:coding ( [
       fhir:system [
         fhir:v "https://nshr-uat.sha.go.ke/fhir/CodeSystem/civil-status-cs"^^xsd:anyURI ;
         fhir:l <https://nshr-uat.sha.go.ke/fhir/CodeSystem/civil-status-cs>
       ] ;
       fhir:code [ fhir:v "MARRIED" ] ;
       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:l <http://terminology.hl7.org/CodeSystem/v2-0131>
         ] ;
         fhir:code [ fhir:v "N" ] ;
         fhir:display [ fhir:v "Next-of-Kin" ]
       ] )
     ] ) ;
     fhir:name [
       fhir:family [ fhir:v "Kamau" ] ;
       fhir:given ( [ fhir:v "Mary" ] )
     ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "phone" ] ;
       fhir:value [ fhir:v "+254798765432" ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

