@bahmni/clinical-app 0.0.1-dev.259 → 0.0.1-dev.260

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.
Files changed (28) hide show
  1. package/dist/{DocumentsTable-DK6p34Vc-BK5qDRRi.js → DocumentsTable-BhndlDvB-BqG0Ez9s.js} +21 -21
  2. package/dist/{FormsTable-BU_Wqlps-6PQ-Jaak.js → FormsTable-BteyGmR--H463o-0Q.js} +59 -59
  3. package/dist/{LNWAZHJI-c5Xfo8Zc.js → LNWAZHJI-D2TyLvyW.js} +4 -4
  4. package/dist/{MWZ6AO7Z-aVqIscTL.js → MWZ6AO7Z-8eg2OsnI.js} +5 -5
  5. package/dist/{Observations-DF8Lq9mK-IZxNeb1Q.js → Observations-DpOkn2DY-DDGUyWPA.js} +54 -54
  6. package/dist/{YPM2AS64-Dv6fgTIA.js → YPM2AS64-bQN16pPP.js} +181 -181
  7. package/dist/components/consultationPad/index.d.ts.map +1 -1
  8. package/dist/components/consultationPad/utils.d.ts +1 -1
  9. package/dist/components/consultationPad/utils.d.ts.map +1 -1
  10. package/dist/components/dashboardSection/DashboardSection.d.ts.map +1 -1
  11. package/dist/components/forms/allergies/AllergiesForm.d.ts +4 -1
  12. package/dist/components/forms/allergies/AllergiesForm.d.ts.map +1 -1
  13. package/dist/components/forms/allergies/index.d.ts.map +1 -1
  14. package/dist/components/patientHeader/PatientHeader.d.ts +1 -1
  15. package/dist/components/patientHeader/PatientHeader.d.ts.map +1 -1
  16. package/dist/events/startConsultation/models.d.ts +6 -0
  17. package/dist/events/startConsultation/models.d.ts.map +1 -1
  18. package/dist/{index-BERgXCcs.js → index-CVN3mTS4.js} +44935 -44578
  19. package/dist/index.css +1 -1
  20. package/dist/index.js +1 -1
  21. package/dist/locales/locale_en.json +12 -0
  22. package/dist/locales/locale_es.json +12 -0
  23. package/dist/models/allergy.d.ts +9 -1
  24. package/dist/models/allergy.d.ts.map +1 -1
  25. package/dist/services/consultationBundleService.d.ts.map +1 -1
  26. package/dist/stores/allergyStore.d.ts +1 -0
  27. package/dist/stores/allergyStore.d.ts.map +1 -1
  28. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/consultationPad/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAMN,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAkBnF,UAAU,oBAAoB;IAC5B,4BAA4B,EAAE,4BAA4B,CAAC;IAC3D,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA4NnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/consultationPad/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAMN,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAoBnF,UAAU,oBAAoB;IAC5B,4BAA4B,EAAE,4BAA4B,CAAC;IAC3D,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwPnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { ConsultationPad } from '../../providers/clinicalConfig/models';
2
2
  import { InputControl } from '../forms';
3
3
  export declare function loadEncounterInputControls(config: ConsultationPad | undefined): InputControl[];
4
- export declare function getActiveEntries(registry: InputControl[], encounterType: string): InputControl[];
4
+ export declare function getActiveEntries(registry: InputControl[], encounterType: string, editOnlyKey?: string): InputControl[];
5
5
  export declare function captureUpdatedResources(entries: InputControl[]): {
6
6
  conditions: boolean;
7
7
  allergies: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/consultationPad/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAE7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,eAAe,GAAG,SAAS,GAClC,YAAY,EAAE,CA6BhB;AAED,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,YAAY,EAAE,EACxB,aAAa,EAAE,MAAM,GACpB,YAAY,EAAE,CAKhB;AAED,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,YAAY,EAAE;;;;;;EAmB9D"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/consultationPad/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAE7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,eAAe,GAAG,SAAS,GAClC,YAAY,EAAE,CA6BhB;AAED,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,YAAY,EAAE,EACxB,aAAa,EAAE,MAAM,EACrB,WAAW,CAAC,EAAE,MAAM,GACnB,YAAY,EAAE,CAehB;AAED,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,YAAY,EAAE;;;;;;EAmB9D"}
