@bahmni/services 0.0.1-dev.170 → 0.0.1-dev.173

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.
Files changed (41) hide show
  1. package/dist/AppointmentService/appointmmetService.d.ts.map +1 -1
  2. package/dist/configService/__mocks__/configMocks.d.ts +131 -179
  3. package/dist/configService/__mocks__/configMocks.d.ts.map +1 -1
  4. package/dist/configService/configService.d.ts +7 -26
  5. package/dist/configService/configService.d.ts.map +1 -1
  6. package/dist/configService/constants.d.ts +0 -12
  7. package/dist/configService/constants.d.ts.map +1 -1
  8. package/dist/configService/index.d.ts +1 -2
  9. package/dist/configService/index.d.ts.map +1 -1
  10. package/dist/documentReferenceService/constants.d.ts +2 -0
  11. package/dist/documentReferenceService/constants.d.ts.map +1 -0
  12. package/dist/documentReferenceService/documentReferenceService.d.ts +19 -0
  13. package/dist/documentReferenceService/documentReferenceService.d.ts.map +1 -0
  14. package/dist/documentReferenceService/index.d.ts +4 -0
  15. package/dist/documentReferenceService/index.d.ts.map +1 -0
  16. package/dist/documentReferenceService/models.d.ts +13 -0
  17. package/dist/documentReferenceService/models.d.ts.map +1 -0
  18. package/dist/index.d.ts +3 -2
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +3558 -3591
  21. package/dist/patientService/constants.d.ts +1 -1
  22. package/dist/patientService/constants.d.ts.map +1 -1
  23. package/dist/patientService/index.d.ts +1 -1
  24. package/dist/patientService/index.d.ts.map +1 -1
  25. package/dist/patientService/models.d.ts +31 -0
  26. package/dist/patientService/models.d.ts.map +1 -1
  27. package/dist/patientService/patientService.d.ts +1 -2
  28. package/dist/patientService/patientService.d.ts.map +1 -1
  29. package/package.json +1 -1
  30. package/dist/configService/models/config.d.ts +0 -35
  31. package/dist/configService/models/config.d.ts.map +0 -1
  32. package/dist/configService/models/dashboardConfig.d.ts +0 -15
  33. package/dist/configService/models/dashboardConfig.d.ts.map +0 -1
  34. package/dist/configService/models/registrationConfig.d.ts +0 -109
  35. package/dist/configService/models/registrationConfig.d.ts.map +0 -1
  36. package/dist/configService/models.d.ts +0 -5
  37. package/dist/configService/models.d.ts.map +0 -1
  38. package/dist/configService/schemas/clinicalConfig.schema.json.d.ts +0 -124
  39. package/dist/configService/schemas/dashboardConfig.schema.json.d.ts +0 -57
  40. package/dist/configService/schemas/medicationConfig.schema.json.d.ts +0 -40
  41. package/dist/configService/schemas/registrationConfig.schema.json.d.ts +0 -406
