Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
Fix robot tests after updating SOFA score profile
Browse files Browse the repository at this point in the history
  • Loading branch information
subigre committed Jul 12, 2021
1 parent b2fe89a commit f9c041c
Showing 1 changed file with 1 addition and 51 deletions.
52 changes: 1 addition & 51 deletions tests/robot/OBSERVATION/10_create_sofa_score.robot
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ ${randinteger} ${12345}
# CODE

# missing valueCodeableConcept
$.component missing 422
$.component ${EMPTY} 422

# wrong format
Expand All @@ -318,13 +317,7 @@ ${randinteger} ${12345}
$.component ${{ [{}] }} 422

# missing array value
$.component[0] missing 422
$.component[1] missing 422
$.component[2] missing 422
$.component[3] missing 422
$.component[4] missing 422
$.component[5] missing 422


# empty array
$.component[0] ${EMPTY} 422
$.component[1] ${EMPTY} 422
Expand All @@ -349,14 +342,6 @@ ${randinteger} ${12345}
$.component[4].code ${EMPTY} 422
$.component[5].code ${EMPTY} 422

# missing component x valueCodableConcept
$.component[0].valueCodeableConcept missing 422
$.component[1].valueCodeableConcept missing 422
$.component[2].valueCodeableConcept missing 422
$.component[3].valueCodeableConcept missing 422
$.component[4].valueCodeableConcept missing 422
$.component[5].valueCodeableConcept missing 422

# empty component x valueCodableConcept
$.component[0].valueCodeableConcept ${EMPTY} 422
$.component[1].valueCodeableConcept ${EMPTY} 422
Expand Down Expand Up @@ -735,12 +720,6 @@ ${randinteger} ${12345}
# CODE

# missing valueCodeableConcept
$.component[0].dataAbsentReason missing 422
$.component[1].dataAbsentReason missing 422
$.component[2].dataAbsentReason missing 422
$.component[3].dataAbsentReason missing 422
$.component[4].dataAbsentReason missing 422
$.component[5].dataAbsentReason missing 422
$.component[0].dataAbsentReason ${EMPTY} 422
$.component[1].dataAbsentReason ${EMPTY} 422
$.component[2].dataAbsentReason ${EMPTY} 422
Expand Down Expand Up @@ -769,12 +748,6 @@ ${randinteger} ${12345}
$.component[5].dataAbsentReason ${{ [{}] }} 422

# missing coding
$.component[0].dataAbsentReason.coding missing 422
$.component[1].dataAbsentReason.coding missing 422
$.component[2].dataAbsentReason.coding missing 422
$.component[3].dataAbsentReason.coding missing 422
$.component[4].dataAbsentReason.coding missing 422
$.component[5].dataAbsentReason.coding missing 422
$.component[0].dataAbsentReason ${EMPTY} 422
$.component[1].dataAbsentReason ${EMPTY} 422
$.component[2].dataAbsentReason ${EMPTY} 422
Expand All @@ -783,11 +756,6 @@ ${randinteger} ${12345}
$.component[5].dataAbsentReason ${EMPTY} 422

# invalid system
$.component[0].dataAbsentReason.coding[0].system missing 422
$.component[1].dataAbsentReason.coding[0].system missing 422
$.component[2].dataAbsentReason.coding[0].system missing 422
$.component[3].dataAbsentReason.coding[0].system missing 422
$.component[4].dataAbsentReason.coding[0].system missing 422
$.component[5].dataAbsentReason.coding[0].system missing 422
$.component[0].dataAbsentReason.coding[0].system ${EMPTY} 422
$.component[1].dataAbsentReason.coding[0].system ${EMPTY} 422
Expand All @@ -807,20 +775,8 @@ ${randinteger} ${12345}
$.component[3].dataAbsentReason.coding[0].system ${randinteger} 422
$.component[4].dataAbsentReason.coding[0].system ${randinteger} 422
$.component[5].dataAbsentReason.coding[0].system ${randinteger} 422
$.component[0].dataAbsentReason.coding[0].system http://foobar.de 422
$.component[1].dataAbsentReason.coding[0].system http://foobar.de 422
$.component[2].dataAbsentReason.coding[0].system http://foobar.de 422
$.component[3].dataAbsentReason.coding[0].system http://foobar.de 422
$.component[4].dataAbsentReason.coding[0].system http://foobar.de 422
$.component[5].dataAbsentReason.coding[0].system http://foobar.de 422

# invalid code
$.component[0].dataAbsentReason.coding[0].code missing 422
$.component[1].dataAbsentReason.coding[0].code missing 422
$.component[2].dataAbsentReason.coding[0].code missing 422
$.component[3].dataAbsentReason.coding[0].code missing 422
$.component[4].dataAbsentReason.coding[0].code missing 422
$.component[5].dataAbsentReason.coding[0].code missing 422
$.component[0].dataAbsentReason.coding[0].code ${EMPTY} 422
$.component[1].dataAbsentReason.coding[0].code ${EMPTY} 422
$.component[2].dataAbsentReason.coding[0].code ${EMPTY} 422
Expand All @@ -847,12 +803,6 @@ ${randinteger} ${12345}
$.component[3].dataAbsentReason.coding[0].display ${EMPTY} 422
$.component[4].dataAbsentReason.coding[0].display ${EMPTY} 422
$.component[5].dataAbsentReason.coding[0].display ${EMPTY} 422
$.component[0].dataAbsentReason.coding[0].display ${randinteger} 422
$.component[1].dataAbsentReason.coding[0].display ${randinteger} 422
$.component[2].dataAbsentReason.coding[0].display ${randinteger} 422
$.component[3].dataAbsentReason.coding[0].display ${randinteger} 422
$.component[4].dataAbsentReason.coding[0].display ${randinteger} 422
$.component[5].dataAbsentReason.coding[0].display ${randinteger} 422

# invalid text
$.component[0].dataAbsentReason.text ${EMPTY} 422
Expand Down

0 comments on commit f9c041c

Please sign in to comment.