New Zealand NES IG - Local Development build (v1.4.6) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
This operation is used to create a patient's entitlement for subsidised healthcare.
For Request rules and errors click here
Rule |
Error code |
Error description |
Error text |
Http code |
A create CSC entitlement request must include:
- type of entitlement
- beneficiary (NHI number of the patient)
- identifier (the entitlement card number)
- contained Patient resource
- organisation approving the entitlement (payor)
- status
|
|
|
- type is a required field
- beneficiary is a required field
- identifier is a required field
- contained patient is a required field
- payor is a required field
- status is a required field
|
|
The contained patient must match Entitlement beneficiary, be alive, and validate with the National Health Index |
|
- The patient identity information supplied does not match the patient identity information in the NHI
- N/A
- N/A
|
- The patient identity information supplied does not match the patient identity information in the NHI.
- 'If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource' 'If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource'
- Patient NHI is required
|
- 422 Unprocessable Entity
- 400 Bad request
- 400 Bad request
|
A request to create an entitlement can be made against any valid NHI Identifier (live or dormant) for that patient. |
|
|
- NHI number supplied cannot be found
|
|
A Create Patient entitlement request must include a valid CSC Card Number |
|
- The CSC Card Number must be known to Te Whatu Ora
|
- The CSC Card Number must be known to MoH (Te Whatu Ora)
|
|
A Patient can only be linked to 1 active Entitlement type i.e. CSC or CSCDependent |
|
- The patient cannot have both CSC and CSCDependent Entitlements active at the same time
|
- The patient cannot have both CSC and CSCDependent Entitlements active at the same time.
|
|
A Patient can have a maximum of one Active CSC Entitlement. |
|
- The patient cannot have more than one active CSC Entitlement.
|
- The patient cannot have more than one active CSC Entitlement.
|
|
A CSC Entitlement can only be associated to one (non-dependent) Patient |
|
- The CSC Entitlement is already assigned to another patient
|
- The CSC Entitlement is already assigned to another patient
|
|
A patient can have multiple CSC dependent entitlements |
|
|
|
|
A CSC Dependent entitlement can only be created for a person 18 or younger |
|
- The patient is not a valid age to be a CSC Dependent.
|
- The patient is not a valid age to be a CSC Dependent.
|
|
PSC Payor must be set to Te Whatu Ora (Org ID - G0K357-H) |
|
|
|
|
For Request rules and errors click here
Rule |
Error code |
Error description |
Error text |
Http code |
A create PSC entitlement request must include:
- type of entitlement
- beneficiary (NHI number of the patient)
- identifier (the entitlement card number)
- contained Patient resource
- organisation approving the entitlement (payor)
- status
- start date (period start)
|
|
|
- type is a required field
- beneficiary is a required field
- identifier is a required field
- contained patient is a required field
- payor is a required field
- status is a required field
- period start is a required field
|
|
The contained patient must match Entitlement beneficiary, and validate with the National Health Index |
|
- The patient identity information supplied does not match the patient identity information in the NHI.
- N/A
- N/A
|
- The patient identity information supplied does not match the patient identity information in the NHI.
- 'If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource' 'If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource'
- Patient NHI is required
|
- 422 Unprocessable Entity
- 400 Bad request
- 400 Bad request
|
Cannot create and entitlement for a deceased person |
|
- Cannot create or update entitlement for deceased person
|
- Cannot create or update entitlement for deceased person
|
|
The PSC card number must be 1-16 numeric characters, with no leading zeros |
|
- Invalid entitlement external id
|
- Invalid entitlement external id
|
|
A request to create an entitlement can be made against any valid NHI Identifier (live or dormant) for that patient. |
|
|
- NHI number supplied cannot be found.
|
|
A person can have multiple unique PSC entitlements (duplicates are not allowed) |
|
|
|
|
PSC start date must not be a future date |
|
|
- Start date cannot be a future date
|
PSC Payor must be set to Te Whatu Ora (Org ID - G0K357-H) |
|
|
|
|