This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
NMRL-125 New Analysis Request Add form outside the client and patient #7
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.
There should be a very simple way to allow users to register specimen, assign it to a patient, assign a patient to a client, as well as request for analysis. The analysis request form should behave in a similar way as the case form
The requirement is to have analysis request form detached from either the client or patient. At the moment, to create an analysis you have to be either in the client or patient container. Ideally, we want one to open analysis request form, without going to patient or client. From the analysis request form the user should be able to then select or create a patient as well as select a client (following province → district → client hierarchy) both of which are mandatory. In case of missing patient information, register the sample using anonymous patient to allow the sample to be registered and rejected for lack of patient information (the functionality partially exist). The case and the analysis request forms should be maintained as is – except for changes to be made to the actual fields to meet the requirements.
New Analysis Request Add form from outside the client and case. Order of the fields:
Technical approach
An “Add” button will be added in the Analysis Requests list view. Thus, the user will be able to create an Analysis Request from outside a Client or Patient view. If so, the Analysis Request Add form will display the Client and Patient fields empty, but both mandatory.