HL7 / fhir-ig-publisher

Source code for the IG publisher
Apache License 2.0
70 stars 57 forks source link

Slice validation error non-deterministic #420

Open patrick-werner opened 2 years ago

patrick-werner commented 2 years ago

In the CG IG we discovered an issue with the validation of slices. (Caused by tx.fhir.org not supporting all AL of LOINC https://github.com/HealthIntersections/fhirserver/issues/184).

To get a clean build we added these ignores:

Found multiple matching profiles for Task/usage-1a among choices: http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/followup-recommendation, http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/medication-recommendation.   
Found multiple matching profiles for Task/med-usage-impact-task-pgx-example among choices: http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/medication-recommendation, http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/followup-recommendation

Wich fixes the issue sometimes, we also had to add the same ignores with an altered order of profiles after "among choices":

Found multiple matching profiles for Task/usage-1a among choices: http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/medication-recommendation, http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/followup-recommendation
Found multiple matching profiles for Task/med-usage-impact-task-pgx-example among choices: http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/followup-recommendation, http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/medication-recommendation

Expected behaviour: The validator returns the "among choices" profiles every time in the same order.

Issue can be reproduced by building: https://github.com/HL7/genomics-reporting/tree/ignore-warnings-issue

lmckenzi commented 1 month ago

@patrick-werner - is this still an issue?

lmckenzi commented 3 weeks ago

This is still an issue in the current genomics-reporting IG