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

careTeam.qualification invariant in Outpatient Profile Needs to be fixed

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive with Modification
    • Icon: Medium Medium
    • US CARIN Blue Button (FHIR)
    • 1.2.0
    • Financial Mgmt
    • C4BB ExplanationOfBenefit Outpatient Institutional
    • Hide

      Correct the Invariant to be (with Context of ExplanationOfBenefit.careTeam):
      where(role.where(coding.code in ('performing')).exists().not() or qualification.memberOf('http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066')).exists()
       

      Add an example Practitioner that is linked to an Outpatient Institutional ExplanationOfBenefit.careTeam[role.coding.code=performing']

      Show
      Correct the Invariant to be (with Context of ExplanationOfBenefit.careTeam): where(role.where(coding.code in ('performing')).exists().not() or qualification.memberOf('http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066')).exists()   Add an example Practitioner that is linked to an Outpatient Institutional ExplanationOfBenefit.careTeam [role.coding.code=performing']
    • Corey Spears / Jeff Brown : 13-0-0
    • Correction
    • Compatible, substantive

    Description

      Issue noted by CMS BlueButton API Team

       
      The Eob Outpatient profiles contains the following invariant: 
      Care Team Performing physician's qualifications are from US-Core-Provider-Specialty Value Set: ( role.where(coding.where(code in ('performing' )).exists()).exists() implies role.where(coding.where(code in ('performing')).exists()).exists().qualification.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-provider-specialty') )
      When we supply a resource with a careTeam.role of performing provider and the associated qualification, we still get validator errors. I believe the FHIRPath above is incorrect. The expression*after* the IMPLIES operator (the "RHS") cannot properly resolve to the qualification attribute.
      If you take just the RHS expression, and then remove the .memberOf call, and run that fhirPath expression against a resource with a proper qualification, it does NOT return the qualificationelement. In other words, the following expression returns an empty value:

      careTeam.role.where(coding.where(code in ('performing')).exists()).exists().qualification

      The expression above gets down to the careTeam.role level before any criteria is applied. Qualification is a sibling of role, not a child. The following expression correctly reaches the qualificationattribute

      careTeam.where(role.coding.where(code in ('performing'))).qualification

      I believe the proper RHS expression is this:

      careTeam.where(role.coding.where(code in ('performing'))).qualification.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-provider-specialty')

      Note that there are no examples in the IG demonstrating the proper coding of a performing provider with qualification
      Related Zulip Discussion:
      https://chat.fhir.org/#narrow/stream/204607-CARIN-IG.20for.20Blue.20Button.C2.AE/topic/CareTeam.2Equalification.20invariant.20in.20EOB.2EOutpatient.20profile
       |

      Attachments

        Activity

          People

            Unassigned Unassigned
            corey_spears Corey Spears
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: