@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
|
@@ -36,6 +36,10 @@ export declare const AUDIT_LOG_EVENT_DETAILS: {
|
|
|
36
36
|
message: string;
|
|
37
37
|
module: "MODULE_LABEL_REGISTRATION_KEY";
|
|
38
38
|
};
|
|
39
|
+
VIEWED_RADIOLOGY_RESULTS: {
|
|
40
|
+
eventType: string;
|
|
41
|
+
message: string;
|
|
42
|
+
};
|
|
39
43
|
};
|
|
40
44
|
export declare const AUDIT_LOG_URL: string;
|
|
41
45
|
export declare const AUDIT_LOG_ERROR_MESSAGES: {
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCnC,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';
|
|
11
|
+
export type AuditEventType = 'VIEWED_CLINICAL_DASHBOARD' | 'EDIT_ENCOUNTER' | 'VIEWED_REGISTRATION_PATIENT_SEARCH' | 'VIEWED_RADIOLOGY_RESULTS';
|
|
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,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,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export { get, post, put, del } from './api';
|
|
2
2
|
export { initAppI18n, useTranslation, normalizeTranslationKey, getUserPreferredLocale, } from './i18n';
|
|
3
3
|
export { useCamera } from './cameraService';
|
|
4
|
-
export { getPatientById, getFormattedPatientById, searchPatientByNameOrId, searchPatientByCustomAttribute, getIdentifierTypes, getPrimaryIdentifierType, createPatient, updatePatient,
|
|
4
|
+
export { getPatientById, getFormattedPatientById, searchPatientByNameOrId, searchPatientByCustomAttribute, getIdentifierTypes, getPrimaryIdentifierType, createPatient, updatePatient, getIdentifierData, getGenders, getAddressHierarchyEntries, getOrderedAddressHierarchyLevels, getPatientImageAsDataUrl, 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, AttributeFormat, AttributeInputType, getInputTypeForFormat, isBooleanFormat, isConceptFormat, isNumberFormat, isDateFormat, isTextFormat, MAX_PATIENT_AGE_YEARS, MAX_NAME_LENGTH, MAX_PHONE_NUMBER_LENGTH, } from './patientService';
|
|
5
|
+
export { getVisitTypes, checkIfActiveVisitExists, createVisitForPatient, getActiveVisitByPatient, type VisitType, type VisitTypes, type VisitData, type ActiveVisit, } from './visitService';
|
|
5
6
|
export { searchAppointmentsByAttribute, updateAppointmentStatus, getAppointmentById, } from './AppointmentService/appointmmetService';
|
|
6
7
|
export { type Appointment, type AppointmentSearchResult, type Patient, type AppointmentService, type Location, type Reason, } from './AppointmentService/models';
|
|
7
8
|
export { getFormattedError } from './errorHandling';
|
|
@@ -13,9 +14,9 @@ export { getConditions, type ConditionInputEntry } from './conditionService';
|
|
|
13
14
|
export { getPatientDiagnoses, type Diagnosis, type DiagnosisInputEntry, type DiagnosesByDate, } from './diagnosesService';
|
|
14
15
|
export { searchConcepts, searchFHIRConcepts, searchFHIRConceptsByName, getConceptById, type ConceptSearch, type ConceptClass, } from './conceptService';
|
|
15
16
|
export { getPatientMedications, getPatientMedicationBundle, type FormattedMedicationRequest, type MedicationRequest, MedicationStatus, } from './medicationRequestService';
|
|
16
|
-
export { getPatientRadiologyInvestigations,
|
|
17
|
+
export { getPatientRadiologyInvestigations, getPatientRadiologyInvestigationBundle, getPatientRadiologyInvestigationBundleWithImagingStudy, } from './radiologyInvestigationService';
|
|
17
18
|
export { getPatientLabInvestigations, groupLabTestsByDate, formatLabTests, type FormattedLabTest, LabTestPriority, type LabTestsByDate, } from './labInvestigationService';
|
|
18
|
-
export { getFlattenedInvestigations, getOrderTypes, type FlattenedInvestigations, type OrderType, type OrderTypeResponse, ORDER_TYPE_QUERY_KEY, } from './investigationService';
|
|
19
|
+
export { getFlattenedInvestigations, getOrderTypes, getCategoryUuidFromOrderTypes, type FlattenedInvestigations, type OrderType, type OrderTypeResponse, ORDER_TYPE_QUERY_KEY, } from './investigationService';
|
|
19
20
|
export { getClinicalConfig, getDashboardConfig, getMedicationConfig, getRegistrationConfig, type ClinicalConfig, type DashboardConfig, type MedicationJSONConfig, type DashboardSectionConfig, type Dashboard, type Frequency, type RegistrationConfig, type PatientSearchConfig, type PatientSearchField, type PatientInformationConfig, type SearchActionConfig, type ControlConfig, type AppExtensionConfig, type ExtensionPoint, } from './configService';
|
|
20
21
|
export { getCurrentUser, getUserLoginLocation, type User } from './userService';
|
|
21
22
|
export { USER_PINNED_PREFERENCE_URL } from './observationFormsService/constants';
|
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,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5C,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,uBAAuB,EACvB,8BAA8B,EAC9B,kBAAkB,EAClB,wBAAwB,EACxB,aAAa,EACb,aAAa,EACb,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5C,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,uBAAuB,EACvB,8BAA8B,EAC9B,kBAAkB,EAClB,wBAAwB,EACxB,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,UAAU,EACV,0BAA0B,EAC1B,gCAAgC,EAChC,wBAAwB,EACxB,iBAAiB,EACjB,uBAAuB,EACvB,oBAAoB,EACpB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,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,EAC3B,eAAe,EACf,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,qBAAqB,EACrB,eAAe,EACf,uBAAuB,GACxB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,aAAa,EACb,wBAAwB,EACxB,qBAAqB,EACrB,uBAAuB,EACvB,KAAK,SAAS,EACd,KAAK,UAAU,EACf,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