-
Notifications
You must be signed in to change notification settings - Fork 1
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
investigate CQF Ruler 0.13.0 error #248
Comments
I suspect this error may relate to some special MedicationRequest resources I have associated with this record.
It's weird that v0.13.0 can't handle this when apparently v0.5.0 can. But there's not that many resources on this record to begin with, and I don't believe this issue used to occur when I tested with it. |
CQF Ruler 0.5.0 pom.xml has Should consider this as a possibility, it could be that the CQL is fine in text, it's just not transforming in a compatible way. Or something. Maybe? |
UPDATE: this issue is triggered by a resource containing a reference by identifier. Has nothing to do with contained references, those work fine. |
I believe the issue relates to this function in OHSUHTNCommon.cql:
A MedicationRequest resource may have an Rx.medication that is a FHIR.Reference, but here the code presumes the reference to be by ID, splitting it by However, in this case, the reference is an identifier, which includes a There may be an easy way to accomplish this, we may not need to grab identifier components and iterate over Medication.identifier. gotta dig into this. |
created this post in the CQL Zulip chat channel: |
just encountered this error on the COACH Sandbox (coach-sandbox.ohsu.edu) using the "Test1, MBS" Patient, when using CQF Ruler 0.13.0:
I verified that this error does not occur when running with CQF Ruler 0.5.0.
The text was updated successfully, but these errors were encountered: