@candesk/contracts 6.84.0 → 6.86.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
|
@@ -380,11 +380,16 @@ export interface GetMedicalReviewRequest {
|
|
|
380
380
|
id: string;
|
|
381
381
|
doctorId: string;
|
|
382
382
|
}
|
|
383
|
+
export interface LastRejection {
|
|
384
|
+
request: TreatmentRequest | undefined;
|
|
385
|
+
answers: QuestionnaireAnswers | undefined;
|
|
386
|
+
}
|
|
383
387
|
export interface GetMedicalReviewResponse {
|
|
384
388
|
request: TreatmentRequest | undefined;
|
|
385
389
|
answers: QuestionnaireAnswers | undefined;
|
|
386
390
|
patientSnapshot?: PatientSnapshot | undefined;
|
|
387
391
|
previous: TreatmentRequest[];
|
|
392
|
+
lastRejection?: LastRejection | undefined;
|
|
388
393
|
}
|
|
389
394
|
export interface ApproveMedicalReviewRequest {
|
|
390
395
|
id: string;
|
|
@@ -449,7 +454,6 @@ export interface ListAppointmentSlotsResponse {
|
|
|
449
454
|
}
|
|
450
455
|
export interface ListAppointmentsRequest {
|
|
451
456
|
doctorId: string;
|
|
452
|
-
allDoctors?: boolean | undefined;
|
|
453
457
|
from?: string | undefined;
|
|
454
458
|
to?: string | undefined;
|
|
455
459
|
cursor?: string | undefined;
|
package/dist/nest/treatment.d.ts
CHANGED
|
@@ -381,11 +381,16 @@ export interface GetMedicalReviewRequest {
|
|
|
381
381
|
id: string;
|
|
382
382
|
doctorId: string;
|
|
383
383
|
}
|
|
384
|
+
export interface LastRejection {
|
|
385
|
+
request: TreatmentRequest | undefined;
|
|
386
|
+
answers: QuestionnaireAnswers | undefined;
|
|
387
|
+
}
|
|
384
388
|
export interface GetMedicalReviewResponse {
|
|
385
389
|
request: TreatmentRequest | undefined;
|
|
386
390
|
answers: QuestionnaireAnswers | undefined;
|
|
387
391
|
patientSnapshot?: PatientSnapshot | undefined;
|
|
388
392
|
previous: TreatmentRequest[];
|
|
393
|
+
lastRejection?: LastRejection | undefined;
|
|
389
394
|
}
|
|
390
395
|
export interface ApproveMedicalReviewRequest {
|
|
391
396
|
id: string;
|
|
@@ -450,7 +455,6 @@ export interface ListAppointmentSlotsResponse {
|
|
|
450
455
|
}
|
|
451
456
|
export interface ListAppointmentsRequest {
|
|
452
457
|
doctorId: string;
|
|
453
|
-
allDoctors?: boolean | undefined;
|
|
454
458
|
from?: string | undefined;
|
|
455
459
|
to?: string | undefined;
|
|
456
460
|
cursor?: string | undefined;
|
package/package.json
CHANGED
package/proto/treatment.proto
CHANGED
|
@@ -475,11 +475,17 @@ message GetMedicalReviewRequest {
|
|
|
475
475
|
string doctor_id = 2;
|
|
476
476
|
}
|
|
477
477
|
|
|
478
|
+
message LastRejection {
|
|
479
|
+
TreatmentRequest request = 1;
|
|
480
|
+
QuestionnaireAnswers answers = 2;
|
|
481
|
+
}
|
|
482
|
+
|
|
478
483
|
message GetMedicalReviewResponse {
|
|
479
484
|
TreatmentRequest request = 1;
|
|
480
485
|
QuestionnaireAnswers answers = 2;
|
|
481
486
|
optional PatientSnapshot patient_snapshot = 3;
|
|
482
487
|
repeated TreatmentRequest previous = 4;
|
|
488
|
+
optional LastRejection last_rejection = 5;
|
|
483
489
|
}
|
|
484
490
|
|
|
485
491
|
message ApproveMedicalReviewRequest {
|
|
@@ -560,8 +566,8 @@ message ListAppointmentSlotsResponse {
|
|
|
560
566
|
}
|
|
561
567
|
|
|
562
568
|
message ListAppointmentsRequest {
|
|
569
|
+
reserved 2;
|
|
563
570
|
string doctor_id = 1;
|
|
564
|
-
optional bool all_doctors = 2;
|
|
565
571
|
optional string from = 3;
|
|
566
572
|
optional string to = 4;
|
|
567
573
|
optional string cursor = 5;
|