Stream: IG creation
Topic: IG publisher error when slicing on binding
Richard Townley-O'Neill (Jan 11 2019 at 04:21):
I have a problem with slicing on binding.
The profile au-immunisation has sliced Immunization.vaccineCode.coding with a discriminator of value:system
Each slice is distinguished by a required binding.
The intent is to present our preferred valueSets from different terminologies
The ig-publisher raises no errors on the StructureDefinition
If I edit one of the examples so that the ig-publisher validates it against the au-immunisation profile, I get the error "Could not match discriminator (system) for slice Immunization.vaccineCode.coding:amtVaccineCode in profile http://hl7.org.au/fhir/StructureDefinition/au-immunisation - does not have fixed value, binding or existence assertions"
The error is not raised if I change au-immunisation so that the value of Immunization.vaccineCode.coding.system is fixed in the slices AMT Vaccine and AIR Vaccine.
Is this a problem with the ig-publisher?
Rob Hausam (Jan 11 2019 at 22:25):
We're getting very similar errors with the IPS IG example. I'll check again and see if it's actually the same issue.
Rob Eastwood (Jan 15 2019 at 03:24):
Created GForge tracker item for this (with the same text as above). #20009
Last updated: Apr 12 2022 at 19:14 UTC