@@ -1 +1 @@
1
- {"version":3,"file":"DashboardSection.d.ts","sourceRoot":"","sources":["../../../src/components/dashboardSection/DashboardSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAiB,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAG3E,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,sBAAsB,CAAC;IAChC,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC5C,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAED;;;;;GAKG;AACH,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA+ErD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"DashboardSection.d.ts","sourceRoot":"","sources":["../../../src/components/dashboardSection/DashboardSection.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAMrD,OAAO,EAAiB,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAG3E,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,sBAAsB,CAAC;IAChC,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC5C,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAKD;;;;;GAKG;AACH,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAuKrD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,10 +1,13 @@
1
1
  import { default as React } from 'react';
2
+ import { EncounterSessionStartContext } from '../../../events/startConsultation';
2
3
  /**
3
4
  * AllergiesForm component
4
5
  *
5
6
  * A component that displays a search interface for allergies and a list of selected allergies.
6
7
  * It allows users to search for allergies, select them, and specify severity and reactions.
7
8
  */
8
- declare const AllergiesForm: React.FC;
9
+ declare const AllergiesForm: React.FC<{
10
+ encounterSessionStartContext?: EncounterSessionStartContext;
11
+ }>;
9
12
  export default AllergiesForm;
10
13
  //# sourceMappingURL=AllergiesForm.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AllergiesForm.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/allergies/AllergiesForm.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAYzE;;;;;GAKG;AACH,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAkQzB,CAAC;AAIH,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"AllergiesForm.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/allergies/AllergiesForm.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAoD,MAAM,OAAO,CAAC;AACzE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAYtF;;;;;GAKG;AACH,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAC5B,4BAA4B,CAAC,EAAE,4BAA4B,CAAC;CAC7D,CA2QC,CAAC;AAIH,eAAe,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/allergies/index.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/allergies/index.ts"],"names":[],"mappings":"AA2BA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
@@ -4,7 +4,7 @@ interface PatientHeaderProps {
4
4
  }
5
5
  /**
6
6
  * Header component for the Bahmni Clinical application
7
- * Displays patient details with consultation action button
7
+ * Displays patient details with consultation action button.
8
8
  *
9
9
  * @param {boolean} isActionAreaVisible - Whether the action area is currently visible
10
10
  * @returns {React.ReactElement} The Header component
@@ -1 +1 @@
1
- {"version":3,"file":"PatientHeader.d.ts","sourceRoot":"","sources":["../../../src/components/patientHeader/PatientHeader.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,kBAAkB;IAC1B,mBAAmB,EAAE,OAAO,CAAC;CAC9B;AAED;;;;;;GAMG;AACH,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA2C/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"PatientHeader.d.ts","sourceRoot":"","sources":["../../../src/components/patientHeader/PatientHeader.tsx"],"names":[],"mappings":"AAaA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAKjD,UAAU,kBAAkB;IAC1B,mBAAmB,EAAE,OAAO,CAAC;CAC9B;AAED;;;;;;GAMG;AACH,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA0E/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,5 +1,11 @@
1
+ import { AllergyInputEntry } from '../../models/allergy';
1
2
  export interface EncounterSessionStartContext {
2
3
  encounterType?: string;
4
+ preloadedAllergies?: AllergyInputEntry[];
5
+ /** Input control key to show exclusively (+ encounterDetails). Aligns with BAH-4593 pattern. */
6
+ editOnly?: string;
7
+ /** Translation key for the ConsultationPad panel title when in edit mode. */
8
+ editTitle?: string;
3
9
  [key: string]: unknown;
4
10
  }
5
11
  //# sourceMappingURL=models.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/events/startConsultation/models.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB"}
1
+ {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/events/startConsultation/models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,MAAM,WAAW,4BAA4B;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACzC,gGAAgG;IAChG,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB"}