Aotearoa Immunisation Register (AIR) FHIR Implementation Guide
2.7.0 - ci-build New Zealand

Aotearoa Immunisation Register (AIR) FHIR Implementation Guide - Local Development build (v2.7.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

OperationDefinition: Update AIR patient state

Official URL: https://standards.digital.health.nz/fhir/air/OperationDefinition/update-patient-state Version: 2.7.0
Active as of 2026-07-20 Computable Name: update-patient-state

Update the current state of an ImmSOT Consumer.

    Updates the Consumer state and/or sub status only. Input is the Consumer version previously read (used for operation optimistic locking) and the desired Consumer state.

    At least one of **state** and **subStatus** must be specified. If **state** or **subStatus** is not specified, then these attributes will not be updated. Setting subStatus to null will clear the current sub status.

URL: [base]/Patient/[id]/$update-state

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INNHI1..1Patient

The logical id to identify patient/consumer.

INversion1..1Patient

The consumer version previously read.

INstate0..1Patient

The consumer state.

INsubStatus0..1Patient

The consumer subStatus.

OUTversion1..1Patient

The consumer version following the update.

OUTstate0..1Patient

The consumer state.

OUTsubStatus0..1Patient

The consumer subStatus.