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

AgeInYearsAt statement with comments unable to translate to ELM

XMLWordPrintable

    • Icon: UAT UAT
    • Resolution: Resolved
    • Icon: Major Major
    • None
    • None
    • MADiE
    • QI-Core

      Hi MADiE team,

      It appears that MADiE UAT Drop 5 is unable to translate CQL to ELM when the following statement with comments is added. This is related to the AdvancedIllnessandFrailtyExclusionQICore4 v0.3.000 CQL library in the current UAT environment. Please see screenshots attached and two files where one is successfully saved, and one is unable to translate to ELM with the following definition added 'Is Age 66 or Older Living Long Term in a Nursing Home'.

      Could you please advise and/or confirm whether this is an issue that will be addressed in MVP? Thank you!

      define "Is Age 66 or Older Living Long Term in a Nursing Home":
        AgeInYearsAt(date from
            end of "Measurement Period"
        )>= 66
      //     CalculateAgeInYearsAt(Patient.birthDate, date from 
      //    end of "Measurement Period"
      //  ) >= 66
          // and ( ( Last((Status."Final Survey Observation"([Observation: "Housing status"])) HousingStatus
          //       where QICoreCommon."ToInterval"(HousingStatus.effective) ends on or before 
          //       end of "Measurement Period"
          //       sort by 
          //       end of QICoreCommon."ToInterval"(effective) asc
          //   ) ) LastHousingStatus
          //     where LastHousingStatus.value ~ "Lives in a nursing home (finding)"
          // ) is not null

       

            Heather.Frideres Heather Frideres
            dlee38 Dorothy Lee
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: