Skip to content

Add documentation for Laboratory Service Requests by Patient Count at SSMM#98

Open
sonzsara wants to merge 1 commit into
mainfrom
ENG-303
Open

Add documentation for Laboratory Service Requests by Patient Count at SSMM#98
sonzsara wants to merge 1 commit into
mainfrom
ENG-303

Conversation

@sonzsara
Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown

Copilot AI left a comment

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 the Metabase question “Laboratory Service Requests by Patient Count at SSMM”, describing and embedding the SQL used to report completed lab service requests per patient/day.

Changes:

  • Added a new Markdown documentation page under Care/Operations/ for the lab service request patient-count report.
  • Included an initial SQL query plus notes on hardcoded values and optional date filtering.

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

Comment on lines +10 to +13
## Parameters

*No parameters — the query returns all completed laboratory service requests.*

Comment on lines +28 to +30
AND sr.category = 'laboratory'
GROUP BY DATE(sr.created_date), p.name, pi.value
ORDER BY request_count DESC;
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