@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.apps.health/Patient/avery-linwood> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "avery-linwood"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.apps.health/StructureDefinition/polaris-core-patient"^^xsd:anyURI ;
       fhir:link <https://fhir.apps.health/StructureDefinition/polaris-core-patient>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Avery Linwood, 34-year-old female, active patient residing in T2N 3C4.</p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "https://fhir.apps.health/NamingSystem/cedarbrook-clinic-patient-identifier"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "1234567890" ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "JHN" ] ;
         fhir:display [ fhir:v "Jurisdictional health number" ]
       ] )
     ] ;
     fhir:system [ fhir:v "https://fhir.infoway-inforoute.ca/NamingSystem/ca-ab-patient-healthcare-id"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "123456789" ]
  ] ) ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:family [ fhir:v "Linwood" ] ;
     fhir:given ( [ fhir:v "Avery" ] )
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1990-06-05"^^xsd:date] ; # 
  fhir:address ( [
     fhir:postalCode [ fhir:v "T2N 3C4" ]
  ] ) ; # 
  fhir:managingOrganization [
     fhir:identifier [
       fhir:system [ fhir:v "https://fhir.apps.health/NamingSystem/organization-identifier"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "cedarbrook-clinic" ]
     ]
  ] . # 

# -------------------------------------------------------------------------------------

