ЕСОЗ - публічна документація

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Ruels 

#DescriptionRouteInputExpected resultActual ResultStatus
1Scope validation




2

Data consistency validation






3User with active declaration receives access: HPepisode by iddoctor
with an active declaration
from third-party LE, no approval
200

4episode by search params
200

5encounter by id
200

6encounter by search params
200

7encounter by id via episode context
200

8encounter by search params via episode context
200

9condition by id
200

10condition by search params
200

11condition by id via episode context
200

12condition by search params via episode context
200

13observation by id
200

14observation by search params
200

15observation by id via episode context
200

16observation by search params via episode context
200

17immunization by id
200

18immunization by search params
200

19immunization by id via episode context
200

20immunization by search params via episode context
200

21allergy_intolerance by id
200

22allergy_intolerance by search params
200

23allergy_intolerance by id via episode context
200

24allergy_intolerance by search params via episode context
200

25User with episode aproval receives access: HP
doctor
without an active declaration
from third-party LE
having approval



26





27





28User from the same LE receives access: HP
doctor without an active declaration  from managing_organization, no approval


29Combination of rules




30User with no permissions 

403 
access denied


  • No labels