forked from cqframework/mct
-
Notifications
You must be signed in to change notification settings - Fork 0
Group Support in Patient Selector #30
Copy link
Copy link
Open
Milestone
Description
Goal
Allow selection of all patients, ad-hoc individual patients, or a specific FHIR Group resource.
Changes
- Update the Patient multi-select to support three modes:
- All patients (current "Select All" behavior)
- Ad-hoc selection of individual patients (current individual checkbox behavior)
- Group selection — choose a FHIR Group resource stored on the facility server; passed as an opaque reference to
$gather(Group members are not expanded/displayed in the UI)
- The patient selector should display all patients and all Groups from the facility
- Maximum 200 patients. If more exist, notify the user of the limit and recommend using a Group for larger populations
- When a Group is selected, individual patient checkboxes are disabled (mutually exclusive modes)
Key Files
frontend/src/components/PatientMultiSelect.js— add Group selection modefrontend/src/store/reducers/data.js— fetch Groups from facility alongside patients- Backend may need a new endpoint or modification to
$list-facility-patientsto return Groups
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels