Stream: terminology
Topic: parameter id of $preferred-id
François Macary (Sep 10 2020 at 17:19):
NamingSystem/$preferred-id as an input parameter id of type string. The spec says "The server parses the provided id to see what type it is" since this parameter can contain a uri, an OID, a V2 table code.
My reading of that is that in all cases the client passes a string and the server parses it to find out what it really is.
So I have a problem with this test of TouchStone:
/FHIR4-0-1-Connectathon25/Terminology-Formal/XML Format/PreferredId/terminology-c25-preferred-id-post-parameters-xml
In this test, TouchStone passes the parameter id in the body as a <valueCode> instead of a <valueString>:
<Parameters xmlns="http://hl7.org/fhir">
<parameter>
<name value="id"/>
<valueCode value="2.16.840.1.113883.6.96"/>
</parameter>
So my server returns an OperationOutcome "wrong parameter type". And TouchStone does not expect that answer.
Who is right here? The client or the server?
Grahame Grieve (Sep 10 2020 at 17:39):
touchstone is not right
Richard Ettema (Sep 10 2020 at 17:48):
Thanks for reviewing this. I created the NamingSystem TestScripts for the $preferred-id operation a couple of days ago and that looks like a copy paste error. I'll update the Parameters payload later today.
Richard Ettema (Sep 10 2020 at 19:33):
@François Macary, I've uploaded the corrected payload Parameters fixtures. Please re-try the $preferred-id tests at your convenience.
Last updated: Apr 12 2022 at 19:14 UTC