@bahmni/services 0.0.1-dev.206 → 0.0.1-dev.212

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 (32) hide show
  1. package/dist/appointmentService/appointmentService.d.ts +17 -1
  2. package/dist/appointmentService/appointmentService.d.ts.map +1 -1
  3. package/dist/appointmentService/constants.d.ts +3 -1
  4. package/dist/appointmentService/constants.d.ts.map +1 -1
  5. package/dist/appointmentService/index.d.ts +2 -2
  6. package/dist/appointmentService/index.d.ts.map +1 -1
  7. package/dist/appointmentService/models.d.ts +5 -0
  8. package/dist/appointmentService/models.d.ts.map +1 -1
  9. package/dist/conditionService/conditionService.d.ts +13 -0
  10. package/dist/conditionService/conditionService.d.ts.map +1 -1
  11. package/dist/conditionService/constants.d.ts +1 -0
  12. package/dist/conditionService/constants.d.ts.map +1 -1
  13. package/dist/conditionService/index.d.ts +1 -1
  14. package/dist/conditionService/index.d.ts.map +1 -1
  15. package/dist/diagnosesService/constants.d.ts +1 -0
  16. package/dist/diagnosesService/constants.d.ts.map +1 -1
  17. package/dist/diagnosesService/diagnosesService.d.ts +14 -0
  18. package/dist/diagnosesService/diagnosesService.d.ts.map +1 -1
  19. package/dist/diagnosesService/index.d.ts +1 -1
  20. package/dist/diagnosesService/index.d.ts.map +1 -1
  21. package/dist/index.d.ts +4 -4
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +2371 -2321
  24. package/dist/programService/constants.d.ts +1 -0
  25. package/dist/programService/constants.d.ts.map +1 -1
  26. package/dist/programService/index.d.ts +1 -1
  27. package/dist/programService/index.d.ts.map +1 -1
  28. package/dist/programService/model.d.ts +1 -0
  29. package/dist/programService/model.d.ts.map +1 -1
  30. package/dist/programService/programService.d.ts +13 -0
  31. package/dist/programService/programService.d.ts.map +1 -1
  32. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { Appointment, Bundle } from 'fhir/r4';
2
- import { AppointmentService } from './models';
2
+ import { AppointmentPage, AppointmentService } from './models';
3
3
  /**
4
4
  * Search for appointments by specified attributes.
5
5
  *
@@ -55,4 +55,20 @@ export declare const getAllAppointmentServices: () => Promise<AppointmentService
55
55
  * @throws Error if the API request fails
56
56
  */
57
57
  export declare const deleteAppointmentService: (uuid: string) => Promise<void>;
58
+ /**
59
+ * Fetches a single page of upcoming appointments using offset-based pagination.
60
+ * @param patientUuid - The UUID of the patient
61
+ * @param count - Number of items per page (default 10)
62
+ * @param page - 1-based page number (default 1)
63
+ * @returns Promise resolving to an AppointmentPage with bundle and total count
64
+ */
65
+ export declare function getUpcomingAppointmentsPage(patientUuid: string, count?: number, page?: number): Promise<AppointmentPage>;
66
+ /**
67
+ * Fetches a single page of past appointments using offset-based pagination.
68
+ * @param patientUuid - The UUID of the patient
69
+ * @param count - Number of items per page (default 10)
70
+ * @param page - 1-based page number (default 1)
71
+ * @returns Promise resolving to an AppointmentPage with bundle and total count
72
+ */
73
+ export declare function getPastAppointmentsPage(patientUuid: string, count?: number, page?: number): Promise<AppointmentPage>;
58
74
  //# 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;AAWnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C;;;;;;GAMG;AACH,eAAO,MAAM,6BAA6B,GACxC,aAAa,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAClC,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAE7B,CAAC;AAEF;;;;;;GAMG;AACH,wBAAsB,uBAAuB,CAC3C,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAE9B;AAED;;;;;;;GAOG;AACH,wBAAsB,mBAAmB,CACvC,WAAW,EAAE,MAAM,EACnB,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAI9B;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,GAClC,iBAAiB,MAAM,EACvB,UAAU,MAAM,EAChB,SAAS,IAAI,qBAMd,CAAC;AAEF;;;;;;GAMG;AACH,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,MAAM,oBAEpD;AAED;;;GAGG;AACH,eAAO,MAAM,yBAAyB,QAAa,OAAO,CACxD,kBAAkB,EAAE,CAGrB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,GAAU,MAAM,MAAM,KAAG,OAAO,CAAC,IAAI,CAEzE,CAAC"}
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;AAanD,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE/D;;;;;;GAMG;AACH,eAAO,MAAM,6BAA6B,GACxC,aAAa,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAClC,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAE7B,CAAC;AAEF;;;;;;GAMG;AACH,wBAAsB,uBAAuB,CAC3C,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAE9B;AAED;;;;;;;GAOG;AACH,wBAAsB,mBAAmB,CACvC,WAAW,EAAE,MAAM,EACnB,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAI9B;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,GAClC,iBAAiB,MAAM,EACvB,UAAU,MAAM,EAChB,SAAS,IAAI,qBAMd,CAAC;AAEF;;;;;;GAMG;AACH,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,MAAM,oBAEpD;AAED;;;GAGG;AACH,eAAO,MAAM,yBAAyB,QAAa,OAAO,CACxD,kBAAkB,EAAE,CAGrB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,GAAU,MAAM,MAAM,KAAG,OAAO,CAAC,IAAI,CAEzE,CAAC;AAEF;;;;;;GAMG;AACH,wBAAsB,2BAA2B,CAC/C,WAAW,EAAE,MAAM,EACnB,KAAK,GAAE,MAAW,EAClB,IAAI,GAAE,MAAU,GACf,OAAO,CAAC,eAAe,CAAC,CAM1B;AAED;;;;;;GAMG;AACH,wBAAsB,uBAAuB,CAC3C,WAAW,EAAE,MAAM,EACnB,KAAK,GAAE,MAAW,EAClB,IAAI,GAAE,MAAU,GACf,OAAO,CAAC,eAAe,CAAC,CAM1B"}
@@ -14,10 +14,12 @@ export declare const APPOINTMENTS_SEARCH_URL: string;
14
14
  export declare const APPOINTMENTS_URL: string;
