@candesk/contracts 6.71.0 → 6.73.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.
package/dist/gen/treatment.d.ts
CHANGED
|
@@ -164,6 +164,7 @@ export interface TreatmentRequest {
|
|
|
164
164
|
decidedAt?: string | undefined;
|
|
165
165
|
rejectionReason?: MedicalRejectionReason | undefined;
|
|
166
166
|
rejectionText?: string | undefined;
|
|
167
|
+
patientName?: string | undefined;
|
|
167
168
|
}
|
|
168
169
|
export interface PatientSnapshot {
|
|
169
170
|
firstName: string;
|
|
@@ -318,6 +319,10 @@ export interface ListMedicalReviewsRequest {
|
|
|
318
319
|
scope: MedicalReviewScope;
|
|
319
320
|
cursor?: string | undefined;
|
|
320
321
|
limit: number;
|
|
322
|
+
allDoctors?: boolean | undefined;
|
|
323
|
+
query?: string | undefined;
|
|
324
|
+
from?: string | undefined;
|
|
325
|
+
to?: string | undefined;
|
|
321
326
|
}
|
|
322
327
|
export interface ListMedicalReviewsResponse {
|
|
323
328
|
requests: TreatmentRequest[];
|
|
@@ -326,6 +331,7 @@ export interface ListMedicalReviewsResponse {
|
|
|
326
331
|
}
|
|
327
332
|
export interface CountMedicalReviewsRequest {
|
|
328
333
|
doctorId: string;
|
|
334
|
+
allDoctors?: boolean | undefined;
|
|
329
335
|
}
|
|
330
336
|
export interface CountMedicalReviewsResponse {
|
|
331
337
|
queue: number;
|
|
@@ -334,6 +340,7 @@ export interface CountMedicalReviewsResponse {
|
|
|
334
340
|
export interface GetMedicalReviewRequest {
|
|
335
341
|
id: string;
|
|
336
342
|
doctorId: string;
|
|
343
|
+
allDoctors?: boolean | undefined;
|
|
337
344
|
}
|
|
338
345
|
export interface GetMedicalReviewResponse {
|
|
339
346
|
request: TreatmentRequest | undefined;
|
package/dist/nest/treatment.d.ts
CHANGED
|
@@ -165,6 +165,7 @@ export interface TreatmentRequest {
|
|
|
165
165
|
decidedAt?: string | undefined;
|
|
166
166
|
rejectionReason?: MedicalRejectionReason | undefined;
|
|
167
167
|
rejectionText?: string | undefined;
|
|
168
|
+
patientName?: string | undefined;
|
|
168
169
|
}
|
|
169
170
|
export interface PatientSnapshot {
|
|
170
171
|
firstName: string;
|
|
@@ -319,6 +320,10 @@ export interface ListMedicalReviewsRequest {
|
|
|
319
320
|
scope: MedicalReviewScope;
|
|
320
321
|
cursor?: string | undefined;
|
|
321
322
|
limit: number;
|
|
323
|
+
allDoctors?: boolean | undefined;
|
|
324
|
+
query?: string | undefined;
|
|
325
|
+
from?: string | undefined;
|
|
326
|
+
to?: string | undefined;
|
|
322
327
|
}
|
|
323
328
|
export interface ListMedicalReviewsResponse {
|
|
324
329
|
requests: TreatmentRequest[];
|
|
@@ -327,6 +332,7 @@ export interface ListMedicalReviewsResponse {
|
|
|
327
332
|
}
|
|
328
333
|
export interface CountMedicalReviewsRequest {
|
|
329
334
|
doctorId: string;
|
|
335
|
+
allDoctors?: boolean | undefined;
|
|
330
336
|
}
|
|
331
337
|
export interface CountMedicalReviewsResponse {
|
|
332
338
|
queue: number;
|
|
@@ -335,6 +341,7 @@ export interface CountMedicalReviewsResponse {
|
|
|
335
341
|
export interface GetMedicalReviewRequest {
|
|
336
342
|
id: string;
|
|
337
343
|
doctorId: string;
|
|
344
|
+
allDoctors?: boolean | undefined;
|
|
338
345
|
}
|
|
339
346
|
export interface GetMedicalReviewResponse {
|
|
340
347
|
request: TreatmentRequest | undefined;
|
package/package.json
CHANGED
package/proto/treatment.proto
CHANGED
|
@@ -200,6 +200,7 @@ message TreatmentRequest {
|
|
|
200
200
|
optional string decided_at = 20;
|
|
201
201
|
optional MedicalRejectionReason rejection_reason = 21;
|
|
202
202
|
optional string rejection_text = 22;
|
|
203
|
+
optional string patient_name = 23;
|
|
203
204
|
}
|
|
204
205
|
|
|
205
206
|
message PatientSnapshot {
|
|
@@ -392,6 +393,10 @@ message ListMedicalReviewsRequest {
|
|
|
392
393
|
MedicalReviewScope scope = 2;
|
|
393
394
|
optional string cursor = 3;
|
|
394
395
|
int32 limit = 4;
|
|
396
|
+
optional bool all_doctors = 5;
|
|
397
|
+
optional string query = 6;
|
|
398
|
+
optional string from = 7;
|
|
399
|
+
optional string to = 8;
|
|
395
400
|
}
|
|
396
401
|
|
|
397
402
|
message ListMedicalReviewsResponse {
|
|
@@ -402,6 +407,7 @@ message ListMedicalReviewsResponse {
|
|
|
402
407
|
|
|
403
408
|
message CountMedicalReviewsRequest {
|
|
404
409
|
string doctor_id = 1;
|
|
410
|
+
optional bool all_doctors = 2;
|
|
405
411
|
}
|
|
406
412
|
|
|
407
413
|
message CountMedicalReviewsResponse {
|
|
@@ -412,6 +418,7 @@ message CountMedicalReviewsResponse {
|
|
|
412
418
|
message GetMedicalReviewRequest {
|
|
413
419
|
string id = 1;
|
|
414
420
|
string doctor_id = 2;
|
|
421
|
+
optional bool all_doctors = 3;
|
|
415
422
|
}
|
|
416
423
|
|
|
417
424
|
message GetMedicalReviewResponse {
|