Skip to content

Documentation on Patients Referred to Secondary Unit for Comfort Devices and Patient care#107

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

Documentation on Patients Referred to Secondary Unit for Comfort Devices and Patient care#107
sonzsara wants to merge 1 commit into
mainfrom
ENG-460

Conversation

@sonzsara
Copy link
Copy Markdown
Contributor

@sonzsara sonzsara commented Jun 1, 2026

No description provided.

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 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_resourcerequest referrals in comfort_devices and patient_care categories.
  • Added a Pallium Accounting query doc to list charge items in billed / paid status 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*

````
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