PH Core Implementation Guide
0.1.0 - ci-build Philippines flag

PH Core Implementation Guide, published by UP Manila SILab. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/UP-Manila-SILab/ph-core/ and changes regularly. See the Directory of published versions

: example-patient - TTL Representation

Raw ttl | Download


@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 -------------------------------------------------------------------

 a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-patient"] ; # 
  fhir:meta [
    ( fhir:profile [ fhir:v "urn://example.com/ph-core/fhir/StructureDefinition/ph-core-patient"^^xsd:anyURI ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Juan Dela Cruz is a male patient born on 1 January 1980, residing in Manila, NCR, Philippines.</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 "urn://example.com/ph-core/fhir/StructureDefinition/indigenous-people"^^xsd:anyURI ] ;
fhir:value [
a fhir:boolean ;
fhir:v true     ]
  ] [
fhir:url [ fhir:v "urn://example.com/ph-core/fhir/StructureDefinition/indigenous-group"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
      ( fhir:coding [
fhir:system [ fhir:v "urn://example.com/ph-core/fhir/CodeSystem/indigenous-groups"^^xsd:anyURI ] ;
fhir:code [ fhir:v "Ilongots" ] ;
fhir:display [ fhir:v "Ilongots" ]       ] )     ]
  ] [
fhir:url [ fhir:v "urn://example.com/ph-core/fhir/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 "urn://example.com/ph-core/fhir/NamingSystem/philhealth-id-ns"^^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 "1985-06-15"^^xsd:date] ; # 
  fhir:address ( [
    ( fhir:extension [
fhir:url [ fhir:v "urn://example.com/ph-core/fhir/StructureDefinition/city-municipality"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "urn://example.com/ph-core/fhir/CodeSystem/PSGC"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1380200000" ] ;
fhir:display [ fhir:v "City of Las PiƱas" ]       ]     ] [
fhir:url [ fhir:v "urn://example.com/ph-core/fhir/StructureDefinition/city-municipality"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "urn://example.com/ph-core/fhir/CodeSystem/PSGC"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1380100000" ] ;
fhir:display [ fhir:v "City of Caloocan" ]       ]     ] [
fhir:url [ fhir:v "urn://example.com/ph-core/fhir/StructureDefinition/province"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "urn://example.com/ph-core/fhir/CodeSystem/PSGC"^^xsd:anyURI ] ;
fhir:code [ fhir:v "0402100000" ] ;
fhir:display [ fhir:v "Cavite" ]       ]     ] [
fhir:url [ fhir:v "urn://example.com/ph-core/fhir/StructureDefinition/province"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "urn://example.com/ph-core/fhir/CodeSystem/PSGC"^^xsd:anyURI ] ;
fhir:code [ fhir:v "0403400000" ] ;
fhir:display [ fhir:v "Laguna" ]       ]     ] [
fhir:url [ fhir:v "urn://example.com/ph-core/fhir/StructureDefinition/province"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "urn://example.com/ph-core/fhir/CodeSystem/PSGC"^^xsd:anyURI ] ;
fhir:code [ fhir:v "0405800000" ] ;
fhir:display [ fhir:v "Rizal" ]       ]     ] [
fhir:url [ fhir:v "urn://example.com/ph-core/fhir/StructureDefinition/province"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "urn://example.com/ph-core/fhir/CodeSystem/PSGC"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1704000000" ] ;
fhir:display [ fhir:v "Marinduque" ]       ]     ] [
fhir:url [ fhir:v "urn://example.com/ph-core/fhir/StructureDefinition/province"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "urn://example.com/ph-core/fhir/CodeSystem/PSGC"^^xsd:anyURI ] ;
fhir:code [ fhir:v "0402100000" ] ;
fhir:display [ fhir:v "Cavite" ]       ]     ] [
fhir:url [ fhir:v "urn://example.com/ph-core/fhir/StructureDefinition/province"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "urn://example.com/ph-core/fhir/CodeSystem/PSGC"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1705100000" ] ;
fhir:display [ fhir:v "Occidental Mindoro" ]       ]     ] ) ;
    ( 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" ]
  ] ) . #