@@ -1 +1 @@
1
- {"version":3,"file":"appointmmetService.d.ts","sourceRoot":"","sources":["../../src/AppointmentService/appointmmetService.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,eAAO,MAAM,6BAA6B,GACxC,aAAa,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAClC,OAAO,CAAC,WAAW,EAAE,CAMvB,CAAC;AAyEF,eAAO,MAAM,uBAAuB,GAClC,aAAa,MAAM,KAClB,OAAO,CAAC,WAAW,EAAE,CAKvB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC9B,aAAa,MAAM,KAClB,OAAO,CAAC,WAAW,EAAE,CAKvB,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAClC,iBAAiB,MAAM,EACvB,UAAU,MAAM,EAChB,SAAS,IAAI,KACZ,OAAO,CAAC,WAAW,CAMrB,CAAC;AAEF,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAE3E"}
1
+ {"version":3,"file":"appointmmetService.d.ts","sourceRoot":"","sources":["../../src/AppointmentService/appointmmetService.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,eAAO,MAAM,6BAA6B,GACxC,aAAa,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAClC,OAAO,CAAC,WAAW,EAAE,CAMvB,CAAC;AAyEF,eAAO,MAAM,uBAAuB,GAClC,aAAa,MAAM,KAClB,OAAO,CAAC,WAAW,EAAE,CAKvB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC9B,aAAa,MAAM,KAClB,OAAO,CAAC,WAAW,EAAE,CAKvB,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAClC,iBAAiB,MAAM,EACvB,UAAU,MAAM,EAChB,SAAS,IAAI,KACZ,OAAO,CAAC,WAAW,CAMrB,CAAC;AAEF,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAE3E"}
@@ -1,196 +1,148 @@
1
- import { DashboardConfig } from '../models';
2
- export declare const validFullClinicalConfig: {
3
- patientInformation: {
4
- displayPatientIdentifiers: boolean;
5
- showPatientPhoto: boolean;
6
- additionalAttributes: string[];
7
- };
8
- contextInformation: {
9
- program: {
10
- fields: string[];
1
+ export declare const mockVitalSignsSchema: {
2
+ $schema: string;
3
+ title: string;
4
+ description: string;
5
+ type: string;
6
+ required: string[];
7
+ additionalProperties: boolean;
8
+ properties: {
9
+ vitalSigns: {
10
+ type: string;
11
+ description: string;
12
+ minItems: number;
13
+ items: {
14
+ type: string;
15
+ required: string[];
16
+ additionalProperties: boolean;
17
+ properties: {
18
+ name: {
19
+ type: string;
20
+ description: string;
21
+ minLength: number;
22
+ };
23
+ conceptUuid: {
24
+ type: string;
25
+ description: string;
26
+ pattern: string;
27
+ };
28
+ unit: {
29
+ type: string;
30
+ description: string;
31
+ minLength: number;
32
+ };
33
+ dataType: {
34
+ type: string;
35
+ description: string;
36
+ enum: string[];
37
+ };
38
+ normalRange: {
39
+ type: string;
40
+ description: string;
41
+ additionalProperties: boolean;
42
+ properties: {
43
+ min: {
44
+ type: string;
45
+ description: string;
46
+ };
47
+ max: {
48
+ type: string;
49
+ description: string;
50
+ };
51
+ };
52
+ };
53
+ mandatory: {
54
+ type: string;
55
+ description: string;
56
+ };
57
+ };
58
+ };
11
59
  };
12
- };
13
- actions: {
14
- name: string;
15
- url: string;
16
- icon: string;
17
- requiredPrivilege: string;
18
- }[];
19
- dashboards: ({
20
- name: string;
21
- url: string;
22
- requiredPrivileges: string[];
23
- icon: string;
24
- default: boolean;
25
- } | {
26
- name: string;
27
- url: string;
28
- requiredPrivileges: string[];
29
- icon: string;
30
- default?: undefined;
31
- })[];
32
- consultationPad: {
33
- allergyConceptMap: {
34
- medicationAllergenUuid: string;
35
- foodAllergenUuid: string;
36
- environmentalAllergenUuid: string;
37
- allergyReactionUuid: string;
60
+ captureFrequency: {
61
+ type: string;
62
+ description: string;
63
+ required: string[];
64
+ additionalProperties: boolean;
65
+ properties: {
66
+ defaultInterval: {
67
+ type: string;
68
+ description: string;
69
+ minimum: number;
70
+ };
71
+ unit: {
72
+ type: string;
73
+ description: string;
74
+ enum: string[];
75
+ };
76
+ allowCustom: {
77
+ type: string;
78
+ description: string;
79
+ };
80
+ };
38
81
  };
39
- };
40
- };
41
- export declare const minimalClinicalConfig: {
42
- patientInformation: {};
43
- actions: never[];
44
- dashboards: {
45
- name: string;
46
- url: string;
47
- requiredPrivileges: string[];
48
- }[];
49
- consultationPad: {
50
- allergyConceptMap: {
51
- medicationAllergenUuid: string;
52
- foodAllergenUuid: string;
53
- environmentalAllergenUuid: string;
54
- allergyReactionUuid: string;
82
+ alertThresholds: {
83
+ type: string;
84
+ description: string;
85
+ required: string[];
86
+ additionalProperties: boolean;
87
+ properties: {
88
+ enabled: {
89
+ type: string;
90
+ description: string;
91
+ };
92
+ notificationMethod: {
93
+ type: string;
94
+ description: string;
95
+ items: {
96
+ type: string;
97
+ enum: string[];
98
+ };
99
+ };
100
+ };
55
101
  };
56
102
  };
57
103
  };
58
- export declare const mixedClinicalConfig: {
59
- patientInformation: {
60
- displayPatientIdentifiers: boolean;
61
- };
62
- actions: {
104
+ export declare const mockValidVitalSignsConfig: {
105
+ vitalSigns: {
63
106
  name: string;
64
- url: string;
65
- requiredPrivilege: string;
66
- }[];
67
- dashboards: ({
68
- name: string;
69
- url: string;
70
- requiredPrivileges: string[];
71
- icon?: undefined;
72
- default?: undefined;
73
- } | {
74
- name: string;
75
- url: string;
76
- requiredPrivileges: string[];
77
- icon: string;
78
- default: boolean;
79
- })[];
80
- consultationPad: {
81
- allergyConceptMap: {
82
- medicationAllergenUuid: string;
83
- foodAllergenUuid: string;
84
- environmentalAllergenUuid: string;
85
- allergyReactionUuid: string;
107
+ conceptUuid: string;
108
+ unit: string;
109
+ dataType: string;
110
+ normalRange: {
111
+ min: number;
112
+ max: number;
86
113
  };
87
- };
88
- };
89
- export declare const invalidClinicalConfig: {
90
- patientInformation: {};
91
- otherProperty: string;
92
- };
93
- export declare const emptyResponse: null;
94
- export declare const malformedJsonResponse = "{invalid-json}";
95
- export declare const largeConfig: {
96
- patientInformation: {
97
- displayPatientIdentifiers: boolean;
98
- showPatientPhoto: boolean;
99
- additionalAttributes: string[];
100
- };
101
- actions: {
102
- name: string;
103
- url: string;
104
- icon: string;
105
- requiredPrivilege: string;
114
+ mandatory: boolean;
106
115
  }[];
107
- dashboards: {
108
- name: string;
109
- url: string;
110
- requiredPrivileges: string[];
111
- icon: string;
112
- default: boolean;
113
- }[];
114
- consultationPad: {
115
- allergyConceptMap: {
116
- medicationAllergenUuid: string;
117
- foodAllergenUuid: string;
118
- environmentalAllergenUuid: string;
119
- allergyReactionUuid: string;
120
- };
116
+ captureFrequency: {
117
+ defaultInterval: number;
118
+ unit: string;
119
+ allowCustom: boolean;
121
120
  };
122
- };
123
- export declare const allOptionalFieldsConfig: {
124
- patientInformation: {
125
- displayPatientIdentifiers: boolean;
126
- showPatientPhoto: boolean;
127
- additionalAttributes: string[];
128
- customSections: {
129
- name: string;
130
- attributes: string[];
131
- }[];
121
+ alertThresholds: {
122
+ enabled: boolean;
123
+ notificationMethod: string[];
132
124
  };
133
- actions: {
134
- name: string;
135
- url: string;
136
- icon: string;
137
- requiredPrivilege: string;
138
- order: number;
139
- type: string;
140
- additionalParams: {
141
- color: string;
142
- size: string;
143
- showInHeader: boolean;
144
- };
145
- }[];
146
- dashboards: {
125
+ };
126
+ export declare const mockInvalidVitalSignsConfig: {
127
+ vitalSigns: {
147
128
  name: string;
148
- url: string;
149
- requiredPrivileges: string[];
150
- icon: string;
151
- default: boolean;
152
- order: number;
153
- displayName: string;
154
- description: string;
155
- config: {
156
- refreshInterval: number;
157
- layout: string;
158
- maxItems: number;
129
+ conceptUuid: string;
130
+ unit: string;
131
+ dataType: string;
132
+ normalRange: {
133
+ min: number;
134
+ max: number;
159
135
  };
136
+ extraField: string;
160
137
  }[];
161
- consultationPad: {
162
- allergyConceptMap: {
163
- medicationAllergenUuid: string;
164
- foodAllergenUuid: string;
165
- environmentalAllergenUuid: string;
166
- allergyReactionUuid: string;
167
- };
138
+ captureFrequency: {
139
+ defaultInterval: number;
140
+ unit: string;
168
141
  };
169
- };
170
- export declare const validDashboardConfig: DashboardConfig;
171
- export declare const validRegistrationConfig: {
172
- patientSearch: {
173
- customAttributes: {
174
- translationKey: string;
175
- fields: string[];
176
- columnTranslationKeys: string[];
177
- type: string;
178
- }[];
142
+ alertThresholds: {
143
+ enabled: string;
144
+ notificationMethod: string[];
179
145
  };
180
- };
181
- export declare const invalidDashboardConfig: {
182
- sections: ({
183
- id: string;
184
- icon: string;
185
- translationKey: string;
186
- controls: never[];
187
- name?: undefined;
188
- } | {
189
- id: string;
190
- name: string;
191
- icon: string;
192
- controls: never[];
193
- translationKey?: undefined;
194
- })[];
146
+ unexpectedProperty: string;
195
147
  };
196
148
  //# sourceMappingURL=configMocks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"configMocks.d.ts","sourceRoot":"","sources":["../../../src/configService/__mocks__/configMocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAG5C,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DnC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;CAkBjC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiC/B,CAAC;AAGF,eAAO,MAAM,qBAAqB;;;CAMjC,CAAC;AAEF,eAAO,MAAM,aAAa,MAAO,CAAC;AAElC,eAAO,MAAM,qBAAqB,mBAAmB,CAAC;AAGtD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBvB,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwDnC,CAAC;AA0BF,eAAO,MAAM,oBAAoB,EAAE,eAelC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;CAwCnC,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;CAelC,CAAC"}
1
+ {"version":3,"file":"configMocks.d.ts","sourceRoot":"","sources":["../../../src/configService/__mocks__/configMocks.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwGhC,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;CA6CrC,CAAC;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;CAuBvC,CAAC"}
@@ -1,31 +1,12 @@
1
- import { ClinicalConfig, DashboardConfig, MedicationJSONConfig, RegistrationConfig } from './models';
2
1
  /**
3
- * Fetches and validates clinical app configuration from the server
2
+ * Fetches and validates configuration from a URL against a JSON schema.
4
3
  *
5
- * @returns Validated configuration object or null if invalid/error
6
- * @throws Error if fetch fails or validation fails
7
- */
8
- export declare const getClinicalConfig: <T extends ClinicalConfig>() => Promise<T | null>;
9
- /**
10
- * Fetches and validates dashboard configuration from the server
11
- *
12
- * @param dashboardURL - URL path to fetch the dashboard configuration
13
- * @returns Validated configuration object or null if invalid/error
14
- * @throws Error if fetch fails or validation fails
15
- */
16
- export declare const getDashboardConfig: <T extends DashboardConfig>(dashboardURL: string) => Promise<T | null>;
17
- /**
18
- * Fetches and validates medication configuration from the server
19
- *
20
- * @returns Validated medication configuration object or null if invalid/error
21
- * @throws Error if fetch fails or validation fails
22
- */
23
- export declare const getMedicationConfig: () => Promise<MedicationJSONConfig | null>;
24
- /**
25
- * Fetches and validates registration configuration from the server
4
+ * @param configPath - URL path to fetch the configuration
5
+ * @param configSchema - JSON schema for validation
6
+ * @returns Validated configuration object
26
7
  *
27
- * @returns Validated registration configuration object or null if invalid/error
28
- * @throws Error if fetch fails or validation fails
8
+ * @example
9
+ * const config = await getConfig<MyConfig>(url, schema);
29
10
  */
30
- export declare const getRegistrationConfig: () => Promise<RegistrationConfig | null>;
11
+ export declare const getConfig: <T>(configPath: string, configSchema: Record<string, unknown>) => Promise<T>;
31
12
  //# sourceMappingURL=configService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"configService.d.ts","sourceRoot":"","sources":["../../src/configService/configService.ts"],"names":[],"mappings":"AAcA,OAAO,EACL,cAAc,EACd,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAMlB;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,GAC5B,CAAC,SAAS,cAAc,OACrB,OAAO,CAAC,CAAC,GAAG,IAAI,CAEpB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,GAAU,CAAC,SAAS,eAAe,EAChE,cAAc,MAAM,KACnB,OAAO,CAAC,CAAC,GAAG,IAAI,CAmBlB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,QACpB,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAK5C,CAAC;AAEJ;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,QACtB,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAK1C,CAAC"}
1
+ {"version":3,"file":"configService.d.ts","sourceRoot":"","sources":["../../src/configService/configService.ts"],"names":[],"mappings":"AAIA;;;;;;;;;GASG;AACH,eAAO,MAAM,SAAS,GAAU,CAAC,EAC/B,YAAY,MAAM,EAClB,cAAc,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KACpC,OAAO,CAAC,CAAC,CAYX,CAAC"}
@@ -1,10 +1,3 @@
1
- export declare const CLINICAL_V2_CONFIG_BASE_URL = "/bahmni_config/openmrs/apps/clinical/v2";
2
- export declare const REGISTRATION_CONFIG_BASE_URL = "/bahmni_config/openmrs/apps/registration/v2";
3
- export declare const CONFIG_TRANSLATIONS_URL_TEMPLATE: (lang: string) => string;
4
- export declare const CLINICAL_CONFIG_URL: string;
5
- export declare const REGISTRATION_CONFIG_URL: string;
6
- export declare const MEDICATIONS_CONFIG_URL: string;
7
- export declare const DASHBOARD_CONFIG_URL: (dashboardURL: string) => string;
8
1
  /**
9
2
  * Configuration-related error messages
10
3
  * Used for consistent error handling across the application
@@ -14,9 +7,4 @@ export declare const ERROR_MESSAGES: {
14
7
  VALIDATION_FAILED: string;
15
8
  SCHEMA_VALIDATION_FAILED: string;
16
9
  };
17
- export declare const ERROR_TITLES: {
18
- CONFIG_ERROR: string;
19
- VALIDATION_ERROR: string;
20
- DASHBOARD_ERROR: string;
21
- };
22
10
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/configService/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,4CACG,CAAC;AAE5C,eAAO,MAAM,4BAA4B,gDACM,CAAC;AAEhD,eAAO,MAAM,gCAAgC,GAAI,MAAM,MAAM,WACD,CAAC;AAC7D,eAAO,MAAM,mBAAmB,QAA4C,CAAC;AAC7E,eAAO,MAAM,uBAAuB,QACQ,CAAC;AAC7C,eAAO,MAAM,sBAAsB,QACe,CAAC;AACnD,eAAO,MAAM,oBAAoB,GAAI,cAAc,MAAM,WACI,CAAC;AAE9D;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;CAI1B,CAAC;AAEF,eAAO,MAAM,YAAY;;;;CAIxB,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/configService/constants.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;CAI1B,CAAC"}
@@ -1,3 +1,2 @@
1
- export { getClinicalConfig, getDashboardConfig, getMedicationConfig, getRegistrationConfig, } from './configService';
2
- export { type ClinicalConfig, type DashboardConfig, type MedicationJSONConfig, type DashboardSectionConfig, type ControlConfig, type Dashboard, type Frequency, type RegistrationConfig, type PatientSearchConfig, type PatientSearchField, type PatientInformationConfig, type SearchActionConfig, type AppExtensionConfig, type ExtensionPoint, } from './models';
1
+ export { getConfig } from './configService';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/configService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,cAAc,GACpB,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/configService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const PATIENT_DOCUMENT_REFERENCES_URL: (patientUuid: string, encounterUuids?: string[]) => string;
2
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/documentReferenceService/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,+BAA+B,GAC1C,aAAa,MAAM,EACnB,iBAAiB,MAAM,EAAE,KACxB,MAOF,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { Bundle, DocumentReference } from 'fhir/r4';
2
+ import { DocumentViewModel } from './models';
3
+ /**
4
+ * Fetches patient documents from the FHIR DocumentReference endpoint
5
+ * Documents are sorted by date (latest first)
6
+ * @param patientUuid - The UUID of the patient to fetch documents for
7
+ * @param encounterUuids - Optional array of encounter UUIDs to filter documents
8
+ * @returns Promise resolving to a FHIR Bundle containing DocumentReference resources
9
+ */
10
+ export declare function getDocumentReferences(patientUuid: string, encounterUuids?: string[]): Promise<Bundle<DocumentReference>>;
11
+ /**
12
+ * Fetches and formats patient documents from the FHIR DocumentReference endpoint
13
+ * Documents are sorted by date (latest first) and transformed to DocumentViewModel
14
+ * @param patientUuid - The UUID of the patient to fetch documents for
15
+ * @param encounterUuids - Optional array of encounter UUIDs to filter documents
16
+ * @returns Promise resolving to an array of formatted DocumentViewModel objects
17
+ */
18
+ export declare function getFormattedDocumentReferences(patientUuid: string, encounterUuids?: string[]): Promise<DocumentViewModel[]>;
19
+ //# sourceMappingURL=documentReferenceService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"documentReferenceService.d.ts","sourceRoot":"","sources":["../../src/documentReferenceService/documentReferenceService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAGpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AA+B7C;;;;;;GAMG;AACH,wBAAsB,qBAAqB,CACzC,WAAW,EAAE,MAAM,EACnB,cAAc,CAAC,EAAE,MAAM,EAAE,GACxB,OAAO,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAGpC;AAED;;;;;;GAMG;AACH,wBAAsB,8BAA8B,CAClD,WAAW,EAAE,MAAM,EACnB,cAAc,CAAC,EAAE,MAAM,EAAE,GACxB,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAM9B"}
@@ -0,0 +1,4 @@
1
+ export { getDocumentReferences, getFormattedDocumentReferences, } from './documentReferenceService';
2
+ export type { DocumentViewModel } from './models';
3
+ export type { DocumentReference } from 'fhir/r4';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/documentReferenceService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,8BAA8B,GAC/B,MAAM,4BAA4B,CAAC;AACpC,YAAY,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAClD,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Interface representing a formatted document for easier consumption by components
3
+ */
4
+ export interface DocumentViewModel {
5
+ readonly id: string;
6
+ readonly documentIdentifier: string;
7
+ readonly documentType?: string;
8
+ readonly uploadedOn: string;
9
+ readonly uploadedBy?: string;
10
+ readonly contentType?: string;
11
+ readonly documentUrl: string;
12
+ }
13
+ //# sourceMappingURL=models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/documentReferenceService/models.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B"}
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { get, post, put, patch, 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, 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';
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, 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
6
  export { searchAppointmentsByAttribute, updateAppointmentStatus, getAppointmentById, getUpcomingAppointments, getPastAppointments, } from './AppointmentService/appointmmetService';
7
7
  export { type Appointment, type AppointmentSearchResult, type Patient, type AppointmentService, type Location, type Reason, } from './AppointmentService/models';
@@ -18,7 +18,7 @@ export { getPatientRadiologyInvestigations, getPatientRadiologyInvestigationBund
18
18
  export { getLabInvestigationsBundle } from './labInvestigationService';
19
19
  export { getDiagnosticReports, getDiagnosticReportBundle, PROCESSED_REPORT_STATUSES, PENDING_REPORT_STATUSES, updateDiagnosticReportBundle, } from './diagnosticReportService';
20
20
  export { getFlattenedInvestigations, getOrderTypes, getCategoryUuidFromOrderTypes, getOrderTypeNames, getExistingServiceRequestsForAllCategories, type ExistingServiceRequest, type FlattenedInvestigations, type OrderType, type OrderTypeResponse, ORDER_TYPE_QUERY_KEY, } from './investigationService';
21
- 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';
21
+ export { getConfig } from './configService';
22
22
  export { getCurrentUser, getUserLoginLocation, type User } from './userService';
23
23
  export { USER_PINNED_PREFERENCE_URL } from './observationFormsService/constants';
24
24
  export { getPatientObservationsBundle, getPatientObservationsWithEncounterBundle, getPatientObservations, } from './observationService';
@@ -35,4 +35,5 @@ export { getVitalFlowSheetData, type VitalFlowSheetData, type VitalFlowSheetConc
35
35
  export { getServiceRequests } from './orderRequestService';
36
36
  export { getPatientPrograms, getProgramByUUID, getCurrentStateName, extractAttributes, updateProgramState, type ProgramEnrollment, type PatientProgramsResponse, } from './programService';
37
37
  export { dispatchConsultationSaved, useSubscribeConsultationSaved, CONSULTATION_SAVED_EVENT, type ConsultationSavedEventPayload, } from './events/consultationEvents';
38
+ export { getDocumentReferences, getFormattedDocumentReferences, type DocumentViewModel, type DocumentReference, } from './documentReferenceService';
38
39
  //# sourceMappingURL=index.d.ts.map
@@ -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,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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