Skip to content

Add Active Patient Report with Patient Tags documentation #128

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

Add Active Patient Report with Patient Tags documentation #128
sonzsara wants to merge 2 commits into
mainfrom
ENG-662

Conversation

@sonzsara

@sonzsara sonzsara commented Jul 7, 2026

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 a new query documentation page for an “Active Patient Report with Patient Tags” for the Arike facility, describing the active-patient definition and providing a SQL query to retrieve patient demographics, zone/place-of-care tags, and a single relevant encounter/appointment date.

Changes:

  • Introduces a new markdown documentation file for the report, including purpose/parameters/notes.
  • Adds a SQL query using CTEs (active_patients, patient_tags) plus Metabase optional filters for zone and place-of-care.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Care/Clinical/active_patient_report_with_patient_tags_arike.md Outdated
Comment thread Care/Clinical/active_patient_report_with_patient_tags_arike.md
Comment thread Care/Clinical/active_patient_report_with_patient_tags_arike.md Outdated
…arity by using CTEs for latest encounters and next appointments

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 1 comment.

Comment thread Care/Clinical/active_patient_report_with_patient_tags_arike.md
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