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
Get Entitlement
Get Entitlement by ID
Overview
The Get Entitlement operation allows an authorised user to retrieve an Entitlement record for a Patient using a known Entitlement record id.
Get Entitlement processing steps:
- The user requests a specific Entitlement to be looked up.
- The integrating application sends a GET request to the NES Coverage endpoint with the Entitlement id in the path
- The request is validated - ALT: Validation failure. Operation Outcome resource returned
- The entitlement is retrieved from the database
- An NESEntitlement is returned to the client
Get Entitlement Response Example
get entitlement response message 1
Get Entitlement Rules and Errors
For Request rules and errors click here
Rule |
Error code |
Error description |
Error text |
Http code |
An Entitlement read request must include a valid Entitlement-id |
|
- Entitlement cannot be found
- Invalid entitlement-id
|
- Entitlement cannot be found
- Invalid entitlement-id
|
- 404 Not found
- 400 Bad request
|