Uploaded image for project: 'BONNIE MAT MADiE Issue Tracker'
  1. BONNIE MAT MADiE Issue Tracker
  2. BONNIEMAT-1549

Immunization occurrence unexpected test case result

XMLWordPrintable

    • MADiE
    • QI Core
    • CMS117FHIR
    • QI Core/CQL
    • NUMERFail TwoDTapSameDay
    • Measure test deck cannot meet 100% passing rate
    • Yes

      Hello,

      In MADiE, I created a failing test case for the following definition "Four DTaP Vaccinations" but the test case execution result is an unexpected pass. The definition looks for 4 DTaP vaccines on different dates; the test case is set up to have 2 on the same day and the other 2 on different days; the expectation is set to fail (for Numerator), but the actual result is an unexpected pass.

      The tooling currently does not support display of actual results to assist with troubleshooting/debugging (BONNIEMAT-1453), similar to CQLIT-375. If that feature is available, our team would probably start by making sure the nested definition "DTaP Immunizations or Procedures" is appropriately returning vaccine dates to begin with.

      Please advise. Thank you!

       

      define "Four DTaP Vaccinations":
            from
                "DTaP Immunizations or Procedures" DTaPVaccination1,
                "DTaP Immunizations or Procedures" DTaPVaccination2,
                "DTaP Immunizations or Procedures" DTaPVaccination3,
                "DTaP Immunizations or Procedures" DTaPVaccination4
                  where DTaPVaccination2 1 day or more after day of DTaPVaccination1
                   and DTaPVaccination3 1 day or more after day of DTaPVaccination2
                   and DTaPVaccination4 1 day or more after day of DTaPVaccination3
                   return DTaPVaccination1
      
      define "DTaP Immunizations or Procedures":
            ( ( ( Status."Completed Immunization"([Immunization: "DTaP Vaccine"])) DTaPVaccination
                where CQMCommon."ToDateInterval"(QICoreCommon."ToInterval" (DTaPVaccination.occurrence)) during day of "Vaccine Administration Interval - 42 Days up to 2 Years Old"
                return date from start of CQMCommon."ToDateInterval"(QICoreCommon."ToInterval"(DTaPVaccination.occurrence))
                  )
                  union ( ( Status."Completed Procedure"([Procedure: "DTaP Vaccine Administered"] )) DTaPProcedure
                  where CQMCommon."ToDateInterval"(QICoreCommon."ToInterval" ( DTaPProcedure.performed)) during day of "Vaccine Administration Interval - 42 Days up to 2 Years Old"
                  return date from start of CQMCommon."ToDateInterval"(QICoreCommon."ToInterval"(DTaPProcedure.performed))
              ))

       

      //The two resources in the Patient bundle most relevant for this test case   
       {
            "fullUrl": "Immunization/Immunization-1a",
            "resource": {
              "resourceType": "Immunization",
              "id": "Immunization-1a",
              "meta": {
                "profile": [
                  "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-immunization"
                ]
              },
              "primarySource": true,
              "patient": {
                "reference": "Patient/Patient-1"
              },
              "status": "completed",
              "vaccineCode": {
                "coding": [
                  {
                    "code": "146",
                    "system": "http://hl7.org/fhir/sid/cvx",
                    "display": "Diphtheria and Tetanus Toxoids and Acellular Pertussis Adsorbed, Inactivated Poliovirus, Haemophilus b Conjugate (Meningococcal Protein Conjugate), and Hepatitis B (Recombinant) Vaccine."
                  }
                ]
              },
              "occurrenceDateTime": "2023-01-02T00:00:00.000Z",
              "recorded": "2023-01-02T00:00:00.000Z"
            }
          },
          {
            "fullUrl": "Immunization/Immunization-1b",
            "resource": {
              "resourceType": "Immunization",
              "id": "Immunization-1b",
              "meta": {
                "profile": [
                  "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-immunization"
                ]
              },
              "primarySource": true,
              "patient": {
                "reference": "Patient/Patient-1"
              },
              "status": "completed",
              "vaccineCode": {
                "coding": [
                  {
                    "code": "146",
                    "system": "http://hl7.org/fhir/sid/cvx",
                    "display": "Diphtheria and Tetanus Toxoids and Acellular Pertussis Adsorbed, Inactivated Poliovirus, Haemophilus b Conjugate (Meningococcal Protein Conjugate), and Hepatitis B (Recombinant) Vaccine."
                  }
                ]
              },
              "occurrenceDateTime": "2023-01-02T00:00:00.000Z",
              "recorded": "2023-01-02T00:00:00.000Z"
            }
          }, 

       

       

        1. Screenshot.png
          Screenshot.png
          104 kB
        2. Highlighting.png
          Highlighting.png
          86 kB
        3. NUMERFail-TwoDTapSameDay.txt
          24 kB
        4. ChildhoodImmunizationStatusFHIR.txt
          35 kB
        5. Execution result.png
          Execution result.png
          56 kB

            cbartleman@telligen.com Chandra Bartleman
            dlee38 Dorothy Lee
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: