FHIR Chat · Question re: $lookup · terminology

Stream: terminology

Topic: Question re: $lookup


view this post on Zulip Bob Dolin (May 31 2019 at 00:07):

I'm curious why the codesystem $lookup operation doesn't reflect back the code in the request. In the example (http://build.fhir.org/codesystem-operation-lookup.html#examples), a lookup of LOINC 1963-8 returns the attached JSON. What if I submitted two requests in rapid succession?

{
"resourceType" : "Parameters",
"parameter" : [
{
"name" : "name",
"valueString" : "LOINC"
},
{
"name" : "version",
"valueString" : "2.48"
},
{
"name" : "display",
"valueString" : "Bicarbonate [Moles/volume] in Serum"
},
{
"name" : "abstract",
"valueString" : "false"
},
{
"name" : "designation",
"part" : [
{
"name" : "value",
"valueString" : "Bicarbonate [Moles/volume] in Serum"
}
]
}
]
}

view this post on Zulip Grahame Grieve (May 31 2019 at 00:37):

two requests in rapid succession

Would either be on different connections, or you are using HTTP/2.0 which handles that internally

view this post on Zulip Grahame Grieve (May 31 2019 at 00:38):

(or you are not using HTTP correctly)

view this post on Zulip Bob Dolin (May 31 2019 at 00:40):

Not using HTTP in this case, just looking at the response, wondering why it doesn't reflect back the requested code.

view this post on Zulip Grahame Grieve (May 31 2019 at 00:40):

because there's no need - the client knows what it asked for

view this post on Zulip Bob Dolin (May 31 2019 at 00:43):

ok, thanks Grahame

view this post on Zulip Michael Lawley (Jun 02 2019 at 08:07):

technically, there's no need, but it would hardly hurt & could help "batch" lookups (if there were such a thing)


Last updated: Apr 12 2022 at 19:14 UTC