Skip to content
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

(feat) O3-4036: Mutate patient lists after submission #1334

Merged
merged 2 commits into from
Oct 2, 2024
Merged

Commits on Oct 2, 2024

  1. (feat) O3-4036: Mutate patient lists after submission

    This PR adds a mutation to the Patient Lists app submission logic to update the patient list with the new patient. It does so by creating a mutator function `mutateCohortMembers` that updates the SWR key used to fetch the patient list data after a successful submission. It also:
    
    - Adds test coverage for the `AddPatient` component.
    - Ports over API logic from the component to the resource file.
    - Updates the UI to match the [designs](https://zpl.io/JQEowL9)
    denniskigen committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    9ccdf5c View commit details
    Browse the repository at this point in the history
  2. Fixup

    Co-authored-by: Ian <[email protected]>
    denniskigen and ibacher authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    32dc0f3 View commit details
    Browse the repository at this point in the history