Stream: implementers
Topic: typo in slicing example?
Michael van der Zel (Sep 23 2021 at 14:00):
I was looking at https://www.hl7.org/fhir/profiling-examples.html and noticed the use of the "name" item in "element", which should be "sliceName". Did I see that right?
Grahame Grieve (Sep 23 2021 at 14:15):
where's that? use of item is a reference to an element defined in list. I don't see anything wrong?
Michael van der Zel (Sep 23 2021 at 15:42):
Here:
<!-- first slice: home phone -->
<element>
<path value="Patient.telecom"/>
** <name value="HomePhone"/> <!-- mandatory - gives the slice a name -->
** <min value="1"/>
<max value="1"/>
</element>
Michael van der Zel (Sep 23 2021 at 15:44):
There is no element named "name" in ElementDefinition.
Chris Moesel (Sep 23 2021 at 15:50):
I think those examples were drawn up back in FHIR DSTU2 days (when name
was in fact an element in ElementDefinition).
Michael van der Zel (Sep 23 2021 at 16:08):
That is what I thought. But I wanted to know for sure. It should be sliceName
now right?
Lloyd McKenzie (Sep 23 2021 at 17:27):
Correct. Please submit a technical correction
Michael van der Zel (Sep 23 2021 at 18:57):
Done: https://jira.hl7.org/browse/FHIR-34007
Last updated: Apr 12 2022 at 19:14 UTC