Skip to content

Add documentation for Patients With Medication Due query - #143

Open
sonzsara wants to merge 2 commits into
mainfrom
ENG-885
Open

Add documentation for Patients With Medication Due query#143
sonzsara wants to merge 2 commits into
mainfrom
ENG-885

Conversation

@sonzsara

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds end-user documentation for the “Patients With Medication Due” metric/query in the Care analytics documentation set.

Changes:

  • Introduces a new Care/Clinical/patients_with_medication_due.md page describing purpose, SQL, and usage notes for counting patients overdue on a 15-day medication course.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread Care/Clinical/patients_with_medication_due.md

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Suppressed comments (1)

Care/Clinical/patients_with_medication_due.md:20

  • Cancelled medication requests still satisfy this predicate, so a cancelled 15-day request can become the patient's “latest course” and later be counted as overdue even though it was never an active course. Exclude cancelled requests (as other medication reporting does for non-actionable records, e.g. Care/Accouting/pharmacy_revenue_ssmm.md:26) before selecting the latest request.
		WHERE  emr_medicationrequest.status != 'entered_in_error'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants