@bahmni/clinical-app 0.0.1-dev.69 → 0.0.1-dev.70
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-Bck4TK-5.js → LNWAZHJI-1fIq0kji.js} +2 -2
- package/dist/{MWZ6AO7Z-bVUlUlYb.js → MWZ6AO7Z-Cr37HuDf.js} +2 -2
- package/dist/{YPM2AS64-CyJUHsV7.js → YPM2AS64-CT_gy_uo.js} +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 +2 -0
- package/dist/components/dashboardSection/DashboardSection.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-CGyoluxB.js → index-DSi-cbwv.js} +24915 -24828
- package/dist/index.js +1 -1
- package/dist/locales/locale_en.json +1 -1
- package/dist/locales/locale_es.json +1 -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
package/dist/index.js
CHANGED
|
@@ -128,6 +128,7 @@
|
|
|
128
128
|
"ERROR_SEARCHING_INVESTIGATIONS": "Error searching investigations",
|
|
129
129
|
"ERROR_SEARCHING_MEDICATIONS": "Error searching medications",
|
|
130
130
|
"ERROR_VALIDATION_TITLE": "Validation Error",
|
|
131
|
+
"ERROR_FETCHING_CLINICAL_DATA": "Invalid episode uuid",
|
|
131
132
|
"INPUT_VALUE_REQUIRED": "Please enter a value",
|
|
132
133
|
"INVALID_RESPONSE": "Invalid response received from the server",
|
|
133
134
|
"INVESTIGATIONS_ADDED": "Added {{investigationType}}",
|
|
@@ -243,5 +244,4 @@
|
|
|
243
244
|
"CONTROL_NOT_FOUND": "No controls registered for type: {{type}}",
|
|
244
245
|
"NO_CONFIGURED_CONTROLS": "No configured controls to for this section",
|
|
245
246
|
"INITIALIZING_CONTROL": "Initializing control..."
|
|
246
|
-
|
|
247
247
|
}
|
|
@@ -128,6 +128,7 @@
|
|
|
128
128
|
"ERROR_SEARCHING_INVESTIGATIONS": "Error al buscar investigaciones",
|
|
129
129
|
"ERROR_SEARCHING_MEDICATIONS": "Error al buscar medicamentos",
|
|
130
130
|
"ERROR_VALIDATION_TITLE": "Error de validación",
|
|
131
|
+
"ERROR_FETCHING_CLINICAL_DATA": "Invalid episode uuid",
|
|
131
132
|
"INPUT_VALUE_REQUIRED": "Por favor, ingrese un valor",
|
|
132
133
|
"INVALID_RESPONSE": "Se recibió una respuesta no válida del servidor",
|
|
133
134
|
"INVESTIGATIONS_ADDED": "{{investigationType}} agregadas",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConsultationPage.d.ts","sourceRoot":"","sources":["../../src/pages/ConsultationPage.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAsC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ConsultationPage.d.ts","sourceRoot":"","sources":["../../src/pages/ConsultationPage.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAsC,MAAM,OAAO,CAAC;AA+C3D;;;;;;;;GAQG;AACH,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EA+F7B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
interface ClinicalAppDataProviderProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
episodeUuids: string[];
|
|
5
|
+
}
|
|
6
|
+
export declare const ClinicalAppProvider: React.FC<ClinicalAppDataProviderProps>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=ClinicalAppProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClinicalAppProvider.d.ts","sourceRoot":"","sources":["../../src/providers/ClinicalAppProvider.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAW,MAAM,OAAO,CAAC;AAMlD,UAAU,4BAA4B;IACpC,QAAQ,EAAE,SAAS,CAAC;IACpB,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAqDtE,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Encounter } from 'fhir/r4';
|
|
2
|
-
export declare const createEncounterResource: (encounterTypeUUID: string, encounterTypeDisplayText: string, patientUUID: string, participantUUIDs: string[], visitUUID: string, encounterLocationUUID: string, encounterStartTimestamp: Date) => Encounter;
|
|
2
|
+
export declare const createEncounterResource: (encounterTypeUUID: string, encounterTypeDisplayText: string, patientUUID: string, participantUUIDs: string[], visitUUID: string, episodeOfCareUUID: string[], encounterLocationUUID: string, encounterStartTimestamp: Date) => Encounter;
|
|
3
3
|
//# sourceMappingURL=encounterResourceCreator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encounterResourceCreator.d.ts","sourceRoot":"","sources":["../../../src/utils/fhir/encounterResourceCreator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"encounterResourceCreator.d.ts","sourceRoot":"","sources":["../../../src/utils/fhir/encounterResourceCreator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAUpC,eAAO,MAAM,uBAAuB,GAClC,mBAAmB,MAAM,EACzB,0BAA0B,MAAM,EAChC,aAAa,MAAM,EACnB,kBAAkB,MAAM,EAAE,EAC1B,WAAW,MAAM,EACjB,mBAAmB,MAAM,EAAE,EAC3B,uBAAuB,MAAM,EAC7B,yBAAyB,IAAI,KAC5B,SAyCF,CAAC"}
|
|
@@ -4,6 +4,7 @@ export declare const createPatientReference: (patientUUID: string) => Reference;
|
|
|
4
4
|
export declare const createEncounterReference: (encounterUUID: string) => Reference;
|
|
5
5
|
export declare const getLocationReference: (locationUUID: string) => Reference;
|
|
6
6
|
export declare const createEncounterLocationReference: (locationUUID: string) => EncounterLocation;
|
|
7
|
+
export declare const createEpisodeOfCareReference: (episodeOfCareUUID: string) => Reference;
|
|
7
8
|
export declare const createPractitionerReference: (practitionerUUID: string) => Reference;
|
|
8
9
|
export declare const createEncounterParticipantReference: (practitionerUUID: string) => EncounterParticipant;
|
|
9
10
|
export declare const createMedicationReference: (medicationId: string) => Reference;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"referenceCreator.d.ts","sourceRoot":"","sources":["../../../src/utils/fhir/referenceCreator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAY7E,eAAO,MAAM,uBAAuB,GAAI,iBAAiB,MAAM,KAAG,SAKjE,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,aAAa,MAAM,KAAG,SAE5D,CAAC;AACF,eAAO,MAAM,wBAAwB,GAAI,eAAe,MAAM,KAAG,SAEhE,CAAC;AACF,eAAO,MAAM,oBAAoB,GAAI,cAAc,MAAM,KAAG,SAE3D,CAAC;AAEF,eAAO,MAAM,gCAAgC,GAC3C,cAAc,MAAM,KACnB,iBAKF,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,kBAAkB,MAAM,KACvB,SAOF,C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