Allow providers to file results on behalf of other providers#197
Draft
D3V41 wants to merge 11 commits intoopen-osp:mainfrom
Draft
Allow providers to file results on behalf of other providers#197D3V41 wants to merge 11 commits intoopen-osp:mainfrom
D3V41 wants to merge 11 commits intoopen-osp:mainfrom
Conversation
…lab acknowledgment by locum MD
…s after lab is acknowledged
- Added preference to allow other providers to file on their behalf - Added preference to enable filing results on behalf of other providers
- Implemented `fileLabsForProviderUpToFlaggedLab` to file labs starting from a selected lab. - Added support for filing labs up to a specific lab version. - Ensured labs are only filed if their status is `Not Acknowledge`, and updated to `Filed but not acknowledged`.
…unction openAcknowledgementDialog() instead of openFileDialog(false)
010331c to
ce85b79
Compare
- Add combined "Acknowledge/File Document" modal (comment + provider selection in one step) - Add separate "File Document" dialog for the "File for..." button (no comment needed) - Fix isLabNotFiledOrAckFlag not being set when logged-in provider appeared first in ackList - Improve code comments and add full flow documentation for the ack/filing feature
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.
Status Quo
Currently, a logged-in provider cannot file lab results on behalf of another provider.
Change
We have added functionality to allow a provider to file results on behalf of other providers.
(Example shown logged in as
doctor oscardoc.)Important
This PR is designed to minimize support burden on OpenOSP.
Main Workflow
When more than one provider is attached to a lab:
Acknowledgenow opens a File Dialog.User selects providers they want to file for and clicks
Yes.After confirmation, the user adds an acknowledgement comment, and the UI updates accordingly:
Preferences
Providers can configure the behavior under Preferences:
Disable the file dialog
Turn off the option:
“Automatically offer to file results on behalf of other providers…”
Prevent others from filing on your behalf
Turn off the option:
“Allow other providers to file results on your behalf…”
Additional Feature
File for…button.