New Zealand NHI IG
1.6.5 - Release

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

OperationDefinition: Delete a contact on a patient's NHI record.

Official URL: https://nhi-ig.hip.digital.health.nz/OperationDefinition/delete-contact Version: 1.6.5
Draft as of 2023-06-12 Computable Name: Delete Contact

An operation to delete a contact on a patient's NHI record

URL: [base]/Patient/[id]/$delete-contact

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INnhi1..1string

The Patient's nhi number

INversion-id1..1string

The current value of the patient resources meta.versionId

INcontact-id1..1string

The id of the telecom element to be deleted

OUTreturn0..1Patient

The updated patient resource

OUTfailure0..1OperationOutcome

Error response

The NHI is validated, the versionId is validated, the parameters validated. If all request parameters are valid the new contact is added to the nhi record.