Stream: terminology
Topic: parameters.designation in CodeSystem $lookup out parameters
Joel Schneider (Jul 28 2017 at 00:14):
I'm working on a prototype FHIR terminology service, and would like to add designation to the output of the CodeSystem $lookup operation.
However, the example JSON output for CodeSystem $lookup shows two different ways of representing a designation.
http://hl7.org/fhir/codesystem-operations.html#lookup
{ "resourceType" : "Parameters", "parameter" : [ { "name" : "name", "valueString" : "LOINC" }, { "name" : "version", "valueString" : "2.48" }, { "name" : "designation", "valueString" : "Bicarbonate [Moles/volume] in Serum" }, { "name" : "abstract", "valueString" : "false" }, { "name" : "designation", "part" : [ { "name" : "value", "valueString" : "Bicarbonate [Moles/volume] in Serum " } ] } ] }
What is the correct JSON representation for a designation?
Additionally, if designation has cardinality > 1, should that be represented as multiple parameter instances with the name "designation", or as a JSON array?
Grahame Grieve (Jul 28 2017 at 02:38):
this bit is a typo:
Grahame Grieve (Jul 28 2017 at 02:38):
{ "name" : "designation", "valueString" : "Bicarbonate [Moles/volume] in Serum" },
Grahame Grieve (Jul 28 2017 at 02:38):
should be
Grahame Grieve (Jul 28 2017 at 02:39):
{ "name" : "display", "valueString" : "Bicarbonate [Moles/volume] in Serum" },
Grahame Grieve (Jul 28 2017 at 02:39):
to repeat designations, you would repeat it like this:
Grahame Grieve (Jul 28 2017 at 02:40):
{ "name" : "designation", "part" : [{ "name" : "value", "valueString" : "Bicarbonate [Moles/volume] in Serum " }] }, { "name" : "designation", "part" : [{ "name" : "value", "valueString" : "Bicarbonate [Moles/volume] in Serum " }] }
Grahame Grieve (Jul 28 2017 at 02:40):
though of course you'd really want to add more information about each designation (language and/or use)
Last updated: Apr 12 2022 at 19:14 UTC