Documentation on Patients Referred to Secondary Unit for Comfort Devices and Patient care#107
Conversation
There was a problem hiding this comment.
Pull request overview
Adds and updates query documentation pages in the Care analytics SQL docs, including new KC operational metrics and a Pallium accounting report, plus a refinement to the SSMM bed-occupancy query.
Changes:
- Added KC Operations query docs for counting active
emr_resourcerequestreferrals incomfort_devicesandpatient_carecategories. - Added a Pallium Accounting query doc to list charge items in
billed/paidstatus with patient and pricing details. - Updated the SSMM bed occupancy query to exclude additional parent locations and minor SQL cleanup.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
| Care/Operations/patients_referred_to_secondary_unit_for_patientcare_kc.md | New documentation page for KC patient-care referral/resource-request count query. |
| Care/Operations/patients_referred_to_secondary_unit_for_comfort_devices_kc.md | New documentation page for KC comfort-device referral/resource-request count query. |
| Care/Encounter/bed_occupancy_ssmm.md | Updates bed inclusion logic to exclude specified parent locations; small SQL formatting adjustments. |
| Care/Accounting/billed_paid_chargeitem_report_pallium.md | New documentation page for billed/paid charge item listing for Pallium. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+23
to
+25
| p.name AS patient_name, | ||
| pi.value AS ssmm_id, | ||
| ci.modified_date, |
Comment on lines
+36
to
+37
| --[[AND {{DATE}}]] | ||
| --[[AND ci.title IN ({{chargeitem}})]] |
|
|
||
| *Last updated: 2026-05-28* | ||
|
|
||
| ```` |
… Devices and Patient Care
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.
No description provided.