@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://hl7.org.nz/fhir/ig/nes/EpisodeOfCare/do-not-populate-id> a fhir:EpisodeOfCare ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "do-not-populate-id"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: EpisodeOfCare do-not-populate-id</b></p><a name=\"do-not-populate-id\"> </a><a name=\"hcdo-not-populate-id\"> </a><a name=\"do-not-populate-id-en-US\"> </a><p><b>Enrolment_expiry_date</b>: 2026-06-05</p><p><b>Enrolment_owner_org</b>: <a href=\"Organization/GZZ998-G\">Live Org with Dormant</a></p><p><b>status</b>: Active</p><p><b>type</b>: <span title=\"Codes:{https://standards.digital.health.nz/nes-enrolment-type FLS}\">First Level Services</span></p><p><b>patient</b>: <a href=\"#hcdo-not-populate-id/ZJJ8114\">Francesca Mathieu  (no stated gender), DoB: 2000-03-03</a></p><p><b>careManager</b>: <a href=\"#hcdo-not-populate-id/EnrolmentServiceProvider5\">PractitionerRole</a></p><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: PractitionerRole #EnrolmentServiceProvider5</b></p><a name=\"do-not-populate-id/EnrolmentServiceProvider5\"> </a><a name=\"hcdo-not-populate-id/EnrolmentServiceProvider5\"> </a><a name=\"do-not-populate-id/EnrolmentServiceProvider5-en-US\"> </a><p><b>practitioner</b>: <a href=\"Practitioner/99ZZZS\">Mrs TestOne Prefix-Test</a></p><p><b>organization</b>: <a href=\"Organization/GZZ998-G\">Live Org with Dormant</a></p><p><b>location</b>: <a href=\"Location/FZZ968-B\">Facility Has All Contact Types TEST</a></p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Patient #ZJJ8114</b></p><a name=\"do-not-populate-id/ZJJ8114\"> </a><a name=\"hcdo-not-populate-id/ZJJ8114\"> </a><a name=\"do-not-populate-id/ZJJ8114-en-US\"> </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-NesPatient.html\">NES Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Francesca Mathieu  (no stated gender), DoB: 2000-03-03</p><hr/></blockquote></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:contained ( [
     a fhir:PractitionerRole ;
     fhir:id [ fhir:v "EnrolmentServiceProvider5" ] ;
     fhir:practitioner [
       fhir:link <http://hl7.org.nz/fhir/ig/nes/Practitioner/99ZZZS> ;
       fhir:reference [ fhir:v "Practitioner/99ZZZS" ] ;
       fhir:display [ fhir:v "Mrs TestOne Prefix-Test" ]
     ] ;
     fhir:organization [
       fhir:link <http://hl7.org.nz/fhir/ig/nes/Organization/GZZ998-G> ;
       fhir:reference [ fhir:v "Organization/GZZ998-G" ] ;
       fhir:display [ fhir:v "Live Org with Dormant" ]
     ] ;
     fhir:location ( [
       fhir:link <http://hl7.org.nz/fhir/ig/nes/Location/FZZ968-B> ;
       fhir:reference [ fhir:v "Location/FZZ968-B" ] ;
       fhir:display [ fhir:v "Facility Has All Contact Types TEST" ]
     ] )
  ] [
     a fhir:Patient ;
     fhir:id [ fhir:v "ZJJ8114" ] ;
     fhir:meta [
       fhir:profile ( [
         fhir:v "http://hl7.org.nz/fhir/StructureDefinition/NesPatient"^^xsd:anyURI ;
         fhir:link <http://hl7.org.nz/fhir/StructureDefinition/NesPatient>
       ] )
     ] ;
     fhir:name ( [
       fhir:family [ fhir:v "Mathieu" ] ;
       fhir:given ( [ fhir:v "Francesca" ] )
     ] ) ;
     fhir:birthDate [ fhir:v "2000-03-03"^^xsd:date ]
  ] ) ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org.nz/fhir/StructureDefinition/enrolment-expiry-date"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:date ;
       fhir:v "2026-06-05"^^xsd:date
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org.nz/fhir/StructureDefinition/enrolment-owner-org"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:link <http://hl7.org.nz/fhir/ig/nes/Organization/GZZ998-G> ;
       fhir:reference [ fhir:v "Organization/GZZ998-G" ] ;
       fhir:display [ fhir:v "Live Org with Dormant" ]
     ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:type ( [
     fhir:coding ( [
       fhir:system [ fhir:v "https://standards.digital.health.nz/nes-enrolment-type"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "FLS" ]
     ] )
  ] ) ; # 
  fhir:patient [
     fhir:reference [ fhir:v "#ZJJ8114" ]
  ] ; # 
  fhir:careManager [
     fhir:reference [ fhir:v "#EnrolmentServiceProvider5" ]
  ] . # 

# -------------------------------------------------------------------------------------

