Uploaded image for project: 'FHIR Specification Feedback'
  1. FHIR Specification Feedback
  2. FHIR-35361

Ensure that examples validate against C4BB-ExplanationOfBenefit profile

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive
    • Icon: Medium Medium
    • US CARIN Blue Button (FHIR)
    • current
    • Financial Mgmt
    • STU
    • (many)
    • Hide

      We will remove the constraints on meta.profile for the abstract profile.

      Show
      We will remove the constraints on meta.profile for the abstract profile.
    • 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

        Activity

          People

            Unassigned Unassigned
            jmandel Josh Mandel
            Josh Mandel
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: