If 'date from' is removed before 'AgeInYearsAt' edge cases break

XMLWordPrintable

    • Type: Question/Guidance
    • Resolution: Done
    • Priority: Minor
    • Component/s: None
    • None
    • Yes
    • Bug/Issue

      We asked if 'date from' was needed in definition 'Encounter with Principal Diagnosis and Age' for CMS104, in library TJCOverall in MADiE, and it was thought not to be needed. However when it was removed the following edge test cases broke.

      TJCOverall library version 8.6.000 does not have the 'date from'.
      TJCOverall library version 8.7.000 has the 'date from' put back in.

      Measure: Discharged on Antithrombotic TherapyFHIR

      Test Cases that broke without 'date from':
      DENOMPass PrinDxIschemicStk
      IPPass IPPassLOS119days
      IPPass IPEncDuringMPExpiresAfterIPEnc
      IPPass PrincDxIsIschemicStk
      IPPass PrinDxIsHemo
      IPPass PrinDxIsHemoTestOccur

      Logic in TJCOverall v8.7.000:
      define "Encounter with Principal Diagnosis and Age":
      "All Stroke Encounter" AllStrokeEncounter
      where AgeInYearsAt(date from start of AllStrokeEncounter.period ) >= 18

            Assignee:
            Bryn Rhodes
            Reporter:
            Julia Dawson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: