...

This web service is designed to return detailed information of the patient’s Allergy Intolerancesallergy intolerances.

Logic

N/A (Not applicable)

...

  • Validate allergy intolerance exists in MongoDB

    • In case of error return 404 not found

  • Check allergy intolerance belongs to patient

    • Return 404 ('not found') in case of error

Processing

  1. Get allergy intolerance by ID

  2. Ensure that requested allergy intolerance relates to requested Patient

  3. Render a response according to specification

...