@bahmni/clinical-app 0.0.1-dev.427 → 0.0.1-dev.429

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.
@@ -1,5 +1,5 @@
1
1
  import { jsxs as d, jsx as e } from "react/jsx-runtime";
2
- import { u as r, cL as l, cM as o, cN as c, ba as m, bb as g, cO as h, cP as p, cQ as b, aI as u } from "./index-BWPh-mFX.js";
2
+ import { u as r, cL as l, cM as o, cN as c, ba as m, bb as g, cO as h, cP as p, cQ as b, aI as u } from "./index-CAqfd32G.js";
3
3
  import { Suspense as _ } from "react";
4
4
  import "@tanstack/react-query";
5
5
  const E = "index-module_loading__eyE2k", $ = "index-module_message__95HmH", y = "index-module_panel__8VJh2", s = {
@@ -1,31 +1,31 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { u as g, Z as u, bK as b, bU as f, bV as x, bW as p, aI as _, bQ as N } from "./index-BWPh-mFX.js";
3
- import { lazy as h, useMemo as t, Suspense as C } from "react";
2
+ import { u as g, Z as u, bK as b, bU as x, bV as f, bW as p, aI as _, bQ as N } from "./index-CAqfd32G.js";
3
+ import { lazy as h, useMemo as t, Suspense as E } from "react";
4
4
  import "@tanstack/react-query";
5
- import { u as E } from "./hook-Doke6DrV.js";
5
+ import { u as C } from "./hook-CP6jOlzx.js";
6
6
  const L = {
7
7
  "org.bahmni.clinical.v2.search": h(
8
- () => import("./index-1rSd5z58.js")
8
+ () => import("./index-CnSpHfxb.js")
9
9
  )
10
10
  }, v = "index-module_page__16xxw", I = "index-module_loading__wNI-4", y = "index-module_message__Ib5Iw", l = {
11
11
  page: v,
12
12
  loading: I,
13
13
  message: y
14
14
  }, w = () => {
15
- const { t: i } = g(), { clinicalConfig: o } = E(), { userPrivileges: r } = u(), m = t(
15
+ const { t: i } = g(), { clinicalConfig: o } = C(), { userPrivileges: r } = u(), m = t(
16
16
  () => [
17
17
  { id: "home", label: i("HOME_LABEL"), href: b },
18
18
  { id: "clinical", label: i("CLINICAL_LABEL"), isCurrentPage: !0 }
19
19
  ],
20
20
  [i]
21
21
  ), c = t(
22
- () => f(o?.extensions ?? []),
22
+ () => x(o?.extensions ?? []),
23
23
  [o]
24
24
  ), d = t(
25
25
  () => Array.from(c.entries()).map(([e, a]) => ({
26
26
  pointId: e,
27
27
  Handler: L[e],
28
- filtered: x(
28
+ filtered: f(
29
29
  a,
30
30
  r
31
31
  ).filter(
@@ -51,7 +51,7 @@ const L = {
51
51
  id: e,
52
52
  "data-testid": `${e}-test-id`,
53
53
  children: /* @__PURE__ */ s(
54
- C,
54
+ E,
55
55
  {
56
56
  fallback: /* @__PURE__ */ s(
57
57
  _,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cR as c } from "./index-BWPh-mFX.js";
1
+ import { cR as c } from "./index-CAqfd32G.js";
2
2
  export {
3
3
  c as ClinicalApp
4
4
  };
@@ -134,6 +134,7 @@
134
134
  "CONDITION_TABLE_DURATION": "Duration",
135
135
  "CONDITION_TABLE_NOT_AVAILABLE": "Not available",
136
136
  "CONDITION_TABLE_RECORDED_BY": "Recorded By",
137
+ "EDIT_ENCOUNTER_MESSAGE": "Edited an encounter for patient",
137
138
  "EDIT_OBSERVATION_FORM": "Edit",
138
139
  "EDIT_OBSERVATION_FORM_TITLE": "Edit Observation Form",
139
140
  "CONFIG_ERROR_NOT_FOUND": "Configuration not found",
@@ -549,6 +550,7 @@
549
550
  "START_VISIT_BUTTON": "Start visit",
550
551
  "START_VISIT_ERROR_MESSAGE": "An error occurred while starting the visit. Please try again.",
551
552
  "START_VISIT_ERROR_TITLE": "Visit could not be started",
553
+ "START_VISIT_MESSAGE": "Started a visit for patient",
552
554
  "START_VISIT_NO_ACTIVE_VISIT_BANNER": "There is no active visit for this location. You need to start a visit.",
553
555
  "START_VISIT_REQUEST_TO_BE_STARTED": "There is no active visit for this location. Please request the visit to be started.",
554
556
  "STOP_ACTION_LABEL": "Stop",
@@ -143,6 +143,7 @@
143
143
  "CONDITION_TABLE_DURATION": "Duración",
144
144
  "CONDITION_TABLE_NOT_AVAILABLE": "No disponible",
145
145
  "CONDITION_TABLE_RECORDED_BY": "Grabado Por",
146
+ "EDIT_ENCOUNTER_MESSAGE": "Editó un encuentro para el paciente",
146
147
  "EDIT_OBSERVATION_FORM": "Editar",
147
148
  "EDIT_OBSERVATION_FORM_TITLE": "Editar formulario de observación",
148
149
  "CONFIG_ERROR_NOT_FOUND": "Configuración no encontrada",
@@ -551,6 +552,7 @@
551
552
  "START_VISIT_BUTTON": "Iniciar visita",
552
553
  "START_VISIT_ERROR_MESSAGE": "Ocurrió un error al iniciar la visita. Por favor intente de nuevo.",
553
554
  "START_VISIT_ERROR_TITLE": "No se pudo iniciar la visita",
555
+ "START_VISIT_MESSAGE": "Inició una visita para el paciente",
554
556
  "START_VISIT_NO_ACTIVE_VISIT_BANNER": "No hay una visita activa para esta ubicación. Necesita iniciar una visita.",
555
557
  "START_VISIT_REQUEST_TO_BE_STARTED": "No hay una visita activa para esta ubicación. Por favor solicite que se inicie la visita.",
556
558
  "STOP_ACTION_LABEL": "Detener",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/clinical-app",
3
- "version": "0.0.1-dev.427",
3
+ "version": "0.0.1-dev.429",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",