@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://canshare.co.nz/fhir/Patient/exPatient> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "exPatient"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://canshare.co.nz/fhir/StructureDefinition/an-patient" ;
       fhir:index 0 ;
       fhir:link <http://canshare.co.nz/fhir/StructureDefinition/an-patient>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Lorrie Lung</div>"
  ] ;
  fhir:Patient.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/nhi-id" ] ;
     fhir:Identifier.value [ fhir:value "WER4568" ]
  ] ;
  fhir:Patient.name [
     fhir:index 0 ;
     fhir:HumanName.text [ fhir:value "Lorrie Lung" ] ;
     fhir:HumanName.family [ fhir:value "Lung" ] ;
     fhir:HumanName.given [
       fhir:value "Lorrie" ;
       fhir:index 0
     ]
  ] ;
  fhir:Patient.birthDate [ fhir:value "1969-02-02"^^xsd:date] .

# - ontology header ------------------------------------------------------------

<http://canshare.co.nz/fhir/Patient/exPatient.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

