-
Notifications
You must be signed in to change notification settings - Fork 10
Prescribers can create PSD instructions in bulk #4384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jhenderson
merged 3 commits into
v3.4.0-delegation
from
prescribers-can-create-psd-instructions-in-bulk
Aug 27, 2025
Merged
Prescribers can create PSD instructions in bulk #4384
jhenderson
merged 3 commits into
v3.4.0-delegation
from
prescribers-can-create-psd-instructions-in-bulk
Aug 27, 2025
Conversation
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
d20a8b6
to
af6fb79
Compare
af6fb79
to
1ea785e
Compare
thomasleese
reviewed
Aug 22, 2025
app/components/app_patient_session_psd_search_result_card_component.rb
Outdated
Show resolved
Hide resolved
app/components/app_patient_session_psd_search_result_card_component.rb
Outdated
Show resolved
Hide resolved
1ea785e
to
8f7487e
Compare
thomasleese
approved these changes
Aug 26, 2025
881cdc5
to
92192d2
Compare
This allows historic records, and records received from the API to leave `protocol = nil`. Also set imported records' protocol to `nil`, unless it's an offline recording, in which case default to `"pgd"`.
The upcoming PSDs tab page will need to render the PSD status for each patient. The html markup will be the same as what this component renders for the register status.
This PR implements a new feature that allows prescribers (nurses, pharmacists) to bulk create Patient Specific Directions (PSDs) for patients who have given consent and don't require individual triage assessment. This significantly reduces manual work by enabling batch processing of PSDs instead of creating them one by one. What's changed? - New (basic) controller and page for the PSDs tab (no filters yet) - PSDs tab only appears if delegation feature is enabled - New controller to manage the bulk add PSDs
92192d2
to
398271f
Compare
|
thomasleese
pushed a commit
that referenced
this pull request
Aug 27, 2025
…ctions-in-bulk Prescribers can create PSD instructions in bulk
thomasleese
pushed a commit
that referenced
this pull request
Aug 27, 2025
…ctions-in-bulk Prescribers can create PSD instructions in bulk
thomasleese
pushed a commit
that referenced
this pull request
Aug 27, 2025
…ctions-in-bulk Prescribers can create PSD instructions in bulk
thomasleese
pushed a commit
that referenced
this pull request
Aug 29, 2025
…ctions-in-bulk Prescribers can create PSD instructions in bulk
thomasleese
pushed a commit
that referenced
this pull request
Aug 29, 2025
…ctions-in-bulk Prescribers can create PSD instructions in bulk
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.
Context
This PR implements a new feature that allows prescribers (nurses, pharmacists) to bulk create Patient Specific Directions (PSDs) for patients who have given consent and don't require individual triage assessment. This significantly reduces manual work by enabling batch processing of PSDs instead of creating them one by one.
What's changed?
Screenshots