Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


#Block DescriptionInputExpected resultActual resultStatus
1Happy Pass Valid dataSingle Valid Encounter reference existing Visit, ConditionEncounter
201
200
created
200
created
passed
2Encouner+Visit

Encounter

Visit

201

3Encouner+Several conditions

Encounter

2 Conditions

201

4Encounter + Several conditions + Historical conditionEncounter
2 Conditions (1 historical)
201

5Encounter + Several Observations

Encounter

2 Observations

201

6Encounter + Observations+Conditions
Observations are Evidences for Conditions

Encounter

2 Observations

2 Conditions

Conditions reference observations

201

7Encounter+Several Allergy_Intolerances

Encounter

2 Allergy_Intolerances

201

8Encounter+Immunizations

Encounter

2 Immunizations

201

9Encounter+Immunizations+Observations
Observations are reactions for Immunizations

Encounter

2 Immunizations

2 Observations

Observations reference Immuizations

201

10Full Package

Visit
Encounter
3 Conditions (1 historical)

25 Observations (10 historical)

5 immunization (4 historical, 1 with reaction)

5 allergy_intolerances

201

11
Wrong references on
Invalid EncounterEncounter reference visit that does not exist

id of visit that does not exist

409
200
422
Failed
passed
12Encounter reference visit that belongs to the other patient
409

13Encounter reference episode that does not exist
409
202
422
Failed

passed
14Encounter reference episode that belongs to the other patientid of an episode that belongs to another patient409
202
422
Failed
passed

Encounter reference episode that is not active
409


Encounter reference condition that does not exist
409


Encounter reference condition that does not belong to the current patient
409


Encounter reference condition that canceled
409


Encounter reference division that does not exist
409


Encounter reference division that does not belong to the current legal_entity
409


Encounter reference division that is not active
409


Invalid Visitnot unique visit id
409409passed

Period validation handled
handledhandledpassed

Visit submitted but not referenced
not handled422
"description": "Visit with such ID is not found",