@kenyaemr/esm-patient-clinical-view-app 5.4.1-pre.2040 → 5.4.1-pre.2059
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/.turbo/turbo-build.log +208 -58
- package/dist/144.js +1 -1
- package/dist/144.js.map +1 -1
- package/dist/225.js +1 -1
- package/dist/225.js.map +1 -1
- package/dist/41.js +1 -1
- package/dist/41.js.map +1 -1
- package/dist/629.js +2 -0
- package/dist/{675.js.LICENSE.txt → 629.js.LICENSE.txt} +29 -0
- package/dist/629.js.map +1 -0
- package/dist/660.js +2 -0
- package/dist/660.js.map +1 -0
- package/dist/706.js +1 -0
- package/dist/706.js.map +1 -0
- package/dist/831.js +1 -1
- package/dist/831.js.LICENSE.txt +2 -0
- package/dist/831.js.map +1 -1
- package/dist/87.js +2 -0
- package/dist/87.js.LICENSE.txt +17 -0
- package/dist/87.js.map +1 -0
- package/dist/913.js +1 -1
- package/dist/913.js.LICENSE.txt +3 -3
- package/dist/913.js.map +1 -1
- package/dist/kenyaemr-esm-patient-clinical-view-app.js +1 -1
- package/dist/kenyaemr-esm-patient-clinical-view-app.js.buildmanifest.json +86 -167
- package/dist/kenyaemr-esm-patient-clinical-view-app.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.LICENSE.txt +3 -13
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +2 -2
- package/src/clinical-encounter/clinical-encounter-dashboard-meta.tsx +1 -0
- package/src/dashboard.meta.tsx +12 -0
- package/src/deceased-panel/dashboard-link/dashboard-link.component.tsx +2 -2
- package/src/deceased-panel/mortuary-summary/mortuary-summary.component.tsx +2 -2
- package/src/deceased-panel/panels/attachement.component.tsx +2 -2
- package/src/deceased-panel/panels/autopsy.component.tsx +2 -2
- package/src/deceased-panel/panels/billing-history.component.tsx +2 -2
- package/src/deceased-panel/tabs/tabs.component.tsx +2 -2
- package/src/declarations.d.ts +12 -2
- package/src/in-patient/in-patient.meta.tsx +1 -0
- package/src/maternal-and-child-health/mch-dashboard.meta.tsx +3 -0
- package/src/maternal-and-child-health/partography/partograph-chart.tsx +1 -1
- package/src/specialized-clinics/generic-nav-links/generic-nav-links.component.tsx +2 -2
- package/src/specialized-clinics/hiv-care-and-treatment-services/hiv-care-and-treatment-dashboard.meta.tsx +2 -0
- package/dist/102.js +0 -2
- package/dist/102.js.map +0 -1
- package/dist/135.js +0 -2
- package/dist/135.js.LICENSE.txt +0 -27
- package/dist/135.js.map +0 -1
- package/dist/247.js +0 -1
- package/dist/247.js.map +0 -1
- package/dist/37.js +0 -2
- package/dist/37.js.LICENSE.txt +0 -9
- package/dist/37.js.map +0 -1
- package/dist/45.js +0 -1
- package/dist/45.js.map +0 -1
- package/dist/675.js +0 -2
- package/dist/675.js.map +0 -1
- package/dist/893.js +0 -2
- package/dist/893.js.LICENSE.txt +0 -20
- package/dist/893.js.map +0 -1
- /package/dist/{102.js.LICENSE.txt → 660.js.LICENSE.txt} +0 -0
package/dist/routes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"kenyaemr":"^19.0.0"},"pages":[],"extensions":[{"name":"clinical-view-section","component":"clinicalViewPatientDashboard","slot":"patient-chart-dashboard-slot"},{"name":"family-history","slot":"patient-chart-family-history-slot","component":"familyHistory","order":0,"online":true,"offline":false},{"name":"other-relationships","slot":"patient-chart-family-history-slot","component":"otherRelationships","order":0,"online":true,"offline":false},{"name":"relationships-link","component":"relationshipsLink","slot":"patient-chart-dashboard-slot","order":14,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-relationships-slot","path":"relationships","layoutMode":"anchored"}},{"name":"relationships","slot":"patient-chart-relationships-slot","component":"relationships","order":0,"online":true,"offline":false},{"name":"contact-list-form","component":"contactListForm"},{"name":"maternal-and-child-health-dashboard-group-link","slot":"clinical-view-section","component":"maternalAndChildHealthSideNavGroup"},{"name":"antenatal-care-dashboard-link","component":"antenatalCareLink","slot":"maternal-and-child-health-slot","meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-antenatal-care-dashboard-slot","path":"antenatal-care-dashboard","layoutMode":"anchored"}},{"name":"antenatal-care-dashboard","slot":"patient-chart-antenatal-care-dashboard-slot","component":"antenatalCare"},{"name":"postnatal-care-dashboard-link","component":"postnatalCareLink","slot":"maternal-and-child-health-slot","meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-postnatal-care-dashboard-slot","path":"postnatal-care-dashboard","layoutMode":"anchored"}},{"name":"postnatal-care-dashboard","slot":"patient-chart-postnatal-care-dashboard-slot","component":"postnatalCare"},{"name":"labour-and-delivery-dashboard-link","component":"labourAndDeliveryLink","slot":"maternal-and-child-health-slot","meta":{"fullWidth":true,"slot":"patient-chart-labour-and-delivery-dashboard-slot","path":"labour-and-delivery-dashboard","layoutMode":"anchored"}},{"name":"labour-and-delivery-dashboard","slot":"patient-chart-labour-and-delivery-dashboard-slot","component":"labourAndDelivery","meta":{"fullWidth":true}},{"name":"hiv-care-and-treatment-dashboard-group-link","slot":"special-clinics-slot","component":"hivCareAndTreatMentSideNavGroup"},{"name":"genericNavLinks","slot":"special-clinics-slot","component":"genericNavLinks","meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-special-clinic-dashboard-slot","path":"special-clinics-dashboard","layoutMode":"anchored"}},{"name":"patient-chart-special-clinic-dashboard-slot","slot":"patient-chart-special-clinic-dashboard-slot","component":"genericDashboard"},{"name":"hts-dashboard-link","component":"htsDashboardLink","slot":"hiv-care-and-treatment-slot","meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-hts-dashboard-slot","path":"hts-dashboard","layoutMode":"anchored"}},{"name":"hts-clinical-view","slot":"patient-chart-hts-dashboard-slot","component":"htsClinicalView","order":2,"online":true,"offline":false},{"name":"defaulter-tracing-dashboard-link","component":"defaulterTracingLink","slot":"hiv-care-and-treatment-slot","meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-defaulter-tracing-dashboard-slot","path":"defaulter-tracing-dashboard","layoutMode":"anchored"}},{"name":"defaulter-tracing-dashboard","slot":"patient-chart-defaulter-tracing-dashboard-slot","component":"defaulterTracing","order":3,"online":true,"offline":false},{"name":"special-clinics-dashboard-group-link","slot":"clinical-view-section","component":"specialClinicsSideNavGroup"},{"name":"clinical-encounter-link","component":"inPatientClinicalEncounterLink","slot":"clinical-view-section","order":40,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-clinical-encounter-slot","path":"clinical-encounter","layoutMode":"anchored"}},{"name":"clinical-encounter","slot":"patient-chart-clinical-encounter-slot","component":"inPatientClinicalEncounter","order":0,"online":true,"offline":false},{"component":"caseManagementDashboardLink","name":"case-management-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"case-management","title":"Case Management","slot":"case-management-dashboard-slot","path":"/case-management"}},{"name":"in-patient-dashboard-link","component":"inPatientChartLink","slot":"patient-chart-dashboard-slot","order":7,"meta":{"slot":"patient-chart-in-patient-dashboard-slot","path":"in-patient","layoutMode":"anchored","columns":1,"columnSpan":1}},{"name":"in-patient-dashboard","slot":"patient-chart-in-patient-dashboard-slot","component":"inPatientChartDashboard","meta":{"fullWidth":false}},{"name":"wrap-component-view","slot":"case-management-dashboard-slot","component":"wrapComponent","order":2,"online":true,"offline":false},{"name":"case-encounter-link","component":"caseEncounterDashboardLink","slot":"patient-chart-dashboard-slot","order":14,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-case-encounter-slot","path":"case-management-encounters","layoutMode":"anchored"}},{"name":"case-encounter-table","slot":"patient-chart-case-encounter-slot","component":"caseEncounterTable","order":0,"online":true,"offline":false},{"component":"peerCalendarDashboardLink","name":"peer-calendar-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"peer-calendar","title":"Peer Calendar","slot":"peer-calendar-dashboard-slot","path":"peer-management"}},{"name":"peer-calendar","slot":"peer-calendar-dashboard-slot","component":"peerCalendar","order":0,"online":true,"offline":false},{"name":"deceased-panel-dashboard-link","component":"deceasedPanelDashboardLink","slot":"patient-chart-dashboard-slot","order":15,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-deceased-panel-slot","path":"deceased-panel","layoutMode":"anchored"}},{"name":"deceased-details-tabs","slot":"patient-chart-deceased-panel-slot","component":"deceasedDetailsTabs","order":0,"online":true,"offline":false},{"name":"parto-graph-chart","slot":"patient-chart-labour-and-delivery-dashboard-slot","component":"partograph","meta":{"fullWidth":true}}],"modals":[{"name":"birth-date-calculator","component":"birthDateCalculator"},{"name":"relationship-delete-confirm-dialog","component":"relationshipDeleteConfirmialog"},{"name":"end-relationship-dialog","component":"endRelationshipModal"}],"workspaces":[{"name":"case-management-form","component":"caseManagementForm","title":"Case Management Form","type":"form"},{"name":"family-relationship-form","component":"familyRelationshipForm","title":"Family Relationship Form","type":"form"},{"name":"other-relationship-form","component":"otherRelationshipsForm","title":"Other Relationships Form","type":"form"},{"name":"peers-form","component":"peersForm","title":"Add New Peer","type":"form"},{"name":"peer-calendar-form","component":"peerCalendarFormEntry","title":"KVP Peer Educator Outreach Calendar","type":"form","width":"extra-wide","canMaximize":true,"canHide":true},{"name":"relationship-update-form","component":"relationshipUpdateForm","title":"Relationship Update Form","type":"form"},{"name":"other-relationship-form","component":"otherRelationshipsForm","title":"Other Relationships Form","type":"form"},{"name":"end-relationship-form","component":"endRelationshipWorkspace","title":"Discontinue relationship form","type":"form"}],"version":"5.4.1-pre.
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"kenyaemr":"^19.0.0"},"pages":[],"extensions":[{"name":"clinical-view-section","component":"clinicalViewPatientDashboard","slot":"patient-chart-dashboard-slot"},{"name":"family-history","slot":"patient-chart-family-history-slot","component":"familyHistory","order":0,"online":true,"offline":false},{"name":"other-relationships","slot":"patient-chart-family-history-slot","component":"otherRelationships","order":0,"online":true,"offline":false},{"name":"relationships-link","component":"relationshipsLink","slot":"patient-chart-dashboard-slot","order":14,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-relationships-slot","path":"relationships","layoutMode":"anchored"}},{"name":"relationships","slot":"patient-chart-relationships-slot","component":"relationships","order":0,"online":true,"offline":false},{"name":"contact-list-form","component":"contactListForm"},{"name":"maternal-and-child-health-dashboard-group-link","slot":"clinical-view-section","component":"maternalAndChildHealthSideNavGroup"},{"name":"antenatal-care-dashboard-link","component":"antenatalCareLink","slot":"maternal-and-child-health-slot","meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-antenatal-care-dashboard-slot","path":"antenatal-care-dashboard","layoutMode":"anchored"}},{"name":"antenatal-care-dashboard","slot":"patient-chart-antenatal-care-dashboard-slot","component":"antenatalCare"},{"name":"postnatal-care-dashboard-link","component":"postnatalCareLink","slot":"maternal-and-child-health-slot","meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-postnatal-care-dashboard-slot","path":"postnatal-care-dashboard","layoutMode":"anchored"}},{"name":"postnatal-care-dashboard","slot":"patient-chart-postnatal-care-dashboard-slot","component":"postnatalCare"},{"name":"labour-and-delivery-dashboard-link","component":"labourAndDeliveryLink","slot":"maternal-and-child-health-slot","meta":{"fullWidth":true,"slot":"patient-chart-labour-and-delivery-dashboard-slot","path":"labour-and-delivery-dashboard","layoutMode":"anchored"}},{"name":"labour-and-delivery-dashboard","slot":"patient-chart-labour-and-delivery-dashboard-slot","component":"labourAndDelivery","meta":{"fullWidth":true}},{"name":"hiv-care-and-treatment-dashboard-group-link","slot":"special-clinics-slot","component":"hivCareAndTreatMentSideNavGroup"},{"name":"genericNavLinks","slot":"special-clinics-slot","component":"genericNavLinks","meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-special-clinic-dashboard-slot","path":"special-clinics-dashboard","layoutMode":"anchored"}},{"name":"patient-chart-special-clinic-dashboard-slot","slot":"patient-chart-special-clinic-dashboard-slot","component":"genericDashboard"},{"name":"hts-dashboard-link","component":"htsDashboardLink","slot":"hiv-care-and-treatment-slot","meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-hts-dashboard-slot","path":"hts-dashboard","layoutMode":"anchored"}},{"name":"hts-clinical-view","slot":"patient-chart-hts-dashboard-slot","component":"htsClinicalView","order":2,"online":true,"offline":false},{"name":"defaulter-tracing-dashboard-link","component":"defaulterTracingLink","slot":"hiv-care-and-treatment-slot","meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-defaulter-tracing-dashboard-slot","path":"defaulter-tracing-dashboard","layoutMode":"anchored"}},{"name":"defaulter-tracing-dashboard","slot":"patient-chart-defaulter-tracing-dashboard-slot","component":"defaulterTracing","order":3,"online":true,"offline":false},{"name":"special-clinics-dashboard-group-link","slot":"clinical-view-section","component":"specialClinicsSideNavGroup"},{"name":"clinical-encounter-link","component":"inPatientClinicalEncounterLink","slot":"clinical-view-section","order":40,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-clinical-encounter-slot","path":"clinical-encounter","layoutMode":"anchored"}},{"name":"clinical-encounter","slot":"patient-chart-clinical-encounter-slot","component":"inPatientClinicalEncounter","order":0,"online":true,"offline":false},{"component":"caseManagementDashboardLink","name":"case-management-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"case-management","title":"Case Management","slot":"case-management-dashboard-slot","path":"/case-management"}},{"name":"in-patient-dashboard-link","component":"inPatientChartLink","slot":"patient-chart-dashboard-slot","order":7,"meta":{"slot":"patient-chart-in-patient-dashboard-slot","path":"in-patient","layoutMode":"anchored","columns":1,"columnSpan":1}},{"name":"in-patient-dashboard","slot":"patient-chart-in-patient-dashboard-slot","component":"inPatientChartDashboard","meta":{"fullWidth":false}},{"name":"wrap-component-view","slot":"case-management-dashboard-slot","component":"wrapComponent","order":2,"online":true,"offline":false},{"name":"case-encounter-link","component":"caseEncounterDashboardLink","slot":"patient-chart-dashboard-slot","order":14,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-case-encounter-slot","path":"case-management-encounters","layoutMode":"anchored"}},{"name":"case-encounter-table","slot":"patient-chart-case-encounter-slot","component":"caseEncounterTable","order":0,"online":true,"offline":false},{"component":"peerCalendarDashboardLink","name":"peer-calendar-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"peer-calendar","title":"Peer Calendar","slot":"peer-calendar-dashboard-slot","path":"peer-management"}},{"name":"peer-calendar","slot":"peer-calendar-dashboard-slot","component":"peerCalendar","order":0,"online":true,"offline":false},{"name":"deceased-panel-dashboard-link","component":"deceasedPanelDashboardLink","slot":"patient-chart-dashboard-slot","order":15,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-deceased-panel-slot","path":"deceased-panel","layoutMode":"anchored"}},{"name":"deceased-details-tabs","slot":"patient-chart-deceased-panel-slot","component":"deceasedDetailsTabs","order":0,"online":true,"offline":false},{"name":"parto-graph-chart","slot":"patient-chart-labour-and-delivery-dashboard-slot","component":"partograph","meta":{"fullWidth":true}}],"modals":[{"name":"birth-date-calculator","component":"birthDateCalculator"},{"name":"relationship-delete-confirm-dialog","component":"relationshipDeleteConfirmialog"},{"name":"end-relationship-dialog","component":"endRelationshipModal"}],"workspaces":[{"name":"case-management-form","component":"caseManagementForm","title":"Case Management Form","type":"form"},{"name":"family-relationship-form","component":"familyRelationshipForm","title":"Family Relationship Form","type":"form"},{"name":"other-relationship-form","component":"otherRelationshipsForm","title":"Other Relationships Form","type":"form"},{"name":"peers-form","component":"peersForm","title":"Add New Peer","type":"form"},{"name":"peer-calendar-form","component":"peerCalendarFormEntry","title":"KVP Peer Educator Outreach Calendar","type":"form","width":"extra-wide","canMaximize":true,"canHide":true},{"name":"relationship-update-form","component":"relationshipUpdateForm","title":"Relationship Update Form","type":"form"},{"name":"other-relationship-form","component":"otherRelationshipsForm","title":"Other Relationships Form","type":"form"},{"name":"end-relationship-form","component":"endRelationshipWorkspace","title":"Discontinue relationship form","type":"form"}],"version":"5.4.1-pre.2059"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kenyaemr/esm-patient-clinical-view-app",
|
|
3
|
-
"version": "5.4.1-pre.
|
|
3
|
+
"version": "5.4.1-pre.2059",
|
|
4
4
|
"description": "Patient clinical view microfrontend for the OpenMRS SPA",
|
|
5
5
|
"browser": "dist/kenyaemr-esm-patient-clinical-view-app.js",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@carbon/react": "1.x",
|
|
46
|
-
"@openmrs/esm-framework": "
|
|
46
|
+
"@openmrs/esm-framework": "6.x",
|
|
47
47
|
"react": "^18.1.0",
|
|
48
48
|
"react-i18next": "11.x",
|
|
49
49
|
"react-router-dom": "6.x"
|
package/src/dashboard.meta.tsx
CHANGED
|
@@ -19,6 +19,7 @@ export const defaulterTracingDashboardMeta = {
|
|
|
19
19
|
title: 'Defaulter Tracing',
|
|
20
20
|
path: 'defaulter-tracing-dashboard',
|
|
21
21
|
moduleName: '@kenyaemr/esm-patient-clinical-view-app',
|
|
22
|
+
icon: '',
|
|
22
23
|
config: {},
|
|
23
24
|
};
|
|
24
25
|
export const inPatientDashboardMeta = {
|
|
@@ -26,6 +27,7 @@ export const inPatientDashboardMeta = {
|
|
|
26
27
|
columns: 1,
|
|
27
28
|
title: 'Clinical Encounter',
|
|
28
29
|
path: 'in-patient-dashboard',
|
|
30
|
+
icon: '',
|
|
29
31
|
moduleName: '@kenyaemr/esm-patient-clinical-view-app',
|
|
30
32
|
config: {},
|
|
31
33
|
};
|
|
@@ -35,6 +37,7 @@ export const htsDashboardMeta = {
|
|
|
35
37
|
columns: 1,
|
|
36
38
|
title: 'HTS',
|
|
37
39
|
path: 'hts-dashboard',
|
|
40
|
+
icon: '',
|
|
38
41
|
moduleName: '@kenyaemr/esm-patient-clinical-view-app',
|
|
39
42
|
config: {},
|
|
40
43
|
};
|
|
@@ -44,6 +47,7 @@ export const familyHistoryDashboardMeta = {
|
|
|
44
47
|
columns: 1,
|
|
45
48
|
title: 'Family History',
|
|
46
49
|
path: 'family-history',
|
|
50
|
+
icon: '',
|
|
47
51
|
moduleName: '@kenyaemr/esm-patient-clinical-view-app',
|
|
48
52
|
config: {},
|
|
49
53
|
};
|
|
@@ -53,6 +57,7 @@ export const contactListDashboardMeta = {
|
|
|
53
57
|
columns: 1,
|
|
54
58
|
title: 'Contact List',
|
|
55
59
|
path: 'contact-list',
|
|
60
|
+
icon: '',
|
|
56
61
|
moduleName: '@kenyaemr/esm-patient-clinical-view-app',
|
|
57
62
|
config: {},
|
|
58
63
|
};
|
|
@@ -62,6 +67,7 @@ export const otherRelationshipsDashboardMeta = {
|
|
|
62
67
|
columns: 1,
|
|
63
68
|
title: 'Other Relationships',
|
|
64
69
|
path: 'other-relationships',
|
|
70
|
+
icon: '',
|
|
65
71
|
moduleName: '@kenyaemr/esm-patient-clinical-view-app',
|
|
66
72
|
config: {},
|
|
67
73
|
};
|
|
@@ -71,6 +77,7 @@ export const relationshipsDashboardMeta = {
|
|
|
71
77
|
columns: 1,
|
|
72
78
|
title: 'Relationships',
|
|
73
79
|
path: 'relationships',
|
|
80
|
+
icon: '',
|
|
74
81
|
moduleName: '@kenyaemr/esm-patient-clinical-view-app',
|
|
75
82
|
config: {},
|
|
76
83
|
};
|
|
@@ -80,6 +87,7 @@ export const labourDeliveryDashboardMeta = {
|
|
|
80
87
|
columns: 1,
|
|
81
88
|
title: 'Labour and Delivery',
|
|
82
89
|
path: 'labour-delivery',
|
|
90
|
+
icon: '',
|
|
83
91
|
moduleName: '@kenyaemr/esm-patient-clinical-view-app',
|
|
84
92
|
config: {},
|
|
85
93
|
};
|
|
@@ -91,6 +99,7 @@ export const caseManagementDashboardMeta = {
|
|
|
91
99
|
columns: 1,
|
|
92
100
|
moduleName: '@kenyaemr/esm-patient-clinical-view-app',
|
|
93
101
|
config: {},
|
|
102
|
+
icon: '',
|
|
94
103
|
};
|
|
95
104
|
export const peerCalendarDashboardMeta = {
|
|
96
105
|
name: 'peer-calendar',
|
|
@@ -100,6 +109,7 @@ export const peerCalendarDashboardMeta = {
|
|
|
100
109
|
columns: 1,
|
|
101
110
|
moduleName: '@kenyaemr/esm-patient-clinical-view-app',
|
|
102
111
|
config: {},
|
|
112
|
+
icon: '',
|
|
103
113
|
};
|
|
104
114
|
export const caseEncounterDashboardMeta = {
|
|
105
115
|
slot: 'patient-chart-relationships-slot',
|
|
@@ -108,6 +118,7 @@ export const caseEncounterDashboardMeta = {
|
|
|
108
118
|
path: 'case-management-encounters',
|
|
109
119
|
moduleName: '@kenyaemr/esm-patient-clinical-view-app',
|
|
110
120
|
config: {},
|
|
121
|
+
icon: '',
|
|
111
122
|
};
|
|
112
123
|
|
|
113
124
|
export const morgueDeceasedDetailsDashboardMeta = {
|
|
@@ -117,4 +128,5 @@ export const morgueDeceasedDetailsDashboardMeta = {
|
|
|
117
128
|
path: 'deceased-panel',
|
|
118
129
|
moduleName: '@kenyaemr/esm-patient-clinical-view-app',
|
|
119
130
|
config: {},
|
|
131
|
+
icon: '',
|
|
120
132
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ConfigurableLink } from '@openmrs/esm-framework';
|
|
3
|
-
import {
|
|
3
|
+
import { getPatientUuidFromStore } from '@openmrs/esm-patient-common-lib';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
import { usePerson } from '../../../../esm-morgue-app/src/hook/useMorgue.resource';
|
|
7
7
|
|
|
8
8
|
const DeceasedPanelDashboardLink = () => {
|
|
9
9
|
const { t } = useTranslation();
|
|
10
|
-
const patientUuid =
|
|
10
|
+
const patientUuid = getPatientUuidFromStore();
|
|
11
11
|
const { person, isLoading } = usePerson(patientUuid);
|
|
12
12
|
const url = `\${openmrsSpaBase}/patient/${patientUuid}/chart/deceased-panel`;
|
|
13
13
|
|
|
@@ -8,7 +8,7 @@ import styles from './mortuary-summary.scss';
|
|
|
8
8
|
import BillingHistoryView from '../panels/billing-history.component';
|
|
9
9
|
import AutopsyView from '../panels/autopsy.component';
|
|
10
10
|
import AttachmentView from '../panels/attachement.component';
|
|
11
|
-
import {
|
|
11
|
+
import { getPatientUuidFromStore } from '@openmrs/esm-patient-common-lib';
|
|
12
12
|
import usePerson from '../hook/usePerson';
|
|
13
13
|
import { useActiveMorgueVisit } from '../hook/useMorgueVisit';
|
|
14
14
|
|
|
@@ -16,7 +16,7 @@ const MortuarySummary: React.FC = () => {
|
|
|
16
16
|
const config = useConfig();
|
|
17
17
|
const { t } = useTranslation();
|
|
18
18
|
const layout = useLayoutType();
|
|
19
|
-
const patientUuid =
|
|
19
|
+
const patientUuid = getPatientUuidFromStore();
|
|
20
20
|
const { person, isLoading } = usePerson(patientUuid);
|
|
21
21
|
const { activeVisit, isLoading: isActiveLoading } = useActiveMorgueVisit(patientUuid);
|
|
22
22
|
const startDate = activeVisit?.startDatetime;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ExtensionSlot, navigate, usePatient } from '@openmrs/esm-framework';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
|
-
import { EmptyState,
|
|
4
|
+
import { EmptyState, getPatientUuidFromStore } from '@openmrs/esm-patient-common-lib';
|
|
5
5
|
import styles from './panels.scss';
|
|
6
6
|
|
|
7
7
|
const AttachmentView: React.FC = () => {
|
|
8
8
|
const { t } = useTranslation();
|
|
9
|
-
const patientUuid =
|
|
9
|
+
const patientUuid = getPatientUuidFromStore();
|
|
10
10
|
|
|
11
11
|
return (
|
|
12
12
|
<ExtensionSlot
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
CardHeader,
|
|
6
6
|
EmptyState,
|
|
7
7
|
ErrorState,
|
|
8
|
-
|
|
8
|
+
getPatientUuidFromStore,
|
|
9
9
|
launchPatientWorkspace,
|
|
10
10
|
usePaginationInfo,
|
|
11
11
|
} from '@openmrs/esm-patient-common-lib';
|
|
@@ -36,7 +36,7 @@ import { Observation } from '../../types';
|
|
|
36
36
|
|
|
37
37
|
const AutopsyView: React.FC = () => {
|
|
38
38
|
const { t } = useTranslation();
|
|
39
|
-
const patientUuid =
|
|
39
|
+
const patientUuid = getPatientUuidFromStore();
|
|
40
40
|
const { formsList, autopsyEncounterFormUuid } = useConfig<ConfigObject>();
|
|
41
41
|
const { encounters, isLoading, error, mutate, isValidating } = useAutospyEncounter(
|
|
42
42
|
patientUuid,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ExtensionSlot, navigate, usePatient } from '@openmrs/esm-framework';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
|
-
import { EmptyState,
|
|
4
|
+
import { EmptyState, getPatientUuidFromStore } from '@openmrs/esm-patient-common-lib';
|
|
5
5
|
import styles from './panels.scss';
|
|
6
6
|
|
|
7
7
|
const BillingHistoryView: React.FC = () => {
|
|
8
8
|
const { t } = useTranslation();
|
|
9
|
-
const patientUuid =
|
|
9
|
+
const patientUuid = getPatientUuidFromStore();
|
|
10
10
|
return <ExtensionSlot name="patient-chart-billing-dashboard-slot" state={{ patientUuid }} />;
|
|
11
11
|
};
|
|
12
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Layer, Tile } from '@carbon/react';
|
|
2
2
|
import { ExtensionSlot, useConfig } from '@openmrs/esm-framework';
|
|
3
|
-
import {
|
|
3
|
+
import { getPatientUuidFromStore } from '@openmrs/esm-patient-common-lib';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
import { ConfigObject } from '../../config-schema';
|
|
@@ -10,7 +10,7 @@ import styles from './tabs.scss';
|
|
|
10
10
|
|
|
11
11
|
const DeceasedDetailsView: React.FC = () => {
|
|
12
12
|
const { t } = useTranslation();
|
|
13
|
-
const patientUuid =
|
|
13
|
+
const patientUuid = getPatientUuidFromStore();
|
|
14
14
|
|
|
15
15
|
return (
|
|
16
16
|
<div className={styles.deceasedDetailsContainer}>
|
package/src/declarations.d.ts
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
declare module '*.css';
|
|
2
2
|
declare module '*.scss';
|
|
3
3
|
declare module '@carbon/react';
|
|
4
|
-
declare module '
|
|
5
|
-
|
|
4
|
+
declare module 'react-aria' {
|
|
5
|
+
export const I18nProvider: (...args: any) => JSX.Element;
|
|
6
|
+
export { DateValue } from '@react-types/datepicker';
|
|
7
|
+
export const mergeProps: any;
|
|
8
|
+
export const useLocale: any;
|
|
9
|
+
export const useDateField: any;
|
|
10
|
+
export const useDatePicker: any;
|
|
11
|
+
export const useDateSegment: any;
|
|
12
|
+
export const useFocusRing: any;
|
|
13
|
+
export const useHover: any;
|
|
14
|
+
export const useObjectRef: any;
|
|
15
|
+
}
|
|
@@ -5,6 +5,7 @@ export const antenatalDashboardMeta = {
|
|
|
5
5
|
path: 'antenatal-care-dashboard',
|
|
6
6
|
moduleName: '@kenyaemr/esm-patient-clinical-view-app',
|
|
7
7
|
config: {},
|
|
8
|
+
icon: '',
|
|
8
9
|
};
|
|
9
10
|
|
|
10
11
|
export const postnatalDashboardMeta = {
|
|
@@ -14,6 +15,7 @@ export const postnatalDashboardMeta = {
|
|
|
14
15
|
path: 'postnatal-care-dashboard',
|
|
15
16
|
moduleName: '@kenyaemr/esm-patient-clinical-view-app',
|
|
16
17
|
config: {},
|
|
18
|
+
icon: '',
|
|
17
19
|
};
|
|
18
20
|
|
|
19
21
|
export const labourAndDeliveryDashboardMeta = {
|
|
@@ -23,6 +25,7 @@ export const labourAndDeliveryDashboardMeta = {
|
|
|
23
25
|
path: 'labour-and-delivery-dashboard',
|
|
24
26
|
moduleName: '@kenyaemr/esm-patient-clinical-view-app',
|
|
25
27
|
config: {},
|
|
28
|
+
icon: '',
|
|
26
29
|
};
|
|
27
30
|
|
|
28
31
|
export const maternalAndChildHealthNavGroup = {
|
|
@@ -138,7 +138,7 @@ const PartographChart: React.FC<PartographChartProps> = ({ partograpyComponents
|
|
|
138
138
|
const currentOption = partographSignOptions.find((option) => option.id === selectedPartographSign.id);
|
|
139
139
|
// Update to the new option or default to the first option
|
|
140
140
|
setSelectedPartographSign(currentOption || partographSignOptions[0]);
|
|
141
|
-
}, [partographSignOptions]);
|
|
141
|
+
}, [partographSignOptions, selectedPartographSign.id]);
|
|
142
142
|
|
|
143
143
|
return (
|
|
144
144
|
<div className={styles.vitalsChartContainer}>
|
|
@@ -2,7 +2,7 @@ import React, { useMemo } from 'react';
|
|
|
2
2
|
import last from 'lodash-es/last';
|
|
3
3
|
import { ConfigurableLink, useConfig } from '@openmrs/esm-framework';
|
|
4
4
|
import { BrowserRouter, useLocation } from 'react-router-dom';
|
|
5
|
-
import {
|
|
5
|
+
import { getPatientUuidFromStore } from '@openmrs/esm-patient-common-lib';
|
|
6
6
|
import { ConfigObject } from '../../config-schema';
|
|
7
7
|
export const basePath = '${openmrsSpaBase}/patient/';
|
|
8
8
|
|
|
@@ -23,7 +23,7 @@ export default GenericNavLinks;
|
|
|
23
23
|
|
|
24
24
|
const GenericLink: React.FC<{ title: string; path: string }> = (props) => {
|
|
25
25
|
const location = useLocation();
|
|
26
|
-
const patientUuid =
|
|
26
|
+
const patientUuid = getPatientUuidFromStore();
|
|
27
27
|
const navLink = useMemo(() => decodeURIComponent(last(location.pathname.split('/'))), [location.pathname]);
|
|
28
28
|
return (
|
|
29
29
|
<ConfigurableLink
|
|
@@ -4,6 +4,7 @@ export const htsDashboardMeta = {
|
|
|
4
4
|
title: 'HIV Testing Services',
|
|
5
5
|
path: 'hts-dashboard',
|
|
6
6
|
moduleName: '@kenyaemr/esm-patient-clinical-view-app',
|
|
7
|
+
icon: '',
|
|
7
8
|
};
|
|
8
9
|
export const defaulterTracingDashboardMeta = {
|
|
9
10
|
slot: 'patient-chart-defaulter-tracing-dashboard-slot',
|
|
@@ -11,6 +12,7 @@ export const defaulterTracingDashboardMeta = {
|
|
|
11
12
|
title: 'Defaulter Tracing',
|
|
12
13
|
path: 'defaulter-tracing-dashboard',
|
|
13
14
|
moduleName: '@kenyaemr/esm-patient-clinical-view-app',
|
|
15
|
+
icon: '',
|
|
14
16
|
};
|
|
15
17
|
|
|
16
18
|
export const hivCareAndTreatmentNavGroup = {
|
package/dist/102.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 102.js.LICENSE.txt */
|
|
2
|
-
(globalThis.webpackChunk_kenyaemr_esm_patient_clinical_view_app=globalThis.webpackChunk_kenyaemr_esm_patient_clinical_view_app||[]).push([[102],{8282:(e,t,r)=>{"use strict";r.d(t,{a:()=>f,km:()=>s,ly:()=>p});var n,i,a,l,o,c=r(380),h=r.n(c),u=r(9247);const f=h().forwardRef((function(e,t){let{children:r,size:i=16,...a}=e;return h().createElement(u.A,{width:i,height:i,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},n||(n=h().createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z"})),r)})),p=h().forwardRef((function(e,t){let{children:r,size:n=16,...l}=e;return h().createElement(u.A,{width:n,height:n,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...l},i||(i=h().createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z"})),a||(a=h().createElement("path",{d:"M16,10a6,6,0,1,0,6,6A6,6,0,0,0,16,10Z"})),r)})),s=h().forwardRef((function(e,t){let{children:r,size:n=16,...i}=e;return h().createElement(u.A,{width:n,height:n,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},l||(l=h().createElement("path",{d:"M27,12v2h1v4a3,3,0,0,1-6,0V14h1V12H20v6a5.0083,5.0083,0,0,0,4,4.8989V24a4,4,0,0,1-8,0V21.8157a3,3,0,1,0-2,0V24a6,6,0,0,0,12,0V22.8989A5.0083,5.0083,0,0,0,30,18V12ZM15,18a1,1,0,1,1-1,1A1.0009,1.0009,0,0,1,15,18Z"})),o||(o=h().createElement("path",{d:"M26,4H22V2H20V4H12V2H10V4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2l4,0V26L6,26V6h4V8h2V6h8V8h2V6h4v4h2V6A2,2,0,0,0,26,4Z"})),r)}))},3373:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=l(e,a(r)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=l(t,r));return t}function l(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()}}]);
|
package/dist/102.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"102.js","mappings":";oNAc8xBA,EAASC,EAASC,EAA6cC,EAAUC,8BAi4BvwC,MAAMC,EAA2B,gBAAiB,SAAqBC,EAAQC,GAC7E,IAAI,SACFC,EAAQ,KACRC,EAAO,MACJC,GACDJ,EACJ,OAAoB,kBAAoB,IAAM,CAC5CK,MAAOF,EACPG,OAAQH,EACRF,IAAKA,EACLM,MAAO,6BACPC,QAAS,YACTC,KAAM,kBACHL,GACFV,IAAYA,EAAuB,kBAAoB,OAAQ,CAChEgB,EAAG,yFACAR,EACP,IAIMS,EAAkC,gBAAiB,SAA4BC,EAAQX,GAC3F,IAAI,SACFC,EAAQ,KACRC,EAAO,MACJC,GACDQ,EACJ,OAAoB,kBAAoB,IAAM,CAC5CP,MAAOF,EACPG,OAAQH,EACRF,IAAKA,EACLM,MAAO,6BACPC,QAAS,YACTC,KAAM,kBACHL,GACFT,IAAYA,EAAuB,kBAAoB,OAAQ,CAChEe,EAAG,yFACAd,IAAYA,EAAuB,kBAAoB,OAAQ,CAClEc,EAAG,2CACAR,EACP,IAyjBMW,EAA+B,gBAAiB,SAAyBC,EAAQb,GACrF,IAAI,SACFC,EAAQ,KACRC,EAAO,MACJC,GACDU,EACJ,OAAoB,kBAAoB,IAAM,CAC5CT,MAAOF,EACPG,OAAQH,EACRF,IAAKA,EACLM,MAAO,6BACPC,QAAS,YACTC,KAAM,kBACHL,GACFP,IAAaA,EAAwB,kBAAoB,OAAQ,CAClEa,EAAG,wNACAZ,IAAaA,EAAwB,kBAAoB,OAAQ,CACpEY,EAAG,sHACAR,EACP,kBCngDA,OAOC,WACA,aAEA,IAAIa,EAAS,CAAC,EAAEC,eAEhB,SAASC,IAGR,IAFA,IAAIC,EAAU,GAELC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAC1C,IAAIG,EAAMF,UAAUD,GAChBG,IACHJ,EAAUK,EAAYL,EAASM,EAAWF,IAE5C,CAEA,OAAOJ,CACR,CAEA,SAASM,EAAYF,GACpB,GAAmB,iBAARA,GAAmC,iBAARA,EACrC,OAAOA,EAGR,GAAmB,iBAARA,EACV,MAAO,GAGR,GAAIG,MAAMC,QAAQJ,GACjB,OAAOL,EAAWU,MAAM,KAAML,GAG/B,GAAIA,EAAIM,WAAaC,OAAOC,UAAUF,WAAaN,EAAIM,SAASA,WAAWG,SAAS,iBACnF,OAAOT,EAAIM,WAGZ,IAAIV,EAAU,GAEd,IAAK,IAAIc,KAAOV,EACXP,EAAOkB,KAAKX,EAAKU,IAAQV,EAAIU,KAChCd,EAAUK,EAAYL,EAASc,IAIjC,OAAOd,CACR,CAEA,SAASK,EAAaW,EAAOC,GAC5B,OAAKA,EAIDD,EACIA,EAAQ,IAAMC,EAGfD,EAAQC,EAPPD,CAQT,CAEqCE,EAAOC,SAC3CpB,EAAWqB,QAAUrB,EACrBmB,EAAOC,QAAUpB,QAKhB,KAFwB,EAAF,WACtB,OAAOA,CACP,UAFoB,OAEpB,YAIH,CArEA","sources":["webpack://@kenyaemr/esm-patient-clinical-view-app/../../node_modules/@carbon/icons-react/es/generated/bucket-13.js","webpack://@kenyaemr/esm-patient-clinical-view-app/../../node_modules/classnames/index.js"],"names":["_path67","_path68","_path69","_path116","_path117","RadioButton","_ref36","ref","children","size","rest","width","height","xmlns","viewBox","fill","d","RadioButtonChecked","_ref37","ReminderMedical","_ref62","hasOwn","hasOwnProperty","classNames","classes","i","arguments","length","arg","appendClass","parseValue","Array","isArray","apply","toString","Object","prototype","includes","key","call","value","newClass","module","exports","default"],"sourceRoot":""}
|