Health New Zealand Te Whatu Ora Shared Care FHIR API
0.4.5 - release
Health New Zealand Te Whatu Ora Shared Care FHIR API - Local Development build (v0.4.5) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
This page describes the workflow for managing pre-appointment questionnaires using CarePlans and SDC Tasks.
The following diagram shows the complete workflow from CarePlan creation through patient response and clinician review:
The OutpatientCommunicationCarePlan profile tracks:
The OutpatientCommunicationTask profile implements SDC Form Solicitation Workflow:
CarePlan Creation: Client creates a CarePlan to track clinical activities and communication
Magic Link Generation: System generates a secure link containing the Task ID
_include parameters to fetch related resources efficientlyTo retrieve a CarePlan for a specific patient (by NHI) along with linked CommunicationRequest and Communication resources:
GET /CarePlan?subject:Patient.identifier=https://standards.digital.health.nz/ns/nhi-id|[NHI]
&_profile=https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/OutpatientCommunicationCarePlan
&_include=CarePlan:activity:reference
&_include=CarePlan:activity:outcomeReference
To retrieve a Task along with its Questionnaire and QuestionnaireResponse:
Option 1: By Patient NHI
GET /Task?for:Patient.identifier=https://standards.digital.health.nz/ns/nhi-id|[NHI]
&_profile=https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/OutpatientCommunicationTask
&_include=Task:input:valueCanonical
&_include=Task:output:valueReference
Option 2: By CarePlan ID
GET /Task?based-on=CarePlan/[CAREPLAN-ID]
&_profile=https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/OutpatientCommunicationTask
&_include=Task:input:valueCanonical
&_include=Task:output:valueReference