Error while reprofiling a profile in the same IG inheriting from another IG where slices are defined
nriss opened this issue · 1 comments
I have three profiles :
- (hl7.fhir.fr.core) fr-core-organization https://hl7.fr/ig/fhir/core/StructureDefinition-fr-core-organization.html
- (ans.fhir.fr.annuaire) as-organization
- (ans.fhir.fr.annuaire) as-dp-organization
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
You will find the source code there : ansforge/IG-fhir-annuaire#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
I'm not sure it is an error with sushi or with the publisher (or with my work)
Thanks for your help!
Closed because the issue seems to be from the validator in "checkToSeeIfSlicingExists" function
hapifhir/org.hl7.fhir.core#1587