@bahmni/services 0.0.1-dev.91 → 0.0.1-dev.96
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/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2059 -2030
- package/dist/investigationService/index.d.ts +1 -1
- package/dist/investigationService/index.d.ts.map +1 -1
- package/dist/investigationService/investigationService.d.ts +1 -0
- package/dist/investigationService/investigationService.d.ts.map +1 -1
- package/dist/orderRequestService/constants.d.ts +1 -1
- package/dist/orderRequestService/constants.d.ts.map +1 -1
- package/dist/orderRequestService/orderRequestService.d.ts +3 -2
- package/dist/orderRequestService/orderRequestService.d.ts.map +1 -1
- package/dist/patientService/constants.d.ts +0 -4
- package/dist/patientService/constants.d.ts.map +1 -1
- package/dist/patientService/index.d.ts +2 -2
- package/dist/patientService/index.d.ts.map +1 -1
- package/dist/patientService/models.d.ts +0 -14
- package/dist/patientService/models.d.ts.map +1 -1
- package/dist/patientService/patientService.d.ts +1 -24
- package/dist/patientService/patientService.d.ts.map +1 -1
- package/dist/radiologyInvestigationService/__mocks__/mocks.d.ts +8 -15
- package/dist/radiologyInvestigationService/__mocks__/mocks.d.ts.map +1 -1
- package/dist/radiologyInvestigationService/index.d.ts +1 -2
- package/dist/radiologyInvestigationService/index.d.ts.map +1 -1
- package/dist/radiologyInvestigationService/radiologyInvestigationService.d.ts +20 -2
- package/dist/radiologyInvestigationService/radiologyInvestigationService.d.ts.map +1 -1
- package/dist/visitService/constants.d.ts +5 -0
- package/dist/visitService/constants.d.ts.map +1 -0
- package/dist/visitService/index.d.ts +3 -0
- package/dist/visitService/index.d.ts.map +1 -0
- package/dist/visitService/models.d.ts +19 -0
- package/dist/visitService/models.d.ts.map +1 -0
- package/dist/visitService/visitService.d.ts +29 -0
- package/dist/visitService/visitService.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/radiologyInvestigationService/models.d.ts +0 -13
- package/dist/radiologyInvestigationService/models.d.ts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { getFlattenedInvestigations, getOrderTypes, } from './investigationService';
|
|
1
|
+
export { getFlattenedInvestigations, getOrderTypes, getCategoryUuidFromOrderTypes, } from './investigationService';
|
|
2
2
|
export { type FlattenedInvestigations, type OrderType, type OrderTypeResponse, } from './model';
|
|
3
3
|
export { ORDER_TYPE_QUERY_KEY } from './constants';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/investigationService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/investigationService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,aAAa,EACb,6BAA6B,GAC9B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,SAAS,EACd,KAAK,iBAAiB,GACvB,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FlattenedInvestigations, OrderTypeResponse } from './model';
|
|
2
2
|
export declare const getOrderTypes: () => Promise<OrderTypeResponse>;
|
|
3
3
|
export declare const getFlattenedInvestigations: () => Promise<FlattenedInvestigations[]>;
|
|
4
|
+
export declare const getCategoryUuidFromOrderTypes: (categoryName: string | undefined) => Promise<string | undefined>;
|
|
4
5
|
//# sourceMappingURL=investigationService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"investigationService.d.ts","sourceRoot":"","sources":["../../src/investigationService/investigationService.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,uBAAuB,EAAa,iBAAiB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"investigationService.d.ts","sourceRoot":"","sources":["../../src/investigationService/investigationService.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,uBAAuB,EAAa,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAOhF,eAAO,MAAM,aAAa,QAAa,OAAO,CAAC,iBAAiB,CAE/D,CAAC;AA+EF,eAAO,MAAM,0BAA0B,QAAa,OAAO,CACzD,uBAAuB,EAAE,CAK1B,CAAC;AAEF,eAAO,MAAM,6BAA6B,GACxC,cAAc,MAAM,GAAG,SAAS,KAC/B,OAAO,CAAC,MAAM,GAAG,SAAS,CAO5B,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const SERVICE_REQUESTS_URL: (category: string, patientUuid: string, encounterUuids?: string, numberOfVisits?: number) => string;
|
|
1
|
+
export declare const SERVICE_REQUESTS_URL: (category: string, patientUuid: string, encounterUuids?: string, numberOfVisits?: number, revinclude?: string) => string;
|
|
2
2
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/orderRequestService/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,GAC/B,UAAU,MAAM,EAChB,aAAa,MAAM,EACnB,iBAAiB,MAAM,EACvB,iBAAiB,MAAM,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/orderRequestService/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,GAC/B,UAAU,MAAM,EAChB,aAAa,MAAM,EACnB,iBAAiB,MAAM,EACvB,iBAAiB,MAAM,EACvB,aAAa,MAAM,WAgBpB,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { Bundle, ServiceRequest } from 'fhir/r4';
|
|
1
|
+
import { Bundle, ServiceRequest, Resource } from 'fhir/r4';
|
|
2
2
|
/**
|
|
3
3
|
* Fetches service requests from the FHIR R4 endpoint
|
|
4
4
|
* @param category - Optional category UUID to filter by
|
|
5
5
|
* @param patientUuid - Patient UUID to filter by
|
|
6
6
|
* @param encounterUuids - Optional encounter UUIDs to filter by
|
|
7
7
|
* @param numberOfVisits
|
|
8
|
+
* @param revinclude - Optional _revinclude parameter for related resources
|
|
8
9
|
* @returns Promise resolving to ServiceRequest Bundle
|
|
9
10
|
*/
|
|
10
|
-
export declare function getServiceRequests(category: string, patientUuid: string, encounterUuids?: string[], numberOfVisits?: number): Promise<Bundle<
|
|
11
|
+
export declare function getServiceRequests<T extends Resource = ServiceRequest>(category: string, patientUuid: string, encounterUuids?: string[], numberOfVisits?: number, revinclude?: string): Promise<Bundle<T>>;
|
|
11
12
|
//# sourceMappingURL=orderRequestService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orderRequestService.d.ts","sourceRoot":"","sources":["../../src/orderRequestService/orderRequestService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"orderRequestService.d.ts","sourceRoot":"","sources":["../../src/orderRequestService/orderRequestService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAIhE;;;;;;;;GAQG;AACH,wBAAsB,kBAAkB,CAAC,CAAC,SAAS,QAAQ,GAAG,cAAc,EAC1E,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,cAAc,CAAC,EAAE,MAAM,EAAE,EACzB,cAAc,CAAC,EAAE,MAAM,EACvB,UAAU,CAAC,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAgBpB"}
|
|
@@ -8,9 +8,6 @@ export declare const PRIMARY_IDENTIFIER_TYPE_PROPERTY = "bahmni.primaryIdentifie
|
|
|
8
8
|
export declare const CREATE_PATIENT_URL: string;
|
|
9
9
|
export declare const UPDATE_PATIENT_URL: (patientUuid: string) => string;
|
|
10
10
|
export declare const GET_PATIENT_PROFILE_URL: (patientUuid: string) => string;
|
|
11
|
-
export declare const CREATE_VISIT_URL: string;
|
|
12
|
-
export declare const GET_ACTIVE_VISIT_URL: (patientUuid: string) => string;
|
|
13
|
-
export declare const GET_VISIT_LOCATION: (loginLocation: string) => string;
|
|
14
11
|
export declare const ADDRESS_HIERARCHY_URL: (addressField: string, searchString: string, limit?: number, parentUuid?: string) => string;
|
|
15
12
|
export declare const ORDERED_ADDRESS_HIERARCHY_URL = "/openmrs/module/addresshierarchy/ajax/getOrderedAddressHierarchyLevels.form";
|
|
16
13
|
export declare const RELATIONSHIP_TYPES_URL: string;
|
|
@@ -24,7 +21,6 @@ export declare const MAX_PATIENT_AGE_YEARS = 120;
|
|
|
24
21
|
export declare const MAX_NAME_LENGTH = 50;
|
|
25
22
|
export declare const MAX_PHONE_NUMBER_LENGTH = 15;
|
|
26
23
|
export declare const UUID_PATTERN: RegExp;
|
|
27
|
-
export declare const VISIT_TYPES_URL: () => string;
|
|
28
24
|
export declare const PATIENT_IMAGE_URL: (patientUuid: string) => string;
|
|
29
25
|
export declare const PERSON_ATTRIBUTE_TYPES_URL: string;
|
|
30
26
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/patientService/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AA+ChF,eAAO,MAAM,oBAAoB,GAAI,aAAa,MAAM,WACX,CAAC;AAE9C,eAAO,MAAM,yBAAyB,GACpC,YAAY,MAAM,EAClB,mBAAmB,MAAM,EACzB,kBAAkB,kBAAkB,EAAE,WAy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eAAO,MAAM,qBAAqB,GAChC,cAAc,MAAM,EACpB,cAAc,MAAM,EACpB,QAAO,MAAW,EAClB,aAAa,MAAM,WAOpB,CAAC;AAEF,eAAO,MAAM,6BAA6B,gFAAgF,CAAC;AAE3H,eAAO,MAAM,sBAAsB,QACkC,CAAC;AAGtE,eAAO,MAAM,+BAA+B,KAAK,CAAC;AAClD,eAAO,MAAM,mCAAmC,IAAI,CAAC;AACrD,eAAO,MAAM,yBAAyB,IAAI,CAAC;AAC3C,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,aAAa,MAAM,CAAC;AACjC,eAAO,MAAM,uBAAuB,QAA2C,CAAC;AAGhF,eAAO,MAAM,qBAAqB,MAAM,CAAC;AACzC,eAAO,MAAM,eAAe,KAAK,CAAC;AAClC,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAC1C,eAAO,MAAM,YAAY,QAAqB,CAAC;AAE/C,eAAO,MAAM,iBAAiB,GAAI,aAAa,MAAM,WACS,CAAC;AAE/D,eAAO,MAAM,0BAA0B,QAE+E,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { getPatientById, getFormattedPatientById, searchPatientByNameOrId, searchPatientByCustomAttribute, getIdentifierTypes, getPrimaryIdentifierType, createPatient, updatePatient,
|
|
2
|
-
export { type FormattedPatientData, type PatientSearchResultBundle, type PatientSearchResult, type IdentifierSource, type IdentifierType, type IdentifierTypesResponse, type CreatePatientRequest, type CreatePatientResponse, type
|
|
1
|
+
export { getPatientById, getFormattedPatientById, searchPatientByNameOrId, searchPatientByCustomAttribute, getIdentifierTypes, getPrimaryIdentifierType, createPatient, updatePatient, getIdentifierData, getGenders, getAddressHierarchyEntries, getOrderedAddressHierarchyLevels, getPatientImageAsDataUrl, getPatientProfile, getRelationshipTypes, getPersonAttributeTypes, } from './patientService';
|
|
2
|
+
export { type FormattedPatientData, type PatientSearchResultBundle, type PatientSearchResult, 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, } from './models';
|
|
3
3
|
export { AttributeFormat, AttributeInputType, getInputTypeForFormat, isBooleanFormat, isConceptFormat, isNumberFormat, isDateFormat, isTextFormat, } from './attributeFormatMapper';
|
|
4
4
|
export { MAX_PATIENT_AGE_YEARS, MAX_NAME_LENGTH, MAX_PHONE_NUMBER_LENGTH, } from './constants';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/patientService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,uBAAuB,EACvB,uBAAuB,EACvB,8BAA8B,EAC9B,kBAAkB,EAClB,wBAAwB,EACxB,aAAa,EACb,aAAa,EACb,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/patientService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,uBAAuB,EACvB,uBAAuB,EACvB,8BAA8B,EAC9B,kBAAkB,EAClB,wBAAwB,EACxB,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,UAAU,EACV,0BAA0B,EAC1B,gCAAgC,EAChC,wBAAwB,EACxB,iBAAiB,EACjB,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,4BAA4B,EACjC,KAAK,aAAa,EAClB,KAAK,sBAAsB,GAC5B,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,cAAc,EACd,YAAY,EACZ,YAAY,GACb,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,uBAAuB,GACxB,MAAM,aAAa,CAAC"}
|
|
@@ -134,20 +134,6 @@ export interface OrderedAddressHierarchyLevel {
|
|
|
134
134
|
required: boolean;
|
|
135
135
|
}
|
|
136
136
|
export type OrderedAddressHierarchyLevels = OrderedAddressHierarchyLevel[];
|
|
137
|
-
export interface VisitType {
|
|
138
|
-
visitTypes: Record<string, string>;
|
|
139
|
-
}
|
|
140
|
-
export interface VisitData {
|
|
141
|
-
patient: string;
|
|
142
|
-
visitType: string;
|
|
143
|
-
location: string;
|
|
144
|
-
}
|
|
145
|
-
export interface VisitLocationResponse {
|
|
146
|
-
uuid: string;
|
|
147
|
-
}
|
|
148
|
-
export interface ActiveVisit {
|
|
149
|
-
results: string[];
|
|
150
|
-
}
|
|
151
137
|
export interface AppointmentSearchResult extends PatientSearchResult {
|
|
152
138
|
appointmentNumber?: string;
|
|
153
139
|
appointmentDate?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/patientService/models.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,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M,WAAW,MAAM;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC,CAAC;CACJ;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,CAAC,EAAE,KAAK,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC;YACZ,aAAa,CAAC,EAAE,MAAM,CAAC;SACxB,CAAC,CAAC;KACJ,CAAC;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC,CAAC;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Patient } from 'fhir/r4';
|
|
2
2
|
import { PatientSearchField } from '../configService/models/registrationConfig';
|
|
3
|
-
import { FormattedPatientData, PatientSearchResultBundle, IdentifierTypesResponse, CreatePatientRequest, CreatePatientResponse, AddressHierarchyEntry,
|
|
3
|
+
import { FormattedPatientData, PatientSearchResultBundle, IdentifierTypesResponse, CreatePatientRequest, CreatePatientResponse, AddressHierarchyEntry, OrderedAddressHierarchyLevels, PatientProfileResponse, PersonAttributeTypesResponse } from './models';
|
|
4
4
|
export declare const getPatientById: (patientUUID: string) => Promise<Patient>;
|
|
5
5
|
/**
|
|
6
6
|
* Format patient's full name from FHIR patient data
|
|
@@ -103,29 +103,6 @@ export declare const getGenders: () => Promise<Record<string, string>>;
|
|
|
103
103
|
* @returns Promise<AddressHierarchyEntry[]> - Array of address hierarchy entries with parent information
|
|
104
104
|
*/
|
|
105
105
|
export declare const getAddressHierarchyEntries: (addressField: string, searchString: string, limit?: number, parentUuid?: string) => Promise<AddressHierarchyEntry[]>;
|
|
106
|
-
/**
|
|
107
|
-
* Fetches visit types from Bahmni configuration
|
|
108
|
-
* @returns Promise<VisitType> - Visit types response
|
|
109
|
-
*/
|
|
110
|
-
export declare const getVisitTypes: () => Promise<VisitType>;
|
|
111
|
-
/**
|
|
112
|
-
* Create a new visit for a patient
|
|
113
|
-
* @param visitData - The visit data including patient UUID, visit type, and location
|
|
114
|
-
* @returns Promise<unknown> - The created visit object
|
|
115
|
-
*/
|
|
116
|
-
export declare const createVisit: (visitData: VisitData) => Promise<string>;
|
|
117
|
-
/**
|
|
118
|
-
* Get active visits for a patient
|
|
119
|
-
* @param patientUuid - The UUID of the patient
|
|
120
|
-
* @returns Promise<ActiveVisit> - The active visit data
|
|
121
|
-
*/
|
|
122
|
-
export declare const getActiveVisitByPatient: (patientUuid: string) => Promise<ActiveVisit>;
|
|
123
|
-
/**
|
|
124
|
-
* Get visit location UUID for a given login location
|
|
125
|
-
* @param loginLocation - The login location UUID
|
|
126
|
-
* @returns Promise<VisitLocationResponse> - The visit location details including UUID
|
|
127
|
-
*/
|
|
128
|
-
export declare const getVisitLocationUUID: (loginLocation: string) => Promise<VisitLocationResponse>;
|
|
129
106
|
/**
|
|
130
107
|
* Get ordered address hierarchy levels from OpenMRS
|
|
131
108
|
* Returns the configured order of address fields as defined in the system
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patientService.d.ts","sourceRoot":"","sources":["../../src/patientService/patientService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAGlC,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"patientService.d.ts","sourceRoot":"","sources":["../../src/patientService/patientService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAGlC,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAuBhF,OAAO,EACL,oBAAoB,EACpB,yBAAyB,EACzB,uBAAuB,EAEvB,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,6BAA6B,EAC7B,sBAAsB,EACtB,4BAA4B,EAE7B,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,cAAc,GAAU,aAAa,MAAM,KAAG,OAAO,CAAC,OAAO,CAUzE,CAAC;AAuBF;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,GAAI,SAAS,OAAO,KAAG,MAAM,GAAG,IAc7D,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,GAC/B,UAAU,WAAW,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,KAC3C,MAAM,GAAG,IAkBX,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,GAC/B,UAAU,WAAW,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,KAC3C,MAAM,GAAG,IAMX,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,GAAI,SAAS,OAAO,KAAG,oBAmCpD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,GAClC,aAAa,MAAM,KAClB,OAAO,CAAC,oBAAoB,CAG9B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,GACnC,aAAa,MAAM,KAClB,OAAO,CAAC,MAAM,GAAG,IAAI,CA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CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,QACjC,OAAO,CAAC,6BAA6B,CAE9C,CAAC;AAEJ,eAAO,MAAM,iBAAiB,GAC5B,aAAa,MAAM,KAClB,OAAO,CAAC,sBAAsB,CAEhC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,QAAa,OAAO,CACnD,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAkBxD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,QACxB,OAAO,CAAC,4BAA4B,CAE7C,CAAC"}
|
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
import { Bundle, ServiceRequest } from 'fhir/r4';
|
|
2
|
-
import { RadiologyInvestigation } from '../models';
|
|
1
|
+
import { Bundle, ServiceRequest, ImagingStudy } from 'fhir/r4';
|
|
3
2
|
export declare const mockPatientUUID = "c81876c3-b464-486a-9ebf-20eea9431fb1";
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const mockRadiologyInvestigationReplaced: RadiologyInvestigation;
|
|
12
|
-
export declare const mockRadiologyInvestigationStandalone: RadiologyInvestigation;
|
|
13
|
-
export declare const mockRadiologyInvestigationsForFiltering: RadiologyInvestigation[];
|
|
14
|
-
export declare const mockRadiologyInvestigationWithMultipleReplaces: RadiologyInvestigation;
|
|
15
|
-
export declare const mockRadiologyChainReplacement: RadiologyInvestigation[];
|
|
16
|
-
export declare const createMockRadiologyInvestigation: (id: string, testName: string, priority: string, replaces?: string[]) => RadiologyInvestigation;
|
|
3
|
+
export declare const mockPatientIdentifier = "PA000001";
|
|
4
|
+
export declare const mockRadiologyInvestigations: ServiceRequest[];
|
|
5
|
+
export declare const mockRadiologyInvestigationBundle: Bundle;
|
|
6
|
+
export declare const mockEmptyRadiologyInvestigationBundle: Bundle;
|
|
7
|
+
export declare const mockMalformedBundle: Bundle;
|
|
8
|
+
export declare const mockImagingStudies: ImagingStudy[];
|
|
9
|
+
export declare const mockRadiologyInvestigationBundleWithImagingStudy: Bundle<ServiceRequest | ImagingStudy>;
|
|
17
10
|
//# sourceMappingURL=mocks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mocks.d.ts","sourceRoot":"","sources":["../../../src/radiologyInvestigationService/__mocks__/mocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"mocks.d.ts","sourceRoot":"","sources":["../../../src/radiologyInvestigationService/__mocks__/mocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAG/D,eAAO,MAAM,eAAe,yCAAyC,CAAC;AACtE,eAAO,MAAM,qBAAqB,aAAa,CAAC;AAGhD,eAAO,MAAM,2BAA2B,EAAE,cAAc,EAkMvD,CAAC;AAGF,eAAO,MAAM,gCAAgC,EAAE,MAkB9C,CAAC;AAEF,eAAO,MAAM,qCAAqC,EAAE,MAKnD,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,MAcjC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,YAAY,EA2D5C,CAAC;AAEF,eAAO,MAAM,gDAAgD,EAAE,MAAM,CACnE,cAAc,GAAG,YAAY,CAyB9B,CAAC"}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export { getPatientRadiologyInvestigations } from './radiologyInvestigationService';
|
|
2
|
-
export { type RadiologyInvestigation } from './models';
|
|
1
|
+
export { getPatientRadiologyInvestigations, getPatientRadiologyInvestigationBundle, getPatientRadiologyInvestigationBundleWithImagingStudy, } from './radiologyInvestigationService';
|
|
3
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/radiologyInvestigationService/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/radiologyInvestigationService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EACjC,sCAAsC,EACtC,sDAAsD,GACvD,MAAM,iCAAiC,CAAC"}
|
|
@@ -1,4 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bundle, ServiceRequest, ImagingStudy } from 'fhir/r4';
|
|
2
|
+
/**
|
|
3
|
+
* Fetches radiology investigations for a given patient UUID from the FHIR R4 endpoint
|
|
4
|
+
* @param patientUUID - The UUID of the patient
|
|
5
|
+
* @param category - The category of the investigations
|
|
6
|
+
* @param encounterUuids - Optional array of encounter UUIDs to filter the investigations
|
|
7
|
+
* @param numberOfVisits - Optional number of visits to consider
|
|
8
|
+
* @returns Promise resolving to a Bundle containing radiology investigations
|
|
9
|
+
*/
|
|
10
|
+
export declare function getPatientRadiologyInvestigationBundle(patientUUID: string, category: string, encounterUuids?: string[], numberOfVisits?: number): Promise<Bundle<ServiceRequest>>;
|
|
11
|
+
/**
|
|
12
|
+
* Fetches radiology investigations bundle with ImagingStudy resources included
|
|
13
|
+
* @param patientUUID - The UUID of the patient
|
|
14
|
+
* @param category - The category of the investigations
|
|
15
|
+
* @param encounterUuids - Optional array of encounter UUIDs to filter the investigations
|
|
16
|
+
* @param numberOfVisits - Optional number of visits to consider
|
|
17
|
+
* @returns Promise resolving to a Bundle containing both ServiceRequest and ImagingStudy resources
|
|
18
|
+
*/
|
|
19
|
+
export declare function getPatientRadiologyInvestigationBundleWithImagingStudy(patientUUID: string, category: string, encounterUuids?: string[], numberOfVisits?: number): Promise<Bundle<ServiceRequest | ImagingStudy>>;
|
|
2
20
|
/**
|
|
3
21
|
* Fetches and formats radiology investigations for a given patient UUID
|
|
4
22
|
* @param patientUUID - The UUID of the patient
|
|
@@ -7,5 +25,5 @@ import { RadiologyInvestigation } from './models';
|
|
|
7
25
|
* @param numberOfVisits
|
|
8
26
|
* @returns Promise resolving to an array of radiology investigations
|
|
9
27
|
*/
|
|
10
|
-
export declare function getPatientRadiologyInvestigations(patientUUID: string, category: string, encounterUuids?: string[], numberOfVisits?: number): Promise<
|
|
28
|
+
export declare function getPatientRadiologyInvestigations(patientUUID: string, category: string, encounterUuids?: string[], numberOfVisits?: number): Promise<ServiceRequest[]>;
|
|
11
29
|
//# sourceMappingURL=radiologyInvestigationService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radiologyInvestigationService.d.ts","sourceRoot":"","sources":["../../src/radiologyInvestigationService/radiologyInvestigationService.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"radiologyInvestigationService.d.ts","sourceRoot":"","sources":["../../src/radiologyInvestigationService/radiologyInvestigationService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAG/D;;;;;;;GAOG;AACH,wBAAsB,sCAAsC,CAC1D,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,cAAc,CAAC,EAAE,MAAM,EAAE,EACzB,cAAc,CAAC,EAAE,MAAM,GACtB,OAAO,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,CAOjC;AAED;;;;;;;GAOG;AACH,wBAAsB,sDAAsD,CAC1E,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,cAAc,CAAC,EAAE,MAAM,EAAE,EACzB,cAAc,CAAC,EAAE,MAAM,GACtB,OAAO,CAAC,MAAM,CAAC,cAAc,GAAG,YAAY,CAAC,CAAC,CAQhD;AAED;;;;;;;GAOG;AACH,wBAAsB,iCAAiC,CACrD,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,cAAc,CAAC,EAAE,MAAM,EAAE,EACzB,cAAc,CAAC,EAAE,MAAM,GACtB,OAAO,CAAC,cAAc,EAAE,CAAC,CAY3B"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const VISIT_TYPES_URL: () => string;
|
|
2
|
+
export declare const CREATE_VISIT_URL: string;
|
|
3
|
+
export declare const GET_ACTIVE_VISIT_URL: (patientUuid: string) => string;
|
|
4
|
+
export declare const GET_VISIT_LOCATION: (loginLocation: string) => string;
|
|
5
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/visitService/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,cAE8C,CAAC;AAE3E,eAAO,MAAM,gBAAgB,QAA6B,CAAC;AAE3D,eAAO,MAAM,oBAAoB,GAAI,aAAa,MAAM,WAEoD,CAAC;AAE7G,eAAO,MAAM,kBAAkB,GAAI,eAAe,MAAM,WACQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/visitService/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC9E,OAAO,EACL,aAAa,EACb,wBAAwB,EACxB,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface VisitType {
|
|
2
|
+
name: string;
|
|
3
|
+
uuid: string;
|
|
4
|
+
}
|
|
5
|
+
export interface VisitTypes {
|
|
6
|
+
visitTypes: Record<string, string>;
|
|
7
|
+
}
|
|
8
|
+
export interface VisitData {
|
|
9
|
+
patient: string;
|
|
10
|
+
visitType: string;
|
|
11
|
+
location: string;
|
|
12
|
+
}
|
|
13
|
+
export interface VisitLocationResponse {
|
|
14
|
+
uuid: string;
|
|
15
|
+
}
|
|
16
|
+
export interface ActiveVisit {
|
|
17
|
+
results: string[];
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=models.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/visitService/models.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACpC;AAED,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ActiveVisit, VisitType, VisitTypes } from './models';
|
|
2
|
+
/**
|
|
3
|
+
* Fetches visit types from Bahmni configuration
|
|
4
|
+
* @returns Promise<VisitTypes> - Visit types response with name-uuid mapping
|
|
5
|
+
*/
|
|
6
|
+
export declare const getVisitTypes: () => Promise<VisitTypes>;
|
|
7
|
+
/**
|
|
8
|
+
* Get active visits for a patient
|
|
9
|
+
* @param patientUuid - The UUID of the patient
|
|
10
|
+
* @returns Promise<{results: Array<{uuid: string}>}> - The active visit data
|
|
11
|
+
*/
|
|
12
|
+
export declare const getActiveVisitByPatient: (patientUuid: string) => Promise<ActiveVisit>;
|
|
13
|
+
/**
|
|
14
|
+
* Checks if a patient has an active visit
|
|
15
|
+
* @param patientUuid - The UUID of the patient
|
|
16
|
+
* @returns Promise<boolean> - True if patient has an active visit, false otherwise
|
|
17
|
+
*/
|
|
18
|
+
export declare const checkIfActiveVisitExists: (patientUuid: string) => Promise<boolean>;
|
|
19
|
+
/**
|
|
20
|
+
* Creates a new visit for a patient with the specified visit type
|
|
21
|
+
* Automatically sets the visit location based on the user's login location
|
|
22
|
+
* Fetches the correct visit location UUID from Bahmni's visitLocation endpoint
|
|
23
|
+
* Dispatches an audit event after successful visit creation
|
|
24
|
+
* @param patientUuid - The UUID of the patient
|
|
25
|
+
* @param visitType - The visit type object containing name and uuid
|
|
26
|
+
* @returns Promise<string> - The created visit UUID
|
|
27
|
+
*/
|
|
28
|
+
export declare const createVisitForPatient: (patientUuid: string, visitType: VisitType) => Promise<string>;
|
|
29
|
+
//# sourceMappingURL=visitService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visitService.d.ts","sourceRoot":"","sources":["../../src/visitService/visitService.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACV,WAAW,EAGX,SAAS,EACT,UAAU,EACX,MAAM,UAAU,CAAC;AAElB;;;GAGG;AACH,eAAO,MAAM,aAAa,QAAa,OAAO,CAAC,UAAU,CAExD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,GAClC,aAAa,MAAM,KAClB,OAAO,CAAC,WAAW,CAErB,CAAC;AAsBF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,GACnC,aAAa,MAAM,KAClB,OAAO,CAAC,OAAO,CAGjB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,GAChC,aAAa,MAAM,EACnB,WAAW,SAAS,oBAsBrB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Interface for formatted radiology investigation data for display purposes
|
|
3
|
-
*/
|
|
4
|
-
export interface RadiologyInvestigation {
|
|
5
|
-
id: string;
|
|
6
|
-
testName: string;
|
|
7
|
-
priority: string;
|
|
8
|
-
orderedBy: string;
|
|
9
|
-
orderedDate: string;
|
|
10
|
-
replaces?: string[];
|
|
11
|
-
note?: string;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=models.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/radiologyInvestigationService/models.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
|