@candesk/contracts 6.84.0 → 6.85.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.
@@ -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;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@candesk/contracts",
3
- "version": "6.84.0",
3
+ "version": "6.85.0",
4
4
  "description": "Protobuf contracts for CanDesk microservices",
5
5
  "author": {
6
6
  "name": "Alexander Schulz",
@@ -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 {