@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://eswatinihie.com/fhir/Patient/SzPatient-001> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "SzPatient-001"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://eswatinihie.com/fhir/StructureDefinition/SzPatient" ;
       fhir:index 0 ;
       fhir:link <https://eswatinihie.com/fhir/StructureDefinition/SzPatient>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient SzPatient-001</b></p><a name=\"SzPatient-001\"> </a><a name=\"hcSzPatient-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-SzPatient.html\">Eswatini Patient Profile</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Celucolo Celani Sacolo  Male, DoB: 2000-01-01 ( Medical Record Number: Client Management Information System#M001010101-1 (use: usual, ))</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\">Personal ID Number/2001010000001 (use: official, )</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: 7600 0000</li><li>Mbabane </li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Extention for Eswatini Tinkhundla\"><a href=\"StructureDefinition-SzInkhundlaExtension.html\">Extention: Eswatini Inkhundla</a></td><td colspan=\"3\"><span title=\"Codes:{https://eswatinihie.com/fhir/CodeSystem/SzTinkhundlaCS 3}\">LOBAMBA</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Extention for Eswatini Chiefdom\"><a href=\"StructureDefinition-SzChiefdomExtension.html\">Extention: Eswatini Chiefdom</a></td><td colspan=\"3\"><span title=\"Codes:{https://eswatinihie.com/fhir/CodeSystem/SzChiefdomCS 7}\">Lobamba</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Extention for Eswatini Chiefdom\"><a href=\"StructureDefinition-SzRegistrationDate.html\">Extention: Patient Registration Date</a></td><td colspan=\"3\">2025-06-01 10:00:00+0000</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Extention for Eswatini Nationality\"><a href=\"StructureDefinition-SzNationalityExtension.html\">Extention: Eswatini Nationality</a></td><td colspan=\"3\"><span title=\"Codes:{urn:iso:std:iso:3166 SZ}\">Eswatini</span></td></tr></table></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "https://eswatinihie.com/fhir/StructureDefinition/SzRegistrationDate" ] ;
     fhir:Extension.valueDateTime [ fhir:value "2025-06-01T10:00:00Z"^^xsd:dateTime ]
  ], [
     fhir:index 1 ;
     fhir:Extension.url [ fhir:value "https://eswatinihie.com/fhir/StructureDefinition/SzNationalityExtension" ] ;
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
         fhir:Coding.code [ fhir:value "SZ" ]
       ] ;
       fhir:CodeableConcept.text [ fhir:value "Eswatini" ]
     ]
  ], [
     fhir:index 2 ;
     fhir:Extension.url [ fhir:value "https://eswatinihie.com/fhir/StructureDefinition/SzInkhundlaExtension" ] ;
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://eswatinihie.com/fhir/CodeSystem/SzTinkhundlaCS" ] ;
         fhir:Coding.code [ fhir:value "3" ] ;
         fhir:Coding.display [ fhir:value "LOBAMBA" ]
       ] ;
       fhir:CodeableConcept.text [ fhir:value "LOBAMBA" ]
     ]
  ], [
     fhir:index 3 ;
     fhir:Extension.url [ fhir:value "https://eswatinihie.com/fhir/StructureDefinition/SzChiefdomExtension" ] ;
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://eswatinihie.com/fhir/CodeSystem/SzChiefdomCS" ] ;
         fhir:Coding.code [ fhir:value "7" ] ;
         fhir:Coding.display [ fhir:value "Lobamba" ]
       ] ;
       fhir:CodeableConcept.text [ fhir:value "Lobamba" ]
     ]
  ] ;
  fhir:Patient.identifier [
     fhir:index 0 ;
     fhir:Identifier.use [ fhir:value "usual" ] ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://eswatinihie.com/fhir/CodeSystem/SzPersonIdentificationsCS" ] ;
         fhir:Coding.code [ fhir:value "MR" ] ;
         fhir:Coding.display [ fhir:value "Medical Record Number" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "urn:health:cmis" ] ;
     fhir:Identifier.value [ fhir:value "M001010101-1" ]
  ], [
     fhir:index 1 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://eswatinihie.com/fhir/CodeSystem/SzPersonIdentificationsCS" ] ;
         fhir:Coding.code [ fhir:value "PI" ] ;
         fhir:Coding.display [ fhir:value "Personal ID Number" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "urn:homeaffairs:population-register" ] ;
     fhir:Identifier.value [ fhir:value "2001010000001" ]
  ] ;
  fhir:Patient.name [
     fhir:index 0 ;
     fhir:HumanName.family [ fhir:value "Sacolo" ] ;
     fhir:HumanName.given [
       fhir:value "Celucolo" ;
       fhir:index 0
     ], [
       fhir:value "Celani" ;
       fhir:index 1
     ]
  ] ;
  fhir:Patient.telecom [
     fhir:index 0 ;
     fhir:ContactPoint.system [ fhir:value "phone" ] ;
     fhir:ContactPoint.value [ fhir:value "7600 0000" ]
  ] ;
  fhir:Patient.gender [ fhir:value "male"] ;
  fhir:Patient.birthDate [ fhir:value "2000-01-01"^^xsd:date] ;
  fhir:Patient.address [
     fhir:index 0 ;
     fhir:Address.city [ fhir:value "Mbabane" ]
  ] ;
  fhir:Patient.maritalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" ] ;
       fhir:Coding.code [ fhir:value "M" ] ;
       fhir:Coding.display [ fhir:value "Married" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://eswatinihie.com/fhir/Patient/SzPatient-001.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

