-
Notifications
You must be signed in to change notification settings - Fork 61
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
[Multiple Ordering Providers] Backend support for Multiple Ordering Providers #7982
Comments
From the Figma:
|
@jayna-SkylightDigital @kenieh |
@mehansen That is correct. SimpleReport should display the error toast if the facility doesn't have at least 1 ordering provider UNLESS the facility state is ND, in which case the toast will not display (as ND does not require ordering provider data). |
thanks @jayna-SkylightDigital! I have another question (cc @kenieh) what's the expected behavior for the following?:
I realize these are a little redundant but wanted to outline all the cases. fwiw I think it makes sense for the changes to providers to be saved even if the user navigates away without saving the facility, since we have the success/error toasts that imply the action is completed. and we can refuse to delete a provider if it's only provider for a facility (except for ND) |
Scenario 1: Deleting the only provider associated with the facility
Scenario 2: Creating a new ordering provider but not saving
Scenario 3: Updating existing ordering provider details but navigating away before saving
|
Met with @jayna-SkylightDigital, @kenieh, and @khayeni-SL and determined that if a user makes a change to the provider, they do not need to hit save again on the facility page to persist the changes. |
Why should we do this?
User story
As a software engineer, I want to update the data model and database schema to support storing and managing multiple ordering providers per facility so that the new "Multiple Ordering Providers" feature can be implemented.
Action Requested
Acceptance Criteria
Design
Implementation
Additional Context
The text was updated successfully, but these errors were encountered: