@bahmni/services 0.0.1-dev.297 → 0.0.1-dev.301
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/auditLogService/constants.d.ts +4 -0
- package/dist/auditLogService/constants.d.ts.map +1 -1
- package/dist/auditLogService/models.d.ts +1 -1
- package/dist/auditLogService/models.d.ts.map +1 -1
- package/dist/conditionService/conditionService.d.ts +2 -1
- package/dist/conditionService/conditionService.d.ts.map +1 -1
- package/dist/conditionService/constants.d.ts +1 -1
- package/dist/conditionService/constants.d.ts.map +1 -1
- package/dist/encounterSessionService/encounterSessionStore.d.ts.map +1 -1
- package/dist/encounterSessionService/index.d.ts +0 -1
- package/dist/encounterSessionService/index.d.ts.map +1 -1
- package/dist/index.js +740 -726
- package/dist/medicationRequestService/medicationRequestService.d.ts.map +1 -1
- package/dist/medicationRequestService/models.d.ts +2 -0
- package/dist/medicationRequestService/models.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/auditLogService/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa;;;CAGhB,CAAC;AAGX,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/auditLogService/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa;;;CAGhB,CAAC;AAGX,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CnC,CAAC;AAEF,eAAO,MAAM,aAAa,QAAgC,CAAC;AAC3D,eAAO,MAAM,wBAAwB;;CAEpC,CAAC"}
|
|
@@ -8,5 +8,5 @@ export interface AuditLogResponse {
|
|
|
8
8
|
logged: boolean;
|
|
9
9
|
error?: string;
|
|
10
10
|
}
|
|
11
|
-
export type AuditEventType = 'VIEWED_CLINICAL_DASHBOARD' | 'EDIT_ENCOUNTER' | 'VIEWED_REGISTRATION_PATIENT_SEARCH' | 'VIEWED_RADIOLOGY_RESULTS';
|
|
11
|
+
export type AuditEventType = 'VIEWED_CLINICAL_DASHBOARD' | 'EDIT_ENCOUNTER' | 'VIEWED_REGISTRATION_PATIENT_SEARCH' | 'VIEWED_RADIOLOGY_RESULTS' | 'STOP_MEDICATION';
|
|
12
12
|
//# sourceMappingURL=models.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/auditLogService/models.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,aAAa;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB;AAGD,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAGD,MAAM,MAAM,cAAc,GACtB,2BAA2B,GAC3B,gBAAgB,GAChB,oCAAoC,GACpC,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/auditLogService/models.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,aAAa;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB;AAGD,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAGD,MAAM,MAAM,cAAc,GACtB,2BAA2B,GAC3B,gBAAgB,GAChB,oCAAoC,GACpC,0BAA0B,GAC1B,iBAAiB,CAAC"}
|
|
@@ -21,9 +21,10 @@ export interface ConditionPage {
|
|
|
21
21
|
* @param patientUUID - The UUID of the patient
|
|
22
22
|
* @param count - Number of items per page (default 10)
|
|
23
23
|
* @param page - 1-based page number (default 1)
|
|
24
|
+
* @param clinicalStatus - Optional FHIR clinical-status filter: 'active' or 'inactive'. When omitted, all conditions are returned.
|
|
24
25
|
* @returns Promise resolving to a ConditionPage with conditions and total count
|
|
25
26
|
*/
|
|
26
|
-
export declare function getConditionPage(patientUUID: string, count?: number, page?: number): Promise<ConditionPage>;
|
|
27
|
+
export declare function getConditionPage(patientUUID: string, count?: number, page?: number, clinicalStatus?: 'active' | 'inactive'): Promise<ConditionPage>;
|
|
27
28
|
/**
|
|
28
29
|
* Marks a condition as inactive via FHIR PUT.
|
|
29
30
|
* Preserves all existing fields from the raw resource; only clinicalStatus is changed.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditionService.d.ts","sourceRoot":"","sources":["../../src/conditionService/conditionService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAS5C;;;;GAIG;AACH,wBAAsB,mBAAmB,CACvC,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,CAAC,CAEjB;AAED;;;;GAIG;AACH,wBAAsB,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAQ7E;AAED,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AAED
|
|
1
|
+
{"version":3,"file":"conditionService.d.ts","sourceRoot":"","sources":["../../src/conditionService/conditionService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAS5C;;;;GAIG;AACH,wBAAsB,mBAAmB,CACvC,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,CAAC,CAEjB;AAED;;;;GAIG;AACH,wBAAsB,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAQ7E;AAED,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AAED;;;;;;;;GAQG;AACH,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,MAAM,EACnB,KAAK,GAAE,MAAW,EAClB,IAAI,GAAE,MAAU,EAChB,cAAc,CAAC,EAAE,QAAQ,GAAG,UAAU,GACrC,OAAO,CAAC,aAAa,CAAC,CAaxB;AAED;;;;;GAKG;AACH,wBAAsB,uBAAuB,CAC3C,SAAS,EAAE,SAAS,GACnB,OAAO,CAAC,SAAS,CAAC,CAkBpB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const CONDITION_RESOURCE_URL: string;
|
|
2
2
|
export declare const PATIENT_CONDITION_RESOURCE_URL: (patientUUID: string) => string;
|
|
3
|
-
export declare const PATIENT_CONDITION_PAGE_URL: (patientUUID: string, count?: number, offset?: number) => string;
|
|
3
|
+
export declare const PATIENT_CONDITION_PAGE_URL: (patientUUID: string, count?: number, offset?: number, clinicalStatus?: "active" | "inactive") => string;
|
|
4
4
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/conditionService/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB,QAAiC,CAAC;AAGrE,eAAO,MAAM,8BAA8B,GAAI,aAAa,MAAM,WAEoD,CAAC;AAGvH,eAAO,MAAM,0BAA0B,GACrC,aAAa,MAAM,EACnB,QAAO,MAAW,EAClB,SAAQ,MAAU,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/conditionService/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB,QAAiC,CAAC;AAGrE,eAAO,MAAM,8BAA8B,GAAI,aAAa,MAAM,WAEoD,CAAC;AAGvH,eAAO,MAAM,0BAA0B,GACrC,aAAa,MAAM,EACnB,QAAO,MAAW,EAClB,SAAQ,MAAU,EAClB,iBAAiB,QAAQ,GAAG,UAAU,WAMvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encounterSessionStore.d.ts","sourceRoot":"","sources":["../../src/encounterSessionService/encounterSessionStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,MAAM,WAAW,qBAAqB;IACpC,YAAY,EAAE,eAAe,EAAE,CAAC;IAChC,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,yFAAyF;IACzF,eAAe,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,KAAK,QAAQ,GAAG,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"encounterSessionStore.d.ts","sourceRoot":"","sources":["../../src/encounterSessionService/encounterSessionStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,MAAM,WAAW,qBAAqB;IACpC,YAAY,EAAE,eAAe,EAAE,CAAC;IAChC,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,yFAAyF;IACzF,eAAe,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,KAAK,QAAQ,GAAG,MAAM,IAAI,CAAC;AA0B3B,yEAAyE;AACzE,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,IAAI,CAKxE;AAED,oEAAoE;AACpE,wBAAgB,2BAA2B,IAAI,qBAAqB,CAEnE;AAED,+EAA+E;AAC/E,wBAAgB,2BAA2B,CAAC,QAAQ,EAAE;IACpD,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;CAC7B,GAAG,IAAI,CAWP;AAED,iEAAiE;AACjE,wBAAgB,0BAA0B,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI,CAGnE;AAED,+EAA+E;AAC/E,wBAAgB,qBAAqB,IAAI,IAAI,CAG5C;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,IAAI,qBAAqB,CAKhE"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { findActiveEncounterInSession, searchEncounters, getEncounterSessionDuration, } from './encounterSessionService';
|
|
2
|
-
export { CONSULTATION_ENCOUNTER_TYPE_UUID } from './constants';
|
|
3
2
|
export { resolveEncounterMatchDecision, canResumeOwnInSessionEncounter, type EncounterMatchDecision, type MatchReasonCode, MATCH_REASON_MESSAGES, } from './encounterMatchDecisionMapper';
|
|
4
3
|
export { useEncounterSessionStore, setEncounterSessionDecision, setEncounterSessionLoading, resetEncounterSession, subscribeEncounterSession, getEncounterSessionSnapshot, type EncounterSessionState, } from './encounterSessionStore';
|
|
5
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/encounterSessionService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,gBAAgB,EAChB,2BAA2B,GAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/encounterSessionService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,gBAAgB,EAChB,2BAA2B,GAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,6BAA6B,EAC7B,8BAA8B,EAC9B,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,qBAAqB,GACtB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,wBAAwB,EACxB,2BAA2B,EAC3B,0BAA0B,EAC1B,qBAAqB,EACrB,yBAAyB,EACzB,2BAA2B,EAC3B,KAAK,qBAAqB,GAC3B,MAAM,yBAAyB,CAAC"}
|