@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://canshare.co.nz/fhir/Patient/exPatient> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "exPatient"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://canshare.co.nz/fhir/StructureDefinition/an-patient"^^xsd:anyURI ;
       fhir:link <http://canshare.co.nz/fhir/StructureDefinition/an-patient>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Lorrie Lung</div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "https://standards.digital.health.nz/ns/nhi-id"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "WER4568" ]
  ] ) ; # 
  fhir:name ( [
     fhir:text [ fhir:v "Lorrie Lung" ] ;
     fhir:family [ fhir:v "Lung" ] ;
     fhir:given ( [ fhir:v "Lorrie" ] )
  ] ) ; # 
  fhir:birthDate [ fhir:v "1969-02-02"^^xsd:date] . # 

# -------------------------------------------------------------------------------------

