New Zealand NHI IG
1.6.1 - Release
New Zealand NHI IG - Local Development build (v1.6.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
The update name operations allow an authorised user to update a name on a persons identity record.
The update has four sub-operations available:
Set-preferred-name - Processing steps:
Parameter name | Parameter type | Mandatory / Optional | Description |
---|---|---|---|
nhi | valueString | Mandatory | The patients nhi number |
version-id | valueString | Mandatory | The current patient version number |
preferred-id | valueInteger | Mandatory | The id for the name that will be preferred |
{
"resourceType": "Parameters",
"id": "example",
"parameter": [
{
"name" : "nhi",
"valueString" : "ZGD1407"
},
{
"name" : "version-id",
"valueString" : "3357591"
},
{
"name" : "preferred-id",
"valueInteger" : 6
}
]
}
For Request rules and errors click here
Add-name - Processing steps:
Parameter name | Parameter type | Mandatory / Optional | Description |
---|---|---|---|
nhi | valueString | Mandatory | The patients nhi number |
version-id | valueString | Mandatory | The current patient version number |
use | valueString | Optional | The name use qualifier for a name |
prefix | valueString | Optional | The name prefix |
given-1 | valueString | Optional* | The first or given name |
given-2 | valueString | Optional* | The middle or other given name/s |
family | valueString | Optional* | The family name |
preferred | valueString | Mandatory | The attribute used to indicate whether the name is preferred or not |
information-source | valueString | Mandatory | the information source sighted when adding the name |
nhi-name-use-extra | valueString | Optional | an attribute used to qualify pre-allocated and babyof names |
{
"resourceType": "Parameters",
"id": "example",
"parameter": [
{
"name" : "nhi",
"valueString" : "ZGD1407"
},
{
"name" : "version-id",
"valueString" : "3357591"
},
{
"name" : "use",
"valueString" : "maiden"
},
{
"name" : "prefix",
"valueString" : "mr"
},
{
"name" : "given-1",
"valueString" : "James"
},
{
"name" : "given-2",
"valueString" : "George Joseph"
},
{
"name" : "family",
"valueString" : "Granger"
},
{
"name" : "preferred",
"valueString" : "true"
},
{
"name" : "information-source",
"valueString" : "NPRF"
}
]
}
For Request rules and errors click here
Replace-name - Processing steps:
Parameter name | Parameter type | Mandatory / Optional | Description |
---|---|---|---|
nhi | valueString | Mandatory | The patients nhi number |
version-id | valueString | Mandatory | The current patient version number |
replace-id | valueInteger | Mandatory | The set id for the name to be replaced |
use | valueString | Optional | The name use qualifier for a name |
prefix | valueString | Optional | The name prefix |
given-1 | valueString | Optional* | The first or given name |
given-2 | valueString | Optional* | The middle or other given name/s |
family | valueString | Optional* | The family name |
preferred | valueString | Mandatory | The attribute used to indicate whether the name is preferred or not |
information-source | valueString | Mandatory | The information source sighted when adding the name |
nhi-name-use-extra | valueString | Optional | an attribute used to qualify pre-allocated and babyof names |
{
"resourceType": "Parameters",
"id": "example",
"parameter": [
{
"name" : "nhi",
"valueString" : "ZGD1407"
},
{
"name" : "version-id",
"valueString" : "3357591"
},
{
"name" : "replace-id",
"valueInteger" : 22
},
{
"name" : "use",
"valueString" : "Official"
},
{
"name" : "prefix",
"valueString" : "mr"
},
{
"name" : "given-1",
"valueString" : "James"
},
{
"name" : "given-2",
"valueString" : "George Joseph"
},
{
"name" : "family",
"valueString" : "Granger"
},
{
"name" : "preferred",
"valueString" : "true"
},
{
"name" : "information-source",
"valueString" : "NPRF"
}
]
}
For Request rules and errors click here
Inactivate-name - Processing steps:
Parameter name | Parameter type | Mandatory / Optional | Description |
---|---|---|---|
nhi | valueString | Mandatory | The patients nhi number |
version-id | valueString | Mandatory | The current patient version number |
inactivate-id | valueInteger | Mandatory | The id for the name to be made inactive on the patient record |
{
"resourceType": "Parameters",
"id": "example",
"parameter": [
{
"name" : "nhi",
"valueString" : "ZGD1407"
},
{
"name" : "version-id",
"valueString" : "3357591"
},
{
"name" : "inactivate-id",
"valueInteger" : 6
}
]
}
For Request rules and errors click here