Stream: terminology
Topic: Elements included in response to $expand
Morten Ernebjerg (Mar 11 2021 at 14:07):
I was playing around with the VS $expand
on the LOINC terminology server (https://fhir.loinc.org/) and looking at the differences between the returned result and the unexpanded VS itself (from the same server). While it obviously makes sense that id
and meta
fields are missing in the expansion response, I was surprised that they did not include the url
, identifier
, and version
elements from the VS itself. I would have thought they would be considered important for documenting what has been expanded. Are there general guidelines/requirements for which ValueSet element are included in the the response to $expand
, beyond what the resource itself requires?
Michael Lawley (Mar 11 2021 at 21:24):
I would normally expect the url
and version
and probably name
and title
(but not identifier
; the url
is the public identity of a ValueSet). But, I'm not sure that there are any rules beyond minimum cardinalities.
However, if there are things that, as a client, you really want, then you can express that in the _elements
parameter.
Last updated: Apr 12 2022 at 19:14 UTC