Get Observation by id
# | Description | Input | Expected result | Actual result | Status |
---|---|---|---|---|---|
1 |
Valid data | valid token | 200, all value types are handled properly | 200, all value types are handled properly | passed | |
2 | Declaration validation handled | true | true | passed | |
3 | wrong scopes | token without scope "observation:read" | 403 | 403 | passed |
Get Observation by search params
# | Description | Input | Expected result | Actual result | Status |
---|---|---|---|---|---|
1 | Valid data | valid token | 200, all value types are handled properly response if full | 200, all value types are handled properly response if full | passed |
2 | true | true | passed | ||
3 | wrong scopes | token without scope "observation:read" | 403 | 403 | passed |
4 | code | search param "code=1234" | patient's observations with such code | patient's observations with such code | passed |
5 | encounter_id | search param "encounter_id={{encounter_id}}" | observations that belong to the encounter | no observations | passed |
6 | episode_id | search param "episode_id={{episode_id}}" | observations that belong to the episode | all patients observations | passed |
7 | issued_from | passed | |||
8 | issued_to | passed | |||
9 | combination issued_from+ issued_to | passed | |||
10 | combination episode_id+encounter_id | passed |