NZ Shared Digital Health Record API
0.6.0 - ballot
NZ Shared Digital Health Record API - Local Development build (v0.6.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Contents:
This page provides a list of the FHIR artifacts defined as part of this implementation guide.
The following artifacts define the specific capabilities that different types of systems are expected to have in order to comply with this implementation guide. Systems conforming to this implementation guide are expected to declare conformance to one or more of the following capability statements.
NZ Shared Digital Health Record API |
NZ Shared Digital Health Record API Capability Statement |
These are custom operations that can be supported by and/or invoked by systems conforming to this implementation guide.
SDHRHNZParticipateOperation |
This operation allows a patient to choose to participate in the Shared Digital Health Record service via HNZ assisted channels. This operation should only be used by HNZ channels. Scenarios where this operation might be used include:
For example payloads that might be used with this operation see:
To make a request to this operation the API Consumer must POST a The operation is idempotent, meaning that multiple requests with the same parameters will have the same effect as a single request. The operation is expected to be called by a Health NZ channel system on behalf of the patient, and the patient must be identified by their NHI. The operation will return an OperationOutcome resource indicating the result of the operation. |
SDHRParticipateOperation |
This operation allows a patient to choose to participate in the Shared Digital Health Record service. This operation should be used by data providers in the Shared Digital Health Record ecosystem such as Patient Management Systems (PMS) or Electronic Health Record (EHR) systems. It can be used to indicate whether the patient wishes to participate, whether any resources are withheld, and the reason for participation. The scope of this operation is the API consumer - e.g. an HPI Facility where patient data is held. Scenarios where this operation might be used include:
For example payloads that might be used with this operation see:
To make a request to this operation the API Consumer must POST a The operation is idempotent, meaning that multiple requests with the same parameters will have the same effect as a single request. The operation is expected to be called by a healthcare provider on behalf of the patient, and the patient must be identified by their NHI. The operation will return an OperationOutcome resource indicating the result of the operation. |
These define constraints on FHIR resources for systems conforming to this implementation guide.
SDHRAllergyIntolerance |
AllergyIntolerance FHIR resource for Shared Digital Health Record |
SDHRCondition |
Condition resource to record problems and conditions affecting a person |
SDHRConsent |
Consent resource created to reflect a patient's preferences with regard to sharing their information with authorised health workers via the shared digital health record service. Note that this is a protected resource and scopes required to manage this resource are not provisioned to most API consumers. A patient's participation preferences should be managed by the Participate Operation. For more details on the participate operation see SDHR Custom Operations. |
SDHREncounter |
Encounter resource to record an instance of an interaction between patient and healthcare provider |
SDHRObservation |
A Shared Digital Health Record Observation. |
These define constraints on FHIR data types for systems conforming to this implementation guide.
Client Last Updated |
Extension to record the last time a resource was updated by the source system. When consuming applications are writing data to the SDHR API they can use this extension to record the |
Facility Participation |
Indicates whether the patient has opted out or opted in to participation at the facility. If opted out, no records will be shared from that facility. |
HNZ SDHR Highlighted |
Extension to indicate that a resource should be highlighted in the user interface. This is used to indicate that the resource is important and should be highlighted in a user interface. |
These define sets of codes used by systems conforming to this implementation guide.
ValueSet for AllergyIntolerance Manifestation |
A ValueSet containing all codes from the AllergyIntolerance Manifestation system. |
ValueSet for AllergyIntolerance Severity |
A ValueSet containing all codes from the AllergyIntolerance Severity system. |
ValueSet for EncounterStatus |
A ValueSet containing all codes from the Encounter Class system. |
ValueSet for SDHR Participation Reason |
A ValueSet containing all codes from the SDHR Participation Reason system. |
ValueSet for SDHR Resource Tags |
A ValueSet containing all codes from the SDHR Resource Tags system. |
These define new code systems used by systems conforming to this implementation guide.
NZ-specific terminology for Shared Digital Health Records |
This system defines standard codes used throughout this Implementation Guide for New Zealand Shared Digital Health Records |
SDHR Codes where the appropriate code is not known or can not be determined. |
This code system is used when the appropriate code is not known or can not be determined. |
SDHR Participation Reason Codes |
This code system defines the reasons for a patient to participate in the Shared Digital Health Record service. |
SDHR Specific Outcome Codes |
This code system defines standard OperationOucome codes used throughout this Implementation Guide for New Zealand Shared Digital Health Records |
These are example instances that show what data produced and consumed by systems conforming with this implementation guide might look like.
APIError-Confidential |
Example OperationOutcome API response, returned when a resource has been flagged as confidential, and so cannot be accessed. |
APIError-Unauthorised |
Access to Shared Digital Health Records is restricted.<br>
This API validates information that is provided by the API Consumer in their |
AllergyIntoleranceExample |
An example payload for a Primary Care AllergyIntolerance resource indicating an allergy to Penicillin, with a confidentiality of restricted. |
AllergyIntoleranceExample2 |
An example payload for a Primary Care AllergyIntolerance resource indicating an allergy to Cashew nuts |
ConditionHypertensionExample |
Example Hypertension Condition |
ConditionRespiratoryExample |
Example Respiratory Condition |
ConsentExample |
Consent example submitted to allow a patient to opt in to sharing their information, originating from a practice management system |
ConsentExampleRecordsWithheld |
Consent example to allow a patient to opt in to sharing their information, while withholding some records from the service |
ConsentFacilityDenyExample |
Consent example submitted to allow a patient to opt out of sharing their information. This example shows a Consent resource created as the result of an HNZ opt out. |
ConsentHNZDenyExample |
Consent example submitted to allow a patient to opt out of sharing their information. This example shows a Consent resource created as the result of an HNZ opt out. |
ConsentMultiFacilityExample |
Consent example illustrating a patient stating participation preferences forsharing their information with SDHR at multiple facilities. |
EncounterExample |
Example Encounter resource to record an instance of an interaction between patient and healthcare provider |
ObservationVitalSignsExample |
An example SDHR Vital Signs Observation |
OperationOutcomeFacilityDenyExample |
Example OperationOutcome for a request where the patient has opted out of participating in the shared digital health record service for a specific facility. |
OperationOutcomeGlobalDenyExample |
Example OperationOutcome for a request where the patient has opted out of participating in the shared digital health record service. |
OperationOutcomeParticipateInvalidPatient |
Example OperationOutcome for an invalid patient participation operation indicating that the patient parameter is invalid. |
OperationOutcomeParticipateMissingReason |
Example OperationOutcome for a missing reason code in the Participate operation indicating that the reason for participation status is required. |
OperationOutcomeParticipatePreferencesNotKnown |
Example OperationOutcome where a patient has not indicated their participation preferences for the Shared Digital Health Record service. |
OperationOutcomeParticipateSuccess |
Example OperationOutcome for a successful participation operation indicating that the patient's participation status was successfully recorded. |
OperationOutcomeRecordsWithheldAtSource |
Example OperationOutcome when a patient has withheld records at source. |
ParametersDoNotParticipate |
Example parameters content to POST to the Participate operation where a patient does not wish to participate in the Shared Digital Health Record service. |
ParametersHNZParticipateOptIn |
Example parameters content to POST to the HNZ Participate ( |
ParametersHNZParticipateOptOut |
Example parameters content to POST to the HNZ Participate ( |
ParametersParticipate |
Example parameters content to POST to the Participate operation where a patient wishes to participate in the Shared Digital Health Record service. |
ParametersParticipateRecordReleased |
Example parameters content to POST to the Participate operation where a patient has individual records that are no longer withheld. |
ParametersParticipateRecordWithheld |
Example parameters content to POST to the Participate operation where a patient has individual records that are withheld - e.g. records marked as |
SearchConditionResponseExample |
Example of a search response for a condition search. In this case the search response returns one result using the search parameters |
SearchConfidentialRecordsResponseExample |
Example of a searchset API response for an AllergyIntolerance resource search. In this case, the search response returns one entry item, with a total count of 2. This is because the API will not return the confidential record. The redacted security label is applied to the Bundle response, to indicate that confidential records have been removed from the result set. See the API documentation for more information. |
SearchExactMatchRecordWithheldExample |
Example of a searchset API response for an Condition resource search where the patient has withheld records at their PMS.
In this case, the server does not have the record but the parameters supplied in the search mean we are able to uniquely match to a single record that has been withheld using the $participate operation.
The search response returns zero entries |
SearchWithRecordsWithheldExample |
Example of a searchset API response for an Condition resource search where the patient has withheld records at their PMS.
In this case, the search response returns one entry |