Stream: implementers
Topic: Typo in Profile Example for R4?
Aditya Joshi (Jan 15 2019 at 13:32):
Hi @Lloyd McKenzie Could you kindly check below, does these are typos.
<discriminator value="system"/>
discriminator is complex type and having type, path elements inside it. it should not have value attribute as shown above.
The above is mentioned on Profile Example web page on R4 specification- http://hl7.org/fhir/profiling-examples.html
5.1.1.3 Blood Pressure Example
... other content.......
<element>
<path value="Observation.component"/>
<slicing>
<discriminator value="system"/>
<type value="value"/>
<path value="code"/>
Same way there few more examples not written correclty-
5.1.1.4 Extensions
<StructureDefinition xmlns="http://hl7.org/fhir">
<!-- snip -->
<baseType value="Patient" />
baseType should be type as per R4 spec.
Similar typo in case of
<baseType value="DiagnosticReport"/>
Lloyd McKenzie (Jan 15 2019 at 14:58):
Sigh. Yes, all typos. I thought we had validation set up to check example fragments embedded in the text, but apparently not. Please submit a change proposal for us to fix these.
Grahame Grieve (Jan 15 2019 at 14:58):
the example has to declare it's type to the tooling else it won't be checked
Lloyd McKenzie (Jan 15 2019 at 20:35):
Can we require that any fragment that contains "<" or "{" declare a type of "none" to make sure that things that should declare types do?
Last updated: Apr 12 2022 at 19:14 UTC