@kenyaemr/esm-patient-clinical-view-app 5.4.2-pre.2692 → 5.4.2-pre.2694

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/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"kenyaemr":"^19.0.0"},"pages":[],"extensions":[{"name":"hiv-care-and-treatment-dashboard-link","component":"hivCareAndTreatmentLink","slot":"patient-chart-dashboard-slot","meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-hiv-care-and-treatment-dashboard-slot","path":"hiv-care-and-treatment-dashboard","layoutMode":"anchored"}},{"name":"hiv-care-and-treatment-dashboard","slot":"patient-chart-hiv-care-and-treatment-dashboard-slot","component":"hivCareAndTreatment","order":0,"online":true,"offline":false},{"name":"relationship-dashboard-link","component":"relationshipsLink","order":24,"online":true,"offline":false,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-relationship-slot","path":"relationships","layoutMode":"anchored"}},{"name":"relationship-dashboard","slot":"patient-chart-relationship-slot","component":"relationships","order":0,"online":true,"offline":false},{"name":"clinical-encounter-dashboard-link","component":"clinicalEncounterLink","order":25,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-clinical-encounter-slot","path":"clinical-encounter","layoutMode":"anchored"}},{"name":"clinical-encounter-dashboard","slot":"patient-chart-clinical-encounter-slot","component":"clinicalEncounter","order":0,"online":true,"offline":false},{"name":"maternal-and-child-health-dashboard-link","component":"maternalAndChildHealthDashboardLink","order":26,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-maternal-and-child-health-slot","path":"maternal-and-child-health","layoutMode":"anchored"}},{"name":"maternal-and-child-health-dashboard","slot":"patient-chart-maternal-and-child-health-slot","component":"maternalAndChildHealthDashboard","order":0,"online":true,"offline":false},{"name":"maternal-and-child-health-partograph","slot":"maternal-and-child-health-partograph-slot","component":"partograph","order":0,"online":true,"offline":false},{"name":"contact-list-dashboard-link","component":"contactListLink","order":27,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-contact-list-slot","path":"contact-list","layoutMode":"anchored"}},{"name":"contact-list-dashboard","slot":"patient-chart-contact-list-slot","component":"contactList","order":0,"online":true,"offline":false},{"component":"caseManagementDashboardLink","name":"case-management-dashboard-link","meta":{"name":"case-management","title":"Case Management","slot":"case-management-dashboard-slot","path":"/case-management"}},{"name":"in-patient-dashboard-link","component":"inPatientChartLink","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","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","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":"special-clinics-dashboard-link","component":"specialClinicsDashboardLink","order":15,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-special-clinics-slot","path":"special-clinics","layoutMode":"anchored"}},{"name":"special-clinics-dashboard","slot":"patient-chart-special-clinics-slot","component":"specialClinicsDashboard","order":0,"online":true,"offline":false}],"modals":[{"name":"birth-date-calculator","component":"birthDateCalculator"},{"name":"relationship-delete-confirm-dialog","component":"relationshipDeleteConfirmialog"},{"name":"end-relationship-dialog","component":"endRelationshipModal"}],"workspaces":[{"name":"contact-list-form","component":"contactListForm","title":"Contact List Form","type":"form"},{"name":"case-management-form","component":"caseManagementForm","title":"Case Management Form","type":"form"},{"name":"add-patient-case-form","component":"addPatientCaseForm","title":"Add patient case Form","type":"form"},{"name":"family-relationship-form","component":"familyRelationshipForm","title":"Family Relationship Form","type":"form"},{"name":"peers-form","component":"peersForm","title":"Add New Peer","type":"form"},{"name":"kenyaemr-cusom-form-entry-workspace","component":"peerCalendarFormEntry","title":"KVP Peer Educator Outreach Calendar","type":"form","width":"extra-wide","canMaximize":true,"canHide":true},{"name":"contact-list-update-form","component":"contactListUpdateForm","title":"Contact List 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.2-pre.2692"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"kenyaemr":"^19.0.0"},"pages":[],"extensions":[{"name":"hiv-care-and-treatment-dashboard-link","component":"hivCareAndTreatmentLink","slot":"patient-chart-dashboard-slot","meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-hiv-care-and-treatment-dashboard-slot","path":"hiv-care-and-treatment-dashboard","layoutMode":"anchored"}},{"name":"hiv-care-and-treatment-dashboard","slot":"patient-chart-hiv-care-and-treatment-dashboard-slot","component":"hivCareAndTreatment","order":0,"online":true,"offline":false},{"name":"relationship-dashboard-link","component":"relationshipsLink","order":24,"online":true,"offline":false,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-relationship-slot","path":"relationships","layoutMode":"anchored"}},{"name":"relationship-dashboard","slot":"patient-chart-relationship-slot","component":"relationships","order":0,"online":true,"offline":false},{"name":"clinical-encounter-dashboard-link","component":"clinicalEncounterLink","order":25,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-clinical-encounter-slot","path":"clinical-encounter","layoutMode":"anchored"}},{"name":"clinical-encounter-dashboard","slot":"patient-chart-clinical-encounter-slot","component":"clinicalEncounter","order":0,"online":true,"offline":false},{"name":"maternal-and-child-health-dashboard-link","component":"maternalAndChildHealthDashboardLink","order":26,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-maternal-and-child-health-slot","path":"maternal-and-child-health","layoutMode":"anchored"}},{"name":"maternal-and-child-health-dashboard","slot":"patient-chart-maternal-and-child-health-slot","component":"maternalAndChildHealthDashboard","order":0,"online":true,"offline":false},{"name":"maternal-and-child-health-partograph","slot":"maternal-and-child-health-partograph-slot","component":"partograph","order":0,"online":true,"offline":false},{"name":"contact-list-dashboard-link","component":"contactListLink","order":27,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-contact-list-slot","path":"contact-list","layoutMode":"anchored"}},{"name":"contact-list-dashboard","slot":"patient-chart-contact-list-slot","component":"contactList","order":0,"online":true,"offline":false},{"component":"caseManagementDashboardLink","name":"case-management-dashboard-link","meta":{"name":"case-management","title":"Case Management","slot":"case-management-dashboard-slot","path":"/case-management"}},{"name":"wrap-component-view","slot":"case-management-dashboard-slot","component":"wrapComponent","order":2,"online":true,"offline":false},{"name":"case-encounter-link","component":"caseEncounterDashboardLink","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","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":"special-clinics-dashboard-link","component":"specialClinicsDashboardLink","order":15,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-special-clinics-slot","path":"special-clinics","layoutMode":"anchored"}},{"name":"special-clinics-dashboard","slot":"patient-chart-special-clinics-slot","component":"specialClinicsDashboard","order":0,"online":true,"offline":false}],"modals":[{"name":"birth-date-calculator","component":"birthDateCalculator"},{"name":"relationship-delete-confirm-dialog","component":"relationshipDeleteConfirmialog"},{"name":"end-relationship-dialog","component":"endRelationshipModal"}],"workspaces":[{"name":"contact-list-form","component":"contactListForm","title":"Contact List Form","type":"form"},{"name":"case-management-form","component":"caseManagementForm","title":"Case Management Form","type":"form"},{"name":"add-patient-case-form","component":"addPatientCaseForm","title":"Add patient case Form","type":"form"},{"name":"family-relationship-form","component":"familyRelationshipForm","title":"Family Relationship Form","type":"form"},{"name":"peers-form","component":"peersForm","title":"Add New Peer","type":"form"},{"name":"kenyaemr-cusom-form-entry-workspace","component":"peerCalendarFormEntry","title":"KVP Peer Educator Outreach Calendar","type":"form","width":"extra-wide","canMaximize":true,"canHide":true},{"name":"contact-list-update-form","component":"contactListUpdateForm","title":"Contact List 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.2-pre.2694"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kenyaemr/esm-patient-clinical-view-app",
3
- "version": "5.4.2-pre.2692",
3
+ "version": "5.4.2-pre.2694",
4
4
  "description": "Patient clinical view microfrontend for the OpenMRS SPA",
5
5
  "keywords": [
6
6
  "openmrs"
@@ -52,7 +52,6 @@ export const configSchema = {
52
52
  peerCalendarOutreactForm: '7492cffe-5874-4144-a1e6-c9e455472a35',
53
53
  autopsyFormUuid: '2b61a73-4971-4fc0-b20b-9a30176317e2',
54
54
  htsClientTracingFormUuid: '15ed03d2-c972-11e9-a32f-2a2ae2dbcce4',
55
- admissionRequestFormUuid: '0bae7646-b079-4cbb-8130-b24274fc16f7',
56
55
  },
57
56
  },
58
57
  htsClientTracingConceptsUuids: {
@@ -250,17 +249,6 @@ export const configSchema = {
250
249
  _description: 'Peer Educator Relationship type',
251
250
  _default: '96adecc2-e7cd-41d0-b577-08eb4834abcb',
252
251
  },
253
- admissionLocationTagUuid: {
254
- _type: Type.UUID,
255
- _description:
256
- 'UUID for the location tag of the `Admission Location`. Patients may only be admitted to inpatient care in a location with this tag',
257
- _default: '233de33e-2778-4f9a-a398-fa09da9daa14',
258
- },
259
- inpatientVisitUuid: {
260
- _type: Type.UUID,
261
- _description: 'UUID for the inpatient visit',
262
- _default: 'a73e2ac6-263b-47fc-99fc-e0f2c09fc914',
263
- },
264
252
  morgueVisitTypeUuid: {
265
253
  _type: Type.String,
266
254
  _description: ' UUID for morgue visit',
@@ -271,30 +259,6 @@ export const configSchema = {
271
259
  _description: ' UUID for morgue discharge encounter uuid',
272
260
  _default: '3d618f40b-b5a3-4f17-81c8-2f04e2aad58e',
273
261
  },
274
- inPatientForms: {
275
- _type: Type.Array,
276
- _description: 'List of forms that can be filled out for in-patients',
277
- _default: [
278
- {
279
- label: 'Cardex Nursing Plan',
280
- uuid: '1f81d5e2-3569-40cf-bbb9-361a53ba409b',
281
- },
282
- {
283
- label: 'IPD Procedure Form',
284
- uuid: '2b9c2b94-0b03-416a-b312-eef49b42f72c',
285
- },
286
- {
287
- label: 'Newborn Unit Admission ',
288
- uuid: '5b0a08f5-87c1-40cc-8c09-09c33b44523d',
289
- hideExpression: 'ageInDays < 28',
290
- },
291
- {
292
- label: 'Partograph Form',
293
- uuid: '3791e5b7-2cdc-44fc-982b-a81135367c96',
294
- hideExpression: 'age >= 10 && gender === "female"',
295
- },
296
- ],
297
- },
298
262
 
299
263
  partography: {
300
264
  _type: Type.Object,
@@ -448,7 +412,6 @@ export interface ConfigObject {
448
412
  peerCalendarOutreactForm: string;
449
413
  autopsyFormUuid: string;
450
414
  htsClientTracingFormUuid: string;
451
- admissionRequestFormUuid: string;
452
415
  };
453
416
  defaulterTracingEncounterUuid: string;
454
417
  autopsyEncounterFormUuid: string;
@@ -527,11 +490,3 @@ export interface ConfigPartographyObject {
527
490
  descentOfHead: string;
528
491
  };
529
492
  }
530
-
531
- export type BedManagementConfig = {
532
- admissionLocationTagUuid: string;
533
- inpatientVisitUuid: string;
534
- restrictWardAdministrationToLoginLocation: boolean;
535
- patientListForAdmissionUrl: string;
536
- inPatientForms: Array<{ label: string; uuid: string; hideExpression: string }>;
537
- };
package/src/index.ts CHANGED
@@ -12,7 +12,6 @@ import {
12
12
  } from './dashboard/dashboard.meta';
13
13
  import { maternalAndChildHealthDashboardMeta } from './maternal-and-child-health/mch-dashboard.meta';
14
14
  import { hivCareAndTreatmentDashboardMeta } from './specialized-clinics/hiv-care-and-treatment-services/hiv-care-and-treatment-dashboard.meta';
15
- import { inPatientMeta } from './in-patient/in-patient.meta';
16
15
 
17
16
  import ClinicalEncounterDashboard from './clinical-encounter/dashboard/clinical-encounter-dashboard.component';
18
17
  import BirthDateCalculator from './relationships/modals/birthdate-calculator.modal';
@@ -37,8 +36,6 @@ import CaseManagementForm from './case-management/workspace/case-management.work
37
36
  import CaseEncounterOverviewComponent from './case-management/encounters/case-encounter-overview.component';
38
37
  import EndRelationshipWorkspace from './case-management/workspace/case-management-workspace.component';
39
38
 
40
- import InPatient from './in-patient/in-patient.component';
41
-
42
39
  import PeerCalendar from './peer-calendar/peer-calendar.component';
43
40
  import PeerForm from './peer-calendar/forms/peer-form.workspace';
44
41
  import FormEntryWorkspace from './peer-calendar/forms/form-entry.workspace';
@@ -113,12 +110,6 @@ export const caseEncounterDashboardLink = getSyncLifecycle(
113
110
  export const caseEncounterTable = getSyncLifecycle(CaseEncounterOverviewComponent, options);
114
111
  export const endRelationshipWorkspace = getSyncLifecycle(EndRelationshipWorkspace, options);
115
112
 
116
- export const inPatientChartLink = getSyncLifecycle(
117
- createDashboardLink({ ...inPatientMeta, icon: 'omrs-icon-activity' }),
118
- options,
119
- );
120
- export const inPatientChartDashboard = getSyncLifecycle(InPatient, options);
121
-
122
113
  export const specialClinicsDashboardLink = getSyncLifecycle(
123
114
  createDashboardLink({ ...specialClinicsDashboardMeta, icon: 'omrs-icon-activity' }),
124
115
  options,
package/src/routes.json CHANGED
@@ -125,26 +125,6 @@
125
125
  "path": "/case-management"
126
126
  }
127
127
  },
128
- {
129
- "name": "in-patient-dashboard-link",
130
- "component": "inPatientChartLink",
131
- "order": 7,
132
- "meta": {
133
- "slot": "patient-chart-in-patient-dashboard-slot",
134
- "path": "in-patient",
135
- "layoutMode": "anchored",
136
- "columns": 1,
137
- "columnSpan": 1
138
- }
139
- },
140
- {
141
- "name": "in-patient-dashboard",
142
- "slot": "patient-chart-in-patient-dashboard-slot",
143
- "component": "inPatientChartDashboard",
144
- "meta": {
145
- "fullWidth": false
146
- }
147
- },
148
128
  {
149
129
  "name": "wrap-component-view",
150
130
  "slot": "case-management-dashboard-slot",