@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://fhir.doh.gov.ph/phcore/Patient/example-patient> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-patient"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-patient"^^xsd:anyURI ;
       fhir:link <https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-patient>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  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-patient</b></p><a name=\"example-patient\"> </a><a name=\"hcexample-patient\"> </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-ph-core-patient.html\">PH Core Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Juan Jane Dela Fuente Dela Cruz  Male, DoB: 1980-01-01 ( http://philhealth.gov.ph/fhir/Identifier/philhealth-id#PhilHealthID#63-584789845-5)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">123 Mabini Street Barangay Malinis Quezon City 1100 PH </td></tr><tr><td style=\"background-color: #f3f5da\" title=\"race of a patient.\"><a href=\"StructureDefinition-race.html\">Race</a></td><td colspan=\"3\"><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-Race 2036-2}\">Filipino</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The nationality of the patient.\">Patient Nationality:</td><td colspan=\"3\"><ul><li>code: <span title=\"Codes:{urn:iso:std:iso:3166 PH}\">Philippines</span></li><li>period: 2020-01-01 --&gt; 2023-01-01</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The patient's professed religious affiliations.\"><a href=\"http://hl7.org/fhir/extensions/5.3.0/StructureDefinition-patient-religion.html\">Patient Religion</a></td><td colspan=\"3\"><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation 1007}\">Atheism</span></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 "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "PH" ] ;
           fhir:display [ fhir:v "Philippines" ]
         ] )
       ]
     ] [
       fhir:url [ fhir:v "period"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Period ;
         fhir:start [ fhir:v "2020-01-01"^^xsd:date ] ;
         fhir:end [ fhir:v "2023-01-01"^^xsd:date ]
       ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/patient-nationality"^^xsd:anyURI ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/patient-religion"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "1007" ] ;
         fhir:display [ fhir:v "Atheism" ]
       ] )
     ]
  ] [
     fhir:url [ fhir:v "https://fhir.doh.gov.ph/phcore/StructureDefinition/race"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-Race"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "2036-2" ] ;
         fhir:display [ fhir:v "Filipino" ]
       ] )
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://philhealth.gov.ph/fhir/Identifier/philhealth-id"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "63-584789845-5" ]
  ] ) ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:name ( [
     fhir:family [ fhir:v "Dela Cruz" ] ;
     fhir:given ( [ fhir:v "Juan Jane" ] [ fhir:v "Dela Fuente" ] )
  ] ) ; # 
  fhir:gender [ fhir:v "male"] ; # 
  fhir:birthDate [ fhir:v "1980-01-01"^^xsd:date] ; # 
  fhir:address ( [
     fhir:extension ( [
       fhir:url [ fhir:v "https://fhir.doh.gov.ph/phcore/StructureDefinition/barangay"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [ fhir:v "https://psa.gov.ph/classification/psgc"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "1380100001" ] ;
         fhir:display [ fhir:v "Barangay 1" ]
       ]
     ] [
       fhir:url [ fhir:v "https://fhir.doh.gov.ph/phcore/StructureDefinition/city-municipality"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [ fhir:v "https://psa.gov.ph/classification/psgc"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "1380200000" ] ;
         fhir:display [ fhir:v "City of Las Piñas" ]
       ]
     ] [
       fhir:url [ fhir:v "https://fhir.doh.gov.ph/phcore/StructureDefinition/province"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [ fhir:v "https://psa.gov.ph/classification/psgc"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "0402100000" ] ;
         fhir:display [ fhir:v "Cavite" ]
       ]
     ] ) ;
     fhir:line ( [ fhir:v "123 Mabini Street" ] [ fhir:v "Barangay Malinis" ] ) ;
     fhir:city [ fhir:v "Quezon City" ] ;
     fhir:district [ fhir:v "NCR" ] ;
     fhir:postalCode [ fhir:v "1100" ] ;
     fhir:country [ fhir:v "PH" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

