FHIR Chat · Test script errors · Touchstone

Stream: Touchstone

Topic: Test script errors


view this post on Zulip Michael Lawley (Sep 01 2019 at 23:26):

Not sure if this is the right place to report errors in the tests, but I couldn't find an obvious alternative.

terminology-c21-translate-04-notok-get-json attempts a ConceptMap/$translate with unknown codes and code systems with a success criteria defined as returning an HTTP status greater than 399.
There are two issues with this IMO:
1. Nothing in the spec requires this, and it would be reasonable to allow for a 200 result with an appropriate failure message in the Parameters result as long as result=false
2. A 5xx should, in general, never be an acceptable response since it indicates an internal error of the system, rather than a problem with the request itself.

view this post on Zulip Michael Lawley (Sep 01 2019 at 23:44):

terminology-c21-validate-cs-loinc-04-notok-get-json
requires that the Parameters response contains a result=false and a message, but erroneously requires the message to be the 2nd parameter in the result (it happens to be third in ours).

view this post on Zulip Richard Ettema (Sep 03 2019 at 00:11):

@Michael Lawley, I'm reviewing your second item regarding the terminology-c21-validate-cs-loinc-04-notok-get-json TestScript. I'm updating the assert to use a fhirpath expression that will generically check for the result parameter with a value = false. I'll be deploying that with the updated tests for Connectathon 22 in the next day or two.

view this post on Zulip Richard Ettema (Sep 03 2019 at 00:12):

Your first item regarding the terminology-c21-translate-04-notok-get-json TestScript will require a conditional assert using our rules engine. I should have that ready in a day or two as well.

view this post on Zulip Michael Lawley (Sep 03 2019 at 00:57):

Thanks @Richard Ettema !

view this post on Zulip Richard Ettema (Sep 03 2019 at 13:53):

@Michael Lawley, Just following up to let you know that a support issue has been opened for the research of these items.

Also, please note that the Touchstone Support email address, Touchstone_Support@aegis.net, should be used for all questions or support items as this allows for the most efficient and rapid response to our users.

view this post on Zulip Richard Ettema (Sep 13 2019 at 13:18):

Just following up on Michael's issue - the FHIR4-0-0-Connectathon22 test group with the updated Terminology-Formal TestScripts has been deployed to our production Touchstone environment.


Last updated: Apr 12 2022 at 19:14 UTC