-
Notifications
You must be signed in to change notification settings - Fork 6
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
Clinician portal for SPARC #1874
Draft
marta-
wants to merge
33
commits into
dev
Choose a base branch
from
sparc-demo-1204-3
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains 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
Initial implementation including: - Locking restriction - TODO: Once lock and unlock rights are implemented, apply locked restriction to everyone by default - Lock node on subjects - Includes author who locked the node - Only locked subjects with a child lock node can be unlocked and only if their parent is unlocked to prevent partially unlocked child trees - TODO: add time to lock node - Basic UI for locking and unlocking - Single lock/unlock button based on current lock state - TODO: list any incomplete forms - TODO: update UI when locking or unlocking successfull to reflect new lock state - TODO: list current user and timestamp Other tasks TODO: - Make locking opt-in - Make subject actions extensible to move the locking button into the locking modules
Lock button will now update the subject view so changes to locked status will be displayed to the user without needing to refresh the page
Switch to LOCK and UNLOCK HTTP methods rather than Post
- Add username and date to lock dialog
Create new Subject Action extension - Move lock button into locking module and access it through the extension
Fix incorrectly named configuration
- Make locking opt-in
- Restrict form and child subject creation for locked subjects
- Improve locking UI - Simplify subject actions extension - Add list of incomplete forms to lock UI - Update child form display when a subject is locked or unlocked
Improve locking UI - Split locking dialog into up to 2 dialogs: - List of incomplete forms + continue - Sign off - Convert username and date into disabled inputs - Convert list of incomplete forms into Material UI list
Refactor lock handling into LockManager rather than built into LockServlet
Remove extraneous lock action extension definition
[wip] Add stub views for a form/patient/visit
[refactoring] Moved all clinician-related ui components into a new `clinician-portal` directory
CARDS-2558: New "clinician-portal" module For clinicians, display forms with a simplified menu
For clinicians, reorganize visit pages to display the associated forms in the order specified by the Questionnaire set, and with simplified actions
Fixed error when trying to save forms
Fix error with forms not switching between view and edit mode correctly
Fetch all visit information forms for a patient
Declare frontent dependencies
Visit page - added link to patient survey, better visit info icon
[cleanup] Removed unnecessary code from the clinician portal form
Display patient info and visits on the Patient page
Simpler queries for populating the Patient page
Better icon and position for the Patient Survey Linky
[refactoring] Better var names
Added lock functionality on visit pages
Separate clinician forms and patient surveys on visit page
For incomplete navigable paginated forms, show which pages are completed
|
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.
WORK IN PROGRESS. Includes the
locking
feature. Replaces branchclin-portal-with-locking
(#1792).To test with sparc:
cards
branch withmvn clean install
sparc
(main or other branch) withmvn clean install
cards
directory, start withPROJECT_VERSION=1.0.0-SNAPSHOT ./start_cards.sh --dev --project sparc --locking