HSAAP Special Authority FHIR Implementation Guide
0.1.1 - draft
HSAAP Special Authority FHIR Implementation Guide - Local Development build (v0.1.1) 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.
Profiles used to submit a Special Authority Application with Claim/$submit.
| SA Claim |
A Special Authority Application: a request for authorisation of funded pharmaceuticals in advance of their supply, i.e.
a
|
| SA Organization |
The submitting practice or facility. Optional in a submission. Derived from NZ Base The legacy Practice Id ( |
| SA Patient |
The patient who is the subject of a Special Authority Application. Derived from NZ Base The NHI is mandatory. Suburb is carried only in the NZ Base suburb extension - consumers SHALL NOT fall back to
|
| SA Practitioner |
A practitioner on a Special Authority Application: the Applicant (referenced from The role is carried by which element refers to the Practitioner, not by a role code (D5). A registration identifier is mandatory. The registration authority is carried in The HPI CPN is optional in the payload. For the Applicant, where a CPN is present it SHALL agree with the CPN claim in the validated access token or the submission is rejected. No CPN is held for the Referrer. |
| SA Questionnaire |
The HNZ interpretation of a Pharmac Special Authority form at a point in time (D3), derived by the pharmac-direct-query-service. Phase 1: the
|
| SA QuestionnaireResponse |
The clinical criteria and answers for a Special Authority Application. Referenced from Form identity. Answers. Only Roles. The Applicant is Status. HSAAP Application status is never mapped to |
| SA Submission Bundle |
The request body of All references between entries SHALL resolve within the Bundle. |
Profiles returned by Submit Application, Enquire Application and Enquire Approval.
| SA Application ClaimResponse |
The status and outcome of a Special Authority Application. Returned in the SA Response Bundle from
|
| SA Approval ClaimResponse |
A Special Authority Approval, returned by Approval Enquiry (
|
| SA Outcome OperationOutcome |
Renders the single business outcome of a Special Authority Application (D9) in a This profile does not apply to OperationOutcomes returned with HTTP 4xx/5xx for requests rejected by the API before reaching the service (e.g. profile validation failures), which may carry several issues. |
| SA Response Bundle |
The response to |
Extensions defined by this guide.
| Application Status |
The HSAAP status and outcome of a Special Authority Application. The same shape is returned whether the status
arrives synchronously from Carried on |
| Approval Coverage |
Coverage of an Approval, carried only for EXPLICIT_PHARMACEUTICALS, PRODUCT_CATEGORY and ALL_PHARMACEUTICALS
(D15). Absent for SCHEDULE_HIERARCHY coverage: a standard CHEM/RISK Approval's coverage is re-derivable from
|
| Approval Detail |
Approval facts that have no existing FHIR element, including the Approval status and the provider (pharmacy)
identity (D16, D24). Approval status is carried here because
|
| Existing Approval |
Detail of a conflicting Approval, returned only on the synchronous |
| Referring Practitioner |
The referring practitioner for a Special Authority Application (D5). Matches the legacy The referrer is asserted by the applicant. It is never authenticated and never verified, and neither channel establishes that the named referrer agreed to the referral. Only registration details are held for the referrer. |
| Request For Waiver |
Indicates the applicant is requesting a waiver. Treated as |
| Submission Context |
Asserted source context for a submission. This is provenance only: it MUST NOT override the authenticated identity, and MUST NOT be used for authentication or authorisation. The SOAP to FHIR Broker populates this from the legacy HL7 payload ( Note: the detailed design places this extension on |
CapabilityStatement, OperationDefinition, and SearchParameters.
| Application status |
HSAAP Application status: SUBMITTED, PENDING_REVIEW, CANCELLED or DONE. Claim.status cannot express these values. Maps to the Application Store status filter. |
||
| Approval expiring |
Range query on the Approval expiry date (preAuthPeriod.end), e.g. approval-expiring=ge2026-10-01&approval-expiring=le2026-12-31. Mutually exclusive with approval-valid-on. |
||
| Approval provider id |
|
||
| Approval status |
Approval status: ACTIVE, CANCELLED or REVOKED, as carried in the approval-detail extension. Narrows a result set. |
||
| Approval valid on |
Matches Approvals whose preAuthPeriod contains the supplied date, i.e. preAuthPeriod.start <= date <= preAuthPeriod.end. This is containment of a single date, which differs from standard FHIR date search semantics on a Period, hence a custom parameter. Only the eq comparator is supported. Mutually exclusive with approval-expiring. |
||
| Approval version state |
Controls which Approval versions are returned: LATEST (default), PREVIOUS or ALL. This is a result-control parameter with no FHIRPath expression - an Approval version is a new Approval Store row, not a FHIR resource version (D17). Each version is returned as a distinct ClaimResponse ordered by meta.lastUpdated. Values are from the SA Approval Version State value set. |
||
| Claim requestor |
The Applicant of the Special Authority Application. FHIR R4 Claim has no requestor element, so the Applicant is carried in Claim.provider and this parameter evaluates Claim.provider. It preserves the API contract requestor:Practitioner.identifier and _include=Claim:requestor. The chained identifier accepts the HPI CPN system or an NZ responsible-authority registration system. The core provider parameter is equivalent. |
||
| Claim supportinginfo |
Resources referenced from Claim.supportingInfo, i.e. the QuestionnaireResponse. FHIR R4 defines no such search parameter on Claim; this parameter supports _include=Claim:supportinginfo. |
||
| Submit Special Authority Application |
Submits a Special Authority Application. The request body is an SA Submission Bundle; the response is an SA Response Bundle. |
Code systems, value sets and naming systems defined by this guide.
| SA Application Number |
Special Authority Application Number allocated by the special-authority-application-service. The only identifier carried on Claim.identifier (D23). |
| SA Application Outcome |
All SA Application outcome codes. |
| SA Application Outcome |
Outcome of a Special Authority Application. Present only where the Application status is DONE. |
| SA Application Status |
All SA Application status codes. |
| SA Application Status |
Lifecycle status of a Special Authority Application held by the special-authority-application-service. Deliberately not mapped to QuestionnaireResponse.status or Claim.status, neither of which can distinguish PENDING_REVIEW from DONE. |
| SA Approval Coverage Type |
All SA Approval coverage type codes returned over FHIR. |
| SA Approval Coverage Type |
Coverage variants returned on the approval-coverage extension. SCHEDULE_HIERARCHY coverage exists in the Approval Store but is not returned over FHIR (D15) and so is not included. |
| SA Approval Number |
Special Authority Approval Number. Carried on ClaimResponse.identifier and ClaimResponse.preAuthRef (D23). |
| SA Approval Status |
All SA Approval status codes. |
| SA Approval Status |
Status of a Special Authority Approval in the Approval/Entitlement Store. Carried in the approval-detail extension because ClaimResponse.status (financial resource status) cannot express these meanings. |
| SA Approval Type |
All SA Approval type codes. |
| SA Approval Type |
Type of Special Authority Approval (legacy ZST.8). Draft and incomplete - the design lists CHEM, HOSP, EXCP, TEMPLETON 'etc.'. The full list must be confirmed against the Approval/Entitlement Store before publication. |
| SA Approval Version State |
All SA Approval version state codes. |
| SA Approval Version State |
Values for the approval-version-state search parameter. Draft - code names other than ALL must be confirmed against the Approval Store versionState values. |
| SA Claim Supporting Info Category |
Categories of Claim.supportingInfo used on a Special Authority Application. |
| SA Legacy Practice Id |
Legacy Special Authority Practice Id (HL7 v2 ZSS.1), used on the submitting Organization. |
| SA Outcome Code |
All codes in the SA Error Code Catalogue. |
| SA Outcome Code |
Machine readable outcome codes from the single Error Code Catalogue authored and published by the special-authority-application-service (D10). The catalogue has not yet been published, so this code system is defined with content = not-present. |
| SA Pharmacode |
Pharmac Pharmacode. Placeholder URI, to be replaced by the authoritative Pharmacode system URI if one is published. |
| SA Pharmacy Claimant Number |
Pharmacy claimant number. Identifies the provider (pharmacy) on an Approval and is the system used by the approval-provider-id search parameter. |
| SA Provider Id Type |
All SA provider id type codes. |
| SA Provider Id Type |
Identifier type for the provider (pharmacy) on an Approval. Fixed to CLAIMANT_NUMBER until pharmacies move to HPI Facility numbers. |
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.
| HSAAP Special Authority FHIR API |
|
These are example instances that show what data produced and consumed by systems conforming with this implementation guide might look like.
| Example Applicant |
Example applicant practitioner with an HPI CPN and a Medical Council registration. |
||
| Example Application ClaimResponse - Approved |
Synchronous $submit response for an approved Application. |
||
| Example Application ClaimResponse - Declined (existing Approval) |
Synchronous $submit response where the Application was declined because a conflicting Approval exists. The outcome code shown is illustrative; codes come from the Error Code Catalogue. |
||
| Example Application ClaimResponse - Pending review |
Application outcome returned by GET [base]/ClaimResponse?request.identifier=… while the Application awaits manual review. |
||
| Example Approval - CHEM |
A standard CHEM Approval. Coverage is not returned; it is derivable from the form number and version (D6, D15). |
||
| Example Approval - NPPA with explicit coverage and provider |
An exceptional circumstances (NPPA) Approval. There is no schedule form, so coverage is carried explicitly. The Approval is linked to a dispensing pharmacy. |
||
| Example Approval search - all versions |
|
||
| Example NPPA Application with requested pharmaceutical |
An NPPA Application. No form declares coverage, so the requested pharmaceutical is supplied in Claim.item. |
||
| Example Outcome OperationOutcome - Declined |
The single outcome for a declined Application, rendered as an OperationOutcome. |
||
| Example QuestionnaireResponse (version pinned) |
Clinical answers from a FHIR-native PMS. The questionnaire canonical is version pinned, and a referrer is supplied. |
||
| Example Referrer |
Example referring practitioner. Registration details only - no CPN is held for a referrer. |
||
| Example Response Bundle - Approved |
Response to POST [base]/Claim/$submit for an approved Application. |
||
| Example Response Bundle - Declined |
Response to POST [base]/Claim/$submit for a declined Application. |
||
| Example SA Form SA9999 (illustrative) |
An illustrative, fictional Special Authority form. In Phase 1 no Questionnaire is published at the canonical URL of a real form; this example only demonstrates the url, version and linkId conventions. |
||
| Example SA Patient |
Example patient using the NHI test range. |
||
| Example Special Authority Application (Claim) |
A standard Special Authority Application as submitted. No identifier (allocated by the API) and no item (coverage is derived from the form). |
||
| Example Submission Bundle (direct FHIR) |
Request body for POST [base]/Claim/$submit from a FHIR-native PMS. |
||
| Example Submitting Practice |
Example submitting practice with an HPI Facility identifier and a legacy Practice Id. |