-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Download Discharge Summary, Medicine Administration Records and upgra…
…ded Prescriptions (#5458) * Adds new prescription API routes and actions * Copy most of the diffs from #5317 Co-authored-by: skks1212 <[email protected]> * fix issues when creating new consultation * update API and actions * revert changes in critical care IO Balance Editor * define types * fix typo * minor patches to `Form` HOC * revert changes in critical care * so we no longer need upsert * `ResponsiveMedicineTable` to support custom actions * Adds `PrescriptionForm` component * Adds `PrescriptionDetailCard` component * Adds `PrescriptionBuilder` component * Adds `ManagePrescriptions` page route * Consultation Form: onSave navigate to manage prescriptions page if new * this is not an atomic commit :/ * so now there's Administration History Table * lots of diff :/ * so fixed the issue that caused not to work during weekly demo * add units to dosage * Adds `NumericWithUnitsFormField` * chore * discharge flow * disable buttons if discharged * highlight if selected for discharge * administer medicines per row * detailed view for row onclick * fix deploy fail * fix numeric input alignment * fix onrow click propogration * fix responsiveness issue * fix responsiveness for medicine administrations * fix table heading actions responsiveness * remove id from success notif * add back button * ux: warning and all changes saved * minor fix * minor responsive fix * adds translations * fix responsiveness issues * minor fix: translation key and notes col. missing * fix responsiveness and filter regular prescriptions * fix table obj keys order * remove medicines from critical care * unmess * reflact discharge prescriptions in sicharge summary * some fixes during testing * translations and other fixes * fix casing for prescription frequency ---------
- Loading branch information
1 parent
e818c0a
commit 14f9547
Showing
37 changed files
with
1,866 additions
and
1,402 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
let select = (setPrescription, prescription) => setPrescription(_ => prescription) | ||
|
||
@react.component | ||
export make = (~prescriptions, ~setPrescriptions) => | ||
@genType @react.component | ||
let make = (~prescriptions, ~setPrescriptions) => | ||
<div> <Prescription__Builder prescriptions selectCB={select(setPrescriptions)} /> </div> |
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
Oops, something went wrong.