Details
-
Change Request
-
Resolution: Persuasive
-
Medium
-
US CARIN Blue Button (FHIR)
-
current
-
Financial Mgmt
-
STU
-
(many)
-
-
Corey Spears / Jeff Brown: 9-0-0
-
Correction
-
Non-substantive
Description
Trying to evaluate an example against the abstract base profile fails, because of the way that Meta.profile is sliced:
wget https://github.com/hapifhir/org.hl7.fhir.core/releases/latest/download/validator_cli.jar
mkdir carin
cd carin
wget https://hl7.org/fhir/us/carin-bb/2022Jan/definitions.xml.zip
unzip definitions.xml.zip
cd ..
wget https://hl7.org/fhir/us/carin-bb/2022Jan/ExplanationOfBenefit-OutpatientEOBExample1.json
java -jar validator_cli.jar \
-version 4.0.1 \
-ig carin \
-profile http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit \
ExplanationOfBenefit-OutpatientEOBExample1.json
This results in:
Error @ ExplanationOfBenefit.meta.profile[0] (line 9, col6): Slicing cannot be evaluated: Could not match discriminator ([$this]) for slice ExplanationOfBenefit.meta.profile:supportedProfile in profile http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit - the discriminator [$this] does not have fixed value, binding or existence assertions Information @ ExplanationOfBenefit.meta (line 5, col48): ExplanationOfBenefit.meta.profile:supportedProfile: Unable to check minimum required (ExplanationOfBenefit.meta.profile) due to lack of slicing validation (from http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit)
{{ }}The abstract C4BB-ExplanationOfBenefit profile is otherwise useful, and this issue can be fixed (and simplified!) by slicing Meta.profile in the child profiles instead of slicing in the parent profile and re-slicing in the children.
Attachments
Issue Links
- is voted on by
-
BALLOT-27682 Negative - Josh Mandel : 2022-Jan-FHIR IG BLUEBUTTON R1 STU
- Balloted
- relates to
-
FHIR-34504 ExplanationOfBenefit.meta.profile specifies a slicing discriminator pattern on $this and is missing in supportedProfile
- Published