...

  • Validate patient exists in MongoDB

    • In case of error return 404 not found

Validate allergy intolerance

  • Validate allergy intolerance exists in MongoDB

    • In 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

...