-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: medication enhancements and mar #7238
Open
khoi-bes
wants to merge
9
commits into
main
Choose a base branch
from
epic-medication-enhancements-and-mar-2
base: main
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.
Open
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
7d9e610
to
2d196d8
Compare
fd5ca16
to
5e4ae47
Compare
5e4ae47
to
aa0a9c0
Compare
Android builds 📱
|
7606272
to
527d1e7
Compare
14a2430
to
07c18bd
Compare
feat(medication): EPI-1085: Add frequency to settings
90ffff2
to
f2fd56a
Compare
* feat(medication): EPI-1083: Extend drugs reference data * refactor(migrations): Remove unused drug reference data insertion logic * feat(migrations): Add bulk insert for reference drugs from reference data * feat(migrations): Add conditional check for bulk insert of reference drugs * fix(migrations): Update conditional check for bulk insert of reference drugs * add docs for models * Update packages/database/src/migrations/1736614067055-addReferenceDrugsTable.js Co-authored-by: Edwin Monk-Fromont <edwin.monkfromont@gmail.com> * address feedbacks * address feedback * fix dbt models --------- Co-authored-by: Edwin Monk-Fromont <edwin.monkfromont@gmail.com>
* update models and associations for prescriptions and encounters * fix test case for the new medication schema on central * update medication_info query to use new schema and associations * refactor: update models and associations for prescriptions and encounters for facility server * update tests and query for new db schema * update database schema for medications on mobile * add missing model and refactor query on mobile * fix saving prescription not working on mobile * update Prescription buildSyncFilter method name * fix test determinism issue for new migration * fix cannot access 'referenceData' before initialization * resolve feedback * use raw query to populate encounter_prescriptions table * fix test cases after removing is_discharge column * Add is_discharge column to EncounterPrescription model * Revert "fix test cases after removing is_discharge column" * include isDischarge flag in EncounterPrescription model and related tests * fix test case after moving isDischarge column to EncounterPrescription * update DBT model docs * continue updating DBT model docs * migration: Remove inexistent column from prescriptions table
* feat: Add frequency logic * fix incorrect frequency details * resolve feedback and separate ADMINISTRATION_FREQUENCY_DETAILS constant * feat: enable configuration for administrationWindows and administrationIdealTimes with validation * feat: Remove unused import in medications.ts
* feat: Add frequency logic * fix incorrect frequency details * feat: update new prescription form (FE) * fix merge error * finalize New prescription form (fe) * remove unnecessary util function change * remove unnecessary HistoryPane changes * feat: Update prescription model and migration to include new fields and remove obsolete ones * feat: Remove obsolete 'is_variable_dose' column from prescriptions table migration * feat: Add startDate, doseAmount, units, and frequency fields to dummy prescription data * feat: Update prescriptions documentation and schema to include new fields and remove obsolete ones * feat: Revert adding 'repeats' field to prescriptions model and documentation * feat: Change data type of 'end_date' field from date to character(19) in prescriptions model * feat: Add doseAmount, units, frequency, and route fields to Encounter test --------- Co-authored-by: khoi.nguyen <khoi@bes.au>
4f571b4
to
109ab4c
Compare
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.
Changes
Add a brief description of the changes in this PR to help give the reviewer context.
Deploys
Remember to...