-
Notifications
You must be signed in to change notification settings - Fork 0
Handle rearrivals #660
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
base: release25.11-SNAPSHOT
Are you sure you want to change the base?
Handle rearrivals #660
Conversation
labkey-bpatel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, but please see my comments.
|
|
||
| EHR.Server.TriggerManager.registerHandlerForQuery(EHR.Server.TriggerManager.Events.BEFORE_UPSERT, 'study', 'Arrival', function(helper, scriptErrors, row, oldRow) { | ||
|
|
||
| console.log('isRearrival:', row.rearrival); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to keep this?
| new NIRCRearrivalFormSection() | ||
| )); | ||
|
|
||
| addClientDependency(ClientDependency.supplierFromPath("nirc_ehr/model/sources/Arrival.js")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it need dependency on Arrival.js?
|
|
||
| for (FormSection s : getFormSections()) | ||
| { | ||
| s.addConfigSource("Arrival"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary?
| { | ||
| public NIRCRearrivalFormSection() | ||
| { | ||
| super("study", "arrival", "Rearrivals", "ehr-gridpanel", true, true, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should the query name here be 'rearrival'?
Rationale
Some animals leave and come back. The EHR system doesn't really handle this. This is a work around to allow multiple arrivals and allow protocol/project assignments on animals with multiple arrivals. Some manual data manipulation still required.
Also a housing performedby fix.
Ticket 54440: Unable to have multiple arrivals
Ticket 54425: Housing Add From File Peformed By
Changes