@candesk/contracts 6.77.0 → 6.79.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.
@@ -72,6 +72,12 @@ export declare enum MedicalReviewScope {
72
72
  MEDICAL_REVIEW_SCOPE_DONE = 3,
73
73
  UNRECOGNIZED = -1
74
74
  }
75
+ export declare enum MedicalReviewDecision {
76
+ MEDICAL_REVIEW_DECISION_UNSPECIFIED = 0,
77
+ MEDICAL_REVIEW_DECISION_APPROVED = 1,
78
+ MEDICAL_REVIEW_DECISION_REJECTED = 2,
79
+ UNRECOGNIZED = -1
80
+ }
75
81
  export declare enum WithdrawalStatus {
76
82
  WITHDRAWAL_STATUS_UNSPECIFIED = 0,
77
83
  WITHDRAWAL_STATUS_OPEN = 1,
@@ -167,6 +173,7 @@ export interface TreatmentRequest {
167
173
  patientName?: string | undefined;
168
174
  appointmentAt?: string | undefined;
169
175
  patientBlockedAt?: string | undefined;
176
+ reviewDueAt?: string | undefined;
170
177
  }
171
178
  export interface PatientSnapshot {
172
179
  firstName: string;
@@ -326,6 +333,7 @@ export interface ListMedicalReviewsRequest {
326
333
  from?: string | undefined;
327
334
  to?: string | undefined;
328
335
  type?: TreatmentType | undefined;
336
+ decision?: MedicalReviewDecision | undefined;
329
337
  }
330
338
  export interface ListMedicalReviewsResponse {
331
339
  requests: TreatmentRequest[];
@@ -339,6 +347,7 @@ export interface MedicalReviewCount {
339
347
  type: TreatmentType;
340
348
  queue: number;
341
349
  inReview: number;
350
+ done: number;
342
351
  }
343
352
  export interface CountMedicalReviewsResponse {
344
353
  counts: MedicalReviewCount[];
@@ -5,7 +5,7 @@
5
5
  // protoc v3.21.12
6
6
  // source: treatment.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.WithdrawalRejectionReason = exports.WithdrawalStatus = exports.MedicalReviewScope = exports.MedicalRejectionReason = exports.TreatmentRequestStatus = exports.TreatmentType = exports.ProductType = exports.IntakeMethod = exports.SymptomDuration = exports.Symptom = exports.QuestionnaireStatus = exports.protobufFileName = exports.protobufPackage = void 0;
8
+ exports.WithdrawalRejectionReason = exports.WithdrawalStatus = exports.MedicalReviewDecision = exports.MedicalReviewScope = exports.MedicalRejectionReason = exports.TreatmentRequestStatus = exports.TreatmentType = exports.ProductType = exports.IntakeMethod = exports.SymptomDuration = exports.Symptom = exports.QuestionnaireStatus = exports.protobufFileName = exports.protobufPackage = void 0;
9
9
  /* eslint-disable */
10
10
  exports.protobufPackage = "treatment.v1";
11
11
  exports.protobufFileName = "treatment.proto";
@@ -90,6 +90,13 @@ var MedicalReviewScope;
90
90
  MedicalReviewScope[MedicalReviewScope["MEDICAL_REVIEW_SCOPE_DONE"] = 3] = "MEDICAL_REVIEW_SCOPE_DONE";
91
91
  MedicalReviewScope[MedicalReviewScope["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
92
92
  })(MedicalReviewScope || (exports.MedicalReviewScope = MedicalReviewScope = {}));
93
+ var MedicalReviewDecision;
94
+ (function (MedicalReviewDecision) {
95
+ MedicalReviewDecision[MedicalReviewDecision["MEDICAL_REVIEW_DECISION_UNSPECIFIED"] = 0] = "MEDICAL_REVIEW_DECISION_UNSPECIFIED";
96
+ MedicalReviewDecision[MedicalReviewDecision["MEDICAL_REVIEW_DECISION_APPROVED"] = 1] = "MEDICAL_REVIEW_DECISION_APPROVED";
97
+ MedicalReviewDecision[MedicalReviewDecision["MEDICAL_REVIEW_DECISION_REJECTED"] = 2] = "MEDICAL_REVIEW_DECISION_REJECTED";
98
+ MedicalReviewDecision[MedicalReviewDecision["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
99
+ })(MedicalReviewDecision || (exports.MedicalReviewDecision = MedicalReviewDecision = {}));
93
100
  var WithdrawalStatus;
94
101
  (function (WithdrawalStatus) {
95
102
  WithdrawalStatus[WithdrawalStatus["WITHDRAWAL_STATUS_UNSPECIFIED"] = 0] = "WITHDRAWAL_STATUS_UNSPECIFIED";
@@ -73,6 +73,12 @@ export declare enum MedicalReviewScope {
73
73
  MEDICAL_REVIEW_SCOPE_DONE = 3,
74
74
  UNRECOGNIZED = -1
75
75
  }
76
+ export declare enum MedicalReviewDecision {
77
+ MEDICAL_REVIEW_DECISION_UNSPECIFIED = 0,
78
+ MEDICAL_REVIEW_DECISION_APPROVED = 1,
79
+ MEDICAL_REVIEW_DECISION_REJECTED = 2,
80
+ UNRECOGNIZED = -1
81
+ }
76
82
  export declare enum WithdrawalStatus {
77
83
  WITHDRAWAL_STATUS_UNSPECIFIED = 0,
78
84
  WITHDRAWAL_STATUS_OPEN = 1,
@@ -168,6 +174,7 @@ export interface TreatmentRequest {
168
174
  patientName?: string | undefined;
169
175
  appointmentAt?: string | undefined;
170
176
  patientBlockedAt?: string | undefined;
177
+ reviewDueAt?: string | undefined;
171
178
  }
172
179
  export interface PatientSnapshot {
173
180
  firstName: string;
@@ -327,6 +334,7 @@ export interface ListMedicalReviewsRequest {
327
334
  from?: string | undefined;
328
335
  to?: string | undefined;
329
336
  type?: TreatmentType | undefined;
337
+ decision?: MedicalReviewDecision | undefined;
330
338
  }
331
339
  export interface ListMedicalReviewsResponse {
332
340
  requests: TreatmentRequest[];
@@ -340,6 +348,7 @@ export interface MedicalReviewCount {
340
348
  type: TreatmentType;
341
349
  queue: number;
342
350
  inReview: number;
351
+ done: number;
343
352
  }
344
353
  export interface CountMedicalReviewsResponse {
345
354
  counts: MedicalReviewCount[];
@@ -5,7 +5,7 @@
5
5
  // protoc v3.21.12
6
6
  // source: treatment.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.TREATMENT_SERVICE_NAME = exports.TREATMENT_V1_PACKAGE_NAME = exports.WithdrawalRejectionReason = exports.WithdrawalStatus = exports.MedicalReviewScope = exports.MedicalRejectionReason = exports.TreatmentRequestStatus = exports.TreatmentType = exports.ProductType = exports.IntakeMethod = exports.SymptomDuration = exports.Symptom = exports.QuestionnaireStatus = exports.protobufFileName = exports.protobufPackage = void 0;
8
+ exports.TREATMENT_SERVICE_NAME = exports.TREATMENT_V1_PACKAGE_NAME = exports.WithdrawalRejectionReason = exports.WithdrawalStatus = exports.MedicalReviewDecision = exports.MedicalReviewScope = exports.MedicalRejectionReason = exports.TreatmentRequestStatus = exports.TreatmentType = exports.ProductType = exports.IntakeMethod = exports.SymptomDuration = exports.Symptom = exports.QuestionnaireStatus = exports.protobufFileName = exports.protobufPackage = void 0;
9
9
  exports.TreatmentServiceControllerMethods = TreatmentServiceControllerMethods;
10
10
  /* eslint-disable */
11
11
  const microservices_1 = require("@nestjs/microservices");
@@ -92,6 +92,13 @@ var MedicalReviewScope;
92
92
  MedicalReviewScope[MedicalReviewScope["MEDICAL_REVIEW_SCOPE_DONE"] = 3] = "MEDICAL_REVIEW_SCOPE_DONE";
93
93
  MedicalReviewScope[MedicalReviewScope["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
94
94
  })(MedicalReviewScope || (exports.MedicalReviewScope = MedicalReviewScope = {}));
95
+ var MedicalReviewDecision;
96
+ (function (MedicalReviewDecision) {
97
+ MedicalReviewDecision[MedicalReviewDecision["MEDICAL_REVIEW_DECISION_UNSPECIFIED"] = 0] = "MEDICAL_REVIEW_DECISION_UNSPECIFIED";
98
+ MedicalReviewDecision[MedicalReviewDecision["MEDICAL_REVIEW_DECISION_APPROVED"] = 1] = "MEDICAL_REVIEW_DECISION_APPROVED";
99
+ MedicalReviewDecision[MedicalReviewDecision["MEDICAL_REVIEW_DECISION_REJECTED"] = 2] = "MEDICAL_REVIEW_DECISION_REJECTED";
100
+ MedicalReviewDecision[MedicalReviewDecision["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
101
+ })(MedicalReviewDecision || (exports.MedicalReviewDecision = MedicalReviewDecision = {}));
95
102
  var WithdrawalStatus;
96
103
  (function (WithdrawalStatus) {
97
104
  WithdrawalStatus[WithdrawalStatus["WITHDRAWAL_STATUS_UNSPECIFIED"] = 0] = "WITHDRAWAL_STATUS_UNSPECIFIED";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@candesk/contracts",
3
- "version": "6.77.0",
3
+ "version": "6.79.0",
4
4
  "description": "Protobuf contracts for CanDesk microservices",
5
5
  "author": {
6
6
  "name": "Alexander Schulz",
@@ -107,6 +107,12 @@ enum MedicalReviewScope {
107
107
  MEDICAL_REVIEW_SCOPE_DONE = 3;
108
108
  }
109
109
 
110
+ enum MedicalReviewDecision {
111
+ MEDICAL_REVIEW_DECISION_UNSPECIFIED = 0;
112
+ MEDICAL_REVIEW_DECISION_APPROVED = 1;
113
+ MEDICAL_REVIEW_DECISION_REJECTED = 2;
114
+ }
115
+
110
116
  enum WithdrawalStatus {
111
117
  WITHDRAWAL_STATUS_UNSPECIFIED = 0;
112
118
  WITHDRAWAL_STATUS_OPEN = 1;
@@ -207,6 +213,7 @@ message TreatmentRequest {
207
213
  optional string patient_name = 23;
208
214
  optional string appointment_at = 24;
209
215
  optional string patient_blocked_at = 25;
216
+ optional string review_due_at = 26;
210
217
  }
211
218
 
212
219
  message PatientSnapshot {
@@ -405,6 +412,7 @@ message ListMedicalReviewsRequest {
405
412
  optional string from = 7;
406
413
  optional string to = 8;
407
414
  optional TreatmentType type = 9;
415
+ optional MedicalReviewDecision decision = 10;
408
416
  }
409
417
 
410
418
  message ListMedicalReviewsResponse {
@@ -422,6 +430,7 @@ message MedicalReviewCount {
422
430
  TreatmentType type = 1;
423
431
  int32 queue = 2;
424
432
  int32 in_review = 3;
433
+ int32 done = 4;
425
434
  }
426
435
 
427
436
  message CountMedicalReviewsResponse {