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

Bahmni web ipd 840 #1024

Open
wants to merge 325 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
325 commits
Select commit Hold shift + click to select a range
2dca64b
update translationkey for next-ui allergies panel (#651)
Arjun-Go Jul 24, 2023
2efd6d0
A-1205100474888030 | Pass translations from angular to local react mi…
Arjun-Go Jul 24, 2023
9ea001c
Phani, Bindu | BAH-3117 | Ability to add, display and update Notes se…
binduak Jul 24, 2023
2adef81
Phani | A-1204913361798569 | Fix DatePicker Alignment in notes modal(…
Phanindra-tw Jul 27, 2023
bcf6912
Feature/BAH-3128 MFE documentation and refactor (#654)
bassoGeorge Jul 28, 2023
585af0b
Add a condition to handle location name (#655)
SooryaKumaranC-tw Aug 1, 2023
6bc382a
Phani | A - 1205069439065526 | Add template options for notes in lab/…
Phanindra-tw Aug 2, 2023
ef5639b
Phani | A-1205140578172245 | Bahmni form controls version bump (#658)
Phanindra-tw Aug 4, 2023
f479b9a
Kavitha | BAH-3140 | add print selected medication feature (#659)
kavitha-sundararajan Aug 4, 2023
da222a8
BAH-3119 | Add validations and perform save in drug chart modal (#660)
Arjun-Go Aug 4, 2023
1cf789d
Arjun | A-1205221989222721 | Angular wrappers refactor (#661)
Arjun-Go Aug 9, 2023
01b30fc
Sowmya|Tanya | WIP - adds logic to fetch drug chart data
sowmya-AS Aug 9, 2023
96dd33f
[Ashish]Added Tzdata package| 1205239664019657 (#669)
AshishkurianTw Aug 16, 2023
b4efd4e
BAH-3140 | fix to handle null visit (#667)
kavitha-sundararajan Aug 16, 2023
f3db896
BAH-3092 | added configurable param for primary diagnosis in OT modul…
kavitha-sundararajan Aug 18, 2023
dfb9d2d
[Sowmya|Tanya] remove mocks for the confirm box
tanyaa-tw Aug 18, 2023
a5f3524
Merge pull request #671 from Bahmni/drug-chart-schedule-tasks
tanyaa-tw Aug 18, 2023
9e68996
Arjun | BAH-3157 | Ability to switch IPD to non-IPD medication (#668)
Arjun-Go Aug 18, 2023
b7f7e19
Phani | A-1204405645434093 | Adds. Ability to capture Patient Allergi…
Phanindra-tw Aug 22, 2023
1eb6511
Revert "Phani | A-1204405645434093 | Adds. Ability to capture Patient…
Phanindra-tw Aug 22, 2023
1acae14
fix. switch to consultation page in drug chart tab
tanyaa-tw Aug 22, 2023
29fb41a
Merge pull request #676 from Bahmni/bug-drug-chart-switch-to-consulta…
tanyaa-tw Aug 22, 2023
108a7e9
Phani | A-1204405645434093 | Adds. Ability to capture Patient Allergi…
Phanindra-tw Aug 23, 2023
a1e413d
Adds new config for displaying patient search results
umair-fayaz Aug 24, 2023
7476cb6
Merge pull request #681 from Bahmni/patient-search-results
umair-fayaz Aug 28, 2023
be9fd08
Phani | A-1205283475057406 | Add custom sorting for flowsheet (#684)
Phanindra-tw Aug 30, 2023
d1979a1
Arjun | 1205239860424569 | Pre-filling information on prescription pr…
Arjun-Go Aug 31, 2023
6a7e7b0
Add success popup After patient registration
Phanindra-tw Aug 31, 2023
152994f
[Tanya|Phanindra] fix the trailing spaces
tanyaa-tw Sep 4, 2023
afe7c2e
Form display control UI in react (#686)
SooryaKumaranC-tw Sep 4, 2023
b0522bf
Merge pull request #691 from Bahmni/patient-registration-redirection
tanyaa-tw Sep 4, 2023
5a8f85a
Ashish | BAH-3182 | Observation navigations (#688)
AshishkurianTw Sep 4, 2023
4b3b237
Fix public path (#693)
SooryaKumaranC-tw Sep 4, 2023
f9ae4a7
Abi, Kavitha | A-1205239860424586 | add targeted tab feature for queu…
kavitha-sundararajan Sep 5, 2023
d92d87d
Arjun | Translations for micro-frontends (#694)
Arjun-Go Sep 5, 2023
9d89ccb
Phani | A-1205421128183821 | Refactor SCSS classnames in Forms displa…
Phanindra-tw Sep 7, 2023
8e1dc74
BAH-3209 | Provider name and Control Edit for form display control (#…
kavitha-sundararajan Sep 12, 2023
e11a5f0
Arjun | A-1205281688916688 | Default values of triage program state (…
Arjun-Go Sep 13, 2023
d83ec8a
fix. alert dependency issue used as part of consultation (#700)
Arjun-Go Sep 13, 2023
02ff93c
Sowmya | A - 1205324343531683 | GET call for allergies backend (#699)
sowmya-AS Sep 14, 2023
7b3aa4a
feat: View Observation Form in React [Ayush | Soorya] (#705)
ayush34957 Sep 19, 2023
8f6209f
BAH-3225 | Custom filtering/ordering of headings in tabular view (#704)
kavitha-sundararajan Sep 19, 2023
eb9e941
[Ashish | Abinaya]Add. Ability to have multiple redirection on hyperl…
AshishkurianTw Sep 19, 2023
a9fabe5
feat: added notes, loader and handle surgeon, operation room complex …
ayush34957 Sep 22, 2023
f868ca8
fix: test cases
ayush34957 Sep 22, 2023
107dcd7
Merge pull request #709 from Bahmni/view-obs-complex
ayush34957 Sep 25, 2023
8fa05ef
Added funvtion to calculate no. of days admitted
umair-fayaz Sep 25, 2023
e8f4695
Added row to display no. of days alculated
umair-fayaz Sep 25, 2023
fba3eb2
Fixes UI issues for clinical module visits
umair-fayaz Sep 26, 2023
aae6263
Make days admitted message configurable
umair-fayaz Sep 26, 2023
2ca33ea
Makes provider info configurable
umair-fayaz Sep 26, 2023
6110371
Adds appService
umair-fayaz Sep 26, 2023
f71b1e7
Fix test snapshot
umair-fayaz Sep 26, 2023
79991cb
feat: UI feedback for view observation form [Ayush]
ayush34957 Sep 27, 2023
8bafa21
Merge pull request #714 from Bahmni/view-obs-form-feedback
ayush34957 Sep 27, 2023
09a5abe
Change function signature for consistency
umair-fayaz Sep 27, 2023
88d3ff6
Merge pull request #712 from Bahmni/discharge-summary-configuration
umair-fayaz Sep 27, 2023
7c2b0a0
Arjun | A-1205463335092754 | Feedback [Triage program/Pre-patient flo…
Arjun-Go Sep 28, 2023
90010db
BAH-3244 | adds printing based on custom templates and configs
kavitha-sundararajan Oct 3, 2023
1f1f456
BAH-3244 | modified coverage ratio
kavitha-sundararajan Oct 3, 2023
b37cca4
[Tanya] update message for allergies display control
tanyaa-tw Oct 3, 2023
65444d7
[Tanya] fix test case
tanyaa-tw Oct 4, 2023
b6ca7e5
Merge pull request #718 from Bahmni/update-message-uat-feedback
tanyaa-tw Oct 4, 2023
8b40d63
Arjun | Fix styling issues in programs page (#722)
Arjun-Go Oct 5, 2023
8a04200
Maha | BAH-3245 | year format change across all modules (#725)
maharaja-m Oct 6, 2023
60165bd
Arjun | A-1205664913179288 | Speciality field is showing json object …
Arjun-Go Oct 6, 2023
2ce7f5a
Arjun | A-1205664708270921 | Getting Error in patient dashboard (unde…
Arjun-Go Oct 6, 2023
a5fe07d
[Bug] | Kavitha | adds null check for visit in allery data (#729)
kavitha-sundararajan Oct 6, 2023
e40d1ac
feat: added observation forms widget in patient program page [Ayush]
ayush34957 Oct 10, 2023
c53e7dc
Phani | A-1204949175348855 | Integrate Save API for Allergies (#724)
Phanindra-tw Oct 10, 2023
0168181
test: added test and feedback [Ayush]
ayush34957 Oct 10, 2023
022547a
refactor: refactored some code and fixed test cases [Ayush]
ayush34957 Oct 11, 2023
0c9f663
fix: minified conversion issue [Ayush]
ayush34957 Oct 11, 2023
f84951b
Merge pull request #730 from Bahmni/obs-form-in-program-page
ayush34957 Oct 11, 2023
2c5c24e
[Ashish | Arjun ] Fix.Bug while printing prescription with no allergy…
AshishkurianTw Oct 11, 2023
6f3f447
fix: UI issue in observation form widget edit icon [Ayush]
ayush34957 Oct 12, 2023
107b067
Merge pull request #735 from Bahmni/bug/obs-form-date-ui
ayush34957 Oct 12, 2023
05bf8d7
Phani | A-1205559175340255 | Adds ability to show display controls in…
Phanindra-tw Oct 12, 2023
33b076d
Fix: Able to navigate through form 1 forms with mandatory errors (#732)
SooryaKumaranC-tw Oct 13, 2023
461ece3
Arjun | A-1205474115440282 | Hide patient info in visits page (#739)
Arjun-Go Oct 13, 2023
4228615
Sowmya | A-1205582341920482 | UAT Feedback - Alerts for unsaved obser…
sowmya-AS Oct 13, 2023
8aac881
[Ashish] Fix . ot calendar was opening up properly due to the recent …
AshishkurianTw Oct 16, 2023
5fdac82
Sowmya | A-1205582341920482 | Alerts for unsaved observation - fix er…
sowmya-AS Oct 17, 2023
5dbdd8a
add. CVE-2023-45133 vulnerability to ignore file (#743)
Arjun-Go Oct 17, 2023
243c8b2
Arjun | A - 1205463333089465 | Edit complex forms in new display cont…
Arjun-Go Oct 17, 2023
ffaa8c2
Kavitha | adds filter for concpets by form names (#744)
kavitha-sundararajan Oct 17, 2023
1208290
Arjun | changes to remove patient dashboard errors (#746)
Arjun-Go Oct 17, 2023
76d0a2c
Phani | A- 1205706604943139 | OT Module enhancements (#745)
Phanindra-tw Oct 18, 2023
a406bce
add. changes to fix undefined error in adt page (#747)
Arjun-Go Oct 18, 2023
13ba32d
Sowmya | fix alerts showing for unsaved observation even after all ob…
sowmya-AS Oct 18, 2023
a810957
Sowmya | fix alerts showing for unsaved observation even after all ob…
sowmya-AS Oct 18, 2023
a76c728
add. changes to fix version mismatch in forms (#750)
Arjun-Go Oct 18, 2023
9d8a197
Sowmya | fix alerts showing for unsaved observation even after all ob…
sowmya-AS Oct 18, 2023
ca76352
Phani | Update CSS to fix overlapping of scrollbar and ot blocks (#752)
Phanindra-tw Oct 19, 2023
09e9564
add. changes to fix bug when performing multi select (#753)
Arjun-Go Oct 19, 2023
65b40d3
Phani | Fix patient dashboard error reading undefined 'patient' (#754)
Phanindra-tw Oct 19, 2023
1a8aa77
Arjun | A-1205754462895423 | Unwanted entries in forms showing up in …
Arjun-Go Oct 20, 2023
676f37c
Arjun | Trivy CVE-2022-37602 added to ignore list (#756)
Arjun-Go Oct 20, 2023
89c2b3e
Bindu | Bump up the form-controls version
binduak Oct 25, 2023
ea1aac6
Phani | Sowmya | A - 1205496447938906 : Add new IPD Dashboard to acti…
Phanindra-tw Oct 27, 2023
2a0f6bd
Bindu, Phani, Kavitha | removed diagnoses from move surgery payload (…
kavitha-sundararajan Oct 30, 2023
96d71a5
Phani | Upgrade package dependency to resolve CVE-2023-46234 (#762)
Phanindra-tw Oct 30, 2023
653de06
Phani | A-1205831563196499 | Add Patient Context in order Fulfilment …
Phanindra-tw Nov 1, 2023
22b9749
Phani | Update CSS for ng dialog and Modal (#767)
Phanindra-tw Nov 1, 2023
370d33e
Phani / Arjun | A-1205831568550570 | Update custom attributes in OT s…
Arjun-Go Nov 6, 2023
f6ca6da
[Tanya] update drug modal to slider
tanyaa-tw Nov 7, 2023
c69f8b0
remove Modal connectors
Arjun-Go Nov 8, 2023
75dd510
Phani | Add the React IPD Dashboard to ADT Patient Dashboard (#772)
Phanindra-tw Nov 9, 2023
6a87ba3
remove add to drug chart hyperlink
tanyaa-tw Nov 10, 2023
4ee9874
Phani | A-1205860129671186 | Add a feature toggle for ipd features (#…
Phanindra-tw Nov 13, 2023
4e338c2
remove angular connectors
tanyaa-tw Nov 16, 2023
aa21e57
Merge pull request #778 from Bahmni/drug-chart-slider
tanyaa-tw Nov 16, 2023
ced709d
Kavitha | BAH-3334 | add print feature for forms display control (#783)
kavitha-sundararajan Nov 22, 2023
56a156a
Kavitha | BAH-3334 | import formPrintService script for all modules
kavitha-sundararajan Nov 23, 2023
7ed7e4c
Kavitha | BAH-3334 | fix showing other forms data if there is no data
kavitha-sundararajan Nov 23, 2023
58df51d
Kavitha | BAH-3334 | fix failed test cases
kavitha-sundararajan Nov 23, 2023
27f017a
Kavitha | BAH-2333 | add expects in formPrintService tests
kavitha-sundararajan Nov 23, 2023
a0e8634
Merge pull request #784 from Bahmni/BAH-3334-fix
kavitha-sundararajan Nov 23, 2023
37dc061
Kavitha | BAH-3334 | add form name null check for print (#785)
kavitha-sundararajan Nov 24, 2023
09ba883
Kavitha | fix edit form not showing data (#786)
kavitha-sundararajan Nov 24, 2023
d0607c3
Phani | Fix Missing ADT Admit/Transfer buttons (#789)
Phanindra-tw Nov 29, 2023
b70ac82
update. as needed to have checkbox option (#791)
abinaya-u Dec 4, 2023
48f8076
Arjun | A-1205974326537693 | To build a page in React for new Ward-le…
Arjun-Go Dec 5, 2023
e8a9587
Phani | A-1205290605709958 | Fix Date Picker for OT Module and update…
Phanindra-tw Dec 6, 2023
f70479d
update. duration unit and duration based on frequency (#799)
abinaya-u Dec 12, 2023
a2c7198
Sowmya| A-1206084780093316 | Disables edit of medications once it is…
sowmya-AS Dec 22, 2023
71d6b92
Tanya| fetch provider id of the login provider
tanyaa-tw Dec 26, 2023
10801ff
A-1206201729443040 | Navigation to clinical dashboard and discharge s…
Arjun-Go Dec 28, 2023
075a7e3
Merge branch 'Bahmni-IPD-master' into update-schedule-medication
tanyaa-tw Dec 28, 2023
03d16ee
Merge pull request #803 from Bahmni/update-schedule-medication
tanyaa-tw Dec 28, 2023
5e6b7c2
add. tests to increase coverage (#804)
Arjun-Go Dec 28, 2023
59c9a72
Tanya| add visit uuid and visit summary to hostdata
tanyaa-tw Jan 9, 2024
54af68c
A-1206293736141146 | Getting an error while navigating back from IPD …
Arjun-Go Jan 9, 2024
843745a
fix. CVE-2023-26159 vulnerability (#806)
Arjun-Go Jan 9, 2024
123ad1a
Tanya| remove trailing comma
tanyaa-tw Jan 10, 2024
b4bcf97
Merge pull request #807 from Bahmni/different-link-scenario
tanyaa-tw Jan 10, 2024
f22729c
Kavitha | updated bahmni-carbon-ui verion to 0.1.5 (#812)
kavitha-sundararajan Jan 18, 2024
1320c21
add. custom template for clinical queue content
Arjun-Go Jan 18, 2024
49abecd
setup notifications page
Arjun-Go Jan 19, 2024
de5a343
add. components for provider notifications
Arjun-Go Jan 19, 2024
7bb3c8d
Abi | update. bahmni-carbon-ui version (#815)
abinaya-u Jan 22, 2024
beab1c5
Kavitha | A-1206342514462673 | refactored discharge summary link to …
kavitha-sundararajan Jan 23, 2024
5ed0b4e
Abi | Fix. Active OPD visit redirection to IPD dashboard (#814)
abinaya-u Jan 24, 2024
73d3627
[Tanya | Sri] - WIP add Api for acknowlegment flow
srinithishg Jan 24, 2024
2a449d4
[Tanya|Sri] display patient title accordion using api data
tanyaa-tw Jan 24, 2024
29a95bc
[Tanya | Sri] - WIP add sorting logic to display the drugs
srinithishg Jan 24, 2024
ca75f21
[Tanya|Sri] sort the medication list based on administered date time
tanyaa-tw Jan 24, 2024
ed00bdb
[Sri] - Add provider Acknowledgement flow
srinithishg Jan 30, 2024
49fd3f9
Merge branch 'Bahmni-IPD-master' into notifications-in-clinical-queue
srinithishg Jan 30, 2024
c265201
[Sri] - Fix test case for patient list controller
srinithishg Jan 30, 2024
ec2d918
[Sri] - Add test case for provider notification
srinithishg Jan 31, 2024
6c3d93d
[Sri] - fix error case for provider notification
srinithishg Jan 31, 2024
c00feeb
[Sri/Kalai] - fix styling issue for provider acknowledgement flow
srinithishg Feb 1, 2024
e98f7da
Merge pull request #826 from Bahmni/notifications-in-clinical-queue
srinithishg Feb 1, 2024
f29fb65
[Ashish]Removed the style as it was affecting the sticky property of …
AshishkurianTw Feb 1, 2024
a4f61de
[Sri] - fix styling issue for provider acknowledgement flow
srinithishg Feb 1, 2024
8512740
Merge pull request #829 from Bahmni/fix-style-provider-acknoledgement
srinithishg Feb 1, 2024
777122a
Kavitha | modify redirection to IPD dashboard in notification queue (…
kavitha-sundararajan Feb 6, 2024
512fcdb
BAH-2407-update | Login error cherry-pick to IPD-master (#835)
Arjun-Go Feb 6, 2024
d0fc1c3
Enable read mode for inactive ipd visit (#830)
SooryaKumaranC-tw Feb 7, 2024
692f273
[Sri] - remove date-fns dependency
srinithishg Feb 7, 2024
dc37e02
[Sri] - add helper functions in utils
srinithishg Feb 7, 2024
f438bbb
[Sri] - add test for provider notification utils
srinithishg Feb 7, 2024
6ceca77
[Sri] - add test for patient list title
srinithishg Feb 7, 2024
cb78b5a
[Sri] - refactor the patient list view in the provider acknowledgemen…
srinithishg Feb 8, 2024
f54e87c
[Sri] - remove test case for default format in utils
srinithishg Feb 8, 2024
c7826f1
[Sri] - Move mock data to a seperate file
srinithishg Feb 8, 2024
7ae2245
Merge pull request #838 from Bahmni/bugfix/1206433311042048
srinithishg Feb 9, 2024
d46a6ea
[Sri] - fetch diagnosis Sugesstion Limit from config
srinithishg Feb 14, 2024
1830722
[Sri] - fix intendation
srinithishg Feb 14, 2024
2a4f366
[Sri] - refactor fetching of diagnosis Sugesstion Limit from config
srinithishg Feb 14, 2024
f843a27
[Sri] - change the mock in diagnosis controller test
srinithishg Feb 14, 2024
3ec33c5
Merge pull request #845 from Bahmni/ftr/1206597157227832
srinithishg Feb 14, 2024
cf50010
[Sri] - ignore ip package
srinithishg Feb 15, 2024
bdf5ba2
[Sri] - add ip package details
srinithishg Feb 15, 2024
139fe05
Merge pull request #846 from Bahmni/ignore-ip-package
srinithishg Feb 15, 2024
6eb49ef
Revert "Merge pull request #845 from Bahmni/ftr/1206597157227832"
srinithishg Feb 15, 2024
8efb562
Kavitha | fix dose calculation for rule when mandatory fields are not…
kavitha-sundararajan Feb 16, 2024
6bb5a8f
Kavitha | add configurable default dosage rules for medications (#848)
kavitha-sundararajan Feb 16, 2024
0b0dfc4
Kavitha | ignored CVE-2024-21490 in trivy scan (#851)
kavitha-sundararajan Feb 16, 2024
a53e6a3
Merge pull request #849 from Bahmni/revert-diagnosis-config
srinithishg Feb 19, 2024
6be5111
Kavitha | reverted the dosage calculation bug fix (#852)
kavitha-sundararajan Feb 19, 2024
dd6a4ae
Kavitha | fix wrong dose calculation for rules (#853)
kavitha-sundararajan Feb 20, 2024
0410d3f
update. bahmni-carbon-ui version (#842)
abinaya-u Feb 21, 2024
590d389
Update. bahmni-carbon-ui version (#855)
abinaya-u Feb 22, 2024
f58f273
Fix css for zscore lengthy text in registration 2nd page (#857)
SooryaKumaranC-tw Feb 23, 2024
ff3ab82
fix. form specific obs in display control (#860)
Arjun-Go Feb 23, 2024
3ac12d2
BAH-3629 | Kavitha | optional fields for continuous medication (#859)
kavitha-sundararajan Feb 24, 2024
79bec9d
A-1206630318406475 | If Patient's weight is not captured, System shou…
Arjun-Go Mar 5, 2024
cda449a
fix. update error message (#866)
Arjun-Go Mar 6, 2024
5b23eb2
Phani | A-1206793791033787 | Fix CSS in OT Module provider view(#870)
Phanindra-tw Mar 8, 2024
3d2a33f
[Sri] - add provider uuid in care view dashboard
srinithishg Mar 12, 2024
1fd5dec
Phani | A-1206676106718218 | Update CSS to make Ward level Dashboard …
Phanindra-tw Mar 18, 2024
a7c1066
update. logic to fetch provider info in orders tab (#872)
Arjun-Go Mar 18, 2024
a840094
Bump up bahmni-form-controls version (#877)
Arjun-Go Mar 18, 2024
f7f7b01
Merge pull request #876 from Bahmni/ftr/bookmark
srinithishg Mar 19, 2024
e5a445a
Phani | A-1206857808595293 | Add new route for Care View Dashboard (#…
Phanindra-tw Mar 20, 2024
5ad0b5b
feat: bump up version of form-controls [Ayush]
ayush34957 Mar 20, 2024
0ba129b
Merge pull request #879 from Bahmni/fix/BAH-2994
ayush34957 Mar 20, 2024
47b28f0
Phani | Add initialization to careViewDashboard (#880)
Phanindra-tw Mar 21, 2024
072f13e
Fix. diagnosis concept in prescription to include coded concepts with…
deeptirawat1510 Mar 25, 2024
e6bb52d
update. trivy ignore for CVE-2024-29180 (#885)
Arjun-Go Mar 25, 2024
ee5464b
Riya, Deepti | Fix. Diagnosis print issue in Form print and Visit pri…
riyaTw Mar 26, 2024
ada3ad7
feat: changes In Pateint module title from ADT to IPD [Ayush]
ayush34957 Mar 29, 2024
fea745c
Merge pull request #889 from Bahmni/change-ip-module-title
ayush34957 Mar 29, 2024
dc45ec7
Fix allergies and relationship (#890)
SooryaKumaranC-tw Apr 2, 2024
3305a72
Phani | A- 1206804799445947 | Add user actions button in Clinical, Or…
Phanindra-tw Apr 2, 2024
3f2780e
Tanya| remove selected ward local storage on logout
tanyaa-tw Apr 5, 2024
14c1b63
Merge pull request #894 from Bahmni/ipd-feedback-set-1
tanyaa-tw Apr 8, 2024
d197856
Fix the select person hide and link issue (#896)
SooryaKumaranC-tw Apr 9, 2024
4c4d59f
[Sri] - Bump up form-controls version to 0.93.17
srinithishg Apr 9, 2024
d1b2ed6
Merge pull request #899 from Bahmni/fix/text-template
srinithishg Apr 9, 2024
f381257
Kavitha| Form name translations in Form2 display control (#901)
kavitha-sundararajan Apr 10, 2024
d1d41a7
update. style for observation widget in registeration page (#902)
abinaya-u Apr 15, 2024
7587b14
update. width of the provider date (#904)
abinaya-u Apr 15, 2024
215ee3c
Arjun | Doctor should not be able to prescribe medicine unless diagno…
Arjun-Go Apr 17, 2024
516be68
Arjun | refactor treatments capture for diagnosis (#908)
Arjun-Go Apr 17, 2024
249249f
Arjun | Getting error while adding the medication when weight is capt…
Arjun-Go Apr 18, 2024
5ffa356
Arjun | Restrict addition of treatments even when primary inactive di…
Arjun-Go Apr 18, 2024
25100f9
Tanya | set orders as empty when editing from clinical dashboard
tanyaa-tw Apr 22, 2024
b92a5e8
Merge pull request #911 from Bahmni/edit-form-null-error-bug
tanyaa-tw Apr 22, 2024
61421ae
refactor. show allergy error message based on api error key (#914)
abinaya-u Apr 24, 2024
61d53c2
add. trivyignore for html-minifier (#916)
abinaya-u Apr 24, 2024
ec6680c
[Sri] - Add shortcut keys for quick logout
srinithishg Apr 24, 2024
40f8e45
[Sri] - Fix lint issue
srinithishg Apr 25, 2024
47c19e6
View image/pdf/video file formats in forms display control (#915)
SooryaKumaranC-tw Apr 25, 2024
be12c36
Arjun | Bump of bahmni-form-controls package (#921)
Arjun-Go Apr 25, 2024
23d2fb4
[Sri] - Fix test coverage issue
srinithishg Apr 25, 2024
f260a45
Merge pull request #918 from Bahmni/quick-logout-v1
srinithishg Apr 25, 2024
5c52528
Tanya | persist local storage value of selected ward on logout
tanyaa-tw Apr 26, 2024
9ac9862
Merge pull request #922 from Bahmni/feedback-work
tanyaa-tw Apr 26, 2024
f510837
Abi | add. functionality to maintain context of the provider (#926)
abinaya-u Apr 30, 2024
3f8478d
Product Feedback | Configuration for Patient search fields in Clinica…
Arjun-Go May 2, 2024
53608c9
Form view and edit based on privilege (#928)
SooryaKumaranC-tw May 3, 2024
8a9f768
Phani | A-1207131329891836 | Add ability to auto convert visits to IP…
Phanindra-tw May 7, 2024
3c9ad78
[Sri] - Add audit log events for medication tasks
srinithishg May 8, 2024
82aab95
Merge pull request #940 from Bahmni/audit-log
srinithishg May 9, 2024
9a5a03e
Kid icon and pre-patient flow revamp (#933)
kavitha-sundararajan May 9, 2024
815fc15
Arjun | To hide show/hide IPD button in treatments tab (#942)
Arjun-Go May 15, 2024
ae414a8
Kavitha | fix opening print view when check box and edit is selected …
kavitha-sundararajan Jun 10, 2024
9acaf6b
Kavitha| update trivy ignore list for #29415 (#965)
kavitha-sundararajan Jun 10, 2024
bcc1269
Kavitha| add null check for person in relationship type map (#974)
kavitha-sundararajan Jun 28, 2024
61159d8
Vikram|Kavitha|fix orders tab not loading issue when given targetedTa…
kavitha-sundararajan Jul 9, 2024
260e6be
Kavitha|updated versions to fix vulnerabilities (#975)
kavitha-sundararajan Jul 9, 2024
1455651
Bindu | A-1207783550713566 | Fix undefined visitUuid issue for the Go…
binduak Aug 14, 2024
d0ab7c5
Bindu |add npm dependencies instead of fetching it from cdnjs (#1022)
binduak Nov 14, 2024
c697fd4
Update build_publish.yml
vikramdasvaishnav-thoughtworks Nov 29, 2024
9f74ebf
Vikram | Added Triviy Ignore
vikramdasvaishnav-thoughtworks Nov 29, 2024
4ae601b
Update build_publish.yml
vikramdasvaishnav-thoughtworks Nov 29, 2024
f0162e4
Update build_publish.yml
vikramdasvaishnav-thoughtworks Dec 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
A-1206201729443040 | Navigation to clinical dashboard and discharge s…
…ummary tab from IPD dashboard (#802)

* add. navigation for discharge summary

* add. navigation to discharge summary for ipd patient

* fix. test failures

* handle navigations from adt to new ipd screen

* fix. test failures
  • Loading branch information
Arjun-Go authored Dec 28, 2023
commit 10801ffd3abf5be62e2c005cf07ed640460ce8c2
6 changes: 6 additions & 0 deletions micro-frontends/src/ipd/IpdDashboard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export function IpdDashboard(props) {
<Suspense fallback={<p>Loading...</p>}>
<LazyApp
hostData={props.hostData}
hostApi={props.hostApi}
/>
</Suspense>
</>
Expand All @@ -21,4 +22,9 @@ IpdDashboard.propTypes = {
patientId: PropTypes.string,
forDate: PropTypes.instanceOf(Date),
}).isRequired,
hostApi: PropTypes.shape({
navigation: PropTypes.shape({
dischargeSummary: PropTypes.func.isRequired,
}).isRequired,
}).isRequired,
};
3 changes: 2 additions & 1 deletion ui/app/adt/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ Bahmni.ADT.Constants = (function () {
return {
patientsListUrl: "/patient/search",
ipdDashboard: "#/patient/{{patientUuid}}/visit/{{visitUuid}}/",
admissionLocationUrl: "/openmrs/ws/rest/v1/admissionLocation/"
admissionLocationUrl: "/openmrs/ws/rest/v1/admissionLocation/",
mfeIpdDashboard: Bahmni.Common.Constants.hostURL + '/bahmni/clinical/#/default/patient/{{patientUuid}}/dashboard/visit/ipd/{{visitUuid}}/'
};
})();

3 changes: 0 additions & 3 deletions ui/app/adt/controllers/adtController.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ angular.module('bahmni.adt')
$scope.dashboardConfig = appService.getAppDescriptor().getConfigValue('dashboard');
$scope.enableIPDFeature = appService.getAppDescriptor().getConfigValue('enableIPDFeature');
$scope.getAdtConceptConfig = $scope.dashboardConfig.conceptName;
$scope.hostData = {
patient: $scope.patient
};

var getVisitTypeUuid = function (visitTypeName) {
var visitType = _.find(visitTypes, {name: visitTypeName});
Expand Down
7 changes: 6 additions & 1 deletion ui/app/adt/controllers/wardListController.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@
angular.module('bahmni.adt')
.controller('WardListController', ['$scope', 'queryService', 'spinner', '$q', '$window', '$stateParams', 'appService', '$rootScope',
function ($scope, queryService, spinner, $q, $window, $stateParams, appService, $rootScope) {
const enableIPDFeature = appService.getAppDescriptor().getConfigValue('enableIPDFeature');
$scope.gotoPatientDashboard = function (patientUuid, visitUuid) {
var options = $.extend({}, $stateParams);
$.extend(options, {patientUuid: patientUuid, visitUuid: visitUuid || null});
$window.location = appService.getAppDescriptor().formatUrl(Bahmni.ADT.Constants.ipdDashboard, options, true);
if (enableIPDFeature) {
$window.location = appService.getAppDescriptor().formatUrl(Bahmni.ADT.Constants.mfeIpdDashboard, options, true);
} else {
$window.location = appService.getAppDescriptor().formatUrl(Bahmni.ADT.Constants.ipdDashboard, options, true);
}
};

$scope.searchText = '';
Expand Down
3 changes: 1 addition & 2 deletions ui/app/adt/views/dashboard.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div ng-hide="enableIPDFeature" class="adt">
<div class="adt">
<div class="box">
<div>
<label>
Expand Down Expand Up @@ -33,4 +33,3 @@
</div>
<dashboard patient="patient" config="dashboardConfig" section-groups="sectionGroups" active-visit-uuid="visitSummary.uuid" visit-summary="visitSummary"></dashboard>
</div>
<mfe-ipd-dashboard ng-if="enableIPDFeature" style="display: block;width: 100vw;margin-left: calc(50% - 50vw);" host-data="hostData"></mfe-ipd-dashboard>
17 changes: 17 additions & 0 deletions ui/app/clinical/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,23 @@ angular.module('consultation')
}
}
})
.state('patient.dashboard.ipdVisit', {
url: '/dashboard/visit/ipd/:visitUuid/:tab',
data: {
backLinks: [patientSearchBackLink]
},
views: {
'dashboard-content': {
templateUrl: 'common/views/visitIpd.html',
controller: 'VisitController'
}
},
resolve: {
visitSummary: function (visitSummaryInitialization, $stateParams) {
return visitSummaryInitialization($stateParams.visitUuid);
}
}
})
.state('patient.dashboard.visitPrint', {
url: '/dashboard/visit/:visitUuid/:tab/:print',
views: {
Expand Down
14 changes: 10 additions & 4 deletions ui/app/clinical/common/controllers/visitController.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict';

angular.module('bahmni.clinical')
.controller('VisitController', ['$scope', '$state', '$rootScope', '$q', 'encounterService', 'clinicalAppConfigService', 'configurations', 'visitSummary', '$timeout', 'printer', 'visitConfig', 'visitHistory', '$stateParams', 'locationService', 'visitService', 'appService', 'diagnosisService', 'observationsService', 'allergyService',
function ($scope, $state, $rootScope, $q, encounterService, clinicalAppConfigService, configurations, visitSummary, $timeout, printer, visitConfig, visitHistory, $stateParams, locationService, visitService, appService, diagnosisService, observationsService, allergyService) {
.controller('VisitController', ['$scope', '$state', '$rootScope', '$q', 'encounterService', '$window', 'clinicalAppConfigService', 'configurations', 'visitSummary', '$timeout', 'printer', 'visitConfig', 'visitHistory', '$stateParams', 'locationService', 'visitService', 'appService', 'diagnosisService', 'observationsService', 'allergyService',
function ($scope, $state, $rootScope, $q, encounterService, $window, clinicalAppConfigService, configurations, visitSummary, $timeout, printer, visitConfig, visitHistory, $stateParams, locationService, visitService, appService, diagnosisService, observationsService, allergyService) {
var encounterTypeUuid = configurations.encounterConfig().getPatientDocumentEncounterTypeUuid();
$scope.documentsPromise = encounterService.getEncountersForEncounterType($scope.patient.uuid, encounterTypeUuid).then(function (response) {
return new Bahmni.Clinical.PatientFileObservationsMapper().map(response.data.results);
Expand All @@ -12,7 +12,6 @@ angular.module('bahmni.clinical')
var showProviderInfo = appService.getAppDescriptor().getConfigValue('showProviderInfoinVisits');
$scope.showProviderInfo = showProviderInfo !== false ? true : showProviderInfo;
var showPatientInfo = appService.getAppDescriptor().getConfigValue('showPatientInfoInVisits');
var enableIPDFeature = appService.getAppDescriptor().getConfigValue('enableIPDFeature');
$scope.showPatientInformation = showPatientInfo !== false ? true : showPatientInfo;
$scope.visitHistory = visitHistory; // required as this visit needs to be overridden when viewing past visits
$scope.visitSummary = visitSummary;
Expand All @@ -21,10 +20,17 @@ angular.module('bahmni.clinical')
$scope.patientUuid = $stateParams.patientUuid;
$scope.visitUuid = $stateParams.visitUuid;
$scope.isActiveIpdVisit = $scope.visitSummary.visitType === "IPD" && $scope.visitSummary.stopDateTime === null;
$scope.showIPDDashboard = enableIPDFeature && $scope.isActiveIpdVisit;
$scope.ipdDashboard = {
hostData: {
patient: {uuid: $scope.patientUuid}
},
hostApi: {
navigation: {
dischargeSummary: function () {
const dischargeSummaryUrl = $state.href('patient.dashboard.visit', {visitUuid: $scope.visitUuid});
$window.open(dischargeSummaryUrl, '_blank');
}
}
}
};
var tab = $stateParams.tab;
Expand Down
8 changes: 0 additions & 8 deletions ui/app/clinical/common/controllers/visitHeaderController.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ angular.module('bahmni.clinical')
$scope.visitTabConfig = visitConfig;
$scope.showMobileMenu = false;
$scope.visitPage = true;
var enableIPDFeature = clinicalAppConfigService.getIsIPDFeatureEnabled();

visitHistory.visits.forEach(function (visit) {
if (visit.uuid === $stateParams.visitUuid) {
$scope.isActiveIpdVisit = visit.stopDatetime === null && visit.visitType.name === "IPD";
}
});
$scope.showPatientHeader = !(enableIPDFeature && $scope.isActiveIpdVisit);
var encounterTypeUuid = configurations.encounterConfig().getPatientDocumentEncounterTypeUuid();
$scope.patientDocumentsPromise = encounterService.getEncountersForEncounterType($scope.patient.uuid, encounterTypeUuid).then(function (response) {
return new Bahmni.Clinical.PatientFileObservationsMapper().map(response.data.results);
Expand Down
1 change: 1 addition & 0 deletions ui/app/clinical/common/models/auditLogEventDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Bahmni.Clinical.StateNameEvenTypeMap = {
"patient.dashboard.show.investigation": "VIEWED_INVESTIGATION_TAB",
"patient.visit.summaryprint": "VIEWED_SUMMARY_PRINT",
"patient.dashboard.visit": "VIEWED_VISIT_DASHBOARD",
"patient.dashboard.ipdVisit": "VIEWED_VISIT_DASHBOARD",
"patient.dashboard.visitPrint": "VIEWED_VISIT_PRINT",
"patient.dashboard.observation": "VIEWED_DASHBOARD_OBSERVATION",
"patient.patientProgram.show": "VIEWED_PATIENTPROGRAM"
Expand Down
4 changes: 1 addition & 3 deletions ui/app/clinical/common/views/visit.html
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
<div ng-hide="showIPDDashboard" class="visit visit-summary-page" bindonce="visit" ng-include="'common/views/visitSummary.html'"></div>

<mfe-ipd-dashboard ng-if="showIPDDashboard" style="display: block;width: 100vw;margin-left: calc(50% - 50vw);" host-data="ipdDashboard.hostData" host-api="ipdDashboard.hostApi"></mfe-ipd-dashboard>
<div class="visit visit-summary-page" bindonce="visit" ng-include="'common/views/visitSummary.html'"></div>
2 changes: 1 addition & 1 deletion ui/app/clinical/common/views/visitHeader.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div ng-show="showPatientHeader" bindonce class="dashboard-header opd-header-wrapper" id="consultation-header">
<div bindonce class="dashboard-header opd-header-wrapper" id="consultation-header">
<div class="opd-header-bottom tabs hidden-mobile">
<bm-back-links></bm-back-links>

Expand Down
1 change: 1 addition & 0 deletions ui/app/clinical/common/views/visitIpd.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<mfe-ipd-dashboard style="display: block;width: 100vw;margin-left: calc(50% - 50vw);" host-data="ipdDashboard.hostData" host-api="ipdDashboard.hostApi"></mfe-ipd-dashboard>
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
'use strict';

angular.module('bahmni.clinical')
.directive('visitsTable', ['patientVisitHistoryService', 'conceptSetService', 'spinner', '$state', '$q', '$translate',
function (patientVisitHistoryService, conceptSetService, spinner, $state, $q, $translate) {
.directive('visitsTable', ['patientVisitHistoryService', 'conceptSetService', 'spinner', '$state', '$q', '$translate', 'appService',
function (patientVisitHistoryService, conceptSetService, spinner, $state, $q, $translate, appService) {
var controller = function ($scope) {
const enableIPDFeature = appService.getAppDescriptor().getConfigValue('enableIPDFeature');
var emitNoDataPresentEvent = function () {
$scope.$emit("no-data-present-event");
};
$scope.openVisit = function (visit) {
if ($scope.$parent.closeThisDialog) {
$scope.$parent.closeThisDialog("closing modal");
}
$state.go('patient.dashboard.visit', {visitUuid: visit.uuid});
if (visit.isActive() && enableIPDFeature) {
$state.go('patient.dashboard.ipdVisit', {visitUuid: visit.uuid});
} else {
$state.go('patient.dashboard.visit', {visitUuid: visit.uuid});
}
};

$scope.hasVisits = function () {
Expand Down
11 changes: 8 additions & 3 deletions ui/test/unit/adt/controllers/wardListController.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,19 @@ describe('WardListController', function () {
var scope;
var queryService, appService, window;


beforeEach(function () {
module('bahmni.adt');

module(function ($provide) {
appService = jasmine.createSpyObj('appService', ['getAppDescriptor']);
appService.getAppDescriptor.and.returnValue(new Bahmni.Common.AppFramework.AppDescriptor());
var realAppDescriptor = new Bahmni.Common.AppFramework.AppDescriptor();
realAppDescriptor.getConfigValue = function (config) {
if (config === 'enableIPDFeature') {
return false;
}
};

appService = jasmine.createSpyObj('appService', ['getAppDescriptor']);
appService.getAppDescriptor.and.returnValue(realAppDescriptor);
$provide.value('appService', {});
queryService = jasmine.createSpyObj('queryService', ['getResponseFromQuery']);
queryService.getResponseFromQuery.and.returnValue(specUtil.createServicePromise('queryService'));
Expand Down
11 changes: 10 additions & 1 deletion ui/test/unit/clinical/displaycontrols/visitsTable.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

describe("Visits Table display control", function () {
var element, scope, $compile, mockBackend, conceptSetService, visitFormService,patientVisitHistoryService, $translate;
var element, scope, $compile, mockBackend, conceptSetService, visitFormService, patientVisitHistoryService, $translate, appService;

beforeEach(module('ngHtml2JsPreprocessor'));
beforeEach(module('bahmni.clinical'));
Expand All @@ -10,6 +10,14 @@ describe("Visits Table display control", function () {
visitFormService = jasmine.createSpyObj('visitFormService', ['formData']);
$translate = jasmine.createSpyObj('$translate', ['instant']);
patientVisitHistoryService= jasmine.createSpyObj('patientVisitHistoryService', ['getVisitHistory']);
appService = jasmine.createSpyObj('appService', ['getAppDescriptor']);
appService.getAppDescriptor.and.returnValue({
getConfigValue: function (config) {
if (config == 'enableIPDFeature') {
return true;
}
}
});
$provide.value('$state', {});
$provide.value('$bahmniCookieStore', {});
$provide.value('clinicalAppConfigService', {getObsIgnoreList: function(){return []}});
Expand All @@ -18,6 +26,7 @@ describe("Visits Table display control", function () {
$provide.value('visitFormService', visitFormService);
$provide.value('patientVisitHistoryService', patientVisitHistoryService);
$provide.value('$translate', $translate);
$provide.value('appService', appService);
}));

beforeEach(inject(function (_$compile_, $rootScope, $httpBackend) {
Expand Down
Loading