Uploaded image for project: 'MADiE Issue Tracker'
  1. MADiE Issue Tracker
  2. MADIE-722

FHIR Library dataRequirement for resource in where clause of CQL function

XMLWordPrintable

    • Icon: Bug/Issue Bug/Issue
    • Resolution: Resolved
    • Icon: Major Major
    • Export Files
    • None
    • MAT
    • MAT FHIR
    • FHIR/CQL

       MATGlobalCommonFunctionsFHIR4-5.0.000 has 2 functions with [Condition] in the where clause

      define function "EncounterDiagnosis"(Encounter Encounter ):
      Encounter.diagnosis D
      return singleton from ([Condition] C where C.id = "GetId"(D.condition.reference))

      define function "PrincipalDiagnosis"(Encounter Encounter ):
      (singleton from (Encounter.diagnosis D where FHIRHelpers.ToInteger(D.rank) = 1)) PD
      return singleton from ([Condition] C where C.id = "GetId"(PD.condition.reference))

      The MAT export does not specify Condition in the dataRequirement of the Library resource

      See https://oncprojectracking.healthit.gov/support/browse/BONNIEMAT-719 for related Bonnie issue

            nalbritton Noel Albritton
            p9g Paul Denning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: