New Zealand MWS IG
1.1.5 - Release

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

## Get Allergy Intolerance

### Get AllergyIntolerance by ID

#### Overview

The Get AllergyIntolerance operation allows an authorised user to retrieve an AllergyIntolerance record for a Patient using a known AllergyIntolerance record id.

#### Get AllergyIntolerance by ID processing steps:

1. The user supplies an AllergyIntolerance-id to be looked up.
2. The integrating application sends an HTTP GET request for the AllergyIntolerance record using the AllergyIntolerance-id. E.g. GET<Endpoint>/AllergyIntolerance/[AllergyIntolerance-id]
3. The request is validated - ALT: Validation failure. Operation Outcome resource returned
4. The AllergyIntolerance record is retrieved from the MWS database - ALT: AllergyIntolerance Record not found. Operation Outcome resource returned
5. The response containing the AllergyIntolerance record is returned.

#### Get AllergyIntolerance Response Example

get-AllergyIntolerance-response

#### Get AllergyIntolerance by id Business Rules and Errors

Business Rule | HTTP error | EM error | Codesystem displayname | Additional description
--- | --- | --- | --- | ---
Id parameter must be in MWS | 404 Not found | EM02002 | Cannot be found | The MWS id cannot be found