@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://hlth.gov.bc.ca/fhir/client/Patient/Patient-GetDemographics-Example> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Patient-GetDemographics-Example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-patient"^^xsd:anyURI ;
       fhir:l <http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-patient>
     ] )
  ] ; # 
  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 Patient-GetDemographics-Example</b></p><a name=\"Patient-GetDemographics-Example\"> </a><a name=\"hcPatient-GetDemographics-Example\"> </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-bc-patient.html\">ClientRegistryPatient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Jane Doe  Female, DoB: 1972-10-16 ( Jurisdictional health number (use: official, period: 2000-01-01 11:11:11+0800 --&gt; (ongoing)))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: 2505554848(Home)</li><li>721 FRONT ST VICTORIA BC V9A3Y3 CA </li></ul></td></tr></table></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 "JHN" ]
       ] )
     ] ;
     fhir:system [
       fhir:v "https://fhir.infoway-inforoute.ca/NamingSystem/ca-bc-patient-healthcare-id"^^xsd:anyURI ;
       fhir:l <https://fhir.infoway-inforoute.ca/NamingSystem/ca-bc-patient-healthcare-id>
     ] ;
     fhir:value [
       fhir:extension ( [
         fhir:url [
           fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/StructureDefinition/data-absent-reason>
         ] ;
         fhir:value [
           a fhir:Code ;
           fhir:v "unknown"
         ]
       ] )
     ] ;
     fhir:period [
       fhir:start [ fhir:v "2000-01-01T11:11:11+08:00"^^xsd:dateTime ]
     ]
  ] ) ; # 
  fhir:name ( [
     fhir:use [ fhir:v "usual" ] ;
     fhir:family [ fhir:v "Doe" ] ;
     fhir:given ( [ fhir:v "Jane" ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "2505554848" ] ;
     fhir:use [ fhir:v "home" ] ;
     fhir:period [
       fhir:start [ fhir:v "2000-01-02T10:10:10-08:00"^^xsd:dateTime ]
     ]
  ] ) ; # 
  fhir:gender [
     fhir:v "female" ;
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension"^^xsd:anyURI ;
         fhir:l <http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension>
       ] ;
       fhir:value [
         a fhir:Period ;
         fhir:start [ fhir:v "2017-04-05T16:16:16-08:00"^^xsd:dateTime ]
       ]
     ] [
       fhir:extension ( [
         fhir:url [
           fhir:v "http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension"^^xsd:anyURI ;
           fhir:l <http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension>
         ] ;
         fhir:value [
           a fhir:Period ;
           fhir:start [ fhir:v "2016-04-05"^^xsd:date ] ;
           fhir:end [ fhir:v "2017-04-05"^^xsd:date ]
         ]
       ] [
         fhir:url [
           fhir:v "gender"^^xsd:anyURI ;
           fhir:l fhir:gender
         ] ;
         fhir:value [
           a fhir:Code ;
           fhir:v "other"
         ]
       ] ) ;
       fhir:url [
         fhir:v "http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-gender-history-extension"^^xsd:anyURI ;
         fhir:l <http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-gender-history-extension>
       ]
     ] [
       fhir:extension ( [
         fhir:url [
           fhir:v "http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension"^^xsd:anyURI ;
           fhir:l <http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension>
         ] ;
         fhir:value [
           a fhir:Period ;
           fhir:start [ fhir:v "2015-04-05"^^xsd:date ] ;
           fhir:end [ fhir:v "2016-04-05"^^xsd:date ]
         ]
       ] [
         fhir:url [
           fhir:v "gender"^^xsd:anyURI ;
           fhir:l fhir:gender
         ] ;
         fhir:value [
           a fhir:Code ;
           fhir:v "unknown"
         ]
       ] ) ;
       fhir:url [
         fhir:v "http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-gender-history-extension"^^xsd:anyURI ;
         fhir:l <http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-gender-history-extension>
       ]
     ] )
  ] ; # 
  fhir:birthDate [
     fhir:v "1972-10-16"^^xsd:date ;
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension"^^xsd:anyURI ;
         fhir:l <http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension>
       ] ;
       fhir:value [
         a fhir:Period ;
         fhir:start [ fhir:v "2018-03-17T03:29:17-08:00"^^xsd:dateTime ]
       ]
     ] )
  ] ; # 
  fhir:address ( [
     fhir:type [ fhir:v "physical" ] ;
     fhir:line ( [ fhir:v "721 FRONT ST" ] ) ;
     fhir:city [ fhir:v "VICTORIA" ] ;
     fhir:state [ fhir:v "BC" ] ;
     fhir:postalCode [ fhir:v "V9A3Y3" ] ;
     fhir:country [ fhir:v "CA" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

