@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-ig.digital.health.nz/shared-care/CarePlan/OutpatientCommunicationCarePlanExample> a fhir:CarePlan ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/OutpatientCommunicationCarePlan"^^xsd:anyURI ;
       fhir:link <https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/OutpatientCommunicationCarePlan>
     ] ) ;
     fhir:tag ( [
       fhir:system [ fhir:v "https://hub.services.digital.health.nz/ns/correlation-id"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" ]
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CarePlan OutpatientCommunicationCarePlanExample</b></p><a name=\"OutpatientCommunicationCarePlanExample\"> </a><a name=\"hcOutpatientCommunicationCarePlanExample\"> </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-OutpatientCommunicationCarePlan.html\">Outpatient Communication CarePlan</a></p><p style=\"margin-bottom: 0px\">Tag: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (Details: correlation-id code xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)</p></div><p><b>status</b>: Active</p><p><b>intent</b>: Plan</p><p><b>category</b>: <span title=\"Codes:{https://fhir-ig.digital.health.nz/shared-care/CodeSystem/outpatient-categories-cs M10}\">Cardiology</span></p><p><b>subject</b>: John Smith (Identifier: <a href=\"http://fhir.org.nz/ig/base/NamingSystem-nhi.html\" title=\"NHI number\">NHI</a>/ZAC7823 (use: official, ))</p><p><b>author</b>: Identifier: <code>https://example.com/user-id</code>/1234567890</p><blockquote><p><b>activity</b></p><p><b>outcomeReference</b>: <a href=\"Communication-EmailCommunicationExample.html\">Communication: extension = ,2024-08-20 14:35:00+0000; status = completed; statusReason = Sent; medium = email; sent = 2024-08-20 14:30:00+0000; received = 2024-08-20 14:35:00+0000</a></p><p><b>reference</b>: <a href=\"CommunicationRequest-OutpatientCommunicationRequestEmailExample.html\">CommunicationRequest: extension = ; status = unknown; medium = email; occurrence[x] = 2024-08-20 14:30:00+0000; authoredOn = 2024-08-20 14:30:00+0000</a></p></blockquote><blockquote><p><b>activity</b></p><p><b>reference</b>: <a href=\"Task-OutpatientCommunicationTaskExample.html\">Task Complete Questionnaire</a></p></blockquote></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "plan"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [ fhir:v "https://fhir-ig.digital.health.nz/shared-care/CodeSystem/outpatient-categories-cs"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "M10" ]
     ] )
  ] ) ; # 
  fhir:subject [
     fhir:type [ fhir:v "Patient"^^xsd:anyURI ] ;
     fhir:identifier [
       fhir:use [ fhir:v "official" ] ;
       fhir:system [ fhir:v "https://standards.digital.health.nz/ns/nhi-id"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "ZAC7823" ]
     ] ;
     fhir:display [ fhir:v "John Smith" ]
  ] ; # 
  fhir:author [
     fhir:identifier [
       fhir:system [ fhir:v "https://example.com/user-id"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "1234567890" ]
     ]
  ] ; # 
  fhir:activity ( [
     fhir:outcomeReference ( [
       fhir:link <https://fhir-ig.digital.health.nz/shared-care/Communication/EmailCommunicationExample> ;
       fhir:reference [ fhir:v "Communication/EmailCommunicationExample" ]
     ] ) ;
     fhir:reference [
       fhir:link <https://fhir-ig.digital.health.nz/shared-care/CommunicationRequest/OutpatientCommunicationRequestEmailExample> ;
       fhir:reference [ fhir:v "CommunicationRequest/OutpatientCommunicationRequestEmailExample" ]
     ]
  ] [
     fhir:reference [
       fhir:link <https://fhir-ig.digital.health.nz/shared-care/Task/OutpatientCommunicationTaskExample> ;
       fhir:reference [ fhir:v "Task/OutpatientCommunicationTaskExample" ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

