oro-sdk-apis 7.3.1 → 7.4.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.
@@ -1153,7 +1153,7 @@ var ConsultService = /*#__PURE__*/function () {
1153
1153
  * @param filterIsoLocality the of isoLocality to filter with
1154
1154
  * @returns a list of consult
1155
1155
  */;
1156
- _proto.getConsults = function getConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee, uuidParent, typesConsult) {
1156
+ _proto.getConsults = function getConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee, uuidParent, typesConsult, filterOnlyWithoutTransmission, filterAfterDate) {
1157
1157
  return this.api.get(this.baseURL + "/v1/consults", {
1158
1158
  params: {
1159
1159
  uuidPractice: uuidPractice,
@@ -1169,6 +1169,8 @@ var ConsultService = /*#__PURE__*/function () {
1169
1169
  filterCurrentPractitioner: filterCurrentPractitioner,
1170
1170
  filterIsoLocality: filterIsoLocality,
1171
1171
  filterAssignee: filterAssignee,
1172
+ filterOnlyWithoutTransmission: filterOnlyWithoutTransmission,
1173
+ filterAfterDate: filterAfterDate,
1172
1174
  typesConsult: typesConsult,
1173
1175
  uuidParent: uuidParent
1174
1176
  }
@@ -1316,6 +1318,24 @@ var DiagnosisService = /*#__PURE__*/function () {
1316
1318
  populated: true
1317
1319
  }
1318
1320
  });
1321
+ }
1322
+ /**
1323
+ * This function returns populated treatment plans associated consults in a list
1324
+ * @param arrUuidsConsults the list of consult uuid to fetch the treatments for
1325
+ * @param arrStatusesToInclude the PlanStatus to include
1326
+ * @param dateDecidedAfter the date after which the treatment must have been decided
1327
+ * @param dateDecidedBefore the date before which the treatment must have been decided
1328
+ * @returns a TreatmentPlans object
1329
+ */;
1330
+ _proto.getTreatmentPlansWithStatusDecidedAfterDateForConsultsUuids = function getTreatmentPlansWithStatusDecidedAfterDateForConsultsUuids(arrUuidsConsults, arrStatusesToInclude, dateDecidedAfter, dateDecidedBefore) {
1331
+ return this.api.get(this.baseURL + "/v1/treatment-plans/", {
1332
+ params: {
1333
+ filterByConsultsUuids: arrUuidsConsults,
1334
+ statusesTreatmentPlanIncluded: arrStatusesToInclude,
1335
+ filterDecidedAfterDate: dateDecidedAfter,
1336
+ filterDecidedBeforeDate: dateDecidedBefore
1337
+ }
1338
+ });
1319
1339
  };
1320
1340
  _proto.postPlans = function postPlans(plans) {
1321
1341
  return this.api.post(this.baseURL + "/v1/treatment-plans", plans);