Stream: conformance
Topic: slicing and fixedCodeableConcept
Richard Townley-O'Neill (Nov 25 2019 at 06:51):
In STU3 I have sliced Composition.section by value:code.
In one slice I fixed the value of section.code with
<valueCodeableConcept xmlns="http://hl7.org/fhir"> <coding> <system value="http://loinc.org"/> <code value="48765-2"/> </coding> </valueCodeableConcept>
When I validate examples against it (using the igpublisher v1.0.2), the validator ignores section.code.coding.display for the slicing.
Why is this so?
I would expect this if I used pattern on section.code, but not when I used fixed.
Grahame Grieve (Nov 27 2019 at 22:44):
can you turn this into a test case? that is... a single profile and a single example that should fail against the profile
Richard Townley-O'Neill (Nov 28 2019 at 04:18):
@Grahame Grieve
Here is a profile and an example that I think should fail against it, but does not. demo.zip
I've included the SD file input the ig and the output one with an example
Grahame Grieve (Nov 28 2019 at 21:41):
thanks. fixed next release
Last updated: Apr 12 2022 at 19:14 UTC