@bahmni/clinical-app 0.0.1-dev.8 → 0.0.1-dev.82
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/{LNWAZHJI-IcKCxIDY.js → LNWAZHJI-Bnb2fX9o.js} +2 -2
- package/dist/{MWZ6AO7Z-DmHGik42.js → MWZ6AO7Z-Dm33kU8K.js} +2 -2
- package/dist/{YPM2AS64-BtpRbtzS.js → YPM2AS64-DKtlkmJo.js} +3197 -3381
- package/dist/__mocks__/configMocks.d.ts.map +1 -1
- package/dist/components/consultationPad/ConsultationPad.d.ts.map +1 -1
- package/dist/components/dashboardContainer/DashboardContainer.d.ts.map +1 -1
- package/dist/components/dashboardSection/DashboardSection.d.ts +3 -0
- package/dist/components/dashboardSection/DashboardSection.d.ts.map +1 -1
- package/dist/components/forms/observationForms/ObservationFormsContainer.d.ts.map +1 -1
- package/dist/contexts/ClinicalAppContext.d.ts +21 -0
- package/dist/contexts/ClinicalAppContext.d.ts.map +1 -0
- package/dist/hooks/useClinicalAppData.d.ts +3 -0
- package/dist/hooks/useClinicalAppData.d.ts.map +1 -0
- package/dist/{index-DBsl0VOM.js → index-BbtluRDj.js} +88918 -72362
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/locales/locale_en.json +25 -0
- package/dist/locales/locale_es.json +25 -0
- package/dist/pages/ConsultationPage.d.ts.map +1 -1
- package/dist/providers/ClinicalAppProvider.d.ts +8 -0
- package/dist/providers/ClinicalAppProvider.d.ts.map +1 -0
- package/dist/utils/fhir/encounterResourceCreator.d.ts +1 -1
- package/dist/utils/fhir/encounterResourceCreator.d.ts.map +1 -1
- package/dist/utils/fhir/referenceCreator.d.ts +1 -0
- package/dist/utils/fhir/referenceCreator.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configMocks.d.ts","sourceRoot":"","sources":["../../src/__mocks__/configMocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuDnC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,
|
|
1
|
+
{"version":3,"file":"configMocks.d.ts","sourceRoot":"","sources":["../../src/__mocks__/configMocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuDnC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,eA0BlC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;CAkBjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConsultationPad.d.ts","sourceRoot":"","sources":["../../../src/components/consultationPad/ConsultationPad.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAoB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ConsultationPad.d.ts","sourceRoot":"","sources":["../../../src/components/consultationPad/ConsultationPad.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAgCzC,UAAU,oBAAoB;IAC5B,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAmVnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardContainer.d.ts","sourceRoot":"","sources":["../../../src/components/dashboardContainer/DashboardContainer.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,sBAAsB,EAIvB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DashboardContainer.d.ts","sourceRoot":"","sources":["../../../src/components/dashboardContainer/DashboardContainer.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,sBAAsB,EAIvB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAA4B,MAAM,OAAO,CAAC;AAMjD,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,sBAAsB,EAAE,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED;;;;;GAKG;AACH,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA2FzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -3,6 +3,9 @@ import { default as React } from 'react';
|
|
|
3
3
|
export interface DashboardSectionProps {
|
|
4
4
|
section: DashboardSectionConfig;
|
|
5
5
|
ref: React.RefObject<HTMLDivElement | null>;
|
|
6
|
+
episodeOfCareUuids: string[];
|
|
7
|
+
encounterUuids: string[];
|
|
8
|
+
visitUuids: string[];
|
|
6
9
|
}
|
|
7
10
|
/**
|
|
8
11
|
* DashboardSection component that renders a single dashboard section as a Carbon Tile
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardSection.d.ts","sourceRoot":"","sources":["../../../src/components/dashboardSection/DashboardSection.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"DashboardSection.d.ts","sourceRoot":"","sources":["../../../src/components/dashboardSection/DashboardSection.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,sBAAsB,EAEvB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,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,CA0ErD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObservationFormsContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/observationForms/ObservationFormsContainer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObservationFormsContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/observationForms/ObservationFormsContainer.tsx"],"names":[],"mappings":"AAUA,OAAO,wCAAwC,CAAC;AAChD,OAAO,EAGL,eAAe,EAGhB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,8BAA8B;IAEtC,mBAAmB,EAAE,CAAC,WAAW,EAAE,eAAe,GAAG,IAAI,KAAK,IAAI,CAAC;IAEnE,WAAW,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IAErC,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAE1C,WAAW,EAAE,eAAe,EAAE,CAAC;IAC/B,iBAAiB,EAAE,CAAC,cAAc,EAAE,eAAe,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACzE;AAED;;;;;;;;;GASG;AACH,QAAA,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CAgIvE,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface EpisodeOfCare {
|
|
2
|
+
uuid: string;
|
|
3
|
+
encounterUuids: string[];
|
|
4
|
+
visitUuids: string[];
|
|
5
|
+
}
|
|
6
|
+
export interface Visit {
|
|
7
|
+
uuid: string;
|
|
8
|
+
encounterUuids: string[];
|
|
9
|
+
}
|
|
10
|
+
export interface Encounter {
|
|
11
|
+
uuid: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ClinicalAppContextType {
|
|
14
|
+
episodeOfCare: EpisodeOfCare[];
|
|
15
|
+
visit: Visit[];
|
|
16
|
+
encounter: Encounter[];
|
|
17
|
+
isLoading: boolean;
|
|
18
|
+
error: Error | null;
|
|
19
|
+
}
|
|
20
|
+
export declare const ClinicalAppContext: import('react').Context<ClinicalAppContextType | undefined>;
|
|
21
|
+
//# sourceMappingURL=ClinicalAppContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClinicalAppContext.d.ts","sourceRoot":"","sources":["../../src/contexts/ClinicalAppContext.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,sBAAsB;IACrC,aAAa,EAAE,aAAa,EAAE,CAAC;IAC/B,KAAK,EAAE,KAAK,EAAE,CAAC;IACf,SAAS,EAAE,SAAS,EAAE,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,kBAAkB,6DAEnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useClinicalAppData.d.ts","sourceRoot":"","sources":["../../src/hooks/useClinicalAppData.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,sBAAsB,EACvB,MAAM,gCAAgC,CAAC;AAExC,eAAO,MAAM,kBAAkB,QAAO,sBAUrC,CAAC"}
|