Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Measure Evaluate fails when generating reports for child indicators #3051

Closed
ndegwamartin opened this issue Feb 9, 2024 · 0 comments · Fixed by #3058
Closed

Measure Evaluate fails when generating reports for child indicators #3051

ndegwamartin opened this issue Feb 9, 2024 · 0 comments · Fixed by #3058
Assignees
Labels
Bug Report Something isn't working as expected

Comments

@ndegwamartin
Copy link
Contributor

Describe the bug
On upgrading to the very latest updates on the FHIR SDK. On running the FHIROperator.evaluateMeasure( method we encounter an exception with the exception message ...model.Measure.hasLibrary()' on a null object reference(see screenshot).

On further investigation it points us to the evaluation of the method here https://github.com/cqframework/clinical-reasoning/blob/1d033f61140709d5fc1f3d4702ea9f1460647157/cqf-fhir-cr/src/main/java/org/opencds/cqf/fhir/cr/measure/r4/R4MeasureProcessor.java#L89 which when evaluated throws the exception Type org.hl7.fhir.r4.model.CanonicalType not present causing the measure to return as a null object

To Reproduce
Steps to reproduce the behavior:

  1. Login to the app (one with Measure reporting e.g. ZEIR)
  2. Open left Navigation drawer
  3. Click on Child Indicators
  4. Select the month for which you want to generate Measure report for
  5. Select indicator you want to run

Expected behavior
It should generate the Measure report successfully

Screenshots

Screenshot 2024-02-03 at 17 47 23

Here's a screenshot of the full stack trace after the evaluation of the aforementioned class method R4MeasureProcessor.java#L89 in debug mode.

Screenshot 2024-02-03 at 22 38 34

Smartphone (please complete the following information):

  • Any Device or Emulator

Additional context
The issue was witnessed after the lib upgrades on the PR here #2825

@ndegwamartin ndegwamartin added the Bug Report Something isn't working as expected label Feb 9, 2024
@ndegwamartin ndegwamartin self-assigned this Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant