Stream: implementers
Topic: structuredefinition-fhir-type
Nick George (Nov 18 2021 at 20:19):
Hey Y'all, I think I've asked abou thtis before but I forget - why does Element.id not just have type id
, instead has raw http://hl7.org/fhirpath/System.String
along with a http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
extension?
Nick George (Nov 18 2021 at 20:20):
I expect to find types like http://hl7.org/fhirpath/System.String
on Primitives like http://hl7.org/fhir/StructureDefinition/id
but not on resources
Grahame Grieve (Nov 19 2021 at 04:14):
special case - equivalent of compiler magic. In this case, Element.id can't have extensions
Lloyd McKenzie (Nov 19 2021 at 04:22):
Also, Element.id doesn't follow the rules for the 'id' type. It can be longer than 64 characters and can contain the ':' character, which is prohibited by 'id'.
Lloyd McKenzie (Nov 19 2021 at 04:23):
(At least when used in StructureDefinition.*.element.id)
Last updated: Apr 12 2022 at 19:14 UTC