@iveri/contracts 0.114.0 → 0.116.0
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.
|
@@ -63,3 +63,11 @@ export interface CreateClinicAppointmentRequest {
|
|
|
63
63
|
export interface ChangeClinicAppointmentStatusRequest {
|
|
64
64
|
status: ClinicAppointmentStatus;
|
|
65
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* Another time, and perhaps another specialist, for a visit the desk is moving. The same visit stays: its consent, its
|
|
68
|
+
* answers, anything paid and the price agreed.
|
|
69
|
+
*/
|
|
70
|
+
export interface RescheduleClinicAppointmentRequest {
|
|
71
|
+
startsAt: IsoDateTime;
|
|
72
|
+
staffMemberId: UUID;
|
|
73
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A clinic refusal a person can act on, sent as `details.reason` so a client says it in the reader's language rather than
|
|
3
|
+
* showing the API's English.
|
|
4
|
+
*/
|
|
5
|
+
export declare enum ClinicRefusal {
|
|
6
|
+
/** Somebody else holds that time, or the specialist, room or machine is no longer free. */
|
|
7
|
+
TIME_TAKEN = "time-taken",
|
|
8
|
+
/** The visit is checked in, finished or cancelled, so it can no longer be moved. */
|
|
9
|
+
NOT_BOOKED = "not-booked",
|
|
10
|
+
/** Too close to another session of the same treatment; `details.minDaysBetweenSessions` says how far apart. */
|
|
11
|
+
SESSION_GAP = "session-gap",
|
|
12
|
+
/** The chosen specialist does not perform this treatment at this branch. */
|
|
13
|
+
SPECIALIST_INELIGIBLE = "specialist-ineligible"
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A clinic refusal a person can act on, sent as `details.reason` so a client says it in the reader's language rather than
|
|
3
|
+
* showing the API's English.
|
|
4
|
+
*/
|
|
5
|
+
export var ClinicRefusal;
|
|
6
|
+
(function (ClinicRefusal) {
|
|
7
|
+
/** Somebody else holds that time, or the specialist, room or machine is no longer free. */
|
|
8
|
+
ClinicRefusal["TIME_TAKEN"] = "time-taken";
|
|
9
|
+
/** The visit is checked in, finished or cancelled, so it can no longer be moved. */
|
|
10
|
+
ClinicRefusal["NOT_BOOKED"] = "not-booked";
|
|
11
|
+
/** Too close to another session of the same treatment; `details.minDaysBetweenSessions` says how far apart. */
|
|
12
|
+
ClinicRefusal["SESSION_GAP"] = "session-gap";
|
|
13
|
+
/** The chosen specialist does not perform this treatment at this branch. */
|
|
14
|
+
ClinicRefusal["SPECIALIST_INELIGIBLE"] = "specialist-ineligible";
|
|
15
|
+
})(ClinicRefusal || (ClinicRefusal = {}));
|
|
@@ -24,6 +24,7 @@ export * from './clinic-promotion.type.js';
|
|
|
24
24
|
export * from './clinic-public.type.js';
|
|
25
25
|
export * from './clinic-record-access-action.enum.js';
|
|
26
26
|
export * from './clinic-record-method.enum.js';
|
|
27
|
+
export * from './clinic-refusal.enum.js';
|
|
27
28
|
export * from './clinic-record.type.js';
|
|
28
29
|
export * from './clinic-resource-status.enum.js';
|
|
29
30
|
export * from './clinic-review-status.enum.js';
|
package/dist/api/clinic/index.js
CHANGED
|
@@ -24,6 +24,7 @@ export * from './clinic-promotion.type.js';
|
|
|
24
24
|
export * from './clinic-public.type.js';
|
|
25
25
|
export * from './clinic-record-access-action.enum.js';
|
|
26
26
|
export * from './clinic-record-method.enum.js';
|
|
27
|
+
export * from './clinic-refusal.enum.js';
|
|
27
28
|
export * from './clinic-record.type.js';
|
|
28
29
|
export * from './clinic-resource-status.enum.js';
|
|
29
30
|
export * from './clinic-review-status.enum.js';
|