FHIR Chat · IG Publisher Dropping Types in JSON/XML · IG creation

Stream: IG creation

Topic: IG Publisher Dropping Types in JSON/XML


view this post on Zulip Chris Moesel (Mar 24 2018 at 05:36):

Here is an interesting one. I provide a profile to the IG Publisher that has 7 items in the basedOn element's type array.
See: https://github.com/HL7/us-breastcancer/blob/master/resources/structuredefinition-oncology-HER2byISH.json#L506-L535

The IG Publisher renders HTML that shows all 7 items in the type in the Snapshot Table.
See: http://build.fhir.org/ig/HL7/us-breastcancer/StructureDefinition-oncology-HER2byISH.html

BUT... If you look at the details page, it shows only one type (Reference(CarePlan)).
See: http://build.fhir.org/ig/HL7/us-breastcancer/StructureDefinition-oncology-HER2byISH-definitions.html#Observation.basedOn

Similarly, the XML and JSON also have only one type in the basedOn.
See: http://build.fhir.org/ig/HL7/us-breastcancer/StructureDefinition-oncology-HER2byISH.xml.html
See: http://build.fhir.org/ig/HL7/us-breastcancer/StructureDefinition-oncology-HER2byISH.json.html

So, somewhere along the way, all but the first type is getting stripped.

view this post on Zulip Grahame Grieve (Mar 24 2018 at 21:10):

ok fixed. sorry about that and thanks for finding it. Please let me know if you find anything else

view this post on Zulip Chris Moesel (Mar 25 2018 at 01:53):

@Grahame Grieve Thank you. I've just run a new build and confirmed the XML/JSON is now correct. Unfortunately, I'm still seeing an issue in the "Detailed Descriptions" page: http://build.fhir.org/ig/HL7/us-breastcancer/StructureDefinition-oncology-HER2byISH-definitions.html#Observation.basedOn

Note that it still shows only _one_ type (the first one).
basedOn.png

view this post on Zulip Grahame Grieve (Mar 25 2018 at 06:12):

ok. fixed. Keep them coming ;-) (really appreciate it - all of these are side effects of last minute decision by FHIR-I to change the way multiple types work)

view this post on Zulip Chris Moesel (Mar 25 2018 at 20:25):

And I appreciate the quick turnaround on these! Thanks again!


Last updated: Apr 12 2022 at 19:14 UTC