FHIR / sushi

SUSHI (aka "SUSHI Unshortens Short Hand Inputs") is a reference implementation command-line interpreter/compiler for FHIR Shorthand (FSH).
Apache License 2.0
143 stars 42 forks source link

Error while reprofiling a profile in the same IG inheriting from another IG where slices are defined #1449

Closed nriss closed 5 months ago

nriss commented 5 months ago

I have three profiles :

as-dp-organization inherits from as-organization and as-organisation inherits from fr-core-organization (Organization > fr-core-organization > as-organization > as-dp-organization)

When I am generating ans.fhir.fr.annuaire, I have a bug because slices defined in fr-core-organization identifier are not available in the differential generated by as-organization, generating an error when building as-dp-organization

image

You will find the source code there : https://github.com/ansforge/IG-fhir-annuaire/pull/199 And the logs there : https://github.com/ansforge/IG-fhir-annuaire/actions/runs/8466099350/job/23194129460

I also tried to redefine the slice, but I got the error that the slice are already defined

image

I'm not sure it is an error with sushi or with the publisher (or with my work)

Thanks for your help!

nriss commented 5 months ago

Closed because the issue seems to be from the validator in "checkToSeeIfSlicingExists" function https://github.com/hapifhir/org.hl7.fhir.core/issues/1587