oro-sdk-apis 4.3.1 → 5.13.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -166,3 +166,5 @@ export interface TreatmentPlansResponseEntry {
166
166
  }
167
167
  export interface TreatmentPlansResponse extends Array<TreatmentPlansResponseEntry> {
168
168
  }
169
+ export interface TreatmentAssociatedConsultDataResponse extends Array<TreatmentAssociatedConsultData> {
170
+ }
@@ -1290,6 +1290,12 @@ var DiagnosisService = /*#__PURE__*/function () {
1290
1290
  refill: refill
1291
1291
  });
1292
1292
  };
1293
+ _proto.setAssociatedConsultsToTreatment = function setAssociatedConsultsToTreatment(diagnosisUuid, treatmentUuid, arrAssociatedConsults) {
1294
+ return this.api.post(this.baseURL + "/v1/diagnoses/" + diagnosisUuid + "/treatments/" + treatmentUuid + "/associated-consults", arrAssociatedConsults);
1295
+ };
1296
+ _proto.updateAssociatedConsultsToTreatment = function updateAssociatedConsultsToTreatment(diagnosisUuid, treatmentUuid, arrAssociatedConsults) {
1297
+ return this.api.put(this.baseURL + "/v1/diagnoses/" + diagnosisUuid + "/treatments/" + treatmentUuid + "/associated-consults", arrAssociatedConsults);
1298
+ };
1293
1299
  _proto.acceptTreatmentPlan = function acceptTreatmentPlan(uuidPlan, uuidConsult) {
1294
1300
  return this.api.put(this.baseURL + "/v1/treatment-plans/" + uuidPlan + "/accept", {
1295
1301
  uuidConsult: uuidConsult