@act-registry/esm-act-app 1.0.1-pre.533 → 1.0.1-pre.545
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -187
- package/dist/1045.css +1 -0
- package/dist/1045.css.map +1 -0
- package/dist/1045.js +1 -0
- package/dist/1045.js.map +1 -0
- package/dist/1796.js +1 -0
- package/dist/1796.js.map +1 -0
- package/dist/3047.js +1 -0
- package/dist/3047.js.map +1 -0
- package/dist/330.css.map +1 -0
- package/dist/5117.js +1 -1
- package/dist/5117.js.map +1 -1
- package/dist/5416.js +1 -1
- package/dist/5416.js.map +1 -1
- package/dist/{2749.css.map → 6204.css.map} +1 -1
- package/dist/6204.js +1 -0
- package/dist/6204.js.map +1 -0
- package/dist/{4859.css.map → 6828.css.map} +1 -1
- package/dist/6828.js +1 -0
- package/dist/6828.js.map +1 -0
- package/dist/7909.js +1 -1
- package/dist/7909.js.map +1 -1
- package/dist/8549.js +1 -0
- package/dist/8549.js.map +1 -0
- package/dist/act-registry-esm-act-app.js +2 -2
- package/dist/act-registry-esm-act-app.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/allergies/allergies-pill.component.tsx +15 -9
- package/src/allergies/allergies-pill.test.tsx +35 -4
- package/src/allergies/allergies.component.tsx +102 -0
- package/src/allergies/allergies.meta.ts +7 -0
- package/src/allergies/allergies.resource.test.ts +186 -17
- package/src/allergies/allergies.resource.ts +121 -31
- package/src/allergies/allergies.scss +5 -0
- package/src/allergies/allergies.test.tsx +183 -0
- package/src/allergies/current-allergies.control.test.tsx +113 -0
- package/src/allergies/current-allergies.control.tsx +40 -0
- package/src/config-schema.test.ts +9 -0
- package/src/config-schema.ts +30 -1
- package/src/consultations/consultations.resource.ts +3 -2
- package/src/consultations/repeated-lists.component.tsx +1 -7
- package/src/consultations/repeated-lists.test.tsx +8 -7
- package/src/forms-engine-registry.ts +20 -4
- package/src/index.ts +3 -0
- package/src/medications/medications.component.tsx +4 -4
- package/src/routes.json +37 -0
- package/src/routes.test.ts +11 -0
- package/translations/en.json +12 -2
- package/dist/1804.css.map +0 -1
- package/dist/1804.js +0 -1
- package/dist/1804.js.map +0 -1
- package/dist/2749.js +0 -1
- package/dist/2749.js.map +0 -1
- package/dist/4859.js +0 -1
- package/dist/4859.js.map +0 -1
- package/dist/9523.js +0 -1
- package/dist/9523.js.map +0 -1
- /package/dist/{1804.css → 330.css} +0 -0
- /package/dist/{2749.css → 6204.css} +0 -0
- /package/dist/{4859.css → 6828.css} +0 -0
package/README.md
CHANGED
|
@@ -1,211 +1,66 @@
|
|
|
1
1
|
# OpenMRS ACT frontend module
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://github.com/DIGI-UW/openmrs-esm-act-app/actions/workflows/ci.yml)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The screens of ACT 3.0, the OpenMRS 3 edition of the ACT rheumatic heart disease (RHD) registry.
|
|
6
|
+
Published to npm as `@act-registry/esm-act-app`.
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
Procedures and Outcomes". This module adds a workspace, `rhd-flag-gaps-workspace`, that lists
|
|
9
|
-
what is missing behind the patient's flags, one table per flag and one row per form and field, with
|
|
10
|
-
the form's date and the days since. **Open form** opens that encounter in the patient chart's form entry workspace, ready to
|
|
11
|
-
complete.
|
|
8
|
+
## What it adds
|
|
12
9
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
```json
|
|
23
|
-
"@openmrs/esm-patient-flags-app": {
|
|
24
|
-
"tagActions": [{ "tagName": "Critical data", "workspace": "rhd-flag-gaps-workspace" }]
|
|
25
|
-
}
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
A flags app that passes the clicked flag as the workspace's props (`patientUuid`, `patientFlagUuid`,
|
|
29
|
-
`flagUuid`, `flagName`) narrows the workspace to that flag.
|
|
30
|
-
|
|
31
|
-
## Quick actions
|
|
32
|
-
|
|
33
|
-
Each home has a Quick actions card that draws whatever extensions are in its slot: `act-home-quick-actions-slot`
|
|
34
|
-
on ACT home, `act-community-home-quick-actions-slot` on Home. Every action is one shared component, a tile with an
|
|
35
|
-
icon, a label and a subtitle, registered in `routes.json` once per home it belongs on, with the privilege its action
|
|
36
|
-
needs. So what each user sees follows their privileges, and a distro plugs actions into a home in its frontend
|
|
37
|
-
config, the O3 way, without code:
|
|
38
|
-
|
|
39
|
-
```json
|
|
40
|
-
"@act-registry/esm-act-app": {
|
|
41
|
-
"extensionSlots": {
|
|
42
|
-
"act-home-quick-actions-slot": { "add": ["act-community-home-record-bpg"], "order": ["act-home-register-patient"] }
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
The actions: Register patient, Enter prophylaxis (BPG or oral), Record BPG injection, Record oral prophylaxis, Find a
|
|
48
|
-
patient and Facility report. Register patient, Enter prophylaxis and Find a patient read `quickActions`, so a change
|
|
49
|
-
there changes every home; Facility report reads `dataClerkQuickActions`.
|
|
50
|
-
|
|
51
|
-
## Home
|
|
52
|
-
|
|
53
|
-
The community clinician's and data clerk's home, at `/home/act-community-home` behind `App: act.communityHome`:
|
|
54
|
-
the session location and today's date, then Quick actions and Due for prophylaxis in
|
|
55
|
-
`act-community-home-widgets-slot`. Its quick actions (see Quick actions) are Record BPG injection, Record oral
|
|
56
|
-
prophylaxis, Register patient, Find a patient and, with `App: act.dataClerk`, Facility report. To land these roles on it, map
|
|
57
|
-
them to `act-community-home` in `defaultDashboardPerRole`, and send `loginSuccess` to `/home`, the only route on
|
|
58
|
-
which the home app reads that map.
|
|
59
|
-
|
|
60
|
-
## ACT home
|
|
61
|
-
|
|
62
|
-
An ACT home dashboard in the home app's left nav, at `/home/act-home`. Its widgets go in
|
|
63
|
-
`rhd-home-widgets-slot`; until one is added it says so. To make it the page its users land on, set the home
|
|
64
|
-
app's `defaultDashboardPerRole` in the distro's frontend config, for each ACT role that lands there (the clinician
|
|
65
|
-
and the administrators; community clinicians and data clerks land on Home), and send the login app's
|
|
66
|
-
`loginSuccess` to `/home`, the only route on which the home app reads that map:
|
|
67
|
-
|
|
68
|
-
```json
|
|
69
|
-
"@openmrs/esm-home-app": {
|
|
70
|
-
"defaultDashboardPerRole": { "<ACT role>": "act-home" }
|
|
71
|
-
}
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
Its quick actions (see Quick actions) are Register patient, Enter prophylaxis and Find a patient.
|
|
75
|
-
Enter prophylaxis opens ACT's patient search, which asks BPG or oral and opens the form in the chart. With
|
|
76
|
-
`quickActions.enterProphylaxisInFastDataEntry`, it offers the choices in `quickActions.prophylaxisForms`, as ACT 2.0 offered BPG and oral
|
|
77
|
-
prophylaxis: by default Enter BPG and Enter oral prophylaxis, which open the RHD BPG Delivery and RHD Oral
|
|
78
|
-
Adherence forms in fast data entry, where the patient is picked. Each choice has a `label` and a `url`; with
|
|
79
|
-
none, Enter prophylaxis links to `enterProphylaxisUrl`. Fast data entry always opens on all forms, so a
|
|
80
|
-
Prophylaxis category in its own config (`formCategories`) only adds a tab there.
|
|
10
|
+
| Area | Screens |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| Home pages | ACT home, Home (community clinicians and data clerks), Instance admin |
|
|
13
|
+
| Patient lists | Registry, Worklists, Procedural waiting list, Screen positive, Due for prophylaxis |
|
|
14
|
+
| Data entry | Enter prophylaxis, Scan patient card, Screening counts |
|
|
15
|
+
| Reports | Dashboard, Run charts, Reports, Facility reports, Download data |
|
|
16
|
+
| Administration | Users and roles, Clinics, Role permissions, Studies, Flags and adherence, Logs |
|
|
17
|
+
| Patient chart | Pages, summary cards, banner tags and workspaces for RHD care |
|
|
18
|
+
| Every page | Session timeout warning, help menu links |
|
|
81
19
|
|
|
82
|
-
##
|
|
20
|
+
## Who sees what
|
|
83
21
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
22
|
+
Each screen is gated by a privilege in [`src/routes.json`](src/routes.json), mostly ACT app privileges
|
|
23
|
+
such as `App: act.registry` or `App: act.dataClerk`. The distro's roles decide which of these each user
|
|
24
|
+
holds, so menus and quick actions follow the user's role.
|
|
87
25
|
|
|
88
|
-
|
|
89
|
-
urgency band, set in `urgencyBands` by the Urgency answer's concept. The defaults are ACT 2.0's three urgencies,
|
|
90
|
-
Emergent, Urgent and Elective, due in 1, 60 and 180 days, and the four answers they replaced, due in 7, 30, 90 and
|
|
91
|
-
180 days, for recommendations saved before, all in deadline order. Overdue rows come first, then the bands in the
|
|
92
|
-
order they are listed. The list and its Urgency filter name each band by its `label`, such as `urgencyEmergent`,
|
|
93
|
-
shown as "1: Emergent (24 hours)", and ACT home's widget by its `shortLabel`, such as "1: Emergent", or its `label` without one; an answer no
|
|
94
|
-
band names shows the report's name for it.
|
|
26
|
+
## Requirements
|
|
95
27
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
28
|
+
| | |
|
|
29
|
+
| --- | --- |
|
|
30
|
+
| Backend modules | webservices.rest 2.40.0+, [ACT Core](https://github.com/DIGI-UW/openmrs-module-actcore), cohort 3.7.3+, reportingrest 2.0.0+, patientflags 3.0.10+ |
|
|
31
|
+
| Frontend apps | home, patient chart, forms and patient flags |
|
|
99
32
|
|
|
100
|
-
##
|
|
33
|
+
## Adding it to a distro
|
|
101
34
|
|
|
102
|
-
|
|
103
|
-
pages. A distro adds a page's link to the chart's `patient-chart-dashboard-slot` in its frontend config:
|
|
35
|
+
List it in `frontend/spa-assemble-config.json`, taking `next` for the newest prerelease or a release version:
|
|
104
36
|
|
|
105
37
|
```json
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"patient-chart-dashboard-slot": { "add": ["act-prophylaxis-dashboard-link", "act-cardiac-tests-dashboard-link"] }
|
|
109
|
-
}
|
|
38
|
+
"frontendModules": {
|
|
39
|
+
"@act-registry/esm-act-app": "next"
|
|
110
40
|
}
|
|
111
41
|
```
|
|
112
42
|
|
|
113
|
-
|
|
114
|
-
and a tag saying whether each was on time, timed by ACT Core as the Prophylaxis card's on-time count is; then their
|
|
115
|
-
oral adherence entries, if any. Record BPG and Record oral open the forms set in `prophylaxisCard`. The encounter
|
|
116
|
-
types and concepts are in `prophylaxisPage`. The Prophylaxis card's History link opens this page, and shows only
|
|
117
|
-
when the chart's nav has it, directly or in a dashboard group.
|
|
118
|
-
- **Cardiac tests** (`act-cardiac-tests-dashboard-link`): the patient's echocardiograms, newest first, with the
|
|
119
|
-
mitral and aortic valve findings and left ventricular ejection fraction; Add opens the echo form, starting a visit
|
|
120
|
-
when the patient has none. The form, its encounter type and the concepts are in `cardiacTests`.
|
|
121
|
-
|
|
122
|
-
## Session timeout warning
|
|
123
|
-
|
|
124
|
-
The server ends a session left idle for its timeout (Tomcat's default is 30 minutes), and the app learns of it only
|
|
125
|
-
from the next request, which lands on the login page with any open form lost. The `act-session-timeout` extension, in
|
|
126
|
-
the top navigation's `top-nav-actions-slot` on every page, warns before that: once the user has been idle for the idle
|
|
127
|
-
time less the warning time, a modal counts the warning time down and signs them out at zero unless they choose Stay
|
|
128
|
-
signed in, which asks the server for the session so its clock starts again. While the user is active it also keeps
|
|
129
|
-
the session alive every few minutes, as a long form entered without saving makes no request of its own. Activity in
|
|
130
|
-
one tab counts in every tab, since signing out in one ends the session they share, and a tab that signs out sends the
|
|
131
|
-
others to the login page. The times are
|
|
132
|
-
`sessionTimeout.idleMinutes` (30; 0 switches the warning off), `warningMinutes` (3) and `keepAliveMinutes` (10), and
|
|
133
|
-
`idleMinutes` should match the server's session timeout.
|
|
134
|
-
|
|
135
|
-
## Clinics and Role permissions
|
|
136
|
-
|
|
137
|
-
Clinics (`/home/act-clinics`, the left nav's Admin > Clinics, for a user holding Manage Locations) is ACT 2.0's
|
|
138
|
-
Clinic Management. It lists the locations that carry a clinic level tag (`clinics.levels`: RHD Tertiary, District
|
|
139
|
-
and Community), with the type and level their description holds as the distro seeds it ("Public, District level"),
|
|
140
|
-
the parent clinic and whether it is enabled; Enabled shows by default and All adds the disabled ones. A clinic is
|
|
141
|
-
added and edited here: its level sets its level tag, its type and level are written back to its description, a new
|
|
142
|
-
clinic also gets `clinics.newClinicTags` (Visit, Queue and Login Location) so users can sign in and record visits
|
|
143
|
-
there, and disabling it retires the location. Clinics from the distro's locations file return to what that file says
|
|
144
|
-
when it is updated (Initializer reapplies it), so lasting changes to them belong in the distro; clinics added here keep
|
|
145
|
-
theirs. Keep the tags in `clinics.levels` the same as `clinicLocationTags`, which the rest of ACT reads.
|
|
146
|
-
|
|
147
|
-
Role permissions (`/home/act-role-permissions`, the Instance admin's Role permissions, for a user holding Manage
|
|
148
|
-
Roles) shows each ACT role (`Organizational: ACT …`) against the ACT capabilities it is built from
|
|
149
|
-
(`Application: ACT …`), with the ones it inherits directly ticked, and saves them. A capability a role has through
|
|
150
|
-
another ACT role shows ticked and is changed on that role. OpenMRS saves a role only for a user holding every
|
|
151
|
-
privilege the role has directly, so such a role is read only here. A user gives only a capability whose privileges
|
|
152
|
-
they hold, and may take away one the role has directly, unless it is on one of their own roles and is how they hold
|
|
153
|
-
Get Roles, which OpenMRS needs to save any role. OpenMRS also lets an administrator save a user only when the
|
|
154
|
-
administrator holds every privilege of the user's roles, so a capability given to a clinician role must be held by the
|
|
155
|
-
administrators who assign it, or they cannot save anyone who has that role. The roles come from the distro's roles
|
|
156
|
-
file, and an update to that file replaces changes made here.
|
|
157
|
-
|
|
158
|
-
## Requirements
|
|
159
|
-
|
|
160
|
-
- Backend: webservices.rest 2.40.0 or later, ACT Core with the gap look-up, cohort 3.7.3 or later for the RHD flag
|
|
161
|
-
lists, and reportingrest 2.0.0 or later for the report datasets.
|
|
162
|
-
- Frontend: the patient chart, forms and patient flags apps; ACT home needs the home app.
|
|
163
|
-
|
|
164
|
-
## Privileges for ACT roles
|
|
43
|
+
Then, in the distro's frontend config:
|
|
165
44
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
45
|
+
- **Land users on their home**: map each role to `act-home` or `act-community-home` in the home app's
|
|
46
|
+
`defaultDashboardPerRole`, and send the login app's `loginSuccess` to `/home`.
|
|
47
|
+
- **Add chart pages** to `patient-chart-dashboard-slot`, for example `act-prophylaxis-dashboard-link`.
|
|
48
|
+
- **Change quick actions** through each home's slot (`act-home-quick-actions-slot`,
|
|
49
|
+
`act-community-home-quick-actions-slot`).
|
|
169
50
|
|
|
170
|
-
|
|
171
|
-
| --- | --- |
|
|
172
|
-
| The RHD flag lists and their members | `Get Patient Cohorts`, `View Cohorts In Cohort Module` |
|
|
173
|
-
| Report datasets, such as the registry and the waiting list | `View Reports`, `Run Reports`, `Get Patients` |
|
|
51
|
+
## Configuration
|
|
174
52
|
|
|
175
|
-
|
|
53
|
+
Everything else (forms, encounter types, concepts, reports, urgency bands, session timeout and so on) is
|
|
54
|
+
set under `@act-registry/esm-act-app` in the frontend config. Each option and its default is described in
|
|
55
|
+
[`src/config-schema.ts`](src/config-schema.ts).
|
|
176
56
|
|
|
177
|
-
##
|
|
57
|
+
## Development
|
|
178
58
|
|
|
179
59
|
```sh
|
|
180
|
-
yarn
|
|
181
|
-
yarn start
|
|
60
|
+
yarn # install
|
|
61
|
+
yarn start # run against a backend: openmrs develop --backend <url>
|
|
62
|
+
yarn verify # lint, typecheck and tests
|
|
63
|
+
yarn build # build to dist/
|
|
182
64
|
```
|
|
183
65
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
On Node 25 or later, run the tests with `NODE_OPTIONS=--no-experimental-webstorage`: Node's own
|
|
187
|
-
`localStorage` otherwise replaces the test DOM's.
|
|
188
|
-
|
|
189
|
-
## Adding it to a distro
|
|
190
|
-
|
|
191
|
-
The module is published to npm as `@act-registry/esm-act-app`. A distro lists it in
|
|
192
|
-
`frontend/spa-assemble-config.json`, taking `next` for the newest prerelease or a release version:
|
|
193
|
-
|
|
194
|
-
```json
|
|
195
|
-
"frontendModules": {
|
|
196
|
-
"@act-registry/esm-act-app": "next"
|
|
197
|
-
}
|
|
198
|
-
```
|
|
199
|
-
|
|
200
|
-
## Releasing
|
|
201
|
-
|
|
202
|
-
CI publishes with the `NPM_AUTH_TOKEN` repository secret, an npm token that can publish to the
|
|
203
|
-
`@act-registry` scope.
|
|
204
|
-
|
|
205
|
-
- A push to main publishes a prerelease, such as `1.0.1-pre.42`, under the `next` tag. Runs on main
|
|
206
|
-
queue in push order, and a run still waiting when a newer push lands is skipped.
|
|
207
|
-
- Publishing a GitHub release publishes the version in `package.json` under `latest`, or under `next`
|
|
208
|
-
when the release is marked as a pre-release. Promoting a pre-release to a full release later
|
|
209
|
-
publishes nothing, so give the stable release its own version. Commit the version bump to main
|
|
210
|
-
first, as a direct push or squash merge, with a commit message starting `(chore) Release` so it
|
|
211
|
-
does not also publish a prerelease. Then publish the release with its tag.
|
|
66
|
+
On Node 25 or later, run the tests with `NODE_OPTIONS=--no-experimental-webstorage`.
|
package/dist/1045.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.-esm-act__cardiac-tests__card___YqD6z{background-color:#fff;border:1px solid #e0e0e0}.-esm-act__cardiac-tests__tableContainer___ULro8{overflow-x:auto}.-esm-act__cardiac-tests__cards___45Y5f{gap:1rem;display:grid}.-esm-act__cardiac-tests__findings___RJVOL{grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:.5rem 1.5rem;padding:.5rem 0;display:grid}.-esm-act__cardiac-tests__findingLabel___4c50W{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);color:#525252}.-esm-act__medications__cards___X1PyV{gap:1rem;display:grid}.-esm-act__medications__card___lTu8J{background-color:#fff;border:1px solid #e0e0e0}.-esm-act__medications__label___Y0iaF{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);color:#525252}:root{--brand-01:#005d5d;--brand-02:#004144;--brand-03:#007d79;--bottom-nav-height:4rem;--workspace-header-height:3rem;--tablet-workspace-window-height:calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height:calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-act__allergies__name___pAwPX[data-tone=penicillin]{color:#da1e28}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1045.css","sources":["webpack://@act-registry/esm-act-app/./src/cardiac-tests/cardiac-tests.scss","webpack://@act-registry/esm-act-app/./src/medications/medications.scss","webpack://@act-registry/esm-act-app/./node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://@act-registry/esm-act-app/./src/allergies/allergies.scss"],"names":[],"mappings":"AAIA,sFAKA,iEAIA,8DAKA,mJAOA,wQCrBA,4DAKA,oFAKA,+PCwCA,sUCpDA"}
|
package/dist/1045.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_act_registry_esm_act_app=globalThis.webpackChunk_act_registry_esm_act_app||[]).push([["1045"],{7991(e,a,l){l.r(a),l.d(a,{default:()=>_});var r=l(4335),t=l.n(r),i=l(1943),n=l(7917),s=l(2909),d=l(8126),o=l(6679),c=l(3268),g=l(8075),m=l(3986),u=l(5779);function p({allergy:e}){let{t:a}=(0,i.useTranslation)();return t().createElement(t().Fragment,null,t().createElement("strong",{className:"-esm-act__allergies__name___pAwPX","data-tone":e.isPenicillin?"penicillin":void 0},e.name),e.reactions.length>0&&t().createElement(t().Fragment,null," \xb7 ",t().createElement("span",{className:g.A.label},a("reaction","Reaction").toUpperCase())," ",e.reactions.join(", ")))}function _({patientUuid:e}){let{t:a}=(0,i.useTranslation)(),l=(0,s.useConfig)(),{current:r,past:h,error:A,isLoading:E}=(0,u.i2)(e,l),{open:f,isOpening:C}=(0,m.ee)(e),y=(0,d.tV)(l.allergies.form),b=y?{add:()=>f(l.allergies.form),isOpening:C}:null,w={header:a("dateAdded","Date added"),text:e=>(0,o.day)(e.added)},k={header:a("details","Details"),text:e=>t().createElement(p,{allergy:e})},v={header:a("dateResolved","Date resolved"),text:e=>(0,o.day)(e.resolved)},L={header:"",text:e=>{if(!y)return null;let r={allergy:e.name,interpolation:{escapeValue:!1}};return e.form===l.allergies.form?t().createElement(n.$nd,{kind:"ghost",size:"sm",disabled:C,"aria-label":a("editAllergy","Edit {{allergy}}",r),onClick:()=>f(l.allergies.form,void 0,e.encounterUuid)},a("edit","Edit")):t().createElement(n.$nd,{kind:"ghost",size:"sm",disabled:C,"aria-label":a("recordAllergyAgain","Record {{allergy}} again",r),onClick:()=>f(l.allergies.form)},a("recordAgain","Record again"))}};return t().createElement("div",{className:g.A.cards},t().createElement(c.ChartListCard,{title:a("currentAllergies","Current allergies"),lowercase:a("currentAllergiesLowercase","current allergies"),columns:[w,k,L],rows:r,isLoading:E,error:A,add:b}),t().createElement(c.ChartListCard,{title:a("pastAllergies","Past allergies"),lowercase:a("pastAllergiesLowercase","past allergies"),columns:[w,k,v,L],rows:h,isLoading:E,error:A,add:E||h.length?null:b}))}}}]);
|
package/dist/1045.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1045.js","sources":["webpack://@act-registry/esm-act-app/./src/allergies/allergies.component.tsx","webpack://@act-registry/esm-act-app/./src/allergies/allergies.scss?54f0"],"names":["Details","allergy","t","useTranslation","undefined","medicationStyles","Allergies","patientUuid","config","useConfig","current","past","error","isLoading","useAllergies","open","isOpening","useOpenFormInVisit","mayRecord","useMayEnterForm","add","dateAdded","one","day","details","dateResolved","edit","names","Button","ChartListCard"],"mappings":"gSAaA,SAASA,EAAQ,CAAEC,QAAAA,CAAO,CAAwB,EAChD,GAAM,CAAEC,EAAAA,CAAC,CAAE,CAAGC,AAAAA,GAAAA,EAAAA,cAAAA,AAAAA,IACd,OACE,oCACE,kBAAC,UAAO,UChBS,oCDgBe,YAAWF,EAAQ,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5B,OAAQ,GACR,KAAM,AAACJ,IACL,GAAI,CAACJ,EACH,OAAO,KAET,IAAMS,EAAQ,CAAE,QAASL,EAAI,IAAI,CAAE,cAAe,CAAE,YAAa,EAAM,CAAE,EACzE,OAAOA,EAAI,IAAI,GAAKd,EAAO,SAAS,CAAC,IAAI,CACvC,kBAACoB,EAAAA,GAAMA,CAAAA,CACL,KAAK,QACL,KAAK,KACL,SAAUZ,EACV,aAAYd,EAAE,cAAe,mBAAoByB,GACjD,QAAS,IAAMZ,EAAKP,EAAO,SAAS,CAAC,IAAI,CAAEJ,OAAWkB,EAAI,aAAa,C,EAEtEpB,EAAE,OAAQ,SAGb,kBAAC0B,EAAAA,GAAMA,CAAAA,CACL,KAAK,QACL,KAAK,KACL,SAAUZ,EACV,aAAYd,EAAE,qBAAsB,2BAA4ByB,GAChE,QAAS,IAAMZ,EAAKP,EAAO,SAAS,CAAC,IAAI,C,EAExCN,EAAE,cAAe,gBAGxB,CACF,EACA,OACE,kBAAC,OAAI,UAAWG,EAAAA,CAAAA,CAAAA,KAAsB,A,EACpC,kBAACwB,EAAAA,aAAaA,CAAAA,CACZ,MAAO3B,EAAE,mBAAoB,qBAC7B,UAAWA,EAAE,4BAA6B,qBAC1C,QAAS,CAACmB,EAAWG,EAASE,EAAK,CACnC,KAAMhB,EACN,UAAWG,EACX,MAAOD,EACP,IAAKQ,C,GAEP,kBAACS,EAAAA,aAAaA,CAAAA,CACZ,MAAO3B,EAAE,gBAAiB,kBAC1B,UAAWA,EAAE,yBAA0B,kBACvC,QAAS,CAACmB,EAAWG,EAASC,EAAcC,EAAK,CACjD,KAAMf,EACN,UAAWE,EACX,MAAOD,EAEP,IAAKC,GAAaF,EAAK,MAAM,CAAG,KAAOS,C,GAI/C,C"}
|
package/dist/1796.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.webpackChunk_act_registry_esm_act_app=globalThis.webpackChunk_act_registry_esm_act_app||[]).push([["1796"],{4767(e,t,a){var i={"./en.json":["4300","5117"]};function n(e){if(!a.o(i,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=i[e],n=t[0];return a.e(t[1]).then(function(){return a(n)})}n.keys=()=>Object.keys(i),n.id=4767,e.exports=n},8940(e,t,a){"use strict";a.d(t,{p:()=>o});var i=a(4335),n=a.n(i),s=a(1675),r=a(2909);function o({meta:e}){return n().createElement(s.BrowserRouter,null,n().createElement(r.DashboardExtension,{path:e.name,title:e.title,basePath:`${window.spaBase}/home`}))}},1256(e,t,a){"use strict";a.d(t,{z:()=>s});var i=a(2909),n=a(7003);function s(){let{user:e}=(0,i.useSession)();return!!e&&(0,i.userHasAccess)(n.vG,e)}},8596(e,t,a){"use strict";a.d(t,{Am:()=>s,DL:()=>i,hk:()=>n});let i={name:"act-home",slot:"rhd-home-dashboard-slot",title:"actHome"},n="rhd-home-widgets-slot",s="act-home-quick-actions-slot"},5779(e,t,a){"use strict";a.d(t,{T6:()=>r,gx:()=>A,i2:()=>p,uI:()=>l});var i=a(2909),n=a(7539),s=a(4718);let r="Allergies unavailable",o=e=>(0,i.parseDate)(e).getTime(),c=e=>[...e.filter(e=>e.isPenicillin),...e.filter(e=>!e.isPenicillin)];function d(e,t,{consultations:a,allergies:i}){let s=a.concepts,r=i.concepts,l=[...e.map(e=>({encounter:e,form:a.form})),...t.map(e=>({encounter:e,form:i.form}))].sort((e,t)=>o(e.encounter.encounterDatetime)-o(t.encounter.encounterDatetime)),p=new Map,h=new Map,A=-1/0,u=-1/0;for(let{encounter:e,form:t}of l)for(let i of(0,n.VZ)(e.obs,s.allergy)){let[c]=(0,n.VZ)(i.groupMembers,s.allergy);if(!c)continue;let d=e=>{let[t]=(0,n.VZ)(i.groupMembers,e);return t?(0,n.yy)(t.value):""},l=(0,n.u8)(c.value)||(0,n.yy)(c.value),y=o(e.encounterDatetime);if(l===r.noKnownAllergies){A=Math.max(A,y);continue}u=Math.max(u,y);let f=d(s.dateAdded)||e.encounterDatetime,b=p.get(l),m=b&&o(b.added)<o(f)?b.added:f,g=d(r.dateResolved)||null;if(b?.resolved&&!g&&h.get(l)===y){p.set(l,{...b,added:m});continue}h.set(l,y);let _=(0,n.yy)(c.value);p.set(l,{key:l,name:_,added:m,isPenicillin:a.penicillinAllergyAnswers.includes(l)||/penicillin/i.test(_),reactions:(0,n.VZ)(i.groupMembers,r.reaction).flatMap(e=>(0,n.VZ)(e.groupMembers,r.reaction)).map(e=>(0,n.yy)(e.value)),resolved:g,encounterUuid:e.uuid,form:t})}let y=c([...p.values()].sort((e,t)=>o(t.added)-o(e.added))),f=y.filter(e=>!e.resolved);return{current:f,past:y.filter(e=>e.resolved),noKnownAllergies:!f.length&&A>u}}function l(e,t=!1){if(!e.length)return t?"No known allergies":"Allergies not recorded";let a=c(e).map(e=>e.name).join(", ");return e.some(e=>e.isPenicillin)?`PENICILLIN ALLERGY: ${a}`:`Allergies: ${a}`}function p(e,t){let a=(0,n._n)(e,t.consultations.encounterType),i=(0,n._n)(e,t.allergies.encounterType);return{...d(a.encounters,i.encounters,t),error:a.error??i.error,isLoading:a.isLoading||i.isLoading}}async function h(e){try{if(!e)throw Error("No patient");let t=await (0,i.getConfig)("@act-registry/esm-act-app"),[a,s]=await Promise.all([(0,n.R9)(e,t.consultations.encounterType),(0,n.R9)(e,t.allergies.encounterType)]),{current:r,noKnownAllergies:o}=d(a,s,t);return l(r,o)}catch{return r}}let A=()=>{(0,s.y)("actAllergies",h),(0,s.X)("act-current-allergies",()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3047")]).then(a.bind(a,4618)))}},5970(e,t,a){"use strict";a.d(t,{KP:()=>y,LP:()=>u});var i=a(8596),n=a(4538),s=a(46),r=a(2066),o=a(4372),c=a(2762),d=a(5482),l=a(7056),p=a(3394);let h="act-chart-return",A=[i.DL.name,c.J.name,p.av.name,l.d.name,d.b.name,n.SJ.name,r.E.name,o.k.name,s._.name];function u(){try{return JSON.parse(window.sessionStorage.getItem(h)??"null")}catch{return null}}function y(){window.addEventListener("single-spa:before-routing-event",e=>{let{oldUrl:t,newUrl:a}=e.detail??{};t&&a&&t!==a&&function(e){try{e?window.sessionStorage.setItem(h,JSON.stringify(e)):window.sessionStorage.removeItem(h)}catch{}}(function(e,t,a){let i,n,s=new URL(t);if(i=new URL(a),!/\/patient\/[^/]+\/chart/.test(i.pathname))return null;if(/\/patient\/[^/]+\/chart/.test(s.pathname))return e;let r=(n=s.pathname.match(/\/home\/([^/]+)/)?.[1],A.find(e=>e===n)??null);return r?{screen:r,path:`${s.pathname}${s.search}`}:null}(u(),t,a))})}},4538(e,t,a){"use strict";a.d(t,{$C:()=>s,SJ:()=>i,af:()=>n});let i={name:"act-community-home",slot:"act-community-home-dashboard-slot",title:"home"},n="act-community-home-widgets-slot",s="act-community-home-quick-actions-slot"},7003(e,t,a){"use strict";a.d(t,{$N:()=>h,$O:()=>l,AZ:()=>f,Az:()=>w,Kp:()=>p,Ky:()=>d,My:()=>c,Nd:()=>A,PI:()=>g,Td:()=>T,UI:()=>P,VU:()=>v,ZQ:()=>D,hG:()=>n,iO:()=>m,iZ:()=>u,jy:()=>_,lE:()=>b,oy:()=>y,sJ:()=>o,tg:()=>s,vG:()=>i,z$:()=>r});let i="App: act.home",n="App: act.worklists",s="App: act.screenPositive",r="Task: act.lists.export",o="Task: act.refreshFlags",c="App: act.studies",d="Task: act.manageStudies",l="Task: act.enterClinicalForms",p="View Audit Logs",h="View Read Audit Logs",A="View Security Audit Logs",u="Task: act.downloadData",y="Task: act.downloadIdentifiers",f="Task: act.downloadResearchData",b="Task: act.sendReferral",m="App: act.screeningCounts",g="Task: act.enterScreeningCounts",_="Add Encounters",w="Edit Encounters",T="Edit People",D="Edit Patient Programs",P="Edit Users",v="Manage Locations"},7539(e,t,a){"use strict";a.d(t,{MY:()=>f,R9:()=>A,VZ:()=>p,_n:()=>u,u8:()=>l,yy:()=>d});var i=a(3483),n=a.n(i),s=a(8406),r=a.n(s),o=a(2909),c=a(7928);let d=e=>"object"==typeof e&&null!==e?String(e.display??""):String(e??""),l=e=>"object"==typeof e&&null!==e?String(e.uuid??""):"",p=(e,t)=>(e??[]).filter(e=>e.concept.uuid===t),h=(e,t)=>`${o.restBaseUrl}/encounter?patient=${e}&encounterType=${t}&v=custom:(uuid,encounterDatetime,encounterProviders:(provider:(display)),obs:(uuid,concept:(uuid,display),value,groupMembers:(uuid,concept:(uuid,display),value,groupMembers:(uuid,concept:(uuid,display),value))))`,A=(e,t)=>(0,c.m)(h(e,t));function u(e,t){let a=e?h(e,t):null,{data:i,error:s,isLoading:r}=n()(a,()=>(0,c.m)(a));return{encounters:[...i??[]].sort((e,t)=>(0,o.parseDate)(t.encounterDatetime).getTime()-(0,o.parseDate)(e.encounterDatetime).getTime()),error:s,isLoading:r}}let y={"1072AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":"day","1073AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":"week","1074AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":"month","1734AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":"year"};function f(e){let{consultations:t}=(0,o.useConfig)(),{encounters:a,error:i,isLoading:n}=u(e,t.encounterType);return{consultations:a.map(e=>(function(e,t){let[a]=p(e.obs,t.date),i=(0,o.parseDate)(String(a?.value??e.encounterDatetime)),n=p(e.obs,t.prophylaxis).map(e=>{let[a]=p(e.groupMembers,t.prophylaxis);return a?p(e.groupMembers,t.dateStopped).length>0?`${d(a.value)} (stopped)`:d(a.value):null}).filter(Boolean).join("; "),[s]=p(e.obs,t.nextAmount),[c]=p(e.obs,t.nextPeriod),h=c?y[l(c.value)]:void 0,A=s&&h?r()((0,o.parseDate)(e.encounterDatetime)).add(Math.round(Number(s.value)),h).toDate():null;return{uuid:e.uuid,date:i,seenBy:(e.encounterProviders??[]).map(e=>e.provider?.display?.replace(/^.* - /,"")??"").filter(Boolean).join(", "),nyha:d(p(e.obs,t.nyha)[0]?.value??""),plan:n,nextReview:A}})(e,t.concepts)),encounters:a,error:i,isLoading:n}}},46(e,t,a){"use strict";a.d(t,{_:()=>i});let i={name:"act-dashboard",slot:"act-dashboard-slot",title:"dashboard"}},2066(e,t,a){"use strict";a.d(t,{E:()=>i});let i={name:"act-due-for-prophylaxis",slot:"rhd-due-for-prophylaxis-dashboard-slot",title:"dueForProphylaxis"}},4372(e,t,a){"use strict";a.d(t,{k:()=>i});let i={name:"act-enter-prophylaxis",slot:"act-enter-prophylaxis-dashboard-slot",title:"enterProphylaxis"}},7928(e,t,a){"use strict";a.d(t,{m:()=>n});var i=a(2909);async function n(e){let t=t=>(0,i.openmrsFetch)(`${e}&totalCount=true&startIndex=${t}`).then(({data:e})=>e),a=await t(0),n=a.results.length,s=[];for(let e=n;n&&e<a.totalCount;e+=n)s.push(e);return[a,...await Promise.all(s.map(t))].flatMap(e=>e.results)}},4718(e,t,a){"use strict";a.d(t,{X:()=>r,y:()=>s});var i=a(2909);let n=()=>(0,i.getGlobalStore)("forms-engine-store",{controls:[],postSubmissionActions:[],expressionHelpers:{},fieldValidators:[],fieldValueAdapters:[],dataSources:[],formSchemaTransformers:[]}).getState();function s(e,t){n().expressionHelpers[e]=t}function r(e,t){let{controls:a}=n();a.some(t=>t.name===e)||a.push({name:e,type:e,load:t})}},9471(e,t,a){"use strict";a.r(t),a.d(t,{screeningCountsDashboard:()=>tr,facilityReportsDashboardLink:()=>eJ,communityHomeQuickActions:()=>tw,facilityReportsDashboard:()=>eY,prophylaxisCard:()=>G,adminNav:()=>tb,runChartsDashboard:()=>te,worklistsDashboard:()=>eF,enterProphylaxisQuickAction:()=>tL,cliniciansOnlyNote:()=>eb,recordOralQuickAction:()=>tS,inrEditWorkspace:()=>eu,cardiacTestsDashboardLink:()=>em,backToActLink:()=>M,downloadDashboard:()=>tc,importTranslation:()=>F,patientsOnProphylaxisDashboard:()=>th,prophylaxisPageDashboardLink:()=>Z,reportsDashboardLink:()=>eQ,registryDashboardLink:()=>eE,waitingListDashboard:()=>eV,actHomeDashboard:()=>eC,communityHomeDashboard:()=>tg,allergiesDashboard:()=>es,downloadDashboardLink:()=>to,allergiesPill:()=>el,dueForProphylaxisDashboardLink:()=>tA,instanceAdminDashboard:()=>e0,actHelpContact:()=>$,formsAndSitesQuickAction:()=>tU,instanceAdminDashboardLink:()=>eX,refreshFlagsDashboard:()=>tn,clinicsDashboardLink:()=>e5,actHomeWorklists:()=>ex,communityHomeDashboardLink:()=>tf,flagGapsWorkspace:()=>eT,registryDashboard:()=>eB,enrollmentWorkspace:()=>eD,clinicalFlags:()=>eh,reportViewDashboard:()=>eZ,reportViewDashboardLink:()=>ez,sessionTimeout:()=>N,startupApp:()=>O,instanceAdminNav:()=>tm,refreshFlagsDashboardLink:()=>ti,cardiacTestsDashboard:()=>eg,clinicFormWorkspace:()=>eP,confirmatoryEchoWorklist:()=>eM,dashboard:()=>e6,instanceAdminKpis:()=>tD,flagWorklist:()=>eN,patientsOnProphylaxisDashboardLink:()=>tp,prophylaxisPageDashboard:()=>J,logsDashboard:()=>tl,dashboardLink:()=>e1,dashboardExportWorkspace:()=>eS,anaphylaxisAlert:()=>ep,medicationsCard:()=>ef,researchPageDashboard:()=>X,clinicsDashboard:()=>e9,dueForProphylaxisWorklist:()=>eO,clinicsBanner:()=>ey,registerPatientQuickAction:()=>tv,reportsDashboard:()=>eK,actHomeOverdueConsultation:()=>eI,instanceAdminQuickActions:()=>tT,screeningCountsDashboardLink:()=>ts,inrStatusFlag:()=>ed,logsDashboardLink:()=>td,rolePermissionsDashboard:()=>e3,scanPatientCardDashboard:()=>K,updatePatientStatusButton:()=>q,dueForProphylaxisWidget:()=>ty,researchParticipationQuickAction:()=>tI,updatePatientStatusWorkspace:()=>e_,inrReviewsDashboardLink:()=>er,facilityReportQuickAction:()=>tC,inrReviewsDashboard:()=>eo,medicationsDashboardLink:()=>ea,nextStepsCard:()=>V,runChartsDashboardLink:()=>e4,studyFormWorkspace:()=>ev,studiesDashboardLink:()=>tt,userFormWorkspace:()=>eL,findPatientQuickAction:()=>tR,usersDashboard:()=>e7,waitingListDashboardLink:()=>ej,dueForProphylaxisDashboard:()=>tu,waitingListWorklist:()=>e$,consultationCard:()=>ec,rolePermissionsDashboardLink:()=>e2,usersDashboardLink:()=>e8,screenPositiveDashboard:()=>eq,patientStatusFlags:()=>z,scanPatientCardDashboardLink:()=>Q,allergiesDashboardLink:()=>en,consultationsDashboardLink:()=>ee,medicationsDashboard:()=>ei,worklistsDashboardLink:()=>eW,researchPageDashboardLink:()=>Y,screenPositiveDashboardLink:()=>eG,resetPasswordWorkspace:()=>ek,actHelpDocs:()=>j,rolePermissionsQuickAction:()=>tx,recordBpgQuickAction:()=>tk,actHomeCareCascade:()=>eH,actHomeDashboardLink:()=>eR,actHomeQuickActions:()=>eU,consultationsDashboard:()=>et,studiesDashboard:()=>ta,updateProphylaxisWorkspace:()=>ew,inrCard:()=>eA});var i=a(2909);let n=(e,t)=>({_type:i.Type.Array,_elements:{_type:i.Type.String},_default:t,_description:`Location tags that mark ${e}.`}),s=(e,t)=>({_type:i.Type.ConceptUuid,_default:t,_description:e}),r=(e,t)=>({_type:i.Type.String,_default:t,_description:e}),o={clinicLocationTags:{cardiac:n("cardiac clinics",["RHD Tertiary","RHD District"]),primaryCare:n("primary care clinics",["RHD Community"])},clinics:{levels:{_type:i.Type.Array,_elements:{_type:i.Type.Object,tag:{_type:i.Type.String,_description:"The location tag that gives a clinic this level."},level:{_type:i.Type.String,_description:"The level as the clinic's description names it."}},_default:[{tag:"RHD Tertiary",level:"Tertiary"},{tag:"RHD District",level:"District"},{tag:"RHD Community",level:"Community"}],_description:"The levels the Clinics page offers, as ACT 2.0's, each by its location tag. A clinic's description holds its type and level, as the distro seeds them: 'Public, District level'. Keep the tags the same as clinicLocationTags, which the rest of ACT reads; a clinic's parent is one of the levels whose tag is in clinicLocationTags.cardiac."},types:{_type:i.Type.Array,_elements:{_type:i.Type.String},_default:["Public","Private Not-For-Profit","Private For-Profit"],_description:"The types the Clinics page offers, as ACT 2.0's; a clinic keeps a type of its own when edited."},newClinicTags:{_type:i.Type.Array,_elements:{_type:i.Type.String},_default:["Visit Location","Queue Location","Login Location"],_description:"Location tags a clinic added on the Clinics page gets beside its level, so users sign in and record visits there."}},flagLists:{namePrefix:{_type:i.Type.String,_default:"RHD ",_description:"The registry's Flags column and filter show the flags whose names start with this, unless names is set. Each worklist names its own flag in its extension's config."},names:{_type:i.Type.Array,_elements:{_type:i.Type.String},_default:[],_description:"The flags, by name, that the registry's Flags column and filter show. When set, namePrefix is not used."},riskFlags:{_type:i.Type.Array,_elements:{_type:i.Type.String},_default:["RHD prophylaxis overdue","RHD oral prophylaxis overdue","RHD lost to follow-up"],_description:"The flags, by name, that mark a clinical risk: red in the registry. Every other flag is missing data, orange, unless earlyWarningFlags names it."},earlyWarningFlags:{_type:i.Type.Array,_elements:{_type:i.Type.String},_default:["RHD cardiology follow-up due","RHD INR review due","RHD no data for 5 months","RHD referred to a clinician"],_description:"The flags, by name, that warn of care coming due rather than of missing data: blue in the registry, as the chart draws the distro's RHD Early Warning priority. A flag listed here and in riskFlags counts as a risk."},flagForms:{_type:i.Type.Array,_elements:{flag:{_type:i.Type.UUID,_description:"The flag, by uuid."},form:{_type:i.Type.UUID,_description:"The form to record the missing data on, by uuid."},concept:{_type:i.Type.UUID,_default:"",_description:"The question to open the form at, by concept uuid; leave it out to open the form at the top."}},_default:[{flag:"b1f7a2c0-0005-4a00-9000-000000000005",form:"4b063fc7-996f-3001-8500-8940e201be8f",concept:"668e0221-8b41-5669-9ad8-78e193d42494"}],_description:"The form a flag's missing data is recorded on when the patient has no saved form to complete. The flag's workspace offers it as a new form, also for a flag whose criteria list no missing data, such as a risk flag; a flag not listed here offers the clinical forms list."}},quickActions:{registerPatientUrl:r("Where the Register patient quick action on ACT home and on Home leads.","${openmrsSpaBase}/patient-registration"),enterProphylaxisInFastDataEntry:{_type:i.Type.Boolean,_default:!1,_description:"Whether Enter prophylaxis on ACT home leads to fast data entry (prophylaxisForms, else enterProphylaxisUrl). When false, it opens Enter prophylaxis, the registry's patients on prophylaxis with Record BPG or Record oral on each. It covers Enter prophylaxis only: Record BPG injection and Record oral prophylaxis always open the patient search."},enterProphylaxisUrl:r("Where the Enter prophylaxis quick action on ACT home leads, when enterProphylaxisInFastDataEntry is true and prophylaxisForms is empty: the fast data entry app.","${openmrsSpaBase}/forms"),prophylaxisForms:{_type:i.Type.Array,_elements:{label:{_type:i.Type.String,_description:"The choice as ACT home shows it: a translation key, or text shown as written."},url:{_type:i.Type.String,_description:"Where the choice leads."}},_default:[{label:"enterBpg",url:"${openmrsSpaBase}/forms/form/0119d2e6-e2e1-391c-9b88-d59a10b0780d"},{label:"enterOralProphylaxis",url:"${openmrsSpaBase}/forms/form/ba29e982-ce18-302a-9fc4-d4b2c3983465"}],_description:"The choices the Enter prophylaxis quick action offers when enterProphylaxisInFastDataEntry is true, as ACT 2.0 offered BPG and oral prophylaxis; by default the RHD BPG Delivery and RHD Oral Adherence forms in fast data entry. When empty, Enter prophylaxis leads to enterProphylaxisUrl."},findPatientInPanel:{_type:i.Type.Boolean,_default:!0,_description:"Whether Find a patient on ACT home and on Home opens ACT's patient search over the page. When false, it leads to findPatientUrl."},findPatientUrl:r("Where the Find a patient quick action on ACT home and on Home leads when findPatientInPanel is false. The empty query keeps the search page loading when it is refreshed: the patient search app of 11.1.1-pre fails on a /search page load without one.","${openmrsSpaBase}/search?query=")},dataClerkQuickActions:{facilityReportUrl:r("Where the Facility report quick action on Home leads (Facility reports), for a user holding App: act.dataClerk.","${openmrsSpaBase}/home/act-facility-reports")},instanceAdminQuickActions:{formsAndSitesUrl:r("Where the Forms & sites quick action on the Instance dashboard leads: OpenMRS 3's form builder, for a user holding App: act.instanceAdmin.","${openmrsSpaBase}/form-builder"),rolePermissionsUrl:r("Where the Role permissions quick action on the Instance dashboard leads: ACT's Role permissions page, which sets the capabilities each ACT role has.","${openmrsSpaBase}/home/act-role-permissions"),researchParticipationUrl:r("Where the Research participation quick action on the Instance dashboard leads: ACT's Studies page, where the research studies and their participants are, for a user holding App: act.instanceAdmin.","${openmrsSpaBase}/home/act-studies")},instanceAdminKpis:{report:{_type:i.Type.String,_default:"6494be01-b4ae-46af-8d7f-058a2f95c115",_description:"The RHD Instance KPIs report, by uuid or name, run for the last seven days: one row whose encounters column is Entered this week (RHD forms dated in the range), and whose active_patients and active_complete columns give Data completeness (the patients on the registry now, and those of them on no Critical data flag's list)."}},users:{roleChoices:{_type:i.Type.Array,_elements:{_type:i.Type.Object,administratorRole:{_type:i.Type.UUID,_description:"The role, by uuid, of the administrator these roles are offered to."},roles:{_type:i.Type.Array,_elements:{_type:i.Type.UUID},_description:"The roles, by uuid, they may give."}},_default:[{administratorRole:"c95f35f4-0422-46a3-a593-a6615fab90bc",roles:["b9ab4b76-e7b9-46a7-b4ec-5b7fdd8fa540","60625a0c-3cea-4fe5-b6ca-615c743ad9d4","a1295a20-7273-4339-b5df-2f8a3a841c77","07a7affa-b7de-46d9-9faa-aac4ef2eccba","c95f35f4-0422-46a3-a593-a6615fab90bc"]},{administratorRole:"07a7affa-b7de-46d9-9faa-aac4ef2eccba",roles:["b9ab4b76-e7b9-46a7-b4ec-5b7fdd8fa540","60625a0c-3cea-4fe5-b6ca-615c743ad9d4","a1295a20-7273-4339-b5df-2f8a3a841c77"]},{administratorRole:"a1295a20-7273-4339-b5df-2f8a3a841c77",roles:["b9ab4b76-e7b9-46a7-b4ec-5b7fdd8fa540","61e9bb28-11df-4df1-965d-11ef928d5239","60625a0c-3cea-4fe5-b6ca-615c743ad9d4"]}],_description:"The roles the Users page offers, as ACT 2.0's: the first entry whose administrator role the signed-in user holds wins; a super user gets the first. By default a global administrator gives every ACT role but Data Clerk, an instance administrator the clinician roles and Site Administrator, and a site administrator the clinician roles and Data Clerk. Each is what ACT Core lets it give (actcore.users.globalAdministratorRoles, instanceAdministratorRoles and siteAdministratorRoles), so set both together."}},helpMenu:{contactUrl:r("Where the Help menu's Contact us leads, such as mailto:support@example.org; each site sets its own. Empty hides it.",""),docsUrl:r("Where the Help menu's Docs leads, in a new tab. Empty hides it.","")},adminLinks:{usersUrl:r("Where the left nav's Users and roles leads, for a user holding Edit Users: ACT's Users page, which offers each administrator the roles and clinics they may give.","${openmrsSpaBase}/home/act-users"),clinicsUrl:r("Where the left nav's Clinics leads: ACT's Clinics page, for a user holding Manage Locations.","${openmrsSpaBase}/home/act-clinics"),studiesUrl:r("Where the left nav's Studies leads: the Studies dashboard in this app, for a user holding App: act.studies.","${openmrsSpaBase}/home/act-studies"),refreshFlagsUrl:r("Where the left nav's Flags and adherence leads: the page that refreshes them now, for a user holding Task: act.refreshFlags.","${openmrsSpaBase}/home/act-refresh-flags"),screeningCountsUrl:r("Where the left nav's Screening counts leads: the page where each clinic's monthly screening counts are entered, for a user holding App: act.screeningCounts.","${openmrsSpaBase}/home/act-screening-counts"),logsUrl:r("Where the left nav's Logs leads: ACT's Logs page (Activity, Patients opened, Downloads and Sign-ins), for a user holding View Audit Logs, View Read Audit Logs or View Security Audit Logs.","${openmrsSpaBase}/home/act-logs"),auditLogsUrl:r("Where the Activity tab's links to the audit module lead: the module's own Audit Logs page, which lists every revision of every entity, including the server's own setup. A row's link adds the user as its username filter.","${openmrsBase}/module/auditlogweb/auditlogs.form"),readAuditUrl:r("Where the Patients opened tab's link to the audit module leads: the module's read audit page, with every read.","${openmrsBase}/module/auditlogweb/readauditlogs.form"),securityAuditUrl:r("Where the Sign-ins tab's link to the audit module leads: the module's security log page, with locked accounts and the full security record.","${openmrsBase}/module/auditlogweb/securityauditlogs.form"),downloadUrl:r("Where the left nav's Download data leads: the download of a form's fields in this app, for a user holding Task: act.downloadData or Task: act.downloadResearchData.","${openmrsSpaBase}/home/act-download")},careCascade:{report:{_type:i.Type.String,_default:"9c6751ae-65fc-5f25-9aa6-8c65cb1dff68",_description:"The care cascade report, by uuid or name. The ACT home widget and the Dashboard draw its rows, one per step, from their step and patients columns."},reportUrl:r("Where the care cascade widget's link to the full report leads.","${openmrsSpaBase}/reports"),steps:{_type:i.Type.Array,_elements:{_type:i.Type.Object,step:{_type:i.Type.String,_description:"The report row's step value."},label:{_type:i.Type.String,_description:"What the ACT home widget and the Dashboard call it: a translation key, or text shown as written."}},_default:[{step:"Active",label:"active"},{step:"Prescribed",label:"prescribed"},{step:"Prescribed Prophylaxis",label:"prescribed"},{step:"Initiated",label:"initiated"},{step:"Initiated BPG",label:"initiated"},{step:"Covered today",label:"coveredToday"},{step:"Adherent (80%+)",label:"adherentEightyPercent"},{step:"Adherent",label:"adherentEightyPercent"}],_description:"The report's steps the ACT home widget and the Dashboard draw, in this order, each by its step value and with the label it shows. A step the report does not return is left out. The report's Oral and BPG rows split Prescribed, so they are left out by default. The defaults also match the step names the report used before it had Covered today, so a distro on that report still draws its four steps."}},reportCatalogue:{_type:i.Type.Array,_elements:{_type:i.Type.Object,id:{_type:i.Type.String,_description:"What the report page's link names it by: /home/act-report?report=<id>."},report:{_type:i.Type.String,_description:"The report, by uuid or name, whose rows the page shows as a table."},label:{_type:i.Type.String,_description:"What the Reports page and the report page call it."},description:{_type:i.Type.String,_description:"A line on the Reports page saying what the report holds."},clinicColumn:{_type:i.Type.String,_default:"",_description:"The report's column naming a row's clinic, by which a user limited to clinics is held to theirs. Blank for a report with none, which such a user is not offered."}},_default:[{id:"visits",report:"b2c3d4e5-f6a7-8901-abcd-234567890abc",label:"Visits",description:"Each RHD clinic visit in a period, with its encounters and the patient.",clinicColumn:"location"},{id:"encounters",report:"d4e5f6a7-b8c9-0123-def0-456789012cde",label:"Encounters",description:"Each RHD encounter in a period, with its type, location and provider.",clinicColumn:"location"},{id:"inr-monitoring",report:"d3a1f2b4-7c8e-4f90-b123-456789abcdef",label:"INR monitoring",description:"Each INR reading of the patients on warfarin in a period, with the target range.",clinicColumn:"location"}],_description:"The reports the Reports page offers to open as a table, each with Download CSV. A report that names patients shows them as the Registry does, to whoever may open the Reports page."},registry:{report:{_type:i.Type.String,_default:"f1a2b3c4-d5e6-7890-abcd-ef1234567890",_description:"The RHD Patient List report, by uuid or name, whose rows the registry lists."},showBpgColumns:{_type:i.Type.Boolean,_default:!1,_description:"Show the report's bpg_status and adherence columns and a BPG status filter. Turn on once the report returns them."}},dashboard:{registrantsReport:{_type:i.Type.String,_default:"3b0a6c2e-8f41-5d7b-9e15-6a2c4d8f0b71",_description:"The RHD Dashboard Registrants report, by uuid or name: counts by status, and of the active registrants by sex, age band and disease (its breakdown, label and patients columns), for the Dashboard's registrant figures."},waitlistReport:{_type:i.Type.String,_default:"9d4e2f7a-1c63-5b08-8a2d-4f6e1b9c3a52",_description:"The RHD Dashboard Waitlist report, by uuid or name: the open recommendations by procedure and urgency, the patients waiting and the balloon valvuloplasties and surgeries performed (its breakdown, procedure, urgency, patients and recommendations columns), for the Dashboard's waitlist."},showScreening:{_type:i.Type.Boolean,_default:!0,_description:"Show the Dashboard's screening sections: the screening cascade, RHD screening from the monthly screening counts, and the screening from registrations. Turn it off at a site without a screening programme."},screeningReport:{_type:i.Type.String,_default:"0f4b7c2d-6a1e-5d93-8b47-2c9e1f5a3d68",_description:"The RHD Dashboard Screening report, by uuid or name: the patients registered in a period by sex, Screen +, age at registration and how the case was detected, for the Dashboard's screening from registrations."},registrantPatientsReport:{_type:i.Type.String,_default:"e8296d2d-def8-5f8e-ba2d-78c59859b9e3",_description:"The RHD Dashboard Registrant Patients report, by uuid or name: the patients behind one of the registrants report's figures, for the Dashboard's links."},waitlistPatientsReport:{_type:i.Type.String,_default:"bc987343-8b70-5f95-84a8-d017cffa14da",_description:"The RHD Dashboard Waitlist Patients report, by uuid or name: the recommendations or patients behind one of the waitlist report's figures, for the Dashboard's links."},cascadePatientsReport:{_type:i.Type.String,_default:"7c62fcfd-03b2-5d84-9cea-92a43b70ae76",_description:"The RHD Care Cascade Patients report, by uuid or name: the patients of one care cascade step, for the Dashboard's links."},optimisationPatientsReport:{_type:i.Type.String,_default:"45c646b2-f223-585e-963a-3c74fe883ae4",_description:"The RHD Medical Optimisation Patients report, by uuid or name: the patients, consultations or recommendations behind one measure, for the Dashboard's links."},medicalOptimisationReport:{_type:i.Type.String,_default:"733a512c-3243-4e91-a44a-06a8e5384606",_description:"The RHD Medical Optimisation report, by uuid or name: one row per measure (its measure, done and not_done columns), for the Dashboard's Medical optimisation."},screeningCascadeReport:{_type:i.Type.String,_default:"8b257a0c-7e96-5a01-9672-975cae3b0419",_description:"The RHD Screening Cascade report, by uuid or name, for the Dashboard's screening cascade."},screeningDiagnosesReport:{_type:i.Type.String,_default:"6ddf6b36-2789-4733-8433-a877d54795cf",_description:"The RHD Screening Diagnoses report, by uuid or name: the diagnosis categories and RHD details of the screen-detected, for the Dashboard."}},procedures:{encounterType:{_type:i.Type.UUID,_default:"c9b87090-8768-50be-987e-8ca0a8983429",_description:"Procedures and Outcomes' encounter type. A procedure recorded there completes the matching interventional recommendation (AR-162)."},concepts:{_type:i.Type.Object,_default:{date:"6cbb5176-144a-576b-9b3d-c9e9d6bc5f5a",surgeryType:"46f4af80-b783-59f4-beb1-81144ccf3084",catheterizationType:"bb4a77ee-836a-57e7-a262-632fa22288d2"},_description:"Procedures and Outcomes' Date of Procedure, Surgery Type and Catheterization Type. The two types' answers are the consultation's Interventional Recommendation(s) answers, so a recorded procedure matches its recommendation."}},consultations:{encounterType:{_type:i.Type.UUID,_default:"c2503561-c00d-5460-8157-43d594472b4a",_description:"The RHD Consultation Visit encounter type, whose encounters the Consultation visits page lists."},form:{_type:i.Type.UUID,_default:"4b063fc7-996f-3001-8500-8940e201be8f",_description:"The RHD Consultation Visit form, which Start consultation opens."},concepts:{_type:i.Type.Object,_default:{date:"c3edefd2-5777-5084-b01e-fd4ca0e40162",nyha:"2f51b894-383c-53bb-9997-583e9761d132",prophylaxis:"668e0221-8b41-5669-9ad8-78e193d42494",dateStopped:"d75edc42-3213-5a06-9228-4e5735b9594b",nextAmount:"ba4b8a87-2ce8-559e-9a30-45504a9b6c1f",nextPeriod:"1732AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",medication:"0734567e-4f0a-5090-9d74-b953921a30e6",medicationDose:"8879385e-d35e-50a3-a3d0-4333d95d4878",medicationInterval:"04d77200-fa10-5c15-b58a-609bf8eadefb",dateStarted:"5bcc7d12-b279-5955-815c-090a1f392071",dateAdded:"b8514967-2259-5a4d-9ac5-b9319144b8dc",chronicCondition:"d80478b2-4ed2-5d93-a604-6b5b50dab441",allergy:"cd73e118-64ee-5855-b276-f7cb44fdcf7e",complication:"a04d2268-a7de-589f-b4b6-92c47c13e342",recommendation:"ce93d393-1df5-587f-bf11-c373eac2ccf4",completed:"1632f8dc-195d-5d67-a52e-6c7a057cb536"},_description:"The consultation's questions: Date of Consultation Visit, NYHA Classification, Secondary Antibiotic Prophylaxis (the group and its regimen share the concept), Date Stopped, Next Consultation Time Amount and Period, Cardiac Medication (group and medicine share the concept) with its Dosing, Dosing Interval and Date Started, Date Added on the chronic condition, allergy and RHD complication lists (each group and its name share the concept), and Interventional Recommendation(s) (group and procedure share the concept) with its Completed answer."},vitaminKAntagonists:{_type:i.Type.Array,_elements:{_type:i.Type.UUID},_default:["5e97fe35-58df-4925-bba7-7c49d75268a1","3c7f8916-3ab5-5678-83c5-be7c7bb1f5e7"],_description:"The Cardiac Medication answers that put a patient on warfarin, as the INR flags read them: warfarin and the other vitamin K antagonist. A patient with one active on the Medications page (recorded in a consultation or a Medication Update, not stopped) has the INR reviews page and card."},penicillinAllergyAnswers:{_type:i.Type.Array,_elements:{_type:i.Type.UUID},_default:["149071AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","b4e6c064-ab4f-5ee4-9837-094731ee23d4"],_description:"The Allergy answers, on consultations and RHD Allergies, that are an allergy to penicillin, which the patient banner and the consultation form mark: Penicillin (allergy) and Penicillin (anaphylaxis), as the patients report counts them. An answer named penicillin is marked whatever its uuid."},vitals:{_type:i.Type.Array,_elements:{_type:i.Type.Object,label:{_type:i.Type.String,_description:"The name the consultation form shows before the value."},concepts:{_type:i.Type.Array,_elements:{_type:i.Type.UUID},_description:"The concept, or concepts whose values are shown joined by '/', as blood pressure's two."},unit:{_type:i.Type.String,_description:"The unit shown after the value."}},_default:[{label:"BP",concepts:["5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],unit:"mmHg"},{label:"Pulse",concepts:["5087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],unit:"bpm"},{label:"Temp",concepts:["5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],unit:"\xb0C"},{label:"RR",concepts:["5242AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],unit:"/min"},{label:"SpO2",concepts:["5092AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],unit:"%"},{label:"Weight",concepts:["5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],unit:"kg"},{label:"Height",concepts:["5090AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],unit:"cm"},{label:"MUAC",concepts:["1343AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],unit:"cm"}],_description:"The vitals and biometrics the consultation form shows at its top, read from what the Vitals & Biometrics form recorded in the consultation's visit, in this order. The concepts are the vitals app's defaults."}},medications:{encounterType:{_type:i.Type.UUID,_default:"e3f1b6a8-5c2d-4f7e-9a41-6d8b2c0e7f53",_description:"The RHD Medication Update encounter type. The Medications page reads its Cardiac Medication records with the consultations', the latest record of a medicine deciding whether it is active."},form:{_type:i.Type.UUID,_default:"6fc2cd4c-3bd8-3888-88ae-53e6eb7debb3",_description:"The RHD Medication Update form, which the Medications page's Add opens. Who may record it is its encounter type's edit privilege."}},allergies:{encounterType:{_type:i.Type.UUID,_default:"8a687651-3554-4255-941c-812d7a21312e",_description:"The RHD Allergies encounter type. Its allergies are read with the consultations', the latest record of an allergy deciding whether it is current or past."},form:{_type:i.Type.UUID,_default:"baeb5cfb-8433-3ad7-a1e6-1e7f449e9dbe",_description:"The RHD Allergies form, which the Allergies page's Add and Edit open. Who may record it is its encounter type's edit privilege."},concepts:{_type:i.Type.Object,_default:{reaction:"8200713e-8647-52f0-b93d-841e4e9687b7",dateResolved:"8fbebbea-16dd-5dc5-98f0-c522cab26e19",noKnownAllergies:"160557AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},_description:"The Allergy group's Reaction (a group and its answers share the concept) and Date Resolved, which moves an allergy to past, and the Allergy Name answer No known allergies, which is not an allergy. The allergy and its Date Added are the consultation's concepts."}},inrReviews:{encounterType:{_type:i.Type.UUID,_default:"b4bb88a3-9a04-5142-85bd-bb63c270f632",_description:"The RHD INR Monitoring encounter type, whose encounters the INR reviews page lists."},form:{_type:i.Type.UUID,_default:"fe4848b2-a0b4-329f-a6a3-6ffc298e09a9",_description:"The RHD INR Monitoring form, which Record INR opens."},concepts:{_type:i.Type.Object,_default:{target:"0778ce12-ddba-5e22-b5fd-92424e8747b4",group:"bd88ecf3-eac2-516a-8949-a93f90d6483b",dateTested:"be9041b1-3948-5de0-a8b1-974e84b95715",value:"161482AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",newDose:"f27f6ed2-48db-5be7-91da-3e2483915462",nextInr:"5096AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",doseChange:"a72dadd1-27de-5578-9595-31d2b621870d",indication:"6e8ed53f-15e6-5b00-9ed0-44b11bd2d638"},_description:"The INR form's questions: Indication, INR Target, the INR Value group with its Date Tested, INR Value, Dose Change and New Anticoagulant Dose, and Next INR Date."},answers:{_type:i.Type.Object,_default:{yes:"1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",no:"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",targets:[{label:"1.5-2.5",uuid:"2822a113-1cd3-510e-b5bf-95b9279b1a4f"},{label:"2.0-3.0",uuid:"d894d89a-04bd-5fc0-91a0-5dc3ddd8802b"},{label:"2.5-3.5",uuid:"ea841a3a-f9cb-5761-aac6-939ffb158d94"}]},_description:"The INR form's answers the INR editor offers: Yes and No for Dose Change, and the INR Target ranges with their labels. These uuids are copied from distro/configuration/ampathforms/rhd_inr_monitoring.json and must be kept in step with it."}},contactCard:{attributeTypes:{_type:i.Type.Object,_default:{phone:"542c6fd2-05ca-53e3-a4f5-cd23bc1abd8f",phoneOwner:"ea3cb7ae-ffbe-5aee-8343-44977898f675",primaryCareClinic:"695f2990-236f-5d7c-b8aa-ddbdb22400f4",cardiacClinic:"fe261119-2911-5b36-be40-8f9827826987"},_description:"The person attribute types of the patient's contact details: Primary Phone, Phone Owner Name, Primary Care Clinic and Assigned Cardiac Clinic. The patient banner shows the two clinics and the Consultation visits card the cardiac clinic; the banner's Show more lists the phone and phone owner from the patient banner app's contactAttributeTypes."}},clinicianPrivilege:{_type:i.Type.String,_default:"Task: act.enterClinicalForms",_description:'The privilege that marks a clinician for the chart: the Prophylaxis card offers its holders both Record BPG and Record oral whatever is prescribed, and its non-holders read "Clinical dashboards are only visible to clinicians" under the chart\'s pages.'},waitingList:{report:{_type:i.Type.String,_default:"5b0f1c2e-9d3a-4c1b-8f6e-2a7d9e4b3c10",_description:"The Procedural Waiting List report, by uuid or name, whose rows the waiting list shows."}},dueForProphylaxis:{report:{_type:i.Type.String,_default:"f3d8b672-a8a3-47a3-8a0b-dff01de6e3a8",_description:"The Due for Prophylaxis report, by uuid or name, whose rows the Due for prophylaxis page and widget list."}},screenPositive:{report:{_type:i.Type.String,_default:"e3b8f7a2-6c41-4d9e-8a57-1f0c2d4b9e63",_description:"The Screen Positive, Pending Confirmation report, by uuid or name, whose rows the screen positive list shows."}},studies:{participantsReport:{_type:i.Type.String,_default:"ea8687da-4bed-5e2b-bafa-7a11ad9bc3ae",_description:"The RHD Study Participants report, by uuid or name: one row per study enrolment, which Studies lists and counts."},studyParticipantIdAttributeType:{_type:i.Type.UUID,_default:"7840ba5d-d927-52d6-907b-dd070bea6626",_description:"The program attribute type that holds a participant's ID in a study, as ACT 2.0's Study ID."},researchOptInAttributeType:{_type:i.Type.UUID,_default:"a78f6ae3-faec-5db8-9493-53877985ca7f",_description:"The person attribute type, of Concept format, that records whether the patient would like to be considered for research."},consentAttributeType:{_type:i.Type.UUID,_default:"e15bf9b7-249e-5d75-907d-937b8d9b0c46",_description:"The person attribute type, of Concept format, that records registry consent at registration. A patient is enrolled in a study only after consenting, as ACT Core requires."},yesConcept:s("The Yes answer of registry consent and of the research opt-in.","1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"),noConcept:s("The No answer of the research opt-in.","1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")},programmeReport:{report:{_type:i.Type.String,_default:"c4a9e2d1-7b3f-4e58-9a16-2f0d8b5c7e31",_description:"The RHD Programme Report, by uuid or name, whose rows (one per primary care clinic) the Reports and Facility reports pages show."}},cardiacTests:{echoForm:{_type:i.Type.UUID,_default:"88e54fb0-1243-3f7a-b925-f64648ca6635",_description:"The form the chart's Cardiac tests page opens from Add."},echoEncounterType:{_type:i.Type.UUID,_default:"730f5ec2-7102-55d0-8602-2d792844f245",_description:"The encounter type of the echocardiograms the Cardiac tests page lists, the echo form's."},concepts:{date:s("Date of Echocardiogram, the date a row shows; without one, the encounter date.","911be530-9457-54be-8515-4bbcdb832ccb"),mitralRegurgitation:s("Mitral Regurgitation, the Mitral regurgitation column.","d6ab05e2-1ece-5f8f-893d-74739aa66ce5"),mitralStenosis:s("Mitral stenosis severity, the Mitral stenosis column.","ed209fc3-0138-516c-a0bd-bcd3b2697a87"),aorticRegurgitation:s("Aortic Regurgitation, the Aortic regurgitation column.","0bbc510f-1e95-5c74-bbe3-8896907fd6c1"),aorticStenosis:s("Aortic Stenosis, the Aortic stenosis column.","7586c9a6-73db-5ab2-8f23-71a3cc4bae62"),ejectionFraction:s("Left Ventricular Ejection Fraction, the Left ventricular ejection fraction column, in %.","ed630fda-8451-53c0-929e-40eafd9bca9b")},ecgForm:{_type:i.Type.UUID,_default:"3776bb8d-4741-3741-aeef-d5b760443569",_description:"The form the Cardiac tests page's Electrocardiograms card opens from Add."},ecgEncounterType:{_type:i.Type.UUID,_default:"64c3f35f-a3ec-59d6-8178-0ca9f068cda8",_description:"The encounter type of the electrocardiograms the Cardiac tests page lists, the ECG form's."},ecgConcepts:{date:s("Date of Electrocardiogram, the date a row shows; without one, the encounter date.","a85d4e63-500f-5af9-8ebd-9e1db5ddc3ed"),result:s("Electrocardiogram Result, the Result column, one answer per finding.","1c5476e4-ff12-5fbd-b2ad-53f66f9006a0"),otherFinding:s("Other Electrocardiogram Finding, the Other finding column.","67d65827-eea5-57ac-ae8b-77f91d128063")}},prophylaxisPage:{bpgEncounterType:{_type:i.Type.UUID,_default:"04cf03db-3b8e-5020-84b0-50b06338767a",_description:"The encounter type of the BPG injections the chart's Prophylaxis page lists, the BPG form's."},oralEncounterType:{_type:i.Type.UUID,_default:"55271793-ef37-58da-9d86-1d9092a5a809",_description:"The encounter type of the oral adherence entries the Prophylaxis page lists, the oral form's."},concepts:{injectionDate:s("Date of Injection, the date a BPG row shows. A BPG visit without one was withheld, so it is not listed or counted as recorded today.","183fb30e-b861-5b7c-806f-7118a40f2b51"),doseGiven:s("Dose given, the BPG dose a row shows; an injection saved before the form asked it has none.","6a52b6aa-2427-4fa2-93cb-18956f50c16a"),facility:s("Facility, a location picked on the BPG form; without one, the encounter location.","01e6dd39-b8ba-5b0a-bcd7-6b8d5973c1bc"),lateReason:s("If injection(s) late, why?, the reasons a late injection tag names.","f7cbfcdc-58bb-5e85-86ab-ffce26a08615"),estimateDate:s("Date of Adherence Estimate, the date an oral row shows; without one, the encounter date.","99512ab5-208e-5c37-8f7b-8f72abe2a0db"),adherence:s("Adherence Estimate, the percentage an oral row shows.","8edff8dc-4af6-5d0f-bf1d-8e349c7a1b15"),basedOn:s("Adherence Based On, what an oral row says the estimate was based on.","4313005d-d5b2-5d20-bf33-39aab1bf90c0"),lowAdherenceReason:s("Explanation if Adherence is Below 80%, the reason an oral row gives for low adherence.","a9fbf67b-65d7-57f6-8270-7bb65cd49469"),newPrescription:s("New Prescription Duration, the supply an oral row says was given.","cd03af00-de81-5c08-9a02-92f95c00e1ce")}},nextSteps:{enabled:{_type:i.Type.Boolean,_default:!0,_description:"Whether the patient summary shows Next steps for this visit, from ACT Core's /actcore/nextsteps. When false, the card is hidden and neither /actcore/nextsteps nor the form list is fetched."}},prophylaxisCard:{bpgForm:{_type:i.Type.UUID,_default:"0119d2e6-e2e1-391c-9b88-d59a10b0780d",_description:"The form Record BPG opens, on the patient summary's Prophylaxis card and the chart's Prophylaxis page, to record a BPG injection."},oralForm:{_type:i.Type.UUID,_default:"ba29e982-ce18-302a-9fc4-d4b2c3983465",_description:"The form Record oral opens, on the patient summary's Prophylaxis card and the chart's Prophylaxis page, to record oral prophylaxis."}},prophylaxisUpdate:{encounterType:{_type:i.Type.UUID,_default:"8a51f352-5f1b-4836-a669-536e276a21db",_description:"The RHD Prophylaxis Update encounter type, which the Prophylaxis card's Update prophylaxis saves. Its edit privilege says who may."},concepts:{_type:i.Type.Object,_default:{prescription:"668e0221-8b41-5669-9ad8-78e193d42494",dateStarted:"5bcc7d12-b279-5955-815c-090a1f392071",dateStopped:"d75edc42-3213-5a06-9228-4e5735b9594b",reasonStopped:"fa21e431-e64d-5493-b18c-9a1eaf7ee16a",duration:"11117263-f71d-58e2-8363-d2e9b1dbddab",consultationDate:"c3edefd2-5777-5084-b01e-fd4ca0e40162",none:"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},_description:"The questions of a prophylaxis prescription as the consultation form records them: Secondary Antibiotic Prophylaxis (the group and its regimen share the concept) with its Date Started, Date Stopped and Reason Stopped, the encounter's Secondary Antibiotic Prophylaxis Duration, the Date of Consultation Visit that ACT Core dates a prescription by when there is one, and the None answer that prescribes nothing."},regimens:{_type:i.Type.Array,_elements:{uuid:{_type:i.Type.UUID,_description:"The regimen answer."},label:{_type:i.Type.String,_description:"The choice as the update shows it."}},_default:[{uuid:"50be4b26-6c5b-5aaa-9254-3bfd313b4522",label:"Q28 day BPG"},{uuid:"2f3ee632-dd14-51b0-a4ec-de10e7958019",label:"Q21 day BPG"},{uuid:"91230c88-6a90-5d45-af50-fa6155fe5dd7",label:"Q14 day BPG"},{uuid:"b9884219-358a-594b-94f5-f8a8863a25f3",label:"Oral Penicillin V"},{uuid:"f2e06eb2-5c25-5e53-9e01-246112d05976",label:"Oral Sulfadiazine"},{uuid:"fb8b6676-689b-5daa-83f7-1456210c587f",label:"Oral Erythromycin"},{uuid:"f6f25d63-bd1a-51cb-9596-e74a19759429",label:"Oral Clarithromycin"},{uuid:"1af922b8-acee-56c8-b184-eaef4e58e23a",label:"Oral Azithromycin"},{uuid:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other non-coded"}],_description:"The regimens Update prophylaxis offers, as the consultation form's Secondary Antibiotic Prophylaxis does."},durations:{_type:i.Type.Array,_elements:{uuid:{_type:i.Type.UUID,_description:"The duration answer."},label:{_type:i.Type.String,_description:"The choice as the update shows it."}},_default:[{uuid:"6f2c4ca8-a499-5851-975b-5bfb426143a9",label:"1 year and reassess"},{uuid:"a3f9bcd3-787f-58b3-ae36-c494725a67eb",label:"2 years and reassess"},{uuid:"024cdfe6-c2eb-521c-8616-4729ac35439e",label:"5 years or until age 21, whichever is longer"},{uuid:"ecc08a4c-6494-5737-b142-f59d18c07db1",label:"10 years or until age 40, whichever is longer"},{uuid:"e13a5d80-2ba1-5927-b4e6-7369473222e1",label:"Lifetime"}],_description:"The durations Update prophylaxis offers, as the consultation form's Secondary Antibiotic Prophylaxis Duration does."},reasons:{_type:i.Type.Array,_elements:{uuid:{_type:i.Type.UUID,_description:"The reason answer."},label:{_type:i.Type.String,_description:"The choice as the update shows it."}},_default:[{uuid:"121689AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Allergy"},{uuid:"148888AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Anaphylaxis"},{uuid:"eaf16fa9-03d7-5846-94c3-b02805889ed9",label:"Provider Stopped"},{uuid:"39af49bd-5dd0-5acd-8ffb-260bc83dbfd7",label:"Patient Preference"},{uuid:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Other non-coded"}],_description:"The reasons Update prophylaxis offers for stopping, as the consultation form's Reason Stopped does."}},patientStatus:{programUuid:{_type:i.Type.UUID,_default:"7d73e143-a550-5a9d-aecd-dd771add098d",_description:"The registry programme whose enrolment holds a patient's status: Update patient status ends it in one of the terminal states of its workflow, which the registry, the worklists and the Dashboard read."},deathConcept:{_type:i.Type.UUID,_default:"159AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",_description:"The concept of the workflow's Deceased state, which also marks the person dead as Mark patient deceased did."}},actIdentifierType:{_type:i.Type.UUID,_default:"240f85fa-46e1-540e-9234-2796c623f7ea",_description:"The identifier type ACT's patient search shows as the patient's ACT ID."},patientInformationForm:{_type:i.Type.UUID,_default:"a6646c51-130d-3b59-a442-959bea93487d",_description:"The RHD Patient Information form: the patient's latest is edited, when it is in singleRecordForms, as by default. A diagnosis it recorded before AR-167 is listed until a consultation records one."},singleRecordForms:{_type:i.Type.Array,_elements:{_type:i.Type.UUID},_default:["a6646c51-130d-3b59-a442-959bea93487d","7807da80-ee71-3900-bbce-a026e4a8d54d"],_description:"Forms, by uuid, that hold one current record per patient, as ACT 2.0 kept Patient Information and Research Participation on the patient: ACT's buttons for them (Next steps, a flag's Open form) edit the patient's latest encounter of the form's type when they have one, rather than add a second. The chart's own Clinical forms list still starts a new one. By default RHD Patient Information and RHD Research Participation."},visitType:{_type:i.Type.UUID,_default:"bf86d5a7-9511-5c11-acb1-8f8718775cd5",_description:"The visit type an ACT screen starts when it opens a form for a patient with no active visit."},sessionTimeout:{idleMinutes:{_type:i.Type.Number,_default:30,_description:"Minutes a user may be idle before they are signed out, as the server's session timeout (Tomcat's default is 30). 0 switches the warning off."},warningMinutes:{_type:i.Type.Number,_default:3,_description:"Minutes before the idle time runs out that the warning opens, counting down to the sign-out."},keepAliveMinutes:{_type:i.Type.Number,_default:10,_description:"How often, in minutes, the session is asked for while the user is active, so a long form entered without saving does not let the server's clock run out. Keep it below idleMinutes."}},urgencyBands:{_type:i.Type.Array,_elements:{label:{_type:i.Type.String,_description:"What the waiting list and its Urgency filter call the band: a translation key, or text shown as written."},shortLabel:{_type:i.Type.String,_description:"What ACT home's waiting list widget calls the band; without one, it uses label."},concept:{_type:i.Type.ConceptUuid,_description:"The answer that records this band."},deadlineDays:{_type:i.Type.Number,_description:"Days allowed before a patient in this band is overdue."}},_default:[{label:"urgencyEmergent",shortLabel:"1: Emergent",concept:"1fe15210-4490-58b0-a38c-bb0386e98482",deadlineDays:1},{label:"urgencyWithinOneWeek",concept:"406285f2-be72-5594-8664-c8568ad9bc88",deadlineDays:7},{label:"urgencyWithinOneMonth",concept:"82c5209b-c183-5bc9-941c-890eba821a44",deadlineDays:30},{label:"urgencyUrgent",shortLabel:"2: Urgent",concept:"33bf504a-15f2-5504-9bdc-ddded0b5eb00",deadlineDays:60},{label:"urgencyWithinThreeMonths",concept:"925610f9-1c3c-5396-880f-02a5fe309d53",deadlineDays:90},{label:"urgencyElective",shortLabel:"3: Elective",concept:"2666bf97-7400-57c7-b535-7903e22ced34",deadlineDays:180},{label:"urgencyWithinSixMonths",concept:"57e3873e-018e-5ed6-b7d4-5f73ef464cbd",deadlineDays:180}],_description:"Urgency bands for the procedural waiting list, most urgent first: ACT 2.0's three urgencies, which answer the RHD Consultation Visit's Urgency, with the days allowed before a recommendation is overdue. The four answers they replaced keep their old deadlines, for recommendations saved before, and every band sits in deadline order. A recommendation whose answer no band names keeps the answer's name, is not marked overdue and is listed after the bands.",_validators:[(0,i.validator)(e=>e.every(e=>e.concept&&"number"==typeof e.deadlineDays),"Every urgency band needs a concept and a number of deadline days")]}};var c=a(4335),d=a.n(c),l=a(8940),p=a(8596),h=a(2762),A=a(3394),u=a(7003);function y(){let{user:e}=(0,i.useSession)();return!!e&&(0,i.userHasAccess)(u.hG,e)}var f=a(7056),b=a(9218),m=a(1943),g=a(5482),_=a(1256),w=a(2066),T=a(4538);let D={name:"act-reports",slot:"act-reports-dashboard-slot",title:"reports"},P={name:"act-facility-reports",slot:"act-facility-reports-dashboard-slot",title:"facilityReports"};var v=a(8046);let L={name:"act-scan-patient-card",slot:"act-scan-patient-card-dashboard-slot",title:"scanPatientCard"};var k=a(5970),S=a(5779),R=a(8406),C=a.n(R),U=a(4718);async function x(e,t){if(!e||!t)return null;try{let{data:a}=await (0,i.openmrsFetch)(`${i.restBaseUrl}/actcore/prophylaxis?patient=${e}`);if(a?.type!=="BPG"||!a.intervalDays)return null;return C()(t).startOf("day").add(a.intervalDays,"day").toDate()}catch{return null}}let I="Vitals not recorded at this visit";async function H(e,t){try{var a,n;let s,r;if(!e)throw Error("No patient");if(!t)return I;let{consultations:o}=await (0,i.getConfig)("@act-registry/esm-act-app"),{data:c}=await (0,i.openmrsFetch)(`${i.restBaseUrl}/visit/${t}?v=custom:(encounters:(voided,obs:(concept:(uuid),value,obsDatetime,voided)))`);return a=(c?.encounters??[]).filter(e=>!e.voided).flatMap(e=>e.obs??[]),n=o.vitals,s=new Map,a.filter(e=>!e.voided).forEach(e=>{let t=s.get(e.concept.uuid);(!t||e.obsDatetime>t.obsDatetime)&&s.set(e.concept.uuid,e)}),(r=n.filter(e=>e.concepts.some(e=>s.has(e))).map(e=>`${e.label} ${e.concepts.map(e=>s.get(e)?.value??"–").join("/")} ${e.unit}`)).length?`Vitals at this visit: ${r.join(", ")}`:I}catch{return"Vitals unavailable"}}let E={"act-worklist-cardiology-follow-up":{flag:"RHD cardiology follow-up due",title:"cardiologyFollowUpDue",tone:"orange",dueDateColumn:"next_consultation_date"},"act-worklist-lost-to-follow-up":{flag:"RHD lost to follow-up",title:"lostToFollowUp",tone:"red"},"act-worklist-post-procedural-follow-up":{flag:"RHD 30-day follow-up due",title:"postProceduralFollowUpDue",tone:"orange"},"act-worklist-pregnancy-outcome":{flag:"RHD delivery outcome overdue",title:"pregnancyOutcomeDue",tone:"orange"},"act-worklist-referred-to-clinician":{flag:"RHD referred to a clinician",title:"referredToAClinician",tone:"orange"},"act-worklist-inr-review":{flag:"RHD INR review due",title:"inrReviewDue",tone:"orange",dueDateColumn:"next_inr_date"}},B="@act-registry/esm-act-app",W={featureName:"act",moduleName:B},F=a(4767);function O(){(0,i.defineConfigSchema)(B,o),Object.entries(E).forEach(([e,t])=>(0,i.defineExtensionConfigSchema)(e,{flag:{_type:i.Type.String,_default:t.flag,_description:"The flag, by name, whose list this is. A flag that has no list in ACT Core hides the worklist."},title:{_type:i.Type.String,_default:t.title,_description:"The worklist's name on its tile: a translation key, or text shown as written."},tone:{_type:i.Type.String,_default:t.tone,_description:"The colour across the top of its tile: red for patients at risk, orange for care that is due.",_validators:[i.validators.oneOf(["red","orange"])]},dueDateColumn:{_type:i.Type.String,_default:t.dueDateColumn??"",_description:"The registry report's column holding the date the patient is due by, which says why they are on the list; without it, how long they have been on it."}})),(0,k.KP)(),(0,U.y)("actNextInjectionDue",x),(0,S.gx)(),(0,U.y)("actVisitVitals",H)}let M=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("4921")]).then(a.bind(a,9472)),W),N=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("77")]).then(a.bind(a,172)),W),$=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("2925")]).then(a.bind(a,4508)),W),j=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("422")]).then(a.bind(a,9285)),W),V=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("2024"),a.e("4349"),a.e("8405"),a.e("6133")]).then(a.bind(a,8932)),W),G=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("8405"),a.e("8393"),a.e("9152"),a.e("4516")]).then(a.bind(a,611)),W),q=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("8094")]).then(a.bind(a,3517)),W),Q=(0,i.getSyncLifecycle)(function(){let{t:e}=(0,m.useTranslation)();return d().createElement(l.p,{meta:{...L,title:e("scanPatientCard","Scan patient card")}})},W),K=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("4771"),a.e("50"),a.e("129")]).then(a.bind(a,6808)),W),z=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("2230"),a.e("7326")]).then(a.bind(a,3956)),W),Z=(0,i.getSyncLifecycle)((0,i.createDashboard)({slot:"act-prophylaxis-dashboard-slot",path:"act-prophylaxis",title:"Prophylaxis",icon:"omrs-icon-medication"}),W),J=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("8405"),a.e("8393"),a.e("9152"),a.e("7367")]).then(a.bind(a,6474)),W),Y=(0,i.getSyncLifecycle)((0,i.createDashboard)(b.K),W),X=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("7559")]).then(a.bind(a,8186)),W),ee=(0,i.getSyncLifecycle)((0,i.createDashboard)({slot:"act-consultations-dashboard-slot",path:"act-consultations",title:"Consultation visits",icon:"omrs-icon-calendar-heat-map"}),W),et=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("8405"),a.e("8393"),a.e("2325"),a.e("6204")]).then(a.bind(a,6679)),W),ea=(0,i.getSyncLifecycle)((0,i.createDashboard)({slot:"act-medications-dashboard-slot",path:"act-medications",title:"Medications",icon:"omrs-icon-medication"}),W),ei=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("8405"),a.e("8393"),a.e("2325"),a.e("8549"),a.e("330")]).then(a.bind(a,3268)),W),en=(0,i.getSyncLifecycle)((0,i.createDashboard)({slot:"act-allergies-dashboard-slot",path:"act-allergies",title:"Allergies",icon:"omrs-icon-warning"}),W),es=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("8405"),a.e("8393"),a.e("2325"),a.e("8549"),a.e("1045")]).then(a.bind(a,7991)),W),er=(0,i.getAsyncLifecycle)(()=>a.e("4924").then(a.bind(a,23)),W),eo=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("8405"),a.e("8393"),a.e("7551"),a.e("7077")]).then(a.bind(a,6402)),W),ec=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("8405"),a.e("8393"),a.e("2325"),a.e("2744")]).then(a.bind(a,688)),W),ed=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("2230"),a.e("9176")]).then(a.bind(a,9370)),W),el=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("8405"),a.e("8393"),a.e("2325"),a.e("7909")]).then(a.bind(a,6420)),W),ep=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("7516")]).then(a.bind(a,5367)),W),eh=(0,i.getAsyncLifecycle)(()=>a.e("5174").then(a.bind(a,85)),W),eA=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("8405"),a.e("8393"),a.e("7551"),a.e("1865")]).then(a.bind(a,3939)),W),eu=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("2471")]).then(a.bind(a,2218)),W),ey=(0,i.getAsyncLifecycle)(()=>a.e("8759").then(a.bind(a,5914)),W),ef=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("8405"),a.e("8393"),a.e("2325"),a.e("8549"),a.e("6828")]).then(a.bind(a,2071)),W),eb=(0,i.getAsyncLifecycle)(()=>a.e("5189").then(a.bind(a,1252)),W),em=(0,i.getSyncLifecycle)((0,i.createDashboard)({slot:"act-cardiac-tests-dashboard-slot",path:"act-cardiac-tests",title:"Cardiac tests",icon:"omrs-icon-activity"}),W),eg=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("8405"),a.e("8393"),a.e("1397")]).then(a.bind(a,6820)),W),e_=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3939")]).then(a.bind(a,6910)),W),ew=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("9498")]).then(a.bind(a,7425)),W),eT=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("8405"),a.e("1691")]).then(a.bind(a,1910)),W),eD=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("2662")]).then(a.bind(a,8165)),W),eP=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("7743")]).then(a.bind(a,6450)),W),ev=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("4710")]).then(a.bind(a,917)),W),eL=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("1067")]).then(a.bind(a,854)),W),ek=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("5416")]).then(a.bind(a,456)),W),eS=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("8100"),a.e("2869"),a.e("9154")]).then(a.bind(a,9193)),W),eR=(0,i.getSyncLifecycle)(function(){return d().createElement(l.p,{meta:p.DL})},W),eC=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("2821")]).then(a.bind(a,1856)),W),eU=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("841")]).then(a.bind(a,6640)).then(({ActHomeQuickActions:e})=>({default:e})),W),ex=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("9708")]).then(a.bind(a,5255)),W),eI=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3000")]).then(a.bind(a,6475)),W),eH=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("6131")]).then(a.bind(a,5950)),W),eE=(0,i.getSyncLifecycle)(function(){return d().createElement(l.p,{meta:h.J})},W),eB=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("3947"),a.e("7201")]).then(a.bind(a,6388)),W),eW=(0,i.getSyncLifecycle)(function(){return d().createElement(l.p,{meta:A.av})},W),eF=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("2731"),a.e("3168"),a.e("27")]).then(a.bind(a,6070)),W),eO=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("8405"),a.e("50"),a.e("3947"),a.e("3411")]).then(a.bind(a,4966)),W),eM=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("8405"),a.e("3947"),a.e("2143"),a.e("2854")]).then(a.bind(a,2639)),W),eN=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3947"),a.e("2419")]).then(a.bind(a,7094)),W),e$=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("8405"),a.e("3947"),a.e("3226"),a.e("8751")]).then(a.bind(a,5462)),W),ej=(0,i.getSyncLifecycle)(function(){return y()?null:d().createElement(l.p,{meta:f.d})},W),eV=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("8405"),a.e("3226"),a.e("2279")]).then(a.bind(a,9617)),W),eG=(0,i.getSyncLifecycle)(function(){let{t:e}=(0,m.useTranslation)();return y()?null:d().createElement(l.p,{meta:{...g.b,title:e("diagnosisToConfirm","Diagnosis to confirm")}})},W),eq=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("8405"),a.e("2143"),a.e("7500")]).then(a.bind(a,2866)),W),eQ=(0,i.getSyncLifecycle)(function(){let{t:e}=(0,m.useTranslation)();return d().createElement(l.p,{meta:{...D,title:e("reports","Reports")}})},W),eK=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("289"),a.e("781")]).then(a.bind(a,7562)),W),ez=(0,i.getSyncLifecycle)(function(){return null},W),eZ=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("1813")]).then(a.bind(a,9972)),W),eJ=(0,i.getSyncLifecycle)(function(){let{t:e}=(0,m.useTranslation)();return(0,_.z)()?null:d().createElement(l.p,{meta:{...P,title:e("facilityReports","Facility reports")}})},W),eY=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("289"),a.e("8431")]).then(a.bind(a,8528)),W),eX=(0,i.getSyncLifecycle)(function(){return(0,_.z)()?null:d().createElement(l.p,{meta:v.iX})},W),e0=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("5764")]).then(a.bind(a,3235)),W),e8=(0,i.getAsyncLifecycle)(()=>a.e("497").then(a.bind(a,3016)),W),e7=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("2024"),a.e("1791"),a.e("5719")]).then(a.bind(a,4727)),W),e5=(0,i.getAsyncLifecycle)(()=>a.e("3957").then(a.bind(a,3684)),W),e9=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("5521")]).then(a.bind(a,6872)),W),e2=(0,i.getAsyncLifecycle)(()=>a.e("6429").then(a.bind(a,668)),W),e3=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("7173")]).then(a.bind(a,5332)),W),e1=(0,i.getAsyncLifecycle)(()=>a.e("2122").then(a.bind(a,8449)),W),e6=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("4720"),a.e("8100"),a.e("289"),a.e("2869"),a.e("4359"),a.e("3889")]).then(a.bind(a,174)),W),e4=(0,i.getSyncLifecycle)(function(){return null},W),te=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("4720"),a.e("4359"),a.e("2393")]).then(a.bind(a,6128)),W),tt=(0,i.getAsyncLifecycle)(()=>a.e("8773").then(a.bind(a,3828)),W),ta=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("7526")]).then(a.bind(a,8053)),W),ti=(0,i.getAsyncLifecycle)(()=>a.e("4945").then(a.bind(a,5272)),W),tn=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("5693")]).then(a.bind(a,3660)),W),ts=(0,i.getAsyncLifecycle)(()=>a.e("9257").then(a.bind(a,4259)),W),tr=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("808")]).then(a.bind(a,7467)),W),to=(0,i.getAsyncLifecycle)(()=>a.e("4107").then(a.bind(a,4550)),W),tc=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("5368")]).then(a.bind(a,2760)),W),td=(0,i.getAsyncLifecycle)(()=>a.e("6317").then(a.bind(a,5868)),W),tl=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("1791"),a.e("1079")]).then(a.bind(a,6695)),W),tp=(0,i.getSyncLifecycle)(function(){return null},W),th=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("8405"),a.e("50"),a.e("6244"),a.e("8361")]).then(a.bind(a,8895)),W),tA=(0,i.getSyncLifecycle)(function(){let{t:e}=(0,m.useTranslation)();return(0,_.z)()?null:d().createElement(l.p,{meta:{...w.E,title:e("dueForProphylaxis","Due for prophylaxis")}})},W),tu=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("8405"),a.e("50"),a.e("6244"),a.e("4489")]).then(a.bind(a,7868)),W),ty=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("8405"),a.e("50"),a.e("6244"),a.e("7347")]).then(a.bind(a,8041)),W),tf=(0,i.getSyncLifecycle)(function(){return(0,_.z)()?null:d().createElement(l.p,{meta:T.SJ})},W),tb=(0,i.getAsyncLifecycle)(()=>a.e("3385").then(a.bind(a,3136)),W),tm=(0,i.getAsyncLifecycle)(()=>a.e("6841").then(a.bind(a,3936)),W),tg=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("3168"),a.e("296")]).then(a.bind(a,5455)),W),t_=()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("841")]).then(a.bind(a,6640)),tw=(0,i.getAsyncLifecycle)(()=>t_().then(({CommunityHomeQuickActions:e})=>({default:e})),W),tT=(0,i.getAsyncLifecycle)(()=>t_().then(({InstanceAdminQuickActions:e})=>({default:e})),W),tD=(0,i.getAsyncLifecycle)(()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("6020")]).then(a.bind(a,4703)).then(({InstanceAdminKpis:e})=>({default:e})),W),tP=()=>Promise.all([a.e("5098"),a.e("2731"),a.e("7678"),a.e("2024"),a.e("50"),a.e("2230"),a.e("4789")]).then(a.bind(a,3087)),tv=(0,i.getAsyncLifecycle)(()=>tP().then(({RegisterPatientAction:e})=>({default:e})),W),tL=(0,i.getAsyncLifecycle)(()=>tP().then(({EnterProphylaxisAction:e})=>({default:e})),W),tk=(0,i.getAsyncLifecycle)(()=>tP().then(({RecordBpgAction:e})=>({default:e})),W),tS=(0,i.getAsyncLifecycle)(()=>tP().then(({RecordOralAction:e})=>({default:e})),W),tR=(0,i.getAsyncLifecycle)(()=>tP().then(({FindPatientAction:e})=>({default:e})),W),tC=(0,i.getAsyncLifecycle)(()=>tP().then(({FacilityReportAction:e})=>({default:e})),W),tU=(0,i.getAsyncLifecycle)(()=>tP().then(({FormsAndSitesAction:e})=>({default:e})),W),tx=(0,i.getAsyncLifecycle)(()=>tP().then(({RolePermissionsAction:e})=>({default:e})),W),tI=(0,i.getAsyncLifecycle)(()=>tP().then(({ResearchParticipationAction:e})=>({default:e})),W)},8046(e,t,a){"use strict";a.d(t,{I6:()=>n,f8:()=>s,iX:()=>i});let i={name:"act-instance-admin",slot:"act-instance-admin-dashboard-slot",title:"home"},n="act-instance-admin-widgets-slot",s="act-instance-admin-quick-actions-slot"},2762(e,t,a){"use strict";a.d(t,{J:()=>i});let i={name:"act-registry",slot:"rhd-registry-dashboard-slot",title:"registry"}},9218(e,t,a){"use strict";a.d(t,{K:()=>i});let i={slot:"act-research-dashboard-slot",path:"act-research",title:"Research participation",icon:"omrs-icon-microscope"}},5482(e,t,a){"use strict";a.d(t,{b:()=>i});let i={name:"act-screen-positive",slot:"rhd-screen-positive-dashboard-slot",title:"screenPositive"}},7056(e,t,a){"use strict";a.d(t,{d:()=>i});let i={name:"act-waiting-list",slot:"rhd-waiting-list-dashboard-slot",title:"waitingList"}},3394(e,t,a){"use strict";a.d(t,{EC:()=>s,Z6:()=>n,av:()=>i});let i={name:"act-worklists",slot:"rhd-worklists-dashboard-slot",title:"worklists"},n="act-worklists-slot",s=e=>`\${openmrsSpaBase}/home/${i.name}`+(e?`?${new URLSearchParams({list:e})}`:"")}}]);
|
package/dist/1796.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1796.js","sources":["webpack://@act-registry/esm-act-app/./translations|lazy|nonrecursive|/.json$/","webpack://@act-registry/esm-act-app/./src/access/act-dashboard-link.component.tsx","webpack://@act-registry/esm-act-app/./src/access/holds-act-home.ts","webpack://@act-registry/esm-act-app/./src/act-home/act-home.meta.ts","webpack://@act-registry/esm-act-app/./src/allergies/allergies.resource.ts","webpack://@act-registry/esm-act-app/./src/back-to-act/act-return.ts","webpack://@act-registry/esm-act-app/./src/community-home/community-home.meta.ts","webpack://@act-registry/esm-act-app/./src/constants.ts","webpack://@act-registry/esm-act-app/./src/consultations/consultations.resource.ts","webpack://@act-registry/esm-act-app/./src/dashboard/dashboard.meta.ts","webpack://@act-registry/esm-act-app/./src/due-for-prophylaxis/due-for-prophylaxis.meta.ts","webpack://@act-registry/esm-act-app/./src/enter-prophylaxis/patients-on-prophylaxis.meta.ts","webpack://@act-registry/esm-act-app/./src/fetch-all.ts","webpack://@act-registry/esm-act-app/./src/forms-engine-registry.ts","webpack://@act-registry/esm-act-app/./src/config-schema.ts","webpack://@act-registry/esm-act-app/./src/access/holds-worklists.ts","webpack://@act-registry/esm-act-app/./src/programme-report/programme-report.meta.ts","webpack://@act-registry/esm-act-app/./src/scan-patient-card/scan-patient-card.meta.ts","webpack://@act-registry/esm-act-app/./src/prophylaxis/next-injection-due.ts","webpack://@act-registry/esm-act-app/./src/vitals/visit-vitals.resource.ts","webpack://@act-registry/esm-act-app/./src/worklists/flag-worklists.ts","webpack://@act-registry/esm-act-app/./src/index.ts","webpack://@act-registry/esm-act-app/./src/scan-patient-card/scan-patient-card-dashboard-link.component.tsx","webpack://@act-registry/esm-act-app/./src/prophylaxis-page/prophylaxis-page.meta.ts","webpack://@act-registry/esm-act-app/./src/consultations/consultations.meta.ts","webpack://@act-registry/esm-act-app/./src/medications/medications.meta.ts","webpack://@act-registry/esm-act-app/./src/allergies/allergies.meta.ts","webpack://@act-registry/esm-act-app/./src/cardiac-tests/cardiac-tests.meta.ts","webpack://@act-registry/esm-act-app/./src/act-home/act-home-dashboard-link.component.tsx","webpack://@act-registry/esm-act-app/./src/registry/registry-dashboard-link.component.tsx","webpack://@act-registry/esm-act-app/./src/worklists/worklists-dashboard-link.component.tsx","webpack://@act-registry/esm-act-app/./src/waiting-list/waiting-list-dashboard-link.component.tsx","webpack://@act-registry/esm-act-app/./src/screen-positive/screen-positive-dashboard-link.component.tsx","webpack://@act-registry/esm-act-app/./src/programme-report/reports-dashboard-link.component.tsx","webpack://@act-registry/esm-act-app/./src/report-view/report-view-dashboard-link.component.tsx","webpack://@act-registry/esm-act-app/./src/programme-report/facility-reports-dashboard-link.component.tsx","webpack://@act-registry/esm-act-app/./src/instance-admin/instance-admin-dashboard-link.component.tsx","webpack://@act-registry/esm-act-app/./src/run-charts/run-charts-dashboard-link.component.tsx","webpack://@act-registry/esm-act-app/./src/enter-prophylaxis/patients-on-prophylaxis-dashboard-link.component.tsx","webpack://@act-registry/esm-act-app/./src/due-for-prophylaxis/due-for-prophylaxis-dashboard-link.component.tsx","webpack://@act-registry/esm-act-app/./src/community-home/community-home-dashboard-link.component.tsx","webpack://@act-registry/esm-act-app/./src/instance-admin/instance-admin.meta.ts","webpack://@act-registry/esm-act-app/./src/registry/registry.meta.ts","webpack://@act-registry/esm-act-app/./src/research/research-page.meta.ts","webpack://@act-registry/esm-act-app/./src/screen-positive/screen-positive.meta.ts","webpack://@act-registry/esm-act-app/./src/waiting-list/waiting-list.meta.ts","webpack://@act-registry/esm-act-app/./src/worklists/worklists.meta.ts"],"names":["Promise","Error","Object","ActDashboardLink","meta","BrowserRouter","DashboardExtension","window","useHoldsActHome","user","useSession","Boolean","userHasAccess","PRIVILEGE_ACT_HOME","actHomeDashboardMeta","actHomeWidgetsSlot","actHomeQuickActionsSlot","allergiesUnavailable","time","date","parseDate","penicillinFirst","allergies","one","allergiesOf","consultationEncounters","allergyRecords","consultations","c","a","oldestFirst","encounter","x","y","byKey","Map","decidedAt","noKnownAt","Infinity","allergyAt","form","group","answersIn","name","text","concept","answerText","key","answerUuid","at","Math","recorded","earlier","added","resolved","displayName","reactions","reaction","all","current","allergiesText","noKnownAllergies","names","useAllergies","patientUuid","config","useChartEncounters","records","fetchAllergiesText","getConfig","fetchChartEncounters","registerAllergies","registerExpressionHelper","registerControl","storageKey","actScreens","registryDashboardMeta","worklistsDashboardMeta","waitingListDashboardMeta","screenPositiveDashboardMeta","communityHomeDashboardMeta","dueForProphylaxisDashboardMeta","patientsOnProphylaxisDashboardMeta","dashboardMeta","readActReturn","JSON","trackActReturn","event","oldUrl","newUrl","writeActReturn","value","nextActReturn","url","from","URL","screen","communityHomeWidgetsSlot","communityHomeQuickActionsSlot","PRIVILEGE_WORKLISTS","PRIVILEGE_SCREEN_POSITIVE","PRIVILEGE_EXPORT_LISTS","PRIVILEGE_REFRESH_FLAGS","PRIVILEGE_STUDIES","PRIVILEGE_MANAGE_STUDIES","PRIVILEGE_ENTER_CLINICAL_FORMS","PRIVILEGE_VIEW_AUDIT_LOGS","PRIVILEGE_VIEW_READ_AUDIT_LOGS","PRIVILEGE_VIEW_SECURITY_AUDIT_LOGS","PRIVILEGE_DOWNLOAD_DATA","PRIVILEGE_DOWNLOAD_IDENTIFIERS","PRIVILEGE_DOWNLOAD_RESEARCH_DATA","PRIVILEGE_SEND_REFERRAL","PRIVILEGE_SCREENING_COUNTS","PRIVILEGE_ENTER_SCREENING_COUNTS","PRIVILEGE_ADD_ENCOUNTERS","PRIVILEGE_EDIT_ENCOUNTERS","PRIVILEGE_EDIT_PEOPLE","PRIVILEGE_EDIT_PATIENT_PROGRAMS","PRIVILEGE_EDIT_USERS","PRIVILEGE_MANAGE_LOCATIONS","String","obs","encountersUrl","encounterType","restBaseUrl","fetchAll","data","error","isLoading","useSWR","encounters","b","periodUnits","useConsultations","useConfig","toConsultation","concepts","dateAnswer","plan","regimen","stopped","amount","period","unit","undefined","nextReview","dayjs","Number","fetchPage","startIndex","openmrsFetch","first","pageSize","startIndexes","start","page","registry","getGlobalStore","helper","load","controls","control","locationTags","clinics","defaultTags","Type","description","defaultUuid","link","defaultUrl","configSchema","validator","bands","band","useHoldsWorklists","reportsDashboardMeta","facilityReportsDashboardMeta","scanPatientCardDashboardMeta","nextInjectionDue","injectionDate","vitalsNotRecorded","fetchVisitVitalsText","visitUuid","vitals","latest","shown","kept","vital","flagWorklists","moduleName","options","importTranslation","require","startupApp","defineConfigSchema","defaults","defineExtensionConfigSchema","validators","backToActLink","getAsyncLifecycle","sessionTimeout","actHelpContact","actHelpDocs","nextStepsCard","prophylaxisCard","updatePatientStatusButton","scanPatientCardDashboardLink","getSyncLifecycle","t","useTranslation","scanPatientCardDashboard","patientStatusFlags","prophylaxisPageDashboardLink","createDashboard","prophylaxisPageDashboard","researchPageDashboardLink","researchPageDashboardMeta","researchPageDashboard","consultationsDashboardLink","consultationsDashboard","medicationsDashboardLink","medicationsDashboard","allergiesDashboardLink","allergiesDashboard","inrReviewsDashboardLink","inrReviewsDashboard","consultationCard","inrStatusFlag","allergiesPill","anaphylaxisAlert","clinicalFlags","inrCard","inrEditWorkspace","clinicsBanner","medicationsCard","cliniciansOnlyNote","cardiacTestsDashboardLink","cardiacTestsDashboard","updatePatientStatusWorkspace","updateProphylaxisWorkspace","flagGapsWorkspace","enrollmentWorkspace","clinicFormWorkspace","studyFormWorkspace","userFormWorkspace","resetPasswordWorkspace","dashboardExportWorkspace","actHomeDashboardLink","actHomeDashboard","actHomeQuickActions","ActHomeQuickActions","actHomeWorklists","actHomeOverdueConsultation","actHomeCareCascade","registryDashboardLink","registryDashboard","worklistsDashboardLink","worklistsDashboard","dueForProphylaxisWorklist","confirmatoryEchoWorklist","flagWorklist","waitingListWorklist","waitingListDashboardLink","waitingListDashboard","screenPositiveDashboardLink","screenPositiveDashboard","reportsDashboardLink","reportsDashboard","reportViewDashboardLink","reportViewDashboard","facilityReportsDashboardLink","facilityReportsDashboard","instanceAdminDashboardLink","instanceAdminDashboardMeta","instanceAdminDashboard","usersDashboardLink","usersDashboard","clinicsDashboardLink","clinicsDashboard","rolePermissionsDashboardLink","rolePermissionsDashboard","dashboardLink","dashboard","runChartsDashboardLink","runChartsDashboard","studiesDashboardLink","studiesDashboard","refreshFlagsDashboardLink","refreshFlagsDashboard","screeningCountsDashboardLink","screeningCountsDashboard","downloadDashboardLink","downloadDashboard","logsDashboardLink","logsDashboard","patientsOnProphylaxisDashboardLink","patientsOnProphylaxisDashboard","dueForProphylaxisDashboardLink","dueForProphylaxisDashboard","dueForProphylaxisWidget","communityHomeDashboardLink","adminNav","instanceAdminNav","communityHomeDashboard","quickActions","communityHomeQuickActions","CommunityHomeQuickActions","instanceAdminQuickActions","InstanceAdminQuickActions","instanceAdminKpis","InstanceAdminKpis","quickActionTiles","registerPatientQuickAction","RegisterPatientAction","enterProphylaxisQuickAction","EnterProphylaxisAction","recordBpgQuickAction","RecordBpgAction","recordOralQuickAction","RecordOralAction","findPatientQuickAction","FindPatientAction","facilityReportQuickAction","FacilityReportAction","formsAndSitesQuickAction","FormsAndSitesAction","rolePermissionsQuickAction","RolePermissionsAction","researchParticipationQuickAction","ResearchParticipationAction","instanceAdminWidgetsSlot","instanceAdminQuickActionsSlot","worklistsSlot","worklistsUrl","worklist","URLSearchParams"],"mappings":"oIAAA,IAAI,EAAM,CACR,YAAa,CACX,OACA,OACD,AACH,EACA,SAAS,EAAuB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C,KAAM,mBACN,KAAM,kCACN,MAAO,aACT,C,+DCJO,IAAMD,EAAyB,CACpC,KAAM,gBACN,KAAM,+BACN,MAAO,WACT,EAGagQ,EAAgB,qBAGhBC,EAAe,AAACC,GAC3B,CAAC,wBAAwB,EAAElQ,EAAuB,IAAI,CAAC,CAAC,CACvDkQ,CAAAA,EAAW,CAAC,CAAC,EAAE,IAAIC,gBAAgB,CAAE,KAAMD,CAAS,GAAG,CAAC,CAAG,EAAC,C"}
|
package/dist/3047.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_act_registry_esm_act_app=globalThis.webpackChunk_act_registry_esm_act_app||[]).push([["3047"],{4618(e,t,l){l.r(t),l.d(t,{default:()=>s});var r=l(4335),u=l.n(r),a=l(7917),n=l(2909),c=l(5779);function s({field:e,value:t,setFieldValue:l}){let i=(0,n.useConfig)({externalModuleName:"@act-registry/esm-act-app"}),{patientUuid:_}=(0,n.usePatient)(),{current:p,noKnownAllergies:f,error:b,isLoading:d}=(0,c.i2)(_,i),g=!_||d?null:b?c.T6:(0,c.uI)(p,f),h=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(null===g||b&&null!==h.current)return;let e=null!==h.current&&g!==h.current;g!==t&&(e||t===c.T6)&&l(g),h.current=g},[g,b,t,l]),u().createElement(a.ksK,{id:e.id,labelText:e.label??"",value:t??"",readOnly:!0})}}}]);
|