@bahmni/services 0.0.1-dev.278 → 0.0.1-dev.286
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/api/client.d.ts.map +1 -1
- package/dist/api/utils.d.ts +1 -0
- package/dist/api/utils.d.ts.map +1 -1
- package/dist/encounterService/encounterService.d.ts +7 -0
- package/dist/encounterService/encounterService.d.ts.map +1 -1
- package/dist/encounterService/index.d.ts +1 -1
- package/dist/encounterService/index.d.ts.map +1 -1
- package/dist/encounterSessionService/constants.d.ts +1 -1
- package/dist/encounterSessionService/constants.d.ts.map +1 -1
- package/dist/encounterSessionService/encounterMatchDecisionMapper.d.ts.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2193 -2177
- package/dist/medicationRequestService/constants.d.ts +1 -0
- package/dist/medicationRequestService/constants.d.ts.map +1 -1
- package/dist/medicationRequestService/index.d.ts +1 -0
- package/dist/medicationRequestService/index.d.ts.map +1 -1
- package/dist/templateService/constants.d.ts +2 -0
- package/dist/templateService/constants.d.ts.map +1 -0
- package/dist/templateService/index.d.ts +3 -0
- package/dist/templateService/index.d.ts.map +1 -0
- package/dist/templateService/models.d.ts +22 -0
- package/dist/templateService/models.d.ts.map +1 -0
- package/dist/templateService/templateService.d.ts +4 -0
- package/dist/templateService/templateService.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -21,4 +21,5 @@ export declare const MEDICATION_ORDERS_METADATA_URL: string;
|
|
|
21
21
|
*/
|
|
22
22
|
export declare const MEDICATIONS_SEARCH_URL: (searchTerm: string, count: number) => string;
|
|
23
23
|
export declare const VACCINES_URL: string;
|
|
24
|
+
export declare const MEDICATIONS_INPUT_CONTROL_KEY = "medication";
|
|
24
25
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/medicationRequestService/constants.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,+BAA+B;;;;CAQlC,CAAC;AAEX,eAAO,MAAM,+BAA+B,GAC1C,aAAa,MAAM,EACnB,OAAO,MAAM,EACb,iBAAiB,MAAM,WAkBxB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,4CAA4C,GACvD,aAAa,MAAM,EACnB,OAAO,MAAM,EACb,iBAAiB,MAAM,WAoBxB,CAAC;AAEF,eAAO,MAAM,8BAA8B,QACQ,CAAC;AAEpD;;;GAGG;AACH,eAAO,MAAM,sBAAsB,GAAI,YAAY,MAAM,EAAE,OAAO,MAAM,WAEkB,CAAC;AAE3F,eAAO,MAAM,YAAY,QACqD,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/medicationRequestService/constants.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,+BAA+B;;;;CAQlC,CAAC;AAEX,eAAO,MAAM,+BAA+B,GAC1C,aAAa,MAAM,EACnB,OAAO,MAAM,EACb,iBAAiB,MAAM,WAkBxB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,4CAA4C,GACvD,aAAa,MAAM,EACnB,OAAO,MAAM,EACb,iBAAiB,MAAM,WAoBxB,CAAC;AAEF,eAAO,MAAM,8BAA8B,QACQ,CAAC;AAEpD;;;GAGG;AACH,eAAO,MAAM,sBAAsB,GAAI,YAAY,MAAM,EAAE,OAAO,MAAM,WAEkB,CAAC;AAE3F,eAAO,MAAM,YAAY,QACqD,CAAC;AAE/E,eAAO,MAAM,6BAA6B,eAAe,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { type MedicationRequest, MedicationStatus, type MedicationOrdersMetadataResponse, type Frequency, type OrderAttribute, } from './models';
|
|
2
2
|
export { getPatientMedications, getPatientMedicationBundle, fetchMedicationOrdersMetadata, searchMedications, getVaccinations, } from './medicationRequestService';
|
|
3
|
+
export { MEDICATIONS_INPUT_CONTROL_KEY } from './constants';
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/medicationRequestService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iBAAiB,EACtB,gBAAgB,EAChB,KAAK,gCAAgC,EACrC,KAAK,SAAS,EACd,KAAK,cAAc,GACpB,MAAM,UAAU,CAAC;AAElB,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC1B,6BAA6B,EAC7B,iBAAiB,EACjB,eAAe,GAChB,MAAM,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/medicationRequestService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iBAAiB,EACtB,gBAAgB,EAChB,KAAK,gCAAgC,EACrC,KAAK,SAAS,EACd,KAAK,cAAc,GACpB,MAAM,UAAU,CAAC;AAElB,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC1B,6BAA6B,EAC7B,iBAAiB,EACjB,eAAe,GAChB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/templateService/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,gDAA+C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/templateService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC/D,YAAY,EACV,YAAY,EACZ,eAAe,EACf,aAAa,EACb,oBAAoB,GACrB,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface TemplateTrigger {
|
|
2
|
+
label: string;
|
|
3
|
+
shortcutKey?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface TemplateInfo {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
category: string;
|
|
9
|
+
triggers: TemplateTrigger[];
|
|
10
|
+
outputFormats: Array<'html' | 'pdf'>;
|
|
11
|
+
}
|
|
12
|
+
export interface TemplateListResponse {
|
|
13
|
+
templates: TemplateInfo[];
|
|
14
|
+
}
|
|
15
|
+
export interface RenderRequest {
|
|
16
|
+
templateId: string;
|
|
17
|
+
format: 'html' | 'pdf';
|
|
18
|
+
locale?: string;
|
|
19
|
+
context?: Record<string, string>;
|
|
20
|
+
data?: Record<string, unknown>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=models.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/templateService/models.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,aAAa,EAAE,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,YAAY,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,GAAG,KAAK,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"templateService.d.ts","sourceRoot":"","sources":["../../src/templateService/templateService.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEpE,wBAAsB,YAAY,IAAI,OAAO,CAAC,oBAAoB,CAAC,CAElE;AAED,wBAAsB,YAAY,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,CAM1E"}
|