@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 -------------------------------------------------------------------

<http://doh.gov.ph/fhir/ph-core/RelatedPerson/relatedperson-single-example> a fhir:RelatedPerson ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "relatedperson-single-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://doh.gov.ph/fhir/ph-core/StructureDefinition/ph-core-relatedperson"^^xsd:anyURI ;
       fhir:l <http://doh.gov.ph/fhir/ph-core/StructureDefinition/ph-core-relatedperson>
     ] )
  ] ; # 
  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, with regional associations to Ilocos Norte and Occidental Mindoro. Her PhilSys ID is 1234-1234567-1.</div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     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 <http://doh.gov.ph/fhir/ph-core/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:name ( [
     fhir:family [ fhir:v "Santos" ] ;
     fhir:given ( [ fhir:v "Maria" ] [ fhir:v "Cruz" ] )
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1955-01-01"^^xsd:date] ; # 
  fhir:address ( [
     fhir:extension ( [
       fhir:url [
         fhir:v "http://doh.gov.ph/fhir/ph-core/StructureDefinition/region"^^xsd:anyURI ;
         fhir:l <http://doh.gov.ph/fhir/ph-core/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 "0102800000" ] ;
         fhir:display [ fhir:v "Ilocos Norte" ]
       ]
     ] [
       fhir:url [
         fhir:v "http://doh.gov.ph/fhir/ph-core/StructureDefinition/province"^^xsd:anyURI ;
         fhir:l <http://doh.gov.ph/fhir/ph-core/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 "1705100000" ] ;
         fhir:display [ fhir:v "Occidental Mindoro" ]
       ]
     ] ) ;
     fhir:line ( [ fhir:v "123 Mabini Street" ] ) ;
     fhir:postalCode [ fhir:v "1100" ] ;
     fhir:country [ fhir:v "PH" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