15
15
  export declare const APPOINTMENT_IDENTIFIER_SYSTEM = "http://fhir.bahmni.org/code-system/appointments";
16
16
  export declare const getAppointmentByIdUrl: (uuid: string) => string;
17
- export declare const getAppointmentsUrl: (patientUUID: string, type: "upcoming" | "past", count?: number) => string;
17
+ export declare const getAppointmentsUrl: (patientUUID: string, type: "upcoming" | "past", count?: number, offset?: number) => string;
18
18
  export declare const UPCOMING_APPOINTMENTS_URL: (patientUUID: string) => string;
19
19
  export declare const PAST_APPOINTMENTS_URL: (patientUUID: string, count?: number) => string;
20
20
  export declare const updateAppointmentStatusUrl: (appointmentUuid: string) => string;
21
21
  export declare const ALL_APPOINTMENT_SERVICES_URL: string;
22
22
  export declare const getDeleteAppointmentServiceUrl: (uuid: string) => string;
23
+ export declare const getUpcomingAppointmentsPageUrl: (patientUUID: string, count?: number, offset?: number) => string;
24
+ export declare const getPastAppointmentsPageUrl: (patientUUID: string, count?: number, offset?: number) => string;
23
25
  //# 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,KACb,MAgBF,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,8BAA8B,GAAI,MAAM,MAAM,KAAG,MACR,CAAC"}
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,8BAA8B,GAAI,MAAM,MAAM,KAAG,MACR,CAAC;AAEvD,eAAO,MAAM,8BAA8B,GACzC,aAAa,MAAM,EACnB,QAAO,MAAW,EAClB,SAAQ,MAAU,KACjB,MAAoE,CAAC;AAExE,eAAO,MAAM,0BAA0B,GACrC,aAAa,MAAM,EACnB,QAAO,MAAW,EAClB,SAAQ,MAAU,KACjB,MAAgE,CAAC"}
@@ -1,4 +1,4 @@
1
- export { searchAppointmentsByAttribute, updateAppointmentStatus, getAppointmentById, getUpcomingAppointments, getPastAppointments, getAllAppointmentServices, deleteAppointmentService, } from './appointmentService';
2
- export { type AppointmentService } from './models';
1
+ export { searchAppointmentsByAttribute, updateAppointmentStatus, getAppointmentById, getUpcomingAppointments, getPastAppointments, getUpcomingAppointmentsPage, getPastAppointmentsPage, getAllAppointmentServices, deleteAppointmentService, } from './appointmentService';
2
+ export { type AppointmentPage, type AppointmentService } 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,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EACL,oBAAoB,EACpB,6BAA6B,GAC9B,MAAM,aAAa,CAAC"}
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,GACzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACzE,OAAO,EACL,oBAAoB,EACpB,6BAA6B,GAC9B,MAAM,aAAa,CAAC"}
@@ -1,3 +1,8 @@
1
+ import { Appointment, Bundle } from 'fhir/r4';
2
+ export interface AppointmentPage {
3
+ bundle: Bundle<Appointment>;
4
+ total: number;
5
+ }
1
6
  interface Speciality {
2
7
  uuid: string;
3
8
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/appointmentService/models.ts"],"names":[],"mappings":"AAAA,UAAU,UAAU;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,QAAQ;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,oBAAoB;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,kBAAkB;IACjC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;IAC9B,UAAU,EAAE,oBAAoB,EAAE,GAAG,IAAI,CAAC;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EA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 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"}
package/dist/index.d.ts CHANGED
@@ -3,14 +3,14 @@ export { initAppI18n, useTranslation, normalizeTranslationKey, getUserPreferredL
3
3
  export { useCamera } from './cameraService';
4
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
- export { searchAppointmentsByAttribute, updateAppointmentStatus, getAppointmentById, getUpcomingAppointments, getPastAppointments, getAllAppointmentServices, deleteAppointmentService, APPOINTMENT_STATUSES, APPOINTMENT_IDENTIFIER_SYSTEM, type AppointmentService, } from './appointmentService';
6
+ export { searchAppointmentsByAttribute, updateAppointmentStatus, getAppointmentById, getUpcomingAppointments, getPastAppointments, getUpcomingAppointmentsPage, getPastAppointmentsPage, type AppointmentPage, getAllAppointmentServices, deleteAppointmentService, APPOINTMENT_STATUSES, APPOINTMENT_IDENTIFIER_SYSTEM, type AppointmentService, } from './appointmentService';
7
7
  export { getFormattedError } from './errorHandling';
8
8
  export { capitalize, generateId, generateUUID, getCookieByName, isStringEmpty, getPriorityByOrder, groupByDate, filterReplacementEntries, refreshQueries, parseQueryParams, formatUrl, getValueType, camelToScreamingSnakeCase, convertToSentenceCase, } from './utils';
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
37
  export { getDocumentReferences, getFormattedDocumentReferences, getDocumentReferencePage, type DocumentReferencePage, type DocumentViewModel, type DocumentReference, } from './documentReferenceService';
38
38
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","source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