@bahmni/clinical-app 0.0.1-dev.395 → 0.0.1-dev.396

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, cI as l, cJ as o, cK as c, b7 as m, b8 as g, cL as h, cM as p, cN as b, aG as u } from "./index-BstPgq-n.js";
2
+ import { u as r, cJ as l, cK as o, cL as c, b8 as m, b9 as g, cM as h, cN as p, cO as b, aG as u } from "./index-B3eiHMXv.js";
3
3
  import { Suspense as _ } from "react";
4
4
  import "@tanstack/react-query";
5
5
  const y = "index-module_loading__eyE2k", E = "index-module_message__95HmH", $ = "index-module_panel__8VJh2", s = {
@@ -1,16 +1,16 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { u as g, e as u, bH as b, bR as f, bS as p, bT as x, aG as N, bN as _ } from "./index-BstPgq-n.js";
2
+ import { u as g, e as u, bI as b, bS as f, bT as p, bU as x, aG as _, bO as N } from "./index-B3eiHMXv.js";
3
3
  import { lazy as h, useMemo as t, Suspense as C } from "react";
4
4
  import "@tanstack/react-query";
5
- import { u as E } from "./hook-DZc1STZs.js";
5
+ import { u as E } from "./hook-Bx5EDOAt.js";
6
6
  const L = {
7
7
  "org.bahmni.clinical.v2.search": h(
8
- () => import("./index-DHqBRCLG.js")
8
+ () => import("./index-DMShB_zr.js")
9
9
  )
10
- }, v = "index-module_page__16xxw", H = "index-module_loading__wNI-4", I = "index-module_message__Ib5Iw", l = {
10
+ }, v = "index-module_page__16xxw", I = "index-module_loading__wNI-4", O = "index-module_message__Ib5Iw", l = {
11
11
  page: v,
12
- loading: H,
13
- message: I
12
+ loading: I,
13
+ message: O
14
14
  }, T = () => {
15
15
  const { t: a } = g(), { clinicalConfig: o } = E(), { userPrivileges: r } = u(), m = t(
16
16
  () => [
@@ -37,7 +37,7 @@ const L = {
37
37
  return /* @__PURE__ */ s(
38
38
  x,
39
39
  {
40
- header: /* @__PURE__ */ s(_, { breadcrumbItems: m }),
40
+ header: /* @__PURE__ */ s(N, { breadcrumbItems: m }),
41
41
  main: /* @__PURE__ */ s(
42
42
  "div",
43
43
  {
@@ -54,7 +54,7 @@ const L = {
54
54
  C,
55
55
  {
56
56
  fallback: /* @__PURE__ */ s(
57
- N,
57
+ _,
58
58
  {
59
59
  type: "multi",
60
60
  className: l.loading
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cO as c } from "./index-BstPgq-n.js";
1
+ import { cP as c } from "./index-B3eiHMXv.js";
2
2
  export {
3
3
  c as ClinicalApp
4
4
  };
@@ -542,6 +542,15 @@
542
542
  "START_VISIT_NO_ACTIVE_VISIT_BANNER": "There is no active visit for this location. You need to start a visit.",
543
543
  "START_VISIT_REQUEST_TO_BE_STARTED": "There is no active visit for this location. Please request the visit to be started.",
544
544
  "STOP_ACTION_LABEL": "Stop",
545
+ "CANCEL_VACCINATION_ADD_NOTE": "Add Note",
546
+ "CANCEL_VACCINATION_DATE_LABEL": "Cancel date",
547
+ "CANCEL_VACCINATION_DATE_REQUIRED": "Cancel date is required",
548
+ "CANCEL_VACCINATION_FORM_TITLE": "Cancel Vaccination",
549
+ "CANCEL_VACCINATION_NOTE_LABEL": "Note",
550
+ "CANCEL_VACCINATION_NOTE_PLACEHOLDER": "Enter note",
551
+ "CANCEL_VACCINATION_NOTE_REQUIRED": "Note is required",
552
+ "CANCEL_VACCINATION_REASON_LABEL": "Cancel reason",
553
+ "CANCEL_VACCINATION_REASON_REQUIRED": "Cancel reason is required",
545
554
  "STOP_MEDICATION_DATE_LABEL": "Stop date",
546
555
  "STOP_MEDICATION_DATE_REQUIRED": "Stop date is required",
547
556
  "STOP_MEDICATION_FORM_TITLE": "Stop Medication",
@@ -62,6 +62,15 @@
62
62
  "CLINICAL_DATA_RECORDED_BY": "Grabado Por",
63
63
  "CLINICAL_LABEL": "Clínico",
64
64
  "CLOSE_BUTTON": "Cerrar",
65
+ "CANCEL_VACCINATION_ADD_NOTE": "Agregar nota",
66
+ "CANCEL_VACCINATION_DATE_LABEL": "Fecha de cancelación",
67
+ "CANCEL_VACCINATION_DATE_REQUIRED": "La fecha de cancelación es obligatoria",
68
+ "CANCEL_VACCINATION_FORM_TITLE": "Cancelar vacunación",
69
+ "CANCEL_VACCINATION_NOTE_LABEL": "Nota",
70
+ "CANCEL_VACCINATION_NOTE_PLACEHOLDER": "Ingrese una nota",
71
+ "CANCEL_VACCINATION_NOTE_REQUIRED": "La nota es obligatoria",
72
+ "CANCEL_VACCINATION_REASON_LABEL": "Motivo de cancelación",
73
+ "CANCEL_VACCINATION_REASON_REQUIRED": "El motivo de cancelación es obligatorio",
65
74
  "COMMON_SEARCH_ADD_CRITERIA_BUTTON": "Agregar Criterios de Búsqueda",
66
75
  "COMMON_SEARCH_API_ERROR_MESSAGE": "Se produjo un error al obtener los resultados de búsqueda. Por favor, inténtelo de nuevo.",
67
76
  "COMMON_SEARCH_CONFIG_ERROR": "No se pudo cargar la configuración de Búsqueda Común. Por favor intente refrescar la página.",
@@ -540,6 +549,7 @@
540
549
  "STOP_MEDICATION_FORM_TITLE": "Detener Medicamento",
541
550
  "STOP_MEDICATION_MESSAGE": "Se detuvo un medicamento para el paciente",
542
551
  "STOP_MEDICATION_NAME_LABEL": "Nombre del medicamento",
552
+ "STOP_MEDICATION_ADD_NOTE": "Agregar Nota",
543
553
  "STOP_MEDICATION_NOTE_LABEL": "Descripción",
544
554
  "STOP_MEDICATION_NOTE_PLACEHOLDER": "Ingrese descripción",
545
555
  "STOP_MEDICATION_NOTE_REQUIRED": "La nota es obligatoria",
@@ -13,7 +13,7 @@ export interface StopMedicationState {
13
13
  setNote: (note: string) => void;
14
14
  setMedicationToStop: (medication: MedicationRequest | null) => void;
15
15
  setFieldConfig: (config: StopMedicationConfig) => void;
16
- validate: () => boolean;
16
+ validate: (isCancelVaccination?: boolean) => boolean;
17
17
  hasData: () => boolean;
18
18
  reset: () => void;
19
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"stopMedicationsStore.d.ts","sourceRoot":"","sources":["../../src/stores/stopMedicationsStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,IAAI,CAAC;IACf,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAC3C,WAAW,EAAE,oBAAoB,CAAC;IAClC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAE/B,WAAW,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAClC,aAAa,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,KAAK,IAAI,CAAC;IACnD,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,mBAAmB,EAAE,CAAC,UAAU,EAAE,iBAAiB,GAAG,IAAI,KAAK,IAAI,CAAC;IACpE,cAAc,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACvD,QAAQ,EAAE,MAAM,OAAO,CAAC;IACxB,OAAO,EAAE,MAAM,OAAO,CAAC;IACvB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAQD,eAAO,MAAM,sBAAsB,kFAmGlC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"stopMedicationsStore.d.ts","sourceRoot":"","sources":["../../src/stores/stopMedicationsStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,IAAI,CAAC;IACf,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAC3C,WAAW,EAAE,oBAAoB,CAAC;IAClC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAE/B,WAAW,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAClC,aAAa,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,KAAK,IAAI,CAAC;IACnD,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,mBAAmB,EAAE,CAAC,UAAU,EAAE,iBAAiB,GAAG,IAAI,KAAK,IAAI,CAAC;IACpE,cAAc,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACvD,QAAQ,EAAE,CAAC,mBAAmB,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC;IACrD,OAAO,EAAE,MAAM,OAAO,CAAC;IACvB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAQD,eAAO,MAAM,sBAAsB,kFA2GlC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/clinical-app",
3
- "version": "0.0.1-dev.395",
3
+ "version": "0.0.1-dev.396",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",