FHIR Chat · Slice on root element in extensions · argonaut

Stream: argonaut

Topic: Slice on root element in extensions


view this post on Zulip Nick George (Jun 24 2019 at 22:36):

Why do the R4 (3.0.0) versions of the Us Core extensions include a slice name on the root extension element? This isn't done in the base R4 extensions

view this post on Zulip Nick George (Jun 24 2019 at 22:37):

e.g., https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-birthsex.json.html
list the root element with
id: "Extension:birthsex"
which seems to imply it's already a slice on a field

view this post on Zulip Nick George (Jun 24 2019 at 22:37):

as opposed to say https://www.hl7.org/fhir/extension-allergyintolerance-duration.json.html
which just lists
id: "Extension"

view this post on Zulip Eric Haas (Jun 24 2019 at 23:02):

That is not a sliceName but rather an id. A long time ago. in DSTU there were slice names on the root. This is probably left over from then. I am not sure it is non-comformant though - the validator never picked it up. its probably inconvenient though.

view this post on Zulip Eric Haas (Jun 24 2019 at 23:04):

This may be any string value that does not contain spaces.

view this post on Zulip Eric Haas (Jun 24 2019 at 23:05):

If its causing some issues then can create a tracker to correct.

view this post on Zulip Nick George (Jun 24 2019 at 23:34):

it seems to have been re-introduced - the 2.0.0 (FHIR STU3) version did not have these slices on the id


Last updated: Apr 12 2022 at 19:14 UTC