Stream: implementers
Topic: paths, names and ids
Dan Gottlieb (Apr 21 2016 at 15:24):
I'm updating a StructureDefinition parser to handle stu3 contentReferences and am a little confused about element paths, names and ids. Why are names split out from paths instead of combining them into something like: "Observation.extension[DNASequenceVariationType]"? Also, if path+name uniquely identify an element, why do we need the id?
Grahame Grieve (Apr 21 2016 at 20:02):
we could combine names into paths. Syntactically, it's moving the deckchairs around.
Grahame Grieve (Apr 21 2016 at 20:02):
there was a reason for the id, to do with naming practices when you re-slice
Chris Grenz (Apr 22 2016 at 14:42):
Have submitted a more comprehensive treatment of this issue here: http://gforge.hl7.org/gf/project/fhir/tracker/?action=TrackerItemEdit&tracker_item_id=9843&start=0
Chris Grenz (Apr 22 2016 at 14:44):
@Grahame Grieve - would love to hear your thoughts...
Grahame Grieve (Apr 22 2016 at 19:49):
well, I think it makes sense, but I'm afraid of the change :-)
Chris Grenz (Apr 22 2016 at 19:51):
I'm hoping it's more of an addition than a breaking change...
Grahame Grieve (Apr 22 2016 at 19:52):
technically, from the specification point of view, it's a breaking change, because you are introducing some thing new and requiring it be unique
Grahame Grieve (Apr 22 2016 at 19:53):
it's probably not going to affect many people - only those of us working down in structure definitions - but that's probably 10-15 of us
Chris Grenz (Apr 22 2016 at 19:53):
yep...gotta do something though since name is broken now...
Grahame Grieve (Apr 22 2016 at 19:53):
and it would have a long sequence of effects in my code.
Grahame Grieve (Apr 22 2016 at 19:54):
I think my code would improve, but I'm not keeping up right now. I haven't finished dealing with the last smaller set of changes to name reference
Chris Grenz (Apr 22 2016 at 19:54):
yeah...I'm having a hard time keeping up and I'm just implementing profile modeling tooling...(in vbScript ;)
Ewout Kramer (Apr 26 2016 at 18:30):
If we do this, it would be nice to have it in STU3, since I would really really like for SD to remain stable for a version. Or maybe that's just wishful thinking ;-)
Last updated: Apr 12 2022 at 19:14 UTC