๐ฆ TS-07 - begincondition / endcondition / endmoments
Descriptionโ
See if software in test can handle begincondition
/ endcondition
/ endmoment
elements and their usages, as stated in MS Cookbook :
Example
...
<transaction>
...
<item>
<id S="ID-KMEHR" SV="1.0">2</id>
<cd S="CD-ITEM" SV="1.11">medication</cd>
...
<!-- endmoment -->
<endmoment>
<!-- The focus on the test -->
<date>2022-05-10</date>
</endmoment>
</item>
<!-- begincondition -->
<item>
<id S="ID-KMEHR" SV="1.0">3</id>
<cd S="CD-ITEM" SV="1.11">healthcareelement</cd>
<content>
<cd S="CD-ITEM-MS" SV="1.0">begincondition</cd>
</content>
<content>
<!-- The focus on the test -->
<text L="nl">Begin condition instructions</text>
</content>
</item>
<!-- endcondition -->
<item>
<id S="ID-KMEHR" SV="1.0">3</id>
<cd S="CD-ITEM" SV="1.4">healthcareelement</cd>
<content>
<cd S="CD-ITEM-MS" SV="1.0">endcondition</cd>
</content>
<content>
<!-- The focus on the test -->
<text L="nl">End condition instructions</text>
</content>
</item>
...
</transaction>
...
Test casesโ
Begin Condition | End Condition | End Moment | |
---|---|---|---|
Drug 001 | false | false | false |
Drug 002 | true | false | false |
Drug 003 | false | true | false |
Drug 004 | true | true | false |
Drug 005 | false | false | true |
Drug 006 | true | false | true |
Drug 007 | false | true | true |
Drug 008 | true | true | true |
Filesโ
Expected resultsโ
For each medication of the test cases :
- Medication must be present the May 5th, 2022
- If End Date is specified, display it (e.g. "May 10, 2022")
- If Begin Condition is specified, display it (e.g. "Begin condition 002")
- If End Condition is specified, display it (e.g. "End condition 003")