Stream: implementers
Topic: CodeableConcept child elements appears twice
Vikas Mittal (Sep 20 2019 at 07:29):
Hi,
The CodeableConcept child elements appears twice in the Snapshot view.
e.g. On this page (http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-practitioner.html) if you navigate to the "Snapshot Table" tab, this can be seen under few of the identifier slices.
A screenshot of one of the occurrences is here --- pasted image
Just wanted to know how this can be fixed?
Lloyd McKenzie (Sep 20 2019 at 12:54):
@Grahame Grieve
Grahame Grieve (Sep 20 2019 at 12:55):
on my list
Grahame Grieve (Sep 23 2019 at 20:10):
ok got to this - you are defining a pattern and a fixed value on one of the children... that doesn't make sense, and so the render is confused - it renders the pattern, and then it renders the children with the fixed value as well
Vikas Mittal (Sep 24 2019 at 00:56):
So what I understand from this is that this is not an IGPublisher issue. But the Profile has both the Pattern and a Fixed value, when they are both not supposed to be present at that place. Thanks @Grahame Grieve and @Lloyd McKenzie. I will discuss with @Brett Esler and my team to get it sorted in the profiles then.
Grahame Grieve (Sep 24 2019 at 12:17):
If it as a Publisher issue, it’s that the publisher isn’t giving you an error in this case. At some stage, I’ll make it do that
Richard Townley-O'Neill (Sep 25 2019 at 05:24):
@Grahame Grieve
I had a closer look at http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-practitioner.html
The fixed value is not defined on children of the element with a pattern.
Practitioner.identifier:hpii.type has a patternCodeableConcept:
<patternCodeableConcept> <coding> <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> <code value="NPI"/> </coding> </patternCodeableConcept>
but there is no entry for Practitioner.identifier:hpii.type.coding.section.
There is an entry for Practitioner.identifier:hpii.system, which has a fixed value
I think that the publisher might be misinterpreting Practitioner.identifier:hpii.system
Grahame Grieve (Sep 25 2019 at 07:21):
what I looked at had both a patternCodeableConcept on x, and a fixed value for x.text
Richard Townley-O'Neill (Sep 25 2019 at 22:57):
Ahh!
I was looking for a fixed value on an element mentioned in the patternCodeableConcept. But, of course, the pattern applies to all of the CodeableConcept, not just the mentioned elements.
The problem is now clear to me.
Thanks.
Last updated: Apr 12 2022 at 19:14 UTC