Note

Сторінка знаходиться в процесі розробки. Інформація на ній може бути застарілою.

...

This web service is designed to return allergy intolerances info by its identifier for a specified patient.

Logic

N/A (Not applicable)

Configuration parameters

N/A (Not applicable)

Dictionaries

  1. eHealth/resources - allergy_intolerance (parameter “id“ in request)

  2. eHealth/allergy_intolerance_clinical_statuses (parameter “clinical_status“ in response)

  3. eHealth/allergy_intolerance_verification_statuses (parameter “verification_status“ in response)

  4. eHealth/allergy_intolerance_types (parameter “type“ in response)

  5. eHealth/allergy_intolerance_categories (parameter “category“ in response)

  6. eHealth/allergy_intolerance_criticalities (parameter “criticality“ in response)

  7. eHealth/resources - encounter (parameter “context“ in response)

  8. eHealth/allergy_intolerance_codes(parameter “code“ in request / response)

  9. eHealth/resources - employee (parameter “asserter“ in response)

  10. eHealth/report_origins (parameter “report_origin“ in response)

...

Request to process the request using a token in the headers

Processing

...

Validate token

  • Verify the validity of access token

    • Return 401 in case validation fails

  • Verify token is not expired

    • in case error return 401 

Validate scopes

  • Check user scopes in order to perform this action (scope = 'patient_summary:read')

    1. Return 403 in case invalid scope(s)

Access to the resource is also managed by ABAC module.

Validate patient

  • Validate patient 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

Response structure examples

...

Post-processing processes

N/A (Not applicable)

Technical modules where the method is used

N/A (Not applicable)