@bahmni/services 0.0.1-dev.204 → 0.0.1-dev.208

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 (30) hide show
  1. package/dist/conditionService/conditionService.d.ts +13 -0
  2. package/dist/conditionService/conditionService.d.ts.map +1 -1
  3. package/dist/conditionService/constants.d.ts +1 -0
  4. package/dist/conditionService/constants.d.ts.map +1 -1
  5. package/dist/conditionService/index.d.ts +1 -1
  6. package/dist/conditionService/index.d.ts.map +1 -1
  7. package/dist/diagnosesService/constants.d.ts +1 -0
  8. package/dist/diagnosesService/constants.d.ts.map +1 -1
  9. package/dist/diagnosesService/diagnosesService.d.ts +14 -0
  10. package/dist/diagnosesService/diagnosesService.d.ts.map +1 -1
  11. package/dist/diagnosesService/index.d.ts +1 -1
  12. package/dist/diagnosesService/index.d.ts.map +1 -1
  13. package/dist/documentReferenceService/constants.d.ts +1 -1
  14. package/dist/documentReferenceService/constants.d.ts.map +1 -1
  15. package/dist/documentReferenceService/documentReferenceService.d.ts +17 -2
  16. package/dist/documentReferenceService/documentReferenceService.d.ts.map +1 -1
  17. package/dist/documentReferenceService/index.d.ts +1 -1
  18. package/dist/documentReferenceService/index.d.ts.map +1 -1
  19. package/dist/index.d.ts +4 -4
  20. package/dist/index.d.ts.map +1 -1
  21. package/dist/index.js +1551 -1505
  22. package/dist/programService/constants.d.ts +1 -0
  23. package/dist/programService/constants.d.ts.map +1 -1
  24. package/dist/programService/index.d.ts +1 -1
  25. package/dist/programService/index.d.ts.map +1 -1
  26. package/dist/programService/model.d.ts +1 -0
  27. package/dist/programService/model.d.ts.map +1 -1
  28. package/dist/programService/programService.d.ts +13 -0
  29. package/dist/programService/programService.d.ts.map +1 -1
  30. package/package.json +1 -1
@@ -11,4 +11,17 @@ export declare function getConditionsBundle(patientUUID: string): Promise<Bundle
11
11
  * @returns Promise resolving to an array of conditions
12
12
  */
13
13
  export declare function getConditions(patientUUID: string): Promise<Condition[]>;
14
+ export interface ConditionPage {
15
+ conditions: Condition[];
16
+ total: number | undefined;
17
+ }
18
+ /**
19
+ * Fetches a single page of conditions using offset-based pagination.
20
+ * Uses _getpagesoffset = (page - 1) * count to jump directly to any page.
21
+ * @param patientUUID - The UUID of the patient
22
+ * @param count - Number of items per page (default 10)
23
+ * @param page - 1-based page number (default 1)
24
+ * @returns Promise resolving to a ConditionPage with conditions and total count
25
+ */
26
+ export declare function getConditionPage(patientUUID: string, count?: number, page?: number): Promise<ConditionPage>;
14
27
  //# sourceMappingURL=conditionService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"conditionService.d.ts","sourceRoot":"","sources":["../../src/conditionService/conditionService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAK5C;;;;GAIG;AACH,wBAAsB,mBAAmB,CACvC,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,CAAC,CAEjB;AAED;;;;GAIG;AACH,wBAAsB,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAQ7E"}
