@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/RelatedPerson/relatedperson-single-example> a fhir:RelatedPerson ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "relatedperson-single-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-relatedperson"^^xsd:anyURI ;
       fhir:l <https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-relatedperson>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Maria Cruz Santos, born on January 1, 1955, is the mother of the patient. She resides at 123 Mabini Street, 1100, Philippines. Her PhilSys ID is 1234-1234567-1.</div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
         ] ;
         fhir:code [ fhir:v "NI" ]
       ] )
     ] ;
     fhir:system [
       fhir:v "http://philsys.gov.ph/fhir/Identifier/philsys-id"^^xsd:anyURI ;
       fhir:l <http://philsys.gov.ph/fhir/Identifier/philsys-id>
     ] ;
     fhir:value [ fhir:v "1234-1234567-1" ]
  ] ) ; # 
  fhir:patient [
     fhir:l <https://fhir.doh.gov.ph/phcore/Patient/patient-single-example> ;
     fhir:reference [ fhir:v "Patient/patient-single-example" ]
  ] ; # 
  fhir:relationship ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-RoleCode>
       ] ;
       fhir:code [ fhir:v "MTH" ] ;
       fhir:display [ fhir:v "mother" ]
     ] ) ;
     fhir:text [ fhir:v "Mother" ]
  ] ) ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:text [ fhir:v "Maria Cruz Santos" ] ;
     fhir:family [ fhir:v "Santos" ] ;
     fhir:given ( [ fhir:v "Maria" ] [ fhir:v "Cruz" ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "+63-912-345-6789" ] ;
     fhir:use [ fhir:v "mobile" ]
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1955-01-01"^^xsd:date] ; # 
  fhir:address ( [
     fhir:extension ( [
       fhir:url [
         fhir:v "https://fhir.doh.gov.ph/phcore/StructureDefinition/barangay"^^xsd:anyURI ;
         fhir:l <https://fhir.doh.gov.ph/phcore/StructureDefinition/barangay>
       ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [
           fhir:v "https://psa.gov.ph/classification/psgc"^^xsd:anyURI ;
           fhir:l <https://psa.gov.ph/classification/psgc>
         ] ;
         fhir:code [ fhir:v "0133070250" ] ;
         fhir:display [ fhir:v "Paringao" ]
       ]
     ] [
       fhir:url [
         fhir:v "https://fhir.doh.gov.ph/phcore/StructureDefinition/city-municipality"^^xsd:anyURI ;
         fhir:l <https://fhir.doh.gov.ph/phcore/StructureDefinition/city-municipality>
       ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [
           fhir:v "https://psa.gov.ph/classification/psgc"^^xsd:anyURI ;
           fhir:l <https://psa.gov.ph/classification/psgc>
         ] ;
         fhir:code [ fhir:v "0133070000" ] ;
         fhir:display [ fhir:v "Bauang" ]
       ]
     ] [
       fhir:url [
         fhir:v "https://fhir.doh.gov.ph/phcore/StructureDefinition/province"^^xsd:anyURI ;
         fhir:l <https://fhir.doh.gov.ph/phcore/StructureDefinition/province>
       ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [
           fhir:v "https://psa.gov.ph/classification/psgc"^^xsd:anyURI ;
           fhir:l <https://psa.gov.ph/classification/psgc>
         ] ;
         fhir:code [ fhir:v "0133000000" ] ;
         fhir:display [ fhir:v "La Union" ]
       ]
     ] [
       fhir:url [
         fhir:v "https://fhir.doh.gov.ph/phcore/StructureDefinition/region"^^xsd:anyURI ;
         fhir:l <https://fhir.doh.gov.ph/phcore/StructureDefinition/region>
       ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [
           fhir:v "https://psa.gov.ph/classification/psgc"^^xsd:anyURI ;
           fhir:l <https://psa.gov.ph/classification/psgc>
         ] ;
         fhir:code [ fhir:v "0100000000" ] ;
         fhir:display [ fhir:v "Ilocos Region" ]
       ]
     ] ) ;
     fhir:line ( [ fhir:v "123 Mabini Street" ] ) ;
     fhir:postalCode [ fhir:v "1100" ] ;
     fhir:country [ fhir:v "PH" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

