Clinic invites: new patient filter and invite-to-clinic pages#271
Merged
Clinic invites: new patient filter and invite-to-clinic pages#271
Conversation
Moved addition to patientSession_uuids from requestConsent to more logical home in addToSession. Fixed creation and use of PatientSessions vs. Patients in create-data Added tracking of clinicProgramme_ids where it was missing
This still isn't backed up by any booking of children into a clinic, so the "Booked in" status probably won't work as expected yet.
This adds an Invite To Clinic link to the child's Vaccination Programmes card if they're ready for clinic for any programmes. A following page then asks the user to select which programmes to invite for. May still need to record the invitation in audit events.
This is just the actionLink for now; will need to add the destination page next.
This is intended to clarify that you can already search for children by postcode
Was previously listing children with conflicting consent and whose parents had no contact details.
Also: - stop using a warning callout if that's the only content on the page - offer a back-out link if none of the clinic-ready programmes currently has a scheduled clinic
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.
This PR adds:
The clinic status filter, seen in the main Children page, with the link to invite to clinic present because the filter is showing children who can be invited to clinic:

The page allowing you to specify which programmes you want to invite the selected children to at clinic:

In the child record, a new link from the Child record tab allowing you to invite to all relevant programmes in one go:

And the page allowing you to select the programmes to invite to clinic for, for that child:

Arguably, the invite page in the Children list also needs that warning callout for programmes that have no scheduled clinics.