New Zealand NHI IG
1.4.1 - Release

New Zealand NHI IG - Local Development build (v1.4.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

OperationDefinition: An operation to inactivate a name that is currently active on a patients record.

Official URL: https://nhi-ig.hip.digital.health.nz/OperationDefinition/inactivate-name Version: 1.4.1
Draft as of 2023-06-12 Computable Name: Inactivate Name

Inactivate name

URL: [base]/Patient/[id]/$inactivate-name

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INnhi1..1string

The Patient's nhi number

INversion-id1..1string

The current value of the patient resources meta.versionId

INinactivate-id1..1integer

The id of the name element to be inactivated (patient.name.id))

OUTreturn0..1Patient

The updated patient resource

OUTfailure0..1OperationOutcome

Error response

The NHI is validated. The version-id is validated. The inactivate-id is validated. If all request parameters are valid the name is made inactive on the patient record.