@bahmni/services 0.0.1-dev.262 → 0.0.1-dev.267
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/appointmentService/__mocks__/mocks.d.ts +9 -0
- package/dist/appointmentService/__mocks__/mocks.d.ts.map +1 -1
- package/dist/appointmentService/appointmentService.d.ts +12 -1
- package/dist/appointmentService/appointmentService.d.ts.map +1 -1
- package/dist/appointmentService/constants.d.ts +1 -0
- package/dist/appointmentService/constants.d.ts.map +1 -1
- package/dist/appointmentService/index.d.ts +2 -2
- package/dist/appointmentService/index.d.ts.map +1 -1
- package/dist/appointmentService/models.d.ts +31 -0
- package/dist/appointmentService/models.d.ts.map +1 -1
- package/dist/cdssService/__tests__/mocks.d.ts +12 -0
- package/dist/cdssService/__tests__/mocks.d.ts.map +1 -0
- package/dist/cdssService/cdssService.d.ts +9 -0
- package/dist/cdssService/cdssService.d.ts.map +1 -0
- package/dist/cdssService/index.d.ts +4 -0
- package/dist/cdssService/index.d.ts.map +1 -0
- package/dist/cdssService/models.d.ts +69 -0
- package/dist/cdssService/models.d.ts.map +1 -0
- package/dist/cdssService/utils.d.ts +12 -0
- package/dist/cdssService/utils.d.ts.map +1 -0
- package/dist/date/constants.d.ts +1 -0
- package/dist/date/constants.d.ts.map +1 -1
- package/dist/date/date.d.ts +13 -0
- package/dist/date/date.d.ts.map +1 -1
- package/dist/date/index.d.ts +2 -2
- package/dist/date/index.d.ts.map +1 -1
- package/dist/events/cdssEvents.d.ts +18 -0
- package/dist/events/cdssEvents.d.ts.map +1 -0
- package/dist/events/index.d.ts +1 -0
- package/dist/events/index.d.ts.map +1 -1
- package/dist/index.d.ts +6 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7256 -5646
- package/dist/locationService/__tests__/__mocks__/mocks.d.ts +3 -0
- package/dist/locationService/__tests__/__mocks__/mocks.d.ts.map +1 -1
- package/dist/locationService/constants.d.ts +1 -0
- package/dist/locationService/constants.d.ts.map +1 -1
- package/dist/locationService/index.d.ts +1 -1
- package/dist/locationService/index.d.ts.map +1 -1
- package/dist/locationService/locationService.d.ts +7 -0
- package/dist/locationService/locationService.d.ts.map +1 -1
- package/dist/locationService/models.d.ts +6 -1
- package/dist/locationService/models.d.ts.map +1 -1
- package/dist/providerService/__mocks__/mocks.d.ts +216 -0
- package/dist/providerService/__mocks__/mocks.d.ts.map +1 -0
- package/dist/providerService/constants.d.ts +1 -0
- package/dist/providerService/constants.d.ts.map +1 -1
- package/dist/providerService/index.d.ts +1 -1
- package/dist/providerService/index.d.ts.map +1 -1
- package/dist/providerService/models.d.ts +15 -1
- package/dist/providerService/models.d.ts.map +1 -1
- package/dist/providerService/providerService.d.ts +15 -2
- package/dist/providerService/providerService.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { Appointment, Bundle, BundleEntry } from 'fhir/r4';
|
|
2
|
+
import { AppointmentUnavailability, CreateUnavailabilityRequest } from '../models';
|
|
2
3
|
export declare const createEmptyBundle: () => Bundle<Appointment>;
|
|
3
4
|
export declare const createBundleWithEntry: (entry: BundleEntry<Appointment>[]) => Bundle<Appointment>;
|
|
4
5
|
export declare const createBundleWithAppointments: (appointments: Appointment[]) => Bundle<Appointment>;
|
|
5
6
|
export declare const createMockAppointment: (uuid: string, appointmentNumber: string, startDate: string, provider: string, status: string) => Appointment;
|
|
6
7
|
export declare const createMockAppointmentBundle: (appointments: Appointment[]) => Bundle<Appointment>;
|
|
8
|
+
export declare const FIXED_NOW: Date;
|
|
9
|
+
export declare const patientUUID = "patient-uuid-123";
|
|
10
|
+
export declare const upcomingAppointment: Appointment;
|
|
11
|
+
export declare const pastAppointment: Appointment;
|
|
12
|
+
export declare const mockUnavailabilities: AppointmentUnavailability[];
|
|
13
|
+
export declare const mockCreateRequest: CreateUnavailabilityRequest[];
|
|
14
|
+
export declare const mockCreateRequestWithoutOptionalFields: CreateUnavailabilityRequest[];
|
|
15
|
+
export declare const multipleRequests: CreateUnavailabilityRequest[];
|
|
7
16
|
//# sourceMappingURL=mocks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mocks.d.ts","sourceRoot":"","sources":["../../../src/appointmentService/__mocks__/mocks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"mocks.d.ts","sourceRoot":"","sources":["../../../src/appointmentService/__mocks__/mocks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC5B,MAAM,WAAW,CAAC;AAEnB,eAAO,MAAM,iBAAiB,QAAO,MAAM,CAAC,WAAW,CAIrD,CAAC;AAEH,eAAO,MAAM,qBAAqB,GAChC,OAAO,WAAW,CAAC,WAAW,CAAC,EAAE,KAChC,MAAM,CAAC,WAAW,CAInB,CAAC;AAEH,eAAO,MAAM,4BAA4B,GACvC,cAAc,WAAW,EAAE,KAC1B,MAAM,CAAC,WAAW,CAKlB,CAAC;AAEJ,eAAO,MAAM,qBAAqB,GAChC,MAAM,MAAM,EACZ,mBAAmB,MAAM,EACzB,WAAW,MAAM,EACjB,UAAU,MAAM,EAChB,QAAQ,MAAM,KACb,WA+CD,CAAC;AAEH,eAAO,MAAM,2BAA2B,GACtC,cAAc,WAAW,EAAE,KAC1B,MAAM,CAAC,WAAW,CACkD,CAAC;AAExE,eAAO,MAAM,SAAS,MAAuC,CAAC;AAE9D,eAAO,MAAM,WAAW,qBAAqB,CAAC;AAE9C,eAAO,MAAM,mBAAmB,aAM/B,CAAC;AAEF,eAAO,MAAM,eAAe,aAM3B,CAAC;AA2BF,eAAO,MAAM,oBAAoB,EAAE,yBAAyB,EAyB3D,CAAC;AAUF,eAAO,MAAM,iBAAiB,EAAE,2BAA2B,EAM1D,CAAC;AAEF,eAAO,MAAM,sCAAsC,EAAE,2BAA2B,EAS7E,CAAC;AAEJ,eAAO,MAAM,gBAAgB,EAAE,2BAA2B,EAGzD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Appointment, Bundle } from 'fhir/r4';
|
|
2
|
-
import { AppointmentPage, AppointmentService } from './models';
|
|
2
|
+
import { AppointmentPage, AppointmentService, AppointmentUnavailability, CreateUnavailabilityRequest } from './models';
|
|
3
3
|
/**
|
|
4
4
|
* Search for appointments by specified attributes.
|
|
5
5
|
*
|
|
@@ -71,4 +71,15 @@ export declare function getUpcomingAppointmentsPage(patientUuid: string, count?:
|
|
|
71
71
|
* @returns Promise resolving to an AppointmentPage with bundle and total count
|
|
72
72
|
*/
|
|
73
73
|
export declare function getPastAppointmentsPage(patientUuid: string, count?: number, page?: number): Promise<AppointmentPage>;
|
|
74
|
+
/**
|
|
75
|
+
* Fetches all appointment unavailabilities
|
|
76
|
+
* @returns A list of Appointment Unavailabilities
|
|
77
|
+
*/
|
|
78
|
+
export declare const getAppointmentUnavailabilities: () => Promise<AppointmentUnavailability[]>;
|
|
79
|
+
/**
|
|
80
|
+
* Creates a new appointment unavailability
|
|
81
|
+
* @param data - The unavailability data to create
|
|
82
|
+
* @returns Resolves when creation completes
|
|
83
|
+
*/
|
|
84
|
+
export declare const createAppointmentUnavailability: (data: CreateUnavailabilityRequest[]) => Promise<void>;
|
|
74
85
|
//# sourceMappingURL=appointmentService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointmentService.d.ts","sourceRoot":"","sources":["../../src/appointmentService/appointmentService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"appointmentService.d.ts","sourceRoot":"","sources":["../../src/appointmentService/appointmentService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,E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AACH,eAAO,MAAM,8BAA8B,QAAa,OAAO,CAC7D,yBAAyB,EAAE,CAG5B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,GAC1C,MAAM,2BAA2B,EAAE,KAClC,OAAO,CAAC,IAAI,CAEd,CAAC"}
|
|
@@ -22,4 +22,5 @@ export declare const ALL_APPOINTMENT_SERVICES_URL: string;
|
|
|
22
22
|
export declare const getDeleteAppointmentServiceUrl: (uuid: string) => string;
|
|
23
23
|
export declare const getUpcomingAppointmentsPageUrl: (patientUUID: string, count?: number, offset?: number) => string;
|
|
24
24
|
export declare const getPastAppointmentsPageUrl: (patientUUID: string, count?: number, offset?: number) => string;
|
|
25
|
+
export declare const APPOINTMENT_UNAVAILABILITY_URL: string;
|
|
25
26
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/appointmentService/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB;;;;;;;;;;;CAWvB,CAAC;AAEX,eAAO,MAAM,uBAAuB,QAA2C,CAAC;AAChF,eAAO,MAAM,gBAAgB,QAAoC,CAAC;AAGlE,eAAO,MAAM,6BAA6B,oDACS,CAAC;AAEpD,eAAO,MAAM,qBAAqB,GAAI,MAAM,MAAM,KAAG,MACtB,CAAC;AAEhC,eAAO,MAAM,kBAAkB,GAC7B,aAAa,MAAM,EACnB,MAAM,UAAU,GAAG,MAAM,EACzB,QAAQ,MAAM,EACd,SAAS,MAAM,KACd,MAoBF,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,aAAa,MAAM,WAE5D,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,aAAa,MAAM,EAAE,QAAQ,MAAM,WAExE,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,iBAAiB,MAAM,KAAG,MACb,CAAC;AAEzD,eAAO,MAAM,4BAA4B,QACS,CAAC;AAEnD,eAAO,MAAM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,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { searchAppointmentsByAttribute, updateAppointmentStatus, getAppointmentById, getUpcomingAppointments, getPastAppointments, getUpcomingAppointmentsPage, getPastAppointmentsPage, getAllAppointmentServices, deleteAppointmentService, } from './appointmentService';
|
|
2
|
-
export { type AppointmentPage, type AppointmentService } from './models';
|
|
1
|
+
export { searchAppointmentsByAttribute, updateAppointmentStatus, getAppointmentById, getUpcomingAppointments, getPastAppointments, getUpcomingAppointmentsPage, getPastAppointmentsPage, getAllAppointmentServices, deleteAppointmentService, getAppointmentUnavailabilities, createAppointmentUnavailability, } from './appointmentService';
|
|
2
|
+
export { type AppointmentPage, type AppointmentService, type AppointmentUnavailability, type CreateUnavailabilityRequest, } from './models';
|
|
3
3
|
export { APPOINTMENT_STATUSES, APPOINTMENT_IDENTIFIER_SYSTEM, } from './constants';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/appointmentService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACvB,kBAAkB,EAClB,uBAAuB,EACvB,mBAAmB,EACnB,2BAA2B,EAC3B,uBAAuB,EACvB,yBAAyB,EACzB,wBAAwB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/appointmentService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACvB,kBAAkB,EAClB,uBAAuB,EACvB,mBAAmB,EACnB,2BAA2B,EAC3B,uBAAuB,EACvB,yBAAyB,EACzB,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,GAChC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,GACjC,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,oBAAoB,EACpB,6BAA6B,GAC9B,MAAM,aAAa,CAAC"}
|
|
@@ -31,5 +31,36 @@ export interface AppointmentService {
|
|
|
31
31
|
color: string;
|
|
32
32
|
initialAppointmentStatus: string | null;
|
|
33
33
|
}
|
|
34
|
+
export interface AppointmentUnavailability {
|
|
35
|
+
uuid: string;
|
|
36
|
+
location: {
|
|
37
|
+
uuid: string;
|
|
38
|
+
name: string;
|
|
39
|
+
};
|
|
40
|
+
service: {
|
|
41
|
+
uuid: string;
|
|
42
|
+
name: string;
|
|
43
|
+
};
|
|
44
|
+
provider: {
|
|
45
|
+
uuid: string;
|
|
46
|
+
name: string;
|
|
47
|
+
} | null;
|
|
48
|
+
startDate: string;
|
|
49
|
+
startTime: string;
|
|
50
|
+
endDate: string;
|
|
51
|
+
endTime: string;
|
|
52
|
+
voided: boolean;
|
|
53
|
+
dateCreated: string;
|
|
54
|
+
creatorName: string;
|
|
55
|
+
}
|
|
56
|
+
export interface CreateUnavailabilityRequest {
|
|
57
|
+
locationUuid: string;
|
|
58
|
+
appointmentServiceUuid?: string;
|
|
59
|
+
providerUuid?: string;
|
|
60
|
+
startDate: string;
|
|
61
|
+
startTime: string;
|
|
62
|
+
endDate: string;
|
|
63
|
+
endTime: string;
|
|
64
|
+
}
|
|
34
65
|
export {};
|
|
35
66
|
//# sourceMappingURL=models.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/appointmentService/models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEnD,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,UAAU;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,QAAQ;I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AClB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Bundle } from 'fhir/r4';
|
|
2
|
+
import { CDSSServerConfig, CDSCard, CDSHooksResponse, CDSSContext } from '../models';
|
|
3
|
+
export declare const mockCDSSServerConfig: CDSSServerConfig[];
|
|
4
|
+
export declare const mockCDSCard: CDSCard;
|
|
5
|
+
export declare const mockCDSCardCritical: CDSCard;
|
|
6
|
+
export declare const mockCDSCardInfo: CDSCard;
|
|
7
|
+
export declare const mockCDSCardWithMultipleActions: CDSCard;
|
|
8
|
+
export declare const mockCDSHooksResponse: CDSHooksResponse;
|
|
9
|
+
export declare const mockEmptyCDSHooksResponse: CDSHooksResponse;
|
|
10
|
+
export declare const mockCDSSContext: CDSSContext;
|
|
11
|
+
export declare const mockBundle: Bundle;
|
|
12
|
+
//# sourceMappingURL=mocks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mocks.d.ts","sourceRoot":"","sources":["../../../src/cdssService/__tests__/mocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EACL,gBAAgB,EAChB,OAAO,EACP,gBAAgB,EAChB,WAAW,EACZ,MAAM,WAAW,CAAC;AAEnB,eAAO,MAAM,oBAAoB,EAAE,gBAAgB,EAmClD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,OAqBzB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,OAoBjC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,OAM7B,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,OAuC5C,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,gBAElC,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,gBAEvC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,WAI7B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,MA0CxB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Bundle } from 'fhir/r4';
|
|
2
|
+
import { CDSSServerConfig, CDSSServiceConfig, CDSSRule, CDSCard, CDSSContext, ContextResourceMap } from './models';
|
|
3
|
+
export declare const findCdsServiceConfig: (serversConfig: CDSSServerConfig[], serverName: string, serviceName: string) => {
|
|
4
|
+
serverConfig: CDSSServerConfig;
|
|
5
|
+
serviceConfig: CDSSServiceConfig;
|
|
6
|
+
};
|
|
7
|
+
export declare const buildContextFromResourceMap: (bundle: Bundle, resourceMap?: ContextResourceMap[]) => Record<string, unknown>;
|
|
8
|
+
export declare const invokeCDSSRule: (serversConfig: CDSSServerConfig[], rule: CDSSRule, context: CDSSContext, dataBundle: Bundle) => Promise<CDSCard[]>;
|
|
9
|
+
//# sourceMappingURL=cdssService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cdssService.d.ts","sourceRoot":"","sources":["../../src/cdssService/cdssService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAGjC,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,QAAQ,EACR,OAAO,EAGP,WAAW,EACX,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,oBAAoB,GAC/B,eAAe,gBAAgB,EAAE,EACjC,YAAY,MAAM,EAClB,aAAa,MAAM,KAClB;IACD,YAAY,EAAE,gBAAgB,CAAC;IAC/B,aAAa,EAAE,iBAAiB,CAAC;CAmBlC,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,QAAQ,MAAM,EACd,cAAc,kBAAkB,EAAE,KACjC,MAAM,CAAC,MAAM,EAAE,OAAO,CAuBxB,CAAC;AAEF,eAAO,MAAM,cAAc,GACzB,eAAe,gBAAgB,EAAE,EACjC,MAAM,QAAQ,EACd,SAAS,WAAW,EACpB,YAAY,MAAM,KACjB,OAAO,CAAC,OAAO,EAAE,CAiCnB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { findCdsServiceConfig, buildContextFromResourceMap, invokeCDSSRule, } from './cdssService';
|
|
2
|
+
export { type CDSSServerConfig, type CDSSServiceConfig, type CDSSRule, type CDSCard, type CDSSuggestion, type CDSAction, type CDSHooksRequest, type CDSHooksResponse, type CDSSContext, type CDSSEventDetail, type ContextResourceMap, } from './models';
|
|
3
|
+
export { filterCdsCardsForItems } from './utils';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cdssService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,2BAA2B,EAC3B,cAAc,GACf,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,kBAAkB,GACxB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export interface ContextResourceMap {
|
|
2
|
+
type: string;
|
|
3
|
+
attribute: string;
|
|
4
|
+
}
|
|
5
|
+
export interface CDSSServiceConfig {
|
|
6
|
+
name: string;
|
|
7
|
+
description: string;
|
|
8
|
+
contextResourceMap?: ContextResourceMap[];
|
|
9
|
+
prefetch?: {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export interface CDSSServerConfig {
|
|
14
|
+
server: string;
|
|
15
|
+
url: string;
|
|
16
|
+
services: CDSSServiceConfig[];
|
|
17
|
+
}
|
|
18
|
+
export interface CDSSRule {
|
|
19
|
+
event: string;
|
|
20
|
+
server: string;
|
|
21
|
+
service: string;
|
|
22
|
+
}
|
|
23
|
+
export interface CDSCard {
|
|
24
|
+
summary: string;
|
|
25
|
+
indicator: 'info' | 'warning' | 'critical';
|
|
26
|
+
source: {
|
|
27
|
+
label: string;
|
|
28
|
+
};
|
|
29
|
+
suggestions?: CDSSuggestion[];
|
|
30
|
+
}
|
|
31
|
+
export interface CDSSuggestion {
|
|
32
|
+
label: string;
|
|
33
|
+
actions?: CDSAction[];
|
|
34
|
+
}
|
|
35
|
+
export interface CDSAction {
|
|
36
|
+
type: 'create' | 'update' | 'delete';
|
|
37
|
+
resource?: {
|
|
38
|
+
id?: string;
|
|
39
|
+
resourceType?: string;
|
|
40
|
+
[key: string]: unknown;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export interface CDSHooksRequest {
|
|
44
|
+
hook: string;
|
|
45
|
+
hookInstance: string;
|
|
46
|
+
context: {
|
|
47
|
+
patientId: string;
|
|
48
|
+
visitId?: string;
|
|
49
|
+
episodeId?: string;
|
|
50
|
+
[key: string]: unknown;
|
|
51
|
+
};
|
|
52
|
+
prefetch?: {
|
|
53
|
+
[key: string]: string;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
export interface CDSHooksResponse {
|
|
57
|
+
cards: CDSCard[];
|
|
58
|
+
}
|
|
59
|
+
export interface CDSSContext {
|
|
60
|
+
patientId: string;
|
|
61
|
+
visitId?: string;
|
|
62
|
+
episodeId?: string;
|
|
63
|
+
}
|
|
64
|
+
export interface CDSSEventDetail {
|
|
65
|
+
controlKey: string;
|
|
66
|
+
itemId: string;
|
|
67
|
+
event: string;
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=models.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/cdssService/models.ts"],"names":[],"mappings":"AAAA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AE,MAAM,CAAC;QAClB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CAAC;IACF,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACtC;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,OAAO,EAAE,CAAC;CAClB;AAED,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CDSCard } from './models';
|
|
2
|
+
/**
|
|
3
|
+
* Filters cards relevant to a set of item IDs using self-identification pattern
|
|
4
|
+
* @param cards - Array of CDS cards from CDSS response
|
|
5
|
+
* @param itemIds - Set of item IDs owned by this control
|
|
6
|
+
* @returns Array of cards relevant to this control's items, with filtered suggestions
|
|
7
|
+
*/
|
|
8
|
+
export declare const filterCdsCardsForItems: (cards: CDSCard[], itemIds: Set<string>) => Array<{
|
|
9
|
+
card: CDSCard;
|
|
10
|
+
resourceId: string;
|
|
11
|
+
}>;
|
|
12
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/cdssService/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,GACjC,OAAO,OAAO,EAAE,EAChB,SAAS,GAAG,CAAC,MAAM,CAAC,KACnB,KAAK,CAAC;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CA8B7C,CAAC"}
|
package/dist/date/constants.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const DEFAULT_DATE_FORMAT = "dd/MM/yyyy";
|
|
2
2
|
export declare const DEFAULT_DATE_FORMAT_STORAGE_KEY = "default_dateFormat";
|
|
3
3
|
export declare const DEFAULT_TIME_FORMAT = "h:mm a";
|
|
4
|
+
export declare const ISO_DATE_FORMAT = "yyyy-MM-dd";
|
|
4
5
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/date/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,eAAe,CAAC;AAChD,eAAO,MAAM,+BAA+B,uBAAuB,CAAC;AACpE,eAAO,MAAM,mBAAmB,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/date/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,eAAe,CAAC;AAChD,eAAO,MAAM,+BAA+B,uBAAuB,CAAC;AACpE,eAAO,MAAM,mBAAmB,WAAW,CAAC;AAC5C,eAAO,MAAM,eAAe,eAAe,CAAC"}
|
package/dist/date/date.d.ts
CHANGED
|
@@ -109,4 +109,17 @@ export declare const calculateEndDate: (startDate: Date | string, duration: numb
|
|
|
109
109
|
*/
|
|
110
110
|
export declare const doDateRangesOverlap: (start1: Date, end1: Date, start2: Date, end2: Date) => boolean;
|
|
111
111
|
export declare function sortByDate(array: any[], dateField: string, ascending?: boolean): any[];
|
|
112
|
+
/**
|
|
113
|
+
* Converts 12-hour time format (with AM/PM) to 24-hour format
|
|
114
|
+
* @param timeStr - Time string in 12-hour format (e.g., "02:30 PM", "11:45 AM")
|
|
115
|
+
* @returns Time string in 24-hour format (e.g., "14:30", "11:45"), or empty string if invalid
|
|
116
|
+
*/
|
|
117
|
+
export declare function convertTo24HourFormat(timeStr: string): string;
|
|
118
|
+
/**
|
|
119
|
+
* Converts a time string in 12-hour format (with AM/PM) to total minutes since midnight.
|
|
120
|
+
* Useful for time comparisons and calculations.
|
|
121
|
+
* @param timeStr - Time string in 12-hour format (e.g., "09:00 AM", "02:30 PM")
|
|
122
|
+
* @returns Total minutes since midnight, or null if the input is invalid
|
|
123
|
+
*/
|
|
124
|
+
export declare function getTimeInMinutes(timeStr: string): number | null;
|
|
112
125
|
//# sourceMappingURL=date.d.ts.map
|
package/dist/date/date.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../src/date/date.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../src/date/date.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAQ/C,MAAM,WAAW,gBAAgB;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,GAAG,GAAG,IAAI,CAsB3D;AAiGD;;;;;;GAMG;AACH,wBAAgB,0BAA0B,IAAI,MAAM,CAoBnD;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,EAC5B,CAAC,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,KAAK,MAAM,EACzD,WAAW,GAAE,OAAe,EAC5B,UAAU,CAAC,EAAE,MAAM,GAClB,g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M,GAAG,MAAM,CAO7D;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAK/D"}
|
package/dist/date/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { type FormatDateResult, calculateAge, formatDateTime, formatDateDistance, calculateOnsetDate, sortByDate, getTodayDate, getFormattedAge, DURATION_UNIT_TO_DAYS, calculateEndDate, doDateRangesOverlap, } from './date';
|
|
2
|
-
export { DEFAULT_DATE_FORMAT, DEFAULT_DATE_FORMAT_STORAGE_KEY, DEFAULT_TIME_FORMAT, } from './constants';
|
|
1
|
+
export { type FormatDateResult, calculateAge, formatDateTime, formatDateDistance, calculateOnsetDate, sortByDate, getTodayDate, getFormattedAge, DURATION_UNIT_TO_DAYS, calculateEndDate, doDateRangesOverlap, convertTo24HourFormat, getTimeInMinutes, } from './date';
|
|
2
|
+
export { DEFAULT_DATE_FORMAT, DEFAULT_DATE_FORMAT_STORAGE_KEY, DEFAULT_TIME_FORMAT, ISO_DATE_FORMAT, } from './constants';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/date/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/date/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,gBAAgB,EACrB,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EACV,YAAY,EACZ,eAAe,EACf,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/date/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,gBAAgB,EACrB,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EACV,YAAY,EACZ,eAAe,EACf,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,mBAAmB,EACnB,+BAA+B,EAC/B,mBAAmB,EACnB,eAAe,GAChB,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CDSCard, CDSSRule } from '../cdssService';
|
|
2
|
+
export declare const CDSS_CHECK_EVENT = "cdss:check";
|
|
3
|
+
export declare const CDSS_RESULTS_EVENT = "cdss:results";
|
|
4
|
+
export interface CDSSCheckEventDetail {
|
|
5
|
+
controlKey: string;
|
|
6
|
+
itemId: string;
|
|
7
|
+
rules: CDSSRule[];
|
|
8
|
+
}
|
|
9
|
+
export interface CDSSResultsEventDetail {
|
|
10
|
+
cards: CDSCard[];
|
|
11
|
+
triggerItemId: string;
|
|
12
|
+
controlKey: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const dispatchCDSSCheck: (payload: CDSSCheckEventDetail) => void;
|
|
15
|
+
export declare const dispatchCDSSResults: (payload: CDSSResultsEventDetail) => void;
|
|
16
|
+
export declare const useCDSSCheckListener: (callback: (payload: CDSSCheckEventDetail) => void) => void;
|
|
17
|
+
export declare const useCDSSResultsListener: (callback: (payload: CDSSResultsEventDetail) => void) => void;
|
|
18
|
+
//# sourceMappingURL=cdssEvents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cdssEvents.d.ts","sourceRoot":"","sources":["../../src/events/cdssEvents.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAExD,eAAO,MAAM,gBAAgB,eAAe,CAAC;AAC7C,eAAO,MAAM,kBAAkB,iBAAiB,CAAC;AAEjD,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,GAAI,SAAS,oBAAoB,KAAG,IAKjE,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,SAAS,sBAAsB,KAAG,IAKrE,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,UAAU,CAAC,OAAO,EAAE,oBAAoB,KAAK,IAAI,KAChD,IAkBF,CAAC;AAEF,eAAO,MAAM,sBAAsB,GACjC,UAAU,CAAC,OAAO,EAAE,sBAAsB,KAAK,IAAI,KAClD,IAkBF,CAAC"}
|
package/dist/events/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export { dispatchConsultationSaved, useSubscribeConsultationSaved, CONSULTATION_SAVED_EVENT, type ConsultationSavedEventPayload, } from './consultationEvents';
|
|
2
|
+
export { dispatchCDSSCheck, dispatchCDSSResults, useCDSSCheckListener, useCDSSResultsListener, CDSS_CHECK_EVENT, CDSS_RESULTS_EVENT, type CDSSCheckEventDetail, type CDSSResultsEventDetail, } from './cdssEvents';
|
|
2
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/events/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,6BAA6B,EAC7B,wBAAwB,EACxB,KAAK,6BAA6B,GACnC,MAAM,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/events/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,6BAA6B,EAC7B,wBAAwB,EACxB,KAAK,6BAA6B,GACnC,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B,MAAM,cAAc,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ export { initAppI18n, useTranslation, normalizeTranslationKey, getUserPreferredL
|
|
|
3
3
|
export { useCamera } from './cameraService';
|
|
4
4
|
export { getPatientById, getFormattedPatientById, searchPatientByNameOrId, searchPatientByCustomAttribute, getIdentifierTypes, getPrimaryIdentifierType, createPatient, updatePatient, createFhirPatient, updateFhirPatient, generateIdentifier, getIdentifierData, getGenders, getAddressHierarchyEntries, getOrderedAddressHierarchyLevels, getPatientPhotoDataUrl, getPatientProfile, getPersonAttributeTypes, getRelationshipTypes, type FormattedPatientData, type PatientSearchResult, type PatientSearchResultBundle, type IdentifierSource, type IdentifierType, type IdentifierTypesResponse, type CreatePatientRequest, type CreatePatientResponse, type PatientName, type PatientAddress, type PatientIdentifier, type PatientAttribute, type AddressHierarchyEntry, type OrderedAddressHierarchyLevel, type OrderedAddressHierarchyLevels, type PatientProfileResponse, type PersonAttributeType, type PersonAttributeTypesResponse, type ConceptAnswer, type PersonAttributeConcept, type PatientSearchField, type AppointmentSearchField, type ExpectedFieldConfig, type SearchActionConfig, AttributeFormat, AttributeInputType, getInputTypeForFormat, isBooleanFormat, isConceptFormat, isNumberFormat, isDateFormat, isTextFormat, MAX_PATIENT_AGE_YEARS, MAX_NAME_LENGTH, MAX_PHONE_NUMBER_LENGTH, } from './patientService';
|
|
5
5
|
export { getVisitTypes, checkIfActiveVisitExists, createVisitForPatient, getActiveVisitByPatient, type VisitType, type VisitTypes, type VisitData, type ActiveVisit, } from './visitService';
|
|
6
|
-
export { searchAppointmentsByAttribute, updateAppointmentStatus, getAppointmentById, getUpcomingAppointments, getPastAppointments, getUpcomingAppointmentsPage, getPastAppointmentsPage, type AppointmentPage, getAllAppointmentServices, deleteAppointmentService, APPOINTMENT_STATUSES, APPOINTMENT_IDENTIFIER_SYSTEM, type AppointmentService, } from './appointmentService';
|
|
6
|
+
export { searchAppointmentsByAttribute, updateAppointmentStatus, getAppointmentById, getUpcomingAppointments, getPastAppointments, getUpcomingAppointmentsPage, getPastAppointmentsPage, type AppointmentPage, getAllAppointmentServices, deleteAppointmentService, getAppointmentUnavailabilities, createAppointmentUnavailability, APPOINTMENT_STATUSES, APPOINTMENT_IDENTIFIER_SYSTEM, type AppointmentService, type AppointmentUnavailability, type CreateUnavailabilityRequest, } from './appointmentService';
|
|
7
7
|
export { getFormattedError } from './errorHandling';
|
|
8
8
|
export { capitalize, generateId, generateUUID, getCookieByName, deleteCookie, setCookie, isStringEmpty, getPriorityByOrder, groupByDate, filterReplacementEntries, refreshQueries, parseQueryParams, formatUrl, getValueType, camelToScreamingSnakeCase, convertToSentenceCase, resolveComboBoxItems, } from './utils';
|
|
9
|
-
export { type FormatDateResult, calculateAge, formatDateTime, formatDateDistance, calculateOnsetDate, sortByDate, DEFAULT_DATE_FORMAT, DEFAULT_DATE_FORMAT_STORAGE_KEY, DEFAULT_TIME_FORMAT, getTodayDate, getFormattedAge, DURATION_UNIT_TO_DAYS, calculateEndDate, doDateRangesOverlap, } from './date';
|
|
9
|
+
export { type FormatDateResult, calculateAge, formatDateTime, formatDateDistance, calculateOnsetDate, sortByDate, DEFAULT_DATE_FORMAT, DEFAULT_DATE_FORMAT_STORAGE_KEY, DEFAULT_TIME_FORMAT, ISO_DATE_FORMAT, getTodayDate, getFormattedAge, DURATION_UNIT_TO_DAYS, calculateEndDate, doDateRangesOverlap, convertTo24HourFormat, getTimeInMinutes, } from './date';
|
|
10
10
|
export { type Notification, notificationService } from './notification';
|
|
11
11
|
export { type FormattedAllergy, AllergyStatus, AllergySeverity, type AllergenType, getAllergies, getFormattedAllergies, fetchAndFormatAllergenConcepts, fetchReactionConcepts, } from './allergyService';
|
|
12
12
|
export { getConditions, getConditionPage, markConditionAsInactive, type ConditionPage, type ConditionInputEntry, } from './conditionService';
|
|
@@ -22,7 +22,7 @@ export { getConfig } from './configService';
|
|
|
22
22
|
export { getCurrentUser, getUserLoginLocation, getAvailableLocations, getDefaultDateFormat, logout, saveUserLocation, updateSessionLocation, type User, type UserLocation, BAHMNI_USER_LOCATION_COOKIE, } from './userService';
|
|
23
23
|
export { USER_PINNED_PREFERENCE_URL } from './observationFormsService/constants';
|
|
24
24
|
export { getPatientObservationsBundle, getPatientObservationsWithEncounterBundle, getPatientObservations, } from './observationService';
|
|
25
|
-
export { getCurrentProvider, type Provider, type Person, } from './providerService';
|
|
25
|
+
export { getCurrentProvider, fetchAllProviders, getProviderLoginLocations, type Provider, type Person, } from './providerService';
|
|
26
26
|
export { findActiveEncounterInSession, resolveEncounterMatchDecision, canResumeOwnInSessionEncounter, type EncounterMatchDecision, type MatchReasonCode, MATCH_REASON_MESSAGES, CONSULTATION_ENCOUNTER_TYPE_UUID, useEncounterSessionStore, setEncounterSessionDecision, setEncounterSessionLoading, resetEncounterSession, subscribeEncounterSession, getEncounterSessionSnapshot, type EncounterSessionState, } from './encounterSessionService';
|
|
27
27
|
export { getActiveVisit, shouldEnableEncounterFilter, getObservationsBundleByEncounterUuid, type FormsEncounter, } from './encounterService';
|
|
28
28
|
export { getEncountersAndVisitsForEOC, type EpisodeOfCareDataType, } from './episodeOfCareService';
|
|
@@ -34,13 +34,14 @@ export { fetchObservationForms, fetchFormMetadata, transformFormDataToObservatio
|
|
|
34
34
|
export { getVitalFlowSheetData, type VitalFlowSheetData, type VitalFlowSheetConceptDetail, } from './vitalFlowSheetService';
|
|
35
35
|
export { getServiceRequests } from './orderRequestService';
|
|
36
36
|
export { getPatientPrograms, getPatientProgramsPage, getProgramByUUID, getCurrentStateName, extractAttributes, updateProgramState, type ProgramPage, type ProgramEnrollment, type PatientProgramsResponse, } from './programService';
|
|
37
|
-
export { dispatchConsultationSaved, useSubscribeConsultationSaved, CONSULTATION_SAVED_EVENT, type ConsultationSavedEventPayload, } from './events
|
|
37
|
+
export { dispatchConsultationSaved, useSubscribeConsultationSaved, CONSULTATION_SAVED_EVENT, type ConsultationSavedEventPayload, dispatchCDSSCheck, dispatchCDSSResults, useCDSSCheckListener, useCDSSResultsListener, CDSS_CHECK_EVENT, CDSS_RESULTS_EVENT, type CDSSCheckEventDetail, type CDSSResultsEventDetail, } from './events';
|
|
38
38
|
export { getDocumentReferences, getFormattedDocumentReferences, getDocumentReferencePage, type DocumentReferencePage, type DocumentViewModel, type DocumentReference, } from './documentReferenceService';
|
|
39
|
-
export { getLocationByTag, type Location, type ChildLocation, } from './locationService';
|
|
39
|
+
export { getLocationByTag, getFHIRLocationsByTag, type Location, type ChildLocation, } from './locationService';
|
|
40
40
|
export { getPatientImmunizations } from './immunizationService';
|
|
41
41
|
export type { ImmunizationStatus } from './immunizationService';
|
|
42
42
|
export { uploadDocument } from './documentUploadService';
|
|
43
43
|
export type { DocumentUploadResponse, ProcessedFileData, } from './documentUploadService';
|
|
44
44
|
export { fetchModuleExtensions, getExtensionsByPoint, filterByPrivilege, filterByOnlineStatus, sortByOrder, getVisibleModules, type Module, } from './moduleService';
|
|
45
45
|
export { getAvailableStocks, type AvailableStockResponse, } from './inventoryService';
|
|
46
|
+
export { invokeCDSSRule, filterCdsCardsForItems, type CDSSRule, type CDSCard, type CDSSEventDetail, type CDSSServerConfig, } from './cdssService';
|
|
46
47
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EACL,WAAW,EACX,cAAc,EACd,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EACL,cAAc,EACd,uBAAuB,EACvB,uBAAu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