Conversation
There was a problem hiding this comment.
Pull request overview
Adds new Pallium operations query docs intended for Metabase to support line-level reporting on (1) supply deliveries/purchases and (2) completed medication dispenses with charge details.
Changes:
- Introduces a Pallium purchase / supply delivery line-item report query doc.
- Introduces a Pallium medication dispense line-item report query doc with charge-item fields.
- Adds parameter documentation and Metabase filter notes for both reports.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| Care/Operations/purchase_report_pallium.md | New query doc for Pallium supply delivery purchases with supplier/destination/batch/value columns. |
| Care/Operations/medication_dispense_report_pallium.md | New query doc for Pallium medication dispenses including location, batch/expiry, staff, and charge item fields. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+41
to
+43
| --[[AND {{date}}]] | ||
| --[[AND org.name = {{supplier_name}}]] | ||
| --[[AND pk.name = {{stock_name}}]] |
|
|
||
| *Last updated: 2026-05-25* | ||
|
|
||
| ```` |
| @@ -0,0 +1,56 @@ | |||
|
|
|||
| # Purchase Report - Pallium | |||
Comment on lines
+42
to
+44
| --[[AND {{date}}]] | ||
| --[[AND fl.name = {{location_filter}}]] | ||
| --[[AND pk.name = {{medicine_filter}}]] |
|
|
||
| *Last updated: 2026-05-25* | ||
|
|
||
| ```` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://whale-app-5ua2v.ondigitalocean.app/question/125-medicine-dispense-list?date=past30days&location_filter=&medicine_filter=