1
+ {"version":3,"file":"conditionService.d.ts","sourceRoot":"","sources":["../../src/conditionService/conditionService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAO5C;;;;GAIG;AACH,wBAAsB,mBAAmB,CACvC,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,CAAC,CAEjB;AAED;;;;GAIG;AACH,wBAAsB,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAQ7E;AAED,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AAED;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,MAAM,EACnB,KAAK,GAAE,MAAW,EAClB,IAAI,GAAE,MAAU,GACf,OAAO,CAAC,aAAa,CAAC,CAaxB"}
@@ -1,2 +1,3 @@
1
1
  export declare const PATIENT_CONDITION_RESOURCE_URL: (patientUUID: string) => string;
2
+ export declare const PATIENT_CONDITION_PAGE_URL: (patientUUID: string, count?: number, offset?: number) => string;
2
3
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/conditionService/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,8BAA8B,GAAI,aAAa,MAAM,WAEoD,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/conditionService/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,8BAA8B,GAAI,aAAa,MAAM,WAEoD,CAAC;AAGvH,eAAO,MAAM,0BAA0B,GACrC,aAAa,MAAM,EACnB,QAAO,MAAW,EAClB,SAAQ,MAAU,WAGiI,CAAC"}
@@ -1,3 +1,3 @@
1
- export { getConditions } from './conditionService';
1
+ export { getConditions, getConditionPage, type ConditionPage, } from './conditionService';
2
2
  export { type ConditionInputEntry } from './models';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/conditionService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/conditionService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,gBAAgB,EAChB,KAAK,aAAa,GACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { Coding } from 'fhir/r4';
2
2
  export declare const PATIENT_DIAGNOSIS_RESOURCE_URL: (patientUUID: string) => string;
3
+ export declare const PATIENT_DIAGNOSIS_PAGE_URL: (patientUUID: string, count?: number, offset?: number) => string;
3
4
  export declare const CERTAINITY_CONCEPTS: Coding[];
4
5
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/diagnosesService/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAIjC,eAAO,MAAM,8BAA8B,GAAI,aAAa,MAAM,WAEoD,CAAC;AAEvH,eAAO,MAAM,mBAAmB,EAAE,MAAM,EAWvC,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/diagnosesService/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAKjC,eAAO,MAAM,8BAA8B,GAAI,aAAa,MAAM,WAEoD,CAAC;AAGvH,eAAO,MAAM,0BAA0B,GACrC,aAAa,MAAM,EACnB,QAAO,MAAW,EAClB,SAAQ,MAAU,WAGiI,CAAC;AAEtJ,eAAO,MAAM,mBAAmB,EAAE,MAAM,EAWvC,CAAC"}
@@ -5,4 +5,18 @@ import { Diagnosis } from './models';
5
5
  * @returns Promise resolving to an array of deduplicated diagnoses
6
6
  */
7
7
  export declare function getPatientDiagnoses(patientUUID: string): Promise<Diagnosis[]>;
8
+ export interface DiagnosisPage {
9
+ diagnoses: Diagnosis[];
10
+ total: number | undefined;
11
+ }
12
+ /**
13
+ * Fetches a single page of diagnoses using offset-based pagination.
14
+ * Uses _getpagesoffset = (page - 1) * count to jump directly to any page.
15
+ * No per-page deduplication — cross-page dedup is not possible with server-side pagination.
16
+ * @param patientUUID - The UUID of the patient
17
+ * @param count - Number of items per page (default 10)
18
+ * @param page - 1-based page number (default 1)
19
+ * @returns Promise resolving to a DiagnosisPage with diagnoses and total count
20
+ */
21
+ export declare function getDiagnosesPage(patientUUID: string, count?: number, page?: number): Promise<DiagnosisPage>;
8
22
  //# sourceMappingURL=diagnosesService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"diagnosesService.d.ts","sourceRoot":"","sources":["../../src/diagnosesService/diagnosesService.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AA0GrC;;;;GAIG;AACH,wBAAsB,mBAAmB,CACvC,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,SAAS,EAAE,CAAC,CAItB"}
1
+ {"version":3,"file":"diagnosesService.d.ts","sourceRoot":"","sources":["../../src/diagnosesService/diagnosesService.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAgHrC;;;;GAIG;AACH,wBAAsB,mBAAmB,CACvC,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,SAAS,EAAE,CAAC,CAItB;AAED,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,SAAS,EAAE,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AAED;;;;;;;;GAQG;AACH,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,MAAM,EACnB,KAAK,GAAE,MAAW,EAClB,IAAI,GAAE,MAAU,GACf,OAAO,CAAC,aAAa,CAAC,CAcxB"}
@@ -1,3 +1,3 @@
1
- export { getPatientDiagnoses } from './diagnosesService';
1
+ export { getPatientDiagnoses, getDiagnosesPage, type DiagnosisPage, } from './diagnosesService';
2
2
  export { type Diagnosis, type DiagnosisInputEntry, type DiagnosesByDate, } from './models';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/diagnosesService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EACL,KAAK,SAAS,EACd,KAAK,mBAAmB,EACxB,KAAK,eAAe,GACrB,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/diagnosesService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,KAAK,aAAa,GACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,SAAS,EACd,KAAK,mBAAmB,EACxB,KAAK,eAAe,GACrB,MAAM,UAAU,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const PATIENT_DOCUMENT_REFERENCES_URL: (patientUuid: string, encounterUuids?: string[]) => string;
1
+ export declare const PATIENT_DOCUMENT_REFERENCES_URL: (patientUuid: string, encounterUuids?: string[], count?: number, offset?: number) => string;
2
2
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +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"}
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,EACzB,QAAO,MAAY,EACnB,SAAQ,MAAU,KACjB,MAMF,CAAC"}
@@ -2,7 +2,7 @@ import { Bundle, DocumentReference } from 'fhir/r4';
2
2
  import { DocumentViewModel } from './models';
3
3
  /**
4
4
  * Fetches patient documents from the FHIR DocumentReference endpoint
5
- * Documents are sorted by date (latest first)
5
+ * The request includes _sort=-date; actual ordering depends on server support.
6
6
  * @param patientUuid - The UUID of the patient to fetch documents for
7
7
  * @param encounterUuids - Optional array of encounter UUIDs to filter documents
8
8
  * @returns Promise resolving to a FHIR Bundle containing DocumentReference resources
@@ -10,10 +10,25 @@ import { DocumentViewModel } from './models';
10
10
  export declare function getDocumentReferences(patientUuid: string, encounterUuids?: string[]): Promise<Bundle<DocumentReference>>;
11
11
  /**
12
12
  * Fetches and formats patient documents from the FHIR DocumentReference endpoint
13
- * Documents are sorted by date (latest first) and transformed to DocumentViewModel
13
+ * Returns documents transformed to DocumentViewModel; consumers are responsible
14
+ * for client-side sorting where server-side _sort=-date is unsupported.
14
15
  * @param patientUuid - The UUID of the patient to fetch documents for
15
16
  * @param encounterUuids - Optional array of encounter UUIDs to filter documents
16
17
  * @returns Promise resolving to an array of formatted DocumentViewModel objects
17
18
  */
18
19
  export declare function getFormattedDocumentReferences(patientUuid: string, encounterUuids?: string[]): Promise<DocumentViewModel[]>;
20
+ export interface DocumentReferencePage {
21
+ documents: DocumentViewModel[];
22
+ total: number;
23
+ }
24
+ /**
25
+ * Fetches a single page of patient documents using offset-based pagination.
26
+ * Uses _getpagesoffset = (page - 1) * count to jump directly to any page.
27
+ * @param patientUuid - The UUID of the patient to fetch documents for
28
+ * @param encounterUuids - Optional array of encounter UUIDs to filter documents
29
+ * @param count - Number of items per page (default 10)
30
+ * @param page - 1-based page number (default 1)
31
+ * @returns Promise resolving to a DocumentReferencePage with documents and total count
32
+ */
33
+ export declare function getDocumentReferencePage(patientUuid: string, encounterUuids?: string[], count?: number, page?: number): Promise<DocumentReferencePage>;
19
34
  //# sourceMappingURL=documentReferenceService.d.ts.map
@@ -1 +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;AAsC7C;;;;;;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"}
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;AAsC7C;;;;;;GAMG;AACH,wBAAsB,qBAAqB,CACzC,WAAW,EAAE,MAAM,EACnB,cAAc,CAAC,EAAE,MAAM,EAAE,GACxB,OAAO,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAGpC;AAED;;;;;;;GAOG;AACH,wBAAsB,8BAA8B,CAClD,WAAW,EAAE,MAAM,EACnB,cAAc,CAAC,EAAE,MAAM,EAAE,GACxB,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAM9B;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;GAQG;AACH,wBAAsB,wBAAwB,CAC5C,WAAW,EAAE,MAAM,EACnB,cAAc,CAAC,EAAE,MAAM,EAAE,EACzB,KAAK,GAAE,MAAW,EAClB,IAAI,GAAE,MAAU,GACf,OAAO,CAAC,qBAAqB,CAAC,CAkBhC"}
@@ -1,4 +1,4 @@
1
- export { getDocumentReferences, getFormattedDocumentReferences, } from './documentReferenceService';
1
+ export { getDocumentReferences, getFormattedDocumentReferences, getDocumentReferencePage, type DocumentReferencePage, } from './documentReferenceService';
2
2
  export type { DocumentViewModel } from './models';
3
3
  export type { DocumentReference } from 'fhir/r4';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/documentReferenceService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,8BAA8B,EAC9B,wBAAwB,EACxB,KAAK,qBAAqB,GAC3B,MAAM,4BAA4B,CAAC;AACpC,YAAY,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAClD,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
package/dist/index.d.ts CHANGED
@@ -9,8 +9,8 @@ export { capitalize, generateId, generateUUID, getCookieByName, isStringEmpty, g
9
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';
10
10
  export { type Notification, notificationService } from './notification';
11
11
  export { type FormattedAllergy, AllergyStatus, AllergySeverity, type AllergenType, getAllergies, getFormattedAllergies, fetchAndFormatAllergenConcepts, fetchReactionConcepts, } from './allergyService';
12
- export { getConditions, type ConditionInputEntry } from './conditionService';
13
- export { getPatientDiagnoses, type Diagnosis, type DiagnosisInputEntry, type DiagnosesByDate, } from './diagnosesService';
12
+ export { getConditions, getConditionPage, type ConditionPage, type ConditionInputEntry, } from './conditionService';
13
+ export { getPatientDiagnoses, getDiagnosesPage, type DiagnosisPage, type Diagnosis, type DiagnosisInputEntry, type DiagnosesByDate, } from './diagnosesService';
14
14
  export { searchConcepts, searchFHIRConcepts, searchFHIRConceptsByName, getConceptById, searchConceptByName, type ConceptSearch, type ConceptClass, type ConceptData, } from './conceptService';
15
15
  export { getPatientMedications, getPatientMedicationBundle, fetchMedicationOrdersMetadata, searchMedications, getVaccinations, type FormattedMedicationRequest, type MedicationRequest, MedicationStatus, type MedicationOrdersMetadataResponse, type Frequency as MedicationFrequency, type OrderAttribute, } from './medicationRequestService';
16
16
  export { getPatientRadiologyInvestigations, getPatientRadiologyInvestigationBundle, getPatientRadiologyInvestigationBundleWithImagingStudy, } from './radiologyInvestigationService';
@@ -32,7 +32,7 @@ export { getCurrentUserPrivileges, hasPrivilege, type UserPrivilege, type Sessio
32
32
  export { fetchObservationForms, fetchFormMetadata, transformFormDataToObservations, transformObservationsToFormData, transformContainerObservationsToForm2Observations, convertImmutableToPlainObject, extractNotesFromFormData, getPatientFormData, type ObservationForm, type FormApiResponse, type ApiNameTranslation, type FormPrivilege, type ApiFormPrivilege, type FormMetadata, type FormData, type FormControlData, type Form2Observation, type ConceptValue, type ComplexValue, type FormResponseData, } from './observationFormsService';
33
33
  export { getVitalFlowSheetData, type VitalFlowSheetData, type VitalFlowSheetConceptDetail, } from './vitalFlowSheetService';
34
34
  export { getServiceRequests } from './orderRequestService';
35
- export { getPatientPrograms, getProgramByUUID, getCurrentStateName, extractAttributes, updateProgramState, type ProgramEnrollment, type PatientProgramsResponse, } from './programService';
35
+ export { getPatientPrograms, getPatientProgramsPage, getProgramByUUID, getCurrentStateName, extractAttributes, updateProgramState, type ProgramPage, type ProgramEnrollment, type PatientProgramsResponse, } from './programService';
36
36
  export { dispatchConsultationSaved, useSubscribeConsultationSaved, CONSULTATION_SAVED_EVENT, type ConsultationSavedEventPayload, } from './events/consultationEvents';
37
- export { getDocumentReferences, getFormattedDocumentReferences, type DocumentViewModel, type DocumentReference, } from './documentReferenceService';
37
+ export { getDocumentReferences, getFormattedDocumentReferences, getDocumentReferencePage, type DocumentReferencePage, type DocumentViewModel, type DocumentReference, } from './documentReferenceService';
38
38
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version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