Special Authority FHIR Implementation Guide
0.1.3 - draft
Special Authority FHIR Implementation Guide - Local Development build (v0.1.3) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://fhir-ig.digital.health.nz/special-authority/CapabilityStatement/SpecialAuthorityFHIRAPICapabilityStatement | Version: 0.1.3 | |||
| Draft as of 2026-11-17 | Computable Name: SpecialAuthorityFHIRAPICapabilityStatement | |||
| Health NZ | Te Whatu Ora Special Authority FHIR API |
Raw OpenAPI-Swagger Definition file | Download
Profile: Capability Statement profile for use with the Health New Zealand Te Whatu Ora OpenAPI spec converter
application/fhir+jsonNote to Implementers: FHIR Capabilities
Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.
serverAll token searches on identifiers SHALL be system-qualified (system|value). Search Applications and Search Approvals SHALL use POST [type]/_search with an application/x-www-form-urlencoded body. Retrieval by Application Number or Approval Number uses GET. All requests require a validated access token and a validated signed Request-Context header.
SMART-on-FHIROAuth 2.0 client credentials flow and signed Request-Context header, per the Health NZ Digital Services Hub onboarding process. The token audience is the environment base domain, e.g. https://api.sa.digital.health.nz. Scopes: system/Claim.c (Submit Application), system/Claim.rs (Retrieve and Search Applications), system/ClaimResponse.rs (Application Outcome and Approval enquiry). The authenticated requester identity is never taken from the FHIR payload.
The summary table lists the resources that are part of this configuration, and for each resource it lists:
_include_revinclude| Resource Type | Profile | R | S | U | C | Searches | _include | _revinclude | Operations |
|---|---|---|---|---|---|---|---|---|---|
| Claim | https://fhir-ig.digital.health.nz/special-authority/StructureDefinition/sa-claim Additional supported profiles: SA Claim | y | identifier, patient, requestor, application-status, created | Claim:patient, Claim:requestor, Claim:supportinginfo | $submit | ||||
| ClaimResponse | Supported Profiles SA Application ClaimResponse SA Approval ClaimResponse | y | identifier, request, patient, requestor, approval-status, approval-valid-on, approval-expiring, approval-provider-id, approval-version-state, _elements | ClaimResponse:request |
search-typeSearch Applications with POST Claim/_search, or retrieve a submitted Application by Application Number with GET and _include. Search results are summary representations: referenced resources are only resolved via _include.
Special Authority Applications. Submitted with $submit; enquired with search. Search Applications SHALL use POST Claim/_search and SHALL supply at least one of identifier (Application Number), patient.identifier (NHI) or requestor:Practitioner.identifier (HPI CPN or registration). application-status and created narrow a result set only.
| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | identifier | token | Application Number. SHALL be system-qualified. |
| SHALL | patient | reference | Supports the chained form patient.identifier=nhi-system|NHI only. |
| SHALL | requestor | reference | Supports requestor:Practitioner.identifier with the HPI CPN system or an NZ registration authority system. |
| SHALL | application-status | token | SUBMITTED | PENDING_REVIEW | CANCELLED | DONE |
| SHALL | created | date | Submission date range using ge and le. |
| Conformance | Operation | Documentation |
|---|---|---|
| SHALL | $submit |
search-typeSearch Approvals with POST ClaimResponse/_search. Retrieve an Approval, Retrieve Application Outcome and Search Application by Approval Number use GET with system-qualified identifiers.
Application outcomes (searched by request.identifier) and Approvals (searched by Approval Number, NHI or practitioner). Search Approvals SHALL use POST ClaimResponse/_search and SHALL supply at least one of identifier, patient.identifier or requestor:Practitioner.identifier. approval-valid-on and approval-expiring are mutually exclusive.
| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | identifier | token | Approval Number. SHALL be system-qualified. |
| SHALL | request | reference | Supports the chained form request.identifier=application-number-system|applicationNumber. |
| SHALL | patient | reference | Supports the chained form patient.identifier=nhi-system|NHI only. |
| SHALL | requestor | reference | Supports requestor:Practitioner.identifier with the HPI CPN system or an NZ registration authority system. |
| SHALL | approval-status | token | ACTIVE | CANCELLED | REVOKED |
| SHALL | approval-valid-on | date | Approvals valid on the supplied date. |
| SHALL | approval-expiring | date | Approvals expiring within a date range. |
| SHALL | approval-provider-id | token | Provider - pharmacy - on the Approval. SHALL be system-qualified. |
| SHALL | approval-version-state | token | LATEST - default - or PREVIOUS or ALL. |
| SHALL | _elements | special | Supported for Retrieve Application Outcome: _elements=extension,preAuthRef. |