Skip to content
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

IPD Treatment Display Control Get API Changes & Edit Drug Chart API Changes #8

Merged
merged 55 commits into from
Jan 5, 2024

Conversation

kalai-tw
Copy link
Contributor

@kalai-tw kalai-tw commented Jan 2, 2024

No description provided.

riteshghiya90 and others added 30 commits July 27, 2023 10:57
…ng IPD Medication Schedule without creating slots.
…reference id to actor reference id. 2. Also added pre-condition before adding medication concept for ipd.
Arjun | BAH-3157 | Fetch Schedules for orders
@kavitha-sundararajan kavitha-sundararajan merged commit 9a9571d into Bahmni-IPD-master Jan 5, 2024
2 checks passed
binduak added a commit that referenced this pull request May 31, 2024
…nch (#56)

* [Ritesh] | BAH-3148 | Create and fetch medication task (#1)

* [Ritesh] | 1. Repo set up. 2. Created Slot and Schedule entity 3.Saving IPD Medication Schedule without creating slots.

* [Ritesh] | 1. Update package name 2. Added Dao and Service layer for reference 3. Minor fixes

* [Ritesh] | 1.Rename Schedule Strategy to MedicationFrequency

* [Ritesh] | 1. Migration for slot. 2. Slot creation from schedule

* [Ritesh] | 1. Refactor SlotTimeCreationService

* [Ritesh] | 1. Handle time zone issue while creating slots and schedule.

* [Ritesh] | 1. Changing the url of saving medication

* [Ritesh] | 1. Returning slots

* [Ritesh] | Get schedule for Drug chart

* [Ritesh] | Fix date time issue in slots response

* [Ritesh] | Refactoring and Added test

* [Ritesh] | 1. Change for reference id to subject reference id and by reference id to actor reference id. 2. Also added pre-condition before adding medication concept for ipd.

* [Ritesh] | 1. Refactoring ServiceType

* [Ritesh] | 1. Bug Fix return empty list if now slots are not present for a  patient on specific day.

* [Ritesh] | 1. Updated README file

* [Ritesh] | 1. Fixed time zone issue in test

* add. endpoint to get list of IPD medications scheduled for a patient

* refactor. endpoint and updated tests in DAO and service classes

* refactor. namings for schedule DAO methods

* fix. test failures in ScheduleImpl

---------

Co-authored-by: Arjun-Go <[email protected]>
Co-authored-by: Arjun G <[email protected]>

* A-1205974389432443 | Feedbacks on Medication Schedule (#3)

* [Ritesh] | 1. Repo set up. 2. Created Slot and Schedule entity 3.Saving IPD Medication Schedule without creating slots.

* [Ritesh] | 1. Update package name 2. Added Dao and Service layer for reference 3. Minor fixes

* [Ritesh] | 1.Rename Schedule Strategy to MedicationFrequency

* [Ritesh] | 1. Migration for slot. 2. Slot creation from schedule

* [Ritesh] | 1. Refactor SlotTimeCreationService

* [Ritesh] | 1. Handle time zone issue while creating slots and schedule.

* [Ritesh] | 1. Changing the url of saving medication

* [Ritesh] | 1. Returning slots

* [Ritesh] | Get schedule for Drug chart

* [Ritesh] | Fix date time issue in slots response

* [Ritesh] | Refactoring and Added test

* [Ritesh] | 1. Change for reference id to subject reference id and by reference id to actor reference id. 2. Also added pre-condition before adding medication concept for ipd.

* [Ritesh] | 1. Refactoring ServiceType

* [Ritesh] | 1. Bug Fix return empty list if now slots are not present for a  patient on specific day.

* [Ritesh] | 1. Updated README file

* [Ritesh] | 1. Fixed time zone issue in test

* add. endpoint to get list of IPD medications scheduled for a patient

* refactor. endpoint and updated tests in DAO and service classes

* refactor. namings for schedule DAO methods

* fix. test failures in ScheduleImpl

* add. changes to create one schedule for a patient

* update. columns in Schedule and Slot table

* update. set end date as null

* fix tests for Slot and Schedule Hiberate and DAOs. Updated responses for GET calls

* fix tests Schedule DAO

* remove unnecessary fields

* API Change to accomodate Editable Remaining day slot start time for medication

---------

Co-authored-by: Ritesh Ghiya <[email protected]>
Co-authored-by: Kalaiyarasan Raja <[email protected]>

* add. changes to automate omod publish for Bahmni-IPD-master branch (#4)

* Arjun | Fix deployment workflow (#5)

* test. ipd publish workflow

* revert. testing changes in deploy workflow

* test changes with maven wrapper

* revert. deploy for test branch

* Medication Administration Feature (#7)

* [Ritesh] | 1. Repo set up. 2. Created Slot and Schedule entity 3.Saving IPD Medication Schedule without creating slots.

* [Ritesh] | 1. Update package name 2. Added Dao and Service layer for reference 3. Minor fixes

* [Ritesh] | 1.Rename Schedule Strategy to MedicationFrequency

* [Ritesh] | 1. Migration for slot. 2. Slot creation from schedule

* [Ritesh] | 1. Refactor SlotTimeCreationService

* [Ritesh] | 1. Handle time zone issue while creating slots and schedule.

* [Ritesh] | 1. Changing the url of saving medication

* [Ritesh] | 1. Returning slots

* [Ritesh] | Get schedule for Drug chart

* [Ritesh] | Fix date time issue in slots response

* [Ritesh] | Refactoring and Added test

* [Ritesh] | 1. Change for reference id to subject reference id and by reference id to actor reference id. 2. Also added pre-condition before adding medication concept for ipd.

* [Ritesh] | 1. Refactoring ServiceType

* [Ritesh] | 1. Bug Fix return empty list if now slots are not present for a  patient on specific day.

* [Ritesh] | 1. Updated README file

* [Ritesh] | 1. Fixed time zone issue in test

* add. endpoint to get list of IPD medications scheduled for a patient

* refactor. endpoint and updated tests in DAO and service classes

* refactor. namings for schedule DAO methods

* fix. test failures in ScheduleImpl

* add. changes to create one schedule for a patient

* update. columns in Schedule and Slot table

* update. set end date as null

* fix tests for Slot and Schedule Hiberate and DAOs. Updated responses for GET calls

* fix tests Schedule DAO

* remove unnecessary fields

* API Change to accomodate Editable Remaining day slot start time for medication

* Kavitha|Kalai Add Change for Medication Administration Save

* Kavitha|Kalai - Medication Administration Create API Changes

* Kavitha|Kalai - Medication Administration Create API Changes

* Kavitha, Kalai | refactored patient reference param

* Kavitha|Kalai - Medication Administration Create API Changes

* Kavitha|Kalai - Medication Administration Create API Changes

* Kavitha|Kalai - Medication Administration Create API Changes

* Kavitha|Kalai - Medication Administration Create API Changes

* Kavitha, Kalai | add medication administration reference in slot db and api

* Kavitha|Kalai - Medication Administration Create API Changes

* Kavitha, Kalai | added provider mapper and time converter

* Kavitha | add adhoc and refactored scheduled medication administration

* refactored schedule from medication administration request

* Kavitha | refactored medication administration request and response

* Kavitha | refactored annotation to medicationAdministrationNote

* Kavitha | removed unused methods

---------

Co-authored-by: Ritesh Ghiya <[email protected]>
Co-authored-by: Arjun-Go <[email protected]>
Co-authored-by: Kalaiyarasan Raja <[email protected]>

* IPD Treatment Display Control Get API Changes & Edit Drug Chart API Changes (#8)


* IPD Drug Order Fetch API changes

* IPD Drug Order schedule update API changes

* IPD Drug Order schedule update API changes

* IPD Drug Order schedule update API changes

* IPD Drug Order schedule update API changes

* Fix to convert time to UTC intead of Local Time

* Kavitha | refactored treatments API to include emergency medications

* Kavitha,Kalai | add provider as part of drug order response

---------

Co-authored-by: Kavitha S <[email protected]>

* A-1206156796138532 | Abi | add. functionality to return slot information based on given time frame

* Abi | fix. method name based on functionality

* Abi | fix. filter non-voided slots for the iven time frame (#10)

* Changes to accomodate Drugchart view where we need to intended and actual administered time

Changes to accomodate Drugchart view where we need to intended and actual administered time

* BAH-3460 | Kavitha | refactor save adhoc medications (#13)

* Changes to stop/void slots associated with drugorder when its stopped (#12)

Changes to stop/void slots associated with drugorder when its stopped

* BAH-3460 | fix provider uuid issue for schedule creation (#14)

* Nursing task enhancement (#15)

* Abi | fix. schedule notes issue (#17)

* Provider acknowledge flow changes - Update API Introduced for Medication Administration

Provider acknowledge flow changes - Update API Introduced for Medication Administration

* Kavitha | fix slot creation logic for 1 day (#19)

* Kavitha | add void condition in fetching slots (#20)

* Abi | update. status as Stopped once administered and stopped a medicine (#21)

* Changes to bring drug order one visit previous to current visit

Changes to bring drug order one visit previous to current visit

* update. shift api to return slots based on visitUuid

* add. check to avoid multiple save (#23)

* update. filter slots for drugChart based on visit uuid

* Test Case Fix for new change added

* API to save/schedule the placeholder Tasks for PRN (#24)

* add. logic for creating placeholder for as needed medications

* add. test for getting medications in given time frame

* add. logic to fetch medications of particular service type

* update. name of variable

* update. modify imports to have static imports

* pendingSlotsAvailable Key added to know whether any pending slots is available for drug Order

* condition added to check if slotstart time is after current time (#27)

* [Sri/kalai] - get the pending slots after the current time in drug order schedule response

* Change to consider MedicationRequest as a default serviceType if is not sent in payload

* MAde Visit UUid as non-mandatory Param, if visit is not send consider Active  Visit of the patient

* Change to consider MedicationRequest as a default serviceType if is not sent in payload (#29)

* Change to consider MedicationRequest as a default serviceType if is not sent in payload

* MAde Visit UUid as non-mandatory Param, if visit is not send consider Active  Visit of the patient

* Backend changed to accomodate prn slots

* added First Slot Start time to response in DrugOrderSchedule

* Kavitha | add api to fetch slots by patient list with custom includes (#32)

* Ward Level DashBoard API Changes (#30)

* Ward Level DashBoard API Changes

* Kavitha | add null check to get slots for list of patients (#34)

* Search functionality API added & Refactor get patients API (#33)

* Add boolean key to show if all slots are attended (#35)

* Add totalPatient in Patient List & Search API response

* Add missing classes

* Kavitha | refactored slot creation logic for continuous medication (#38)

* add. scheduler to mark non-administered slots as missed (#39)

* Bookmarking API - API To Create Care Team & its Participants (#37)

Bookmarking API - API To Create Care Team & its Participants (#37)

* Adds careTeam information to AdmittedPatient (#40)

* Adds visitDetails to AdmittedPatientResponse

* Removed starttime,endtime & provider in update flow (#42)

* Adds provider details and time check for getAdmittedPatients

* Change LocalDateTime to Date

* Rename methods

* Adds ability to sort by Bed Number

* CareTeam info added to search API as well (#44)

CareTeam info added to search API as well (#44)

* Removed CareTeam Particpants join condition (#45)

Removed CareTeam Particpants join condition (#45)

* Changes Inner join to left outer join

* Makes sortBy optional parameter

* Add a check in generateGroupByClauseForSorting to handle null values

* Extract ORDER BY from GROUP BY

* Add myPatient count for provider in summary API

* Include void check for provider patients

* Include currentDateTime for provider shift validation

* BAH-3723|Kavitha| Event handling model & create task for admit event (#48)

* BAH-3723|Kavitha| add event handling model and create task for admit event

* Kavitha| add null check for event type

* Kavitha | update fhir2 extension module version

* Add scheduler, liquibase and handleEvent for shift start task

* Move Events to api, refactor and include shift start task scheduler

* Update api pom.xml

* Add scheduler task for rollover medication tasks

* Gets rollover tasks from fhir task service using task names and status

* Add migration top add scheduler for rollover tasks

* Create start shift scheduler and roll over tasks

* Update and Refactor the rollover and shift start task

* Remove the emrapi dependency

* Refactor the method names

* Rename the scheduler name

* Add filters on drugorder while showing count (#51)

* [Ashish]Add. Two new frequencies are added to medications

* Abi | add. privilege checks for endpoints (#54)

* Changes to Show the medication of Immediate Previous Visit Only if it is an OPD Visit

Changes to Show the medication of Immediate Previous Visit Only if it is an OPD Visit

* Upgrade Fhir2 version & Fhir2 Extension Version (#57)

* Bindu | Remove feature branch from workflow

---------

Co-authored-by: Ritesh Ghiya <[email protected]>
Co-authored-by: Arjun-Go <[email protected]>
Co-authored-by: Arjun G <[email protected]>
Co-authored-by: Ritesh Ghiya <[email protected]>
Co-authored-by: Kalaiyarasan Raja <[email protected]>
Co-authored-by: kavitha-sundararajan <[email protected]>
Co-authored-by: kalai-tw <[email protected]>
Co-authored-by: Kavitha S <[email protected]>
Co-authored-by: Abinaya U <[email protected]>
Co-authored-by: Abinaya U <[email protected]>
Co-authored-by: Soorya Kumaran C <[email protected]>
Co-authored-by: srinithishg <[email protected]>
Co-authored-by: srinithishg <[email protected]>
Co-authored-by: Umair Fayaz <[email protected]>
Co-authored-by: Umair Fayaz <[email protected]>
Co-authored-by: AshishkurianTw <[email protected]>
Co-authored-by: AshishkurianTw <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants