...

  • 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 errorIn case of error return 404 not found

Processing

  1. Get allergy intolerance by ID

  2. Ensure that requested allergy intolerance relates to requested Patient

  3. Render a response according to specification

...