Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
263 commits
Select commit Hold shift + click to select a range
bc1ee99
fix: show the message on token expiry (#200)
vanitha1822 Jul 22, 2025
cdb669b
fix: past obstetric history dropdown changes
Jul 23, 2025
9ddbe4c
fix: amm-1416 (#199)
snehar-nd Jul 25, 2025
940eaac
fix: refer resaon should disable initial (#203)
vishwab1 Jul 25, 2025
833c98d
AMM-1577 & AMM-1578 Menstrual History & Obstetric History changes (#204)
helenKaryamsetty Jul 25, 2025
d133488
fix: amm-1747 and amm-1583 (#208)
snehar-nd Jul 29, 2025
cdde0bc
fix: amm-1730 action buttons issue fix in chief complaints
5Amogh Jul 29, 2025
d7df20a
Merge pull request #209 from PSMRI/amogh-3.4
5Amogh Jul 29, 2025
aa8dfbe
Release 3.4.0 (#1)
helenKaryamsetty Jul 30, 2025
3e466f9
fix: amm-1668 beneficiary details addition
5Amogh Jul 30, 2025
4d8c516
fix(bug): ncd-care-diagnosis and provisional diagnosis doctor patch i…
Jul 30, 2025
84a2fa8
Merge pull request #210 from PSMRI/amogh-3.4
5Amogh Jul 31, 2025
7eb423e
AMM-1595 - lymphs node patching issue (#211)
snehar-nd Jul 31, 2025
4b11139
ncd care condtion and diagnosis patch issue (#212)
helenKaryamsetty Jul 31, 2025
168c904
Provisional diagnosis patch issue (#213)
snehar-nd Jul 31, 2025
2946622
fix: amm-1744 file upload in gynecologist examination screen (#214)
snehar-nd Aug 3, 2025
9b512b6
fix: aam-1779 removing download masters for non-loggedin users
5Amogh Aug 14, 2025
12ec2a5
Merge pull request #220 from PSMRI/amogh-3.4
5Amogh Aug 14, 2025
2a306bb
fix: added assam language coversions
snehar-nd Aug 22, 2025
d2ec7ab
fix: remove the version number (#222)
vanitha1822 Aug 22, 2025
501c244
Move code from 3.4.0 to main (#224)
vishwab1 Aug 25, 2025
893a598
Merge branch 'release-3.5.0' of https://github.com/PSMRI/MMU-UI into …
Sep 3, 2025
7e04090
fix(feat): added latest common-ui commit id
Sep 3, 2025
29394c0
fix: amm-1780 added sms notification for prescription sms in MMU
snehar-nd Sep 4, 2025
250f047
fix: version change
Sep 4, 2025
447aecd
fix: resolved merge conflicts
Sep 4, 2025
7c0b6b6
Merge branch 'develop' into release-3.4.0
helenKaryamsetty Sep 4, 2025
3784b98
fix: latest common-ui commit id (#240)
helenKaryamsetty Sep 4, 2025
07e0297
fix: version change
helenKaryamsetty Sep 4, 2025
03430db
Added env variables for build success (#241)
helenKaryamsetty Sep 4, 2025
c576e0a
Release 3.5.0 (#242)
helenKaryamsetty Sep 4, 2025
b7eef24
Revert "Release 3.5.0 (#242)" (#243)
helenKaryamsetty Sep 4, 2025
4ae26f0
Release 3.9.1 (#244)
helenKaryamsetty Sep 4, 2025
86b5eb8
fix: amm-1834 remove quantity feild from prescription
snehar-nd Sep 4, 2025
e8e418e
Enable ABHA Generation for MMU (#246)
helenKaryamsetty Sep 4, 2025
cfe8681
fix for build error (#247)
helenKaryamsetty Sep 4, 2025
5a88ad1
Merge pull request #245 from PSMRI/sn/3.4.1
5Amogh Sep 4, 2025
b996549
fix: amm-1806 Doctor sign on the casesheet
snehar-nd Sep 4, 2025
a7025f5
fix: amm-1806 reomved comments
snehar-nd Sep 4, 2025
c267c19
fix: amm-1478 fixed Preview casessheet problem in previous history
snehar-nd Sep 5, 2025
faa325f
fix: amm-1478 removed unwanted code
snehar-nd Sep 5, 2025
7be1ec8
Sn/3.4.1 (#250)
snehar-nd Sep 5, 2025
9a6350d
Merge pull request #251 from PSMRI/sn/3.4
snehar-nd Sep 5, 2025
be399ad
fix: amm-1780 added the smsnotification code
snehar-nd Sep 5, 2025
43c8a27
fix: amm- 1785 doctor signature issue in casesheet
snehar-nd Sep 4, 2025
f17667d
fix: amm- 1785 doctor signature issue in casesheet
snehar-nd Sep 4, 2025
ca2a07f
Merge pull request #254 from PSMRI/sn/3.4.1
snehar-nd Sep 9, 2025
65ccb49
fix: update pom.xml
snehar-nd Sep 9, 2025
1b7170c
Merge pull request #255 from PSMRI/sn/3.4.1
snehar-nd Sep 9, 2025
972cb24
fix: amm-1834 fix on quantity issue
snehar-nd Sep 9, 2025
c0621c5
Merge pull request #256 from PSMRI/sn/3.4.1
snehar-nd Sep 9, 2025
357e63e
fix: sms template issue
snehar-nd Sep 11, 2025
50741f1
fix: sms template issue added language translation
snehar-nd Sep 12, 2025
17433f3
fix: sms template issue added language translation
snehar-nd Sep 12, 2025
96b961b
fix: sms template issue adde presriptionID to the object
snehar-nd Sep 17, 2025
330cb91
fix: sms template issue removed unwanted code
snehar-nd Sep 19, 2025
9fc88da
Merge pull request #248 from PSMRI/sn/3.8.0
snehar-nd Sep 23, 2025
360dcba
Merge branch 'release-3.5.0' into release-3.8.0
snehar-nd Sep 23, 2025
dadd8c7
fix: fixed some routing issue on sms sending functionality
snehar-nd Sep 23, 2025
8dbc4ff
Merge pull request #265 from PSMRI/sn/3.8.0
5Amogh Sep 24, 2025
b406943
fix: amm-1835 data sync issue UI side messaging
5Amogh Sep 24, 2025
991c3d8
fix: enabling console logs for debugging
5Amogh Sep 24, 2025
086dc4e
fix: disabling console logs for debugging
5Amogh Sep 24, 2025
23d82ef
fix: progress update
5Amogh Sep 24, 2025
c653f76
fix: progress update
5Amogh Sep 24, 2025
eed1e76
Merge pull request #266 from PSMRI/amogh-3.4.1
5Amogh Sep 25, 2025
af232b5
Update pom.xml
5Amogh Sep 25, 2025
8d70787
fix: 1857 1859 Signature in casesheet enhancement
snehar-nd Sep 29, 2025
9e3c501
fix: update pom file
snehar-nd Sep 29, 2025
02f9e72
Merge branch 'release-3.5.0' into sn/3.5
snehar-nd Sep 30, 2025
a73c3e9
Merge pull request #267 from PSMRI/sn/3.5
5Amogh Sep 30, 2025
33f21db
fix: 1857 1859 Signature in casesheet enhancement
snehar-nd Sep 29, 2025
9103d40
fix: removed mandatory for provisional diagnosis
snehar-nd Oct 6, 2025
1b58720
Update pom.xml
vanitha1822 Oct 9, 2025
ce4a3f6
fix: provisional diagnosis issue
snehar-nd Oct 9, 2025
60b99c5
fix: provisional diagnosis issue
snehar-nd Oct 10, 2025
dcc363e
Merge pull request #273 from PSMRI/sn/nd/3.4.1
snehar-nd Oct 10, 2025
b245e30
fix: pnc form was not submitting
snehar-nd Oct 10, 2025
a4d329b
Merge pull request #274 from PSMRI/sn/nd/3.4.1
snehar-nd Oct 10, 2025
a68a97a
fix: genral opd form was not submitting
snehar-nd Oct 10, 2025
5cbadfa
Merge pull request #275 from PSMRI/sn/nd/3.4.1
snehar-nd Oct 13, 2025
585aeda
fix: the extra provisional field after the lab test
snehar-nd Oct 13, 2025
5893bfd
fix: aam 1895 reports tabular fix
snehar-nd Oct 13, 2025
5d3c918
Merge pull request #276 from PSMRI/sn/nd/3.4.1
snehar-nd Oct 13, 2025
0bbd210
fix: fixed phone number precriptionid issue for sms
snehar-nd Oct 28, 2025
d967bd8
Merge branch 'release-3.4.1' into sn/3.8.0
snehar-nd Oct 29, 2025
396a679
Merge branch 'release-3.5.0' into sn/3.8.0
snehar-nd Oct 29, 2025
b81519d
fix: resolved conflicts on pnc module
snehar-nd Oct 29, 2025
d4affbd
Merge pull request #285 from PSMRI/sn/3.8.0
snehar-nd Oct 29, 2025
a110f32
fix: 1899 signature enhancement
snehar-nd Oct 30, 2025
6152f91
fix: 1899 added signexist apiendpoint for env
snehar-nd Oct 30, 2025
acca58c
Merge pull request #286 from PSMRI/sn/nd/3.4.1
snehar-nd Oct 30, 2025
c25dc09
fix: 1899 updated the updateapi for doctor
snehar-nd Oct 30, 2025
f0e085d
fix: 1899 code optimization
snehar-nd Oct 30, 2025
083dfac
Merge pull request #287 from PSMRI/sn/nd/3.4.1
snehar-nd Oct 31, 2025
2cbcbdf
fix: added sms endpoints in environments.ci file
snehar-nd Nov 17, 2025
4e2e04f
fix: removed duplicate import of masterservice
snehar-nd Nov 17, 2025
cf69491
fix: commited the common-ui changes
snehar-nd Nov 17, 2025
0b2c1ad
Merge pull request #288 from PSMRI/sn/3.5
snehar-nd Nov 17, 2025
5e92e9a
Fix the WASA Issue : IDOR Vulnerability (#290)
vanitha1822 Nov 19, 2025
7384dca
Merge pull request #293 from PSMRI/release-3.4.0
5Amogh Dec 3, 2025
f31f11f
Merge branch 'release-3.6.0' into release-3.4.1
5Amogh Dec 3, 2025
33ab45b
Merge pull request #294 from PSMRI/release-3.4.1
5Amogh Dec 3, 2025
7e28a1a
common-ui commit updated
5Amogh Dec 3, 2025
a0ee199
Merge branch 'release-3.6.0' into release-3.5.0
5Amogh Dec 3, 2025
5e55201
Merge pull request #295 from PSMRI/release-3.5.0
5Amogh Dec 3, 2025
572ef1c
Merge branch 'release-3.6.0' into release-3.6.1
5Amogh Dec 3, 2025
b411950
Merge pull request #296 from PSMRI/release-3.6.1
5Amogh Dec 3, 2025
0e1c4fb
updated common-ui commit ref to 3.6
5Amogh Dec 3, 2025
a466d71
Merge branch 'release-3.6.0' into release-3.9.1
5Amogh Dec 3, 2025
4badfa1
Merge branch 'release-3.6.0' into release-3.9.1
5Amogh Dec 3, 2025
011bdd4
Merge pull request #297 from PSMRI/release-3.9.1
5Amogh Dec 3, 2025
65f0759
fix: langauge json fixes
5Amogh Dec 4, 2025
767f807
fix: amm-2007 fixed the 3.4.1 deployment failing issue
snehar-nd Dec 10, 2025
f3b847c
Merge pull request #298 from PSMRI/sn/deployment
snehar-nd Dec 10, 2025
74c8dbc
fix: amm-2001 cls btn addition
5Amogh Dec 10, 2025
9904686
Merge pull request #299 from PSMRI/amm-2001
snehar-nd Dec 10, 2025
12707f3
fix: amm-1931 handled duplicate and empty error msg or doctor and nur…
snehar-nd Dec 11, 2025
65ec59d
Merge branch 'release-3.6.0' into sn/deployment
snehar-nd Dec 11, 2025
38bb937
Merge pull request #300 from PSMRI/sn/deployment
snehar-nd Dec 12, 2025
a49bf0b
fix: amm-2034 Risky Sexual Practice status fix
5Amogh Dec 17, 2025
42e6728
Merge pull request #301 from PSMRI/amm-2034
5Amogh Dec 18, 2025
3bef542
fix: amm-2033 allergy details patching issue fix - sanofi pre-prod
5Amogh Dec 18, 2025
5a890fa
Merge pull request #302 from PSMRI/amm-2034
snehar-nd Dec 18, 2025
636c91c
Downgrade version from 3.6.0 to 3.4.1
5Amogh Dec 18, 2025
185c4c0
fix: deployment issue fix with common-ui reference
5Amogh Dec 18, 2025
ef9e0c1
Merge pull request #303 from PSMRI/amm-2034
5Amogh Dec 18, 2025
e81efdc
fix: amm-2033 multi-allergy rendering issue fix
5Amogh Dec 18, 2025
0465ee8
Merge pull request #304 from PSMRI/amm-2034
5Amogh Dec 18, 2025
fd1b923
fix: amm-2037 sanofi:pre-prod n-1 date due to time normalization issue
5Amogh Dec 19, 2025
4987519
Merge pull request #305 from PSMRI/amm-2034
5Amogh Dec 19, 2025
b795daf
fix: elastic search changes added isEnableEs variable to avoid the el…
snehar-nd Dec 19, 2025
5c36e8a
Merge pull request #307 from PSMRI/release-3.6.0
5Amogh Jan 7, 2026
0b719ce
Merge branch 'release-3.6.0' into release-3.4.1
5Amogh Jan 9, 2026
819f13c
Merge pull request #308 from PSMRI/release-3.4.1
5Amogh Jan 9, 2026
00d6c29
Merge branch 'release-3.6.1' into release-3.6.0
5Amogh Jan 9, 2026
a920b8d
Merge pull request #309 from PSMRI/release-3.6.0
5Amogh Jan 9, 2026
3c33512
fix: amm-1752 provisional diagnosis patch issue
snehar-nd Jan 9, 2026
d90b72d
fix: removed commented codes
snehar-nd Jan 9, 2026
e1dc6fb
Merge pull request #306 from PSMRI/sn/es
snehar-nd Jan 9, 2026
2d842bc
fix: amm-2072 changes for sigature when doctor is active or deactive
snehar-nd Jan 13, 2026
59bc49c
Merge pull request #310 from PSMRI/sn/es
snehar-nd Jan 13, 2026
0789fa8
fix: provisional diagnosis was not dispalying onselect
snehar-nd Jan 13, 2026
bfdaa97
Merge pull request #311 from PSMRI/sn/es
snehar-nd Jan 13, 2026
d60616d
docs(readme): add MMU UI documentation link
DurgaPrasad-54 Jan 15, 2026
ade3e51
docs(readme): format DeepWiki link in Documentation section
DurgaPrasad-54 Jan 15, 2026
4757f78
fix: amm-1931 session expiry error mechanims handled
5Amogh Jan 16, 2026
9ff74a7
Merge pull request #313 from PSMRI/amm-1931
snehar-nd Jan 16, 2026
2c87b5d
fix: amm-2130 sanofi issue fix related to QC update
5Amogh Jan 16, 2026
477fde9
Merge pull request #315 from PSMRI/sanofi/bugfix/opd-qa
snehar-nd Jan 16, 2026
c3d52b3
Add DeepWiki badge and clean up README
DurgaPrasad-54 Jan 19, 2026
df35aba
Merge pull request #312 from DurgaPrasad-54/main
drtechie Jan 19, 2026
6bd8796
fix: prescription validation fix
5Amogh Feb 18, 2026
6242aa0
Merge pull request #317 from PSMRI/amm-2175
snehar-nd Feb 18, 2026
6a4511e
fix: 2159 changed text from Advance to Advance serarch
snehar-nd Feb 18, 2026
3b51646
Merge pull request #318 from PSMRI/sn/3.6.2
snehar-nd Feb 18, 2026
702c09e
Moving 1979,2159 from Release 3.6.2 to Release 3.6.1 (#319)
snehar-nd Feb 27, 2026
a60353c
fix: amm-2192 remove mandatory for prescription
snehar-nd Mar 2, 2026
f89b8b5
fix: removed the 1979 fix
snehar-nd Mar 2, 2026
b1da4a9
Merge pull request #320 from PSMRI/sn/3.6.2
snehar-nd Mar 3, 2026
f882ec6
Bump version from 3.6.0 to 3.6.1 (#321)
snehar-nd Mar 18, 2026
a825523
Sanofi pre prod (#322)
snehar-nd Mar 18, 2026
a903a6c
Merge pull request #323 from PSMRI/release-3.6.1
drtechie Mar 19, 2026
0af4c73
fix: disable feedback page
vanitha1822 Apr 1, 2026
3297942
Update app-footer.component.html
vanitha1822 Apr 1, 2026
a4f92a6
Uncomment feedback route
vanitha1822 Apr 1, 2026
673336b
Merge pull request #324 from PSMRI/nd/vs/feeback_disable
snehar-nd Apr 1, 2026
f896986
fix: replace native alert() with confirmationService in AppHeaderComp…
lakxy Apr 21, 2026
9c2eb6f
fix: address CodeRabbit review comments in AppHeaderComponent
lakxy Apr 21, 2026
1d15f00
fix: amm-2279 UI should run from main repo
snehar-nd Apr 27, 2026
22509ad
fix: amm-2279 UI should run from main repo (#327)
snehar-nd Apr 28, 2026
3ef2a95
chore: add Common-UI path mappings in tsconfig.json
pragnyanramtha May 4, 2026
7b1de86
chore: update package-lock.json with dependency fixes
pragnyanramtha May 4, 2026
f6af907
Update package-lock.json
pragnyanramtha May 4, 2026
5038955
fix(auth-guard): remove unmanaged currentLangugae$ subscription
VarshiniGunti May 4, 2026
b73d42d
chore(auth-guard): add required GPL-3.0 header
VarshiniGunti May 5, 2026
cf8990a
fix(auth-guard): return UrlTree/boolean from canActivate
VarshiniGunti May 5, 2026
c3f1230
Merge pull request #338 from nexpectArpit/fix/documentation-technical…
nexpectArpit May 8, 2026
1704a12
fix: correct Angular lifecycle hook naming
aditikshetty May 10, 2026
aee26fa
refactor: simplify login form validation check
aditikshetty May 10, 2026
fed8322
Merge pull request #342 from aditikshetty/improve-login-form-validation
snehar-nd May 11, 2026
91045e5
Merge pull request #341 from aditikshetty/fix-login-lifecycle-hook
snehar-nd May 11, 2026
5eb7436
fix: remove console.log and console.error statements from production …
Aarti-panchal01 May 12, 2026
f786eb9
fix: remove console statements from remaining 4 components
Aarti-panchal01 May 12, 2026
0c468c7
fix: remove duplicate noImplicitReturns property in tsconfig.json
Aarti-panchal01 May 12, 2026
5ce51c1
docs: add CONTRIBUTING.md guide for MMU-UI contributors
Aarti-panchal01 May 12, 2026
de5692b
docs: fix README setup instructions and Common-UI submodule initializ…
May 13, 2026
44bc563
refactor: implement standard Reactive Forms validation in DataSyncLog…
nexpectArpit May 13, 2026
8975802
feat(lab): set explicit button type on worklist search control
May 14, 2026
86d6c15
feat(pharmacist): set explicit button type on worklist search control
May 14, 2026
df28e20
feat(core): add aria labels to mobile navbar toggler
May 14, 2026
a3ad862
Merge pull request #344 from Aarti-panchal01/fix/duplicate-tsconfig-p…
snehar-nd May 14, 2026
96a1191
Merge pull request #355 from guptapratykshh/feat/lab-worklist-search-…
snehar-nd May 14, 2026
0f78c2e
Merge pull request #354 from guptapratykshh/feat/pharmacist-worklist-…
snehar-nd May 14, 2026
76384e5
fix(rxjs): replace internal rxjs imports with public API paths
Kaushik-Kumar-CEG May 15, 2026
0c0a392
feat(reset-password): use username autocomplete and dedupe input attr…
May 16, 2026
1f6450f
feat(nurse-doctor): set explicit button type on doctor worklist search
May 16, 2026
6a1898e
Merge pull request #361 from guptapratykshh/feat/reset-password-usern…
snehar-nd May 19, 2026
8c270f9
Merge pull request #362 from guptapratykshh/feat/nurse-doctor-doctor-…
snehar-nd May 19, 2026
2885cd5
fix: remove redundant upload optional chaining
pragnyanramtha May 20, 2026
c596975
Merge upstream/main into chore/update-dependencies
pragnyanramtha May 20, 2026
39cc115
fix: keep CI build passing after dependency update
pragnyanramtha May 20, 2026
6b08f0d
fix(core): replace native alert() with ConfirmationService in AppHead…
Kaushik-Kumar-CEG May 15, 2026
f593c1c
fix(core): remove console.log and console.info statements from core c…
Kaushik-Kumar-CEG May 15, 2026
67f0398
fix(data-sync): correct always-true auth condition and empty block in…
Kaushik-Kumar-CEG May 24, 2026
0ae953f
fix(core): replace innerHTML with textContent in password directive
Kaushik-Kumar-CEG May 24, 2026
13c8f3c
Merge pull request #365 from PSMRI/release-3.6.2
snehar-nd May 25, 2026
c6b4093
Merge pull request #359 from Kaushik-Kumar-CEG/fix/remove-console-cor…
snehar-nd May 26, 2026
7a67b64
Merge branch 'main' of https://github.com/PSMRI/MMU-UI
snehar-nd Jun 10, 2026
aa74920
feat(data-sync): add Camp Hub QR code tab on sync-login page
snehar-nd Jun 11, 2026
798109c
Merge pull request #335 from pragnyanramtha/chore/update-dependencies
snehar-nd Jun 11, 2026
2c72c2c
Merge pull request #336 from pragnyanramtha/fix/build-warnings
snehar-nd Jun 11, 2026
21d400d
Merge pull request #367 from Kaushik-Kumar-CEG/fix/password-directive…
snehar-nd Jun 11, 2026
43ce65a
Merge pull request #366 from Kaushik-Kumar-CEG/fix/datasync-auth-cond…
snehar-nd Jun 11, 2026
5ae7e6e
fix(data-sync): remove port from Camp Hub QR code URL format
snehar-nd Jun 16, 2026
2a307c3
fix(data-sync): fix IP detection failure on Windows
snehar-nd Jun 16, 2026
30edbf1
fix(data-sync): fix IP detection on Chrome Windows via WebRTC STUN
snehar-nd Jun 16, 2026
f35bf47
feat(login): add Camp Hub QR code dialog on main login page
snehar-nd Jun 16, 2026
985949b
fix: added the port number as 8080
snehar-nd Jun 16, 2026
0dc82ed
fix: added QRcode enabled variable in ci file
snehar-nd Jun 16, 2026
939c725
fix(env): fix broken EJS tag in CI environment template
snehar-nd Jun 16, 2026
a344497
fix: added QRcode enabled variable in ci file
snehar-nd Jun 16, 2026
c950e7f
fix: added proper variable
snehar-nd Jun 16, 2026
0c4506d
fix: added get Ip address api
snehar-nd Jun 16, 2026
d44105b
fix: removed unwanted code changes
Jun 18, 2026
545ab28
Merge branch 'release-3.6.3' into sn/qrcode
snehar-nd Jun 18, 2026
9c13fa2
Merge pull request #374 from PSMRI/sn/qrcode
snehar-nd Jun 18, 2026
5ed3d43
fix: reverted the datasync code changes
Jun 18, 2026
8785cfd
Merge pull request #376 from PSMRI/sn/qrcode
snehar-nd Jun 18, 2026
9ae8f04
Merge pull request #375 from PSMRI/release-3.6.3
snehar-nd Jun 18, 2026
e828a0d
Merge pull request #325 from lakxy/fix-alert
snehar-nd Jun 24, 2026
54f5c68
Merge pull request #337 from VarshiniGunti/issue-138-authguard-memory…
snehar-nd Jun 25, 2026
5ee387d
chore(deps-dev): bump karma-jasmine-html-reporter from 2.1.0 to 2.2.0
dependabot[bot] Jun 29, 2026
64e6ead
chore(deps-dev): bump websocket-driver from 0.7.4 to 0.7.5
dependabot[bot] Jul 16, 2026
f79c39f
chore(deps-dev): bump axios from 1.16.0 to 1.18.1
dependabot[bot] Jul 20, 2026
623d547
chore(deps): bump engine.io from 6.6.4 to 6.6.9
dependabot[bot] Jul 21, 2026
4dd97a4
chore(deps-dev): bump immutable from 4.3.8 to 4.3.9
dependabot[bot] Jul 25, 2026
6382836
Merge pull request #429 from PSMRI/dependabot/npm_and_yarn/immutable-…
snehar-nd Jul 31, 2026
75eb469
Merge pull request #425 from PSMRI/dependabot/npm_and_yarn/engine.io-…
snehar-nd Jul 31, 2026
0c1cbbc
Merge pull request #423 from PSMRI/dependabot/npm_and_yarn/axios-1.18.1
snehar-nd Jul 31, 2026
b1eaa25
Merge pull request #421 from PSMRI/dependabot/npm_and_yarn/websocket-…
snehar-nd Jul 31, 2026
98f9284
Merge pull request #394 from PSMRI/dependabot/npm_and_yarn/karma-jasm…
snehar-nd Jul 31, 2026
6a459d6
Merge pull request #357 from Kaushik-Kumar-CEG/fix/rxjs-internal-imports
snehar-nd Jul 31, 2026
4ca2e0d
Merge pull request #353 from guptapratykshh/feat/core-navbar-toggler-…
snehar-nd Jul 31, 2026
b21408a
Merge pull request #350 from nexpectArpit/fix/data-sync-login-validation
snehar-nd Jul 31, 2026
009e50e
Merge pull request #349 from magic-peach2k5/docs/fix-readme-setup-sub…
snehar-nd Jul 31, 2026
c9ac413
Merge pull request #346 from Aarti-panchal01/docs/add-contributing-guide
snehar-nd Jul 31, 2026
4fc40ed
Merge branch 'main' into fix/replace-native-alert-app-header
snehar-nd Jul 31, 2026
e81ec5f
Merge pull request #358 from Kaushik-Kumar-CEG/fix/replace-native-ale…
snehar-nd Jul 31, 2026
43e40e1
Merge release-3.6.3 into main: data sync user validation (#461)
snehar-nd Aug 26, 2026
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
92 changes: 92 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

## Project Overview

AMRIT MMU (Mobile Medical Unit) UI — an Angular 16 healthcare application for the PSMRI AMRIT platform. Supports nurse, doctor, lab technician, pharmacist, radiologist, and oncologist workflows including patient registration, vitals capture, clinical examination, diagnosis, prescriptions, lab tests, drug dispensing, and offline data sync for van operations.

## Build & Development Commands

| Command | Purpose |
|---------|---------|
| `npm start` | Dev server on **port 4202** (`ng serve`) |
| `npm run build` | Production build |
| `npm run build-dev` | AOT dev build (increased heap) |
| `npm run build-prod` | AOT production build (increased heap) |
| `npm run build-ci` | CI build (generates `environment.ci.ts` from template + env vars) |
| `npm test` | Run tests (Karma + Jasmine) |
| `npm run lint` | ESLint |
| `npm run lint:fix` | ESLint with auto-fix |
| `npm run commit` | Commitizen conventional commit prompt |

## Git Submodule: Common-UI

`Common-UI/` is a git submodule from `https://github.com/PSMRI/Common-UI`. It provides:
- `registrar` module (patient registration + `SessionStorageService`)
- `feedback` module
- `tracking` module (Matomo analytics)

Initialize with:
```bash
cd Common-UI && git submodule update --init --recursive && git checkout develop
```

Import paths use `Common-UI/src/...` (e.g., `Common-UI/src/registrar/registration.module`).

## Architecture

### Module Structure
- **AppModule** — root module with hash-based routing (`useHash: true`)
- **CoreModule** — singleton services, guards, shared components, directives. Uses `CoreModule.forRoot()` pattern
- **Feature modules** (lazy-loaded): `nurse-doctor`, `lab`, `pharmacist`, `data-sync`, `registrar` (from Common-UI), `feedback` (from Common-UI)
- **MaterialModule** — re-exports all Angular Material modules

### State Management
No NgRx — uses Angular services with `BehaviorSubject`/`Subject` for reactive state. Key examples:
- `NurseService` — cross-component clinical state (RBS, NCD, IDRS, assessment)
- `HttpServiceService` — language/i18n state via `currentLangugae$` BehaviorSubject
- `SessionStorageService` (Common-UI) — encrypted sessionStorage via `ng-cryptostore`, key from `environment.encKey`

### HTTP / Auth
- `HttpInterceptorService` — attaches auth tokens (`Authorization`, `ServerAuthorization`), manages spinner, handles 27-minute session timeout with warning dialog, auto-logout on 401/5002
- Auth tokens stored in sessionStorage as `authenticationToken` and `isAuthenticated`
- `AuthGuard` protects clinical routes; `CanDeactivateGuardService` prevents navigation with unsaved changes

### Key Services (core)
- `ConfirmationService` — alert/confirm/remarks dialogs via `CommonDialogComponent` + `MatDialog`
- `IotService` — Bluetooth device integration at `http://localhost:8085/ezdx-hub-connect-srv`
- `SpinnerService` — global loading indicator

### Routing
Root routes: `login`, `service`, `servicePoint`, `registrar`, `nurse-doctor`, `lab`, `pharmacist`, `datasync`
Nurse-doctor sub-routes: role-specific worklists, patient workarea (`attendant/:attendant/patient/:beneficiaryRegID`), case sheet print, reports

## Code Conventions

- **License header**: All source files begin with the AMRIT GPL-3.0 license block
- **Component prefix**: `app` (kebab-case for components, camelCase for directives)
- **Commit convention**: Conventional Commits enforced via commitlint. Types: `feat`, `fix`, `build`, `chore`, `ci`, `docs`, `perf`, `refactor`, `revert`, `style`, `test`
- **Pre-commit hook**: `lint-staged` runs ESLint `--fix` on `src/**/*.ts`
- **Formatting**: Prettier — 2-space tabs, single quotes, semicolons, 80 char width, ES5 trailing commas
- **TypeScript**: strict mode, ES5 target, strict templates enabled

## Environment Configuration

Environment files in `src/environments/`. CI build uses EJS template (`environment.ci.ts.template`) with env vars for API endpoints, encryption keys, captcha config, and tracking config. Key environment properties:
- API base URLs: `commonAPI`, `mmuAPI`, `tmAPI`, `schedulerAPI`, etc.
- `encKey` — sessionStorage encryption key
- `siteKey` / `captchaChallengeUrl` — captcha configuration
- `tracking` — Matomo analytics config (siteId, trackerUrl, enabled)
- `isMMUOfflineSync` — enables offline data sync feature

## Key Dependencies

- Angular 16.2 + Angular Material 16.2
- Bootstrap 5.3 (layout) + Font Awesome 4.7 (icons)
- RxJS 7.8, Moment.js 2.30
- `ng-cryptostore` — encrypted sessionStorage
- `exceljs` + `file-saver` — Excel report generation
- `ngx-webcam` — webcam capture
- `ng2-charts` / `chart.js` — charts
- `recordrtc` — audio recording
96 changes: 96 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# Contributing to MMU-UI

## Prerequisites

- **Node.js**: v18.10.0 or higher
- **Angular CLI**: v16.2.x (`npm install -g @angular/cli`)
- **Git**: v2.x or higher

## Local Setup

1. Clone the repository:
```bash
git clone https://github.com/PSMRI/MMU-UI.git
cd MMU-UI
```

2. Install dependencies:
```bash
npm install
```

3. Initialize Common-UI submodule:
```bash
cd Common-UI && git submodule update --init --recursive && git checkout develop
```

4. Start the dev server:
```bash
npm start
```
Access at `http://localhost:4202/#/login`

## Branch Naming

Use prefixes for clarity:
- `feat/` — New features
- `fix/` — Bug fixes
- `chore/` — Dependencies, build, tooling
- `docs/` — Documentation updates
- `refactor/` — Code improvements

Example: `feat/patient-registration-flow`

## Commits

Conventional Commits are **enforced** by Husky + commitlint:

```
type(scope): description

Valid types: feat, fix, build, chore, ci, docs, perf, refactor, revert, style, test
Example: feat(vitals): add blood pressure validation
```

Use `npm run commit` for an interactive prompt.

## PR Checklist

Before submitting a PR:

- [ ] `npm run lint:fix` — ESLint passes
- [ ] No `console.log()` in production code (only `console.warn/error` allowed)
- [ ] `npm test` — Tests pass
- [ ] Branch follows naming convention
- [ ] Commit messages follow Conventional Commits
- [ ] Code uses Angular services for state (BehaviorSubject pattern)

## Code Standards

### State Management
- Use `BehaviorSubject` in services for reactive state
- No NgRx — services manage component communication
- Example: `NurseService`, `HttpServiceService`

### No Console Output
- Remove all `console.log()` from production code
- Only `console.warn()` and `console.error()` are allowed
- ESLint enforces this via `no-console` rule

### TypeScript & Templates
- Strict mode enabled (`strict: true`)
- Strict templates enabled (`strictTemplates: true`)
- Use `any` only when unavoidable (rule disabled, but discouraged)

## Running Tests

```bash
npm test
```

Tests run in watch mode. Files are re-tested on change.

## Questions?

See [CLAUDE.md](CLAUDE.md) for detailed architecture notes.
File issues in the [main AMRIT repo](https://github.com/PSMRI/AMRIT/issues).
2 changes: 1 addition & 1 deletion Common-UI
Submodule Common-UI updated 28 files
+6 −1 README.md
+277 −190 matomo-documentation.md
+220 −0 matomo-local-setup.md
+ src/assets/images/tracking-high-level-diagram.png
+5 −1 src/feedback/shared/feedback-dialog/feedback-dialog.component.html
+4 −2 src/feedback/shared/feedback-dialog/feedback-dialog.component.scss
+7 −1 src/feedback/shared/feedback-dialog/feedback-dialog.component.ts
+1 −1 ...egistrar/abha-components/abha-generation-success-component/abha-generation-success-component.component.html
+1 −1 src/registrar/abha-components/abha-verify-success-component/abha-verify-success-component.component.html
+1 −1 src/registrar/abha-components/download-search-abha/download-search-abha.component.html
+1 −1 src/registrar/abha-components/download-search-abha/download-search-abha.component.ts
+1 −1 src/registrar/abha-components/generate-abha-component/generate-abha-component.component.ts
+2 −2 src/registrar/abha-components/health-id-display-modal/health-id-display-modal.component.html
+92 −33 src/registrar/beneficiary-details/beneficiary-details.component.ts
+1 −1 src/registrar/family-tagging/create-family-tagging/create-family-tagging.component.html
+43 −11 src/registrar/family-tagging/family-tagging-details/family-tagging-details.component.ts
+2 −4 src/registrar/registration/consent-form/consent-form.component.html
+30 −19 src/registrar/registration/location-information/location-information.component.html
+85 −40 src/registrar/registration/personal-information/personal-information.component.ts
+10 −9 src/registrar/registration/registration.component.html
+3 −2 src/registrar/registration/registration.component.ts
+1 −1 src/registrar/search-dialog/search-dialog.component.html
+8 −7 src/registrar/search/search.component.html
+202 −21 src/registrar/search/search.component.ts
+8 −0 src/registrar/services/registrar.service.ts
+176 −12 src/tracking/lib/ga-tracking.service.ts
+1 −1 src/tracking/lib/tracking-provider.ts
+1 −1 src/tracking/lib/tracking.tokens.ts
69 changes: 38 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# AMRIT - Mobile Medical Unit (MMU) Service

[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) ![branch parameter](https://github.com/PSMRI/MMU-UI/actions/workflows/sast.yml/badge.svg)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![DeepWiki](https://img.shields.io/badge/DeepWiki-PSMRI%2FMMU--UI-blue)](https://deepwiki.com/PSMRI/MMU-UI)


The AMRIT Mobile Medical Unit (MMU) service provides essential medical assistance to individuals without requiring them to be admitted to a hospital. This service operates through a mobile unit equipped with a laboratory for conducting medical tests and the capability to dispense medicines. The MMU employs an internet-connected device to collect and transmit medical data to the AMRIT application. It supports various medical standards and incorporates a feature that allows data capture and synchronization even when an internet connection is unavailable.

Expand Down Expand Up @@ -32,20 +33,37 @@ Ensure that the following prerequisites are met before building the MMU service:

* JDK 17
* Maven
* Nodejs v18.10.0
* Node.js v18.10.0 (use `nvm` to manage versions: `nvm install` picks up the version from `.nvmrc`)
* MySQL

### Installation

To install the MMU module, please follow these steps:

1. Clone the repository to your local machine.
2. Install the dependencies and build the module:
- Run the command `npm install`.
- Run the command `npm run build`.
- Run the command `mvn clean install`.
- Run the command `npm start`.
3. Open your browser and access `http://localhost:4200/#/login` to view the login page of module.
1. Clone the repository with submodules:
```bash
git clone --recurse-submodules https://github.com/PSMRI/MMU-UI.git
cd MMU-UI
```
If you already cloned without `--recurse-submodules`, run:
```bash
git submodule update --init --recursive
```

2. Use the correct Node.js version:
```bash
nvm install
nvm use
```

3. Install dependencies and build the module:
```bash
npm install
npm run build # or npm run build-dev for an AOT dev build
npm start # serves at http://localhost:4202
```

4. Open your browser and access `http://localhost:4202/#/login` to view the login page of the module.

### Building from source

Expand All @@ -55,7 +73,7 @@ mvn -B package --file pom.xml -P <profile_name>
```

The available profiles include dev, local, test, and ci.
Refer to `src/environments/environment.ci.template` file and ensure that the right environment variables are set for the build.
Refer to `src/environments/environment.ci.ts.template` file and ensure that the right environment variables are set for the build.

Packing with `ci` profile calls `build-ci` script in `package.json`.
It creates a `environment.ci.ts` file with all environment variables used in the generated build.
Expand All @@ -68,29 +86,19 @@ The MMU module offers comprehensive management capabilities for your application

### Initializing Submodule `Common-UI`

To initialize the `Common-UI` submodule, follow these steps:
The `Common-UI` submodule provides shared UI modules (registrar, feedback, tracking).

1. Clone the `mmu-ui` project:
```bash
git clone https://github.com/PSMRI/MMU-UI

2. Navigate to the project directory and pull the latest changes from the develop branch
cd mmu-ui
git checkout develop
git pull origin develop

3. Open the integrated terminal for the common-ui submodule and initialize it

cd Common-UI
git init
git remote add origin https://github.com/PSMRI/Common-UI
git submodule update --init --recursive
To initialize it:

4. Check the available branches and switch to the develop branch
```bash
# From the repo root, run:
git submodule update --init --recursive
cd Common-UI
git checkout develop
git pull origin develop
```

git branch
git checkout develop
git pull origin develop
If you cloned with `--recurse-submodules`, the submodule is already initialized.

## Filing Issues

Expand All @@ -100,4 +108,3 @@ If you encounter any issues, bugs, or have feature requests, please file them in

We’d love to have you join our community discussions and get real-time support!
Join our [Discord server](https://discord.gg/FVQWsf5ENS) to connect with contributors, ask questions, and stay updated.

8 changes: 6 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@
"node_modules/bootstrap/dist/css/bootstrap.min.css",
"node_modules/font-awesome/css/font-awesome.min.css"
],
"scripts": []
"scripts": [],
"allowedCommonJsDependencies": [
"qrcode"
]
},
"configurations": {
"production": {
Expand Down Expand Up @@ -119,7 +122,8 @@
},
"defaultConfiguration": "development",
"options": {
"port": 4202
"port": 4202,
"host": "0.0.0.0"
}
},
"extract-i18n": {
Expand Down
Loading
Loading