FHIR Library dataRequirement for resource in where clause of CQL function

XMLWordPrintable

    • Type: Bug/Issue
    • Resolution: Resolved
    • Priority: Major
    • Component/s: 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

            Assignee:
            Noel Albritton (Inactive)
            Reporter:
            Paul Denning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: