Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Filtration Logic

...

  • Get all active Forbidden group Items from cache.

    • if cache is empty - fill it with all active forbidden group items (forbidden_group_codes and forbidden_group_services)

  • Get all active and approved user's employees

  • Get all Approvals on forbidden groups granted by patient to all user's employees

    • if it merged person/preperson - get all active Approvals on forbidden groups granted by active master_person to all user's employees

  • Form list of forbidden group items that still are restricted for the User: eliminate items in approvals from the all forbidden group items.

...

Info

How to define user is author of the Medical event?

Check party_users table: If inserted_by user in ME belongs to the same party as user from the token, then this is an author.

Medical events to filter

Medical event

Method

Filter by

Forbidden group items

Result

Additional info

Episode

Get Episode by id

diagnoses_history 
(with is_active=true )

codes from dictionaries:

  • eHealth/ICD10_AM/condition_codes

  • eHealth/ICPC2/condition_codes

Return 403 error with type “forbidden“

Get Episode

of Care

by id?

Get Episode by search params

Do not render in the response

Get Episodes of Care by search params

Get approved Episodes

Do not render in the response

Get Approved Episodes of Care

Get Active Diagnoses Summary

current_diagnoses

Do not render in the response

Patient summary

https://e-health-ua.atlassian.net/wiki/spaces/EH/pages/17052631052

Summary active Diagnoses

Get Short Episodes Summary

diagnoses_history

Do not render in the response

Patient summary

https://e-health-ua.atlassian.net/wiki/spaces/EH/pages/17052631052

Encounter

Get encounter by id

diagnoses

actions

reasons

action_references

 

  1. diagnoses by codes from dictionaries:

  • eHealth/ICD10_AM/condition_codes

  • eHealth/ICPC2/condition_codes

2.
  1. actions by codes from dictionary eHealth/ICPC2/actions

3.
  1. reasons by codes from dictionary eHealth/ICPC2/reasons

4.
  1. code by service_id

Return 403 error with type “forbidden“

Get Encounter

Get encounters by search params

Do not render in the response

Get Encounter

Get encounters in episode context

Do not render in the response

 

Get encounter details in episode context

Return 403 error with type “forbidden“

 

Condition

Get conditions in episode context

code

evidences

  1. code by codes from dictionaries:

  • eHealth/ICD10_AM/condition_codes

  • eHealth/ICPC2/condition_codes

2.
  1. evidences by codes from dictionary eHealth/ICPC2/reasons

Do not render in the response

 

Get condition details in episode context

Return 403 error with type “forbidden“

 

Get conditions by search params

Do not render in the response

Get Conditions

Get condition by id

Return 403 error with type “forbidden“

Get Conditions

Get Conditions Summary

Do not render in the response

Summary Conditions

Get Condition Summary by id

Return 403 error with type “forbidden“

Summary Conditions

Diagnostic report

Get Diagnostic report by id

conclusion_code

code

  1. conclusion_code by codes from dictionary eHealth/ICD10_AM/condition_codes

  2. code by service_id

Return 403 error with type “forbidden“

Get Diagnostic Report

Get Diagnostic reports by search params

Do not render in the response

Get Diagnostic Report

Get approved Diagnostic report

Do not render in the response

Get Approved Diagnostic Reports

Get Diagnostic report Summary by id

Return 403 error with type “forbidden“

Summary Diagnostic Reports

Get Diagnostic reports Summary

Do not render in the response

Summary Diagnostic Reports

Procedure

Get Procedure by id

code

service_id

Return 403 error with type “forbidden“

Get procedure

Get Procedures by search params

Do not render in the response

Get procedure

Get Procedure Summary by id

Return 403 error with type “forbidden“

Summary procedures

Get Procedures Summary

Do not render in the response

Summary procedures

Care plan

Get Care plan by id

addresses

codes from dictionaries:

  • eHealth/ICD10_AM/condition_codes

  • eHealth/ICPC2/condition_codes

Return 403 error with type “forbidden“

https://e-health-ua.atlassian.net/wiki/spaces/MRIN/pages/1969520673

Care plan activity

Get Activity by id

reason_code

product_reference (if kind=service_request)

  1. reason_code by codes from dictionaries:

  • eHealth/ICD10AM/condition_codes

  • eHealth/ICPC2/condition_codes

  1. product_reference by:

  • service_id if resource type=service

  • service_group_id if resource type=service_group

Return 403 error with type “forbidden“

https://e-health-ua.atlassian.net/wiki/spaces/MRIN/pages/1957232737

Get Activities

Do not render in the response

https://e-health-ua.atlassian.net/wiki/spaces/MRIN/pages/1969455146

Service request

Get Service request by search params

code

code by:

  • service_id if resource type=service

  • service_group_id if resource type=service_group

Do not render in the response

 

Get Service request by id

Return 403 error with type “forbidden“

 

Get Service request list in episode context

Do not render in the response

Get Service Requests in episode context

Get Service request details in episode context

Return 403 error with type “forbidden“

Get Service Requests in episode context

Get Service request by requisition

Do not render in the response

Search for a Service Request