oro-sdk-apis 7.3.0 → 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.
- package/dist/models/practice.d.ts +1 -0
- package/dist/oro-sdk-apis.cjs.development.js +22 -1
- package/dist/oro-sdk-apis.cjs.development.js.map +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk-apis.esm.js +22 -1
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/consult.d.ts +1 -1
- package/dist/services/diagnosis.d.ts +10 -1
- package/package.json +1 -1
- package/src/models/practice.ts +1 -0
- package/src/services/consult.ts +5 -1
- package/src/services/diagnosis.ts +25 -0
package/dist/oro-sdk-apis.esm.js
CHANGED
@@ -990,6 +990,7 @@ var PeriodType;
|
|
990
990
|
PeriodType["PerMonth"] = "PerMonth";
|
991
991
|
PeriodType["PerWeek"] = "PerWeek";
|
992
992
|
PeriodType["PerBusinessDay"] = "PerBusinessDay";
|
993
|
+
PeriodType["PerNonBusinessDay"] = "PerNonBusinessDay";
|
993
994
|
PeriodType["PerDay"] = "PerDay";
|
994
995
|
PeriodType["PerHour"] = "PerHour";
|
995
996
|
})(PeriodType || (PeriodType = {}));
|
@@ -1196,7 +1197,7 @@ var ConsultService = /*#__PURE__*/function () {
|
|
1196
1197
|
* @param filterIsoLocality the of isoLocality to filter with
|
1197
1198
|
* @returns a list of consult
|
1198
1199
|
*/;
|
1199
|
-
_proto.getConsults = function getConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee, uuidParent, typesConsult) {
|
1200
|
+
_proto.getConsults = function getConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee, uuidParent, typesConsult, filterOnlyWithoutTransmission, filterAfterDate) {
|
1200
1201
|
return this.api.get(this.baseURL + "/v1/consults", {
|
1201
1202
|
params: {
|
1202
1203
|
uuidPractice: uuidPractice,
|
@@ -1212,6 +1213,8 @@ var ConsultService = /*#__PURE__*/function () {
|
|
1212
1213
|
filterCurrentPractitioner: filterCurrentPractitioner,
|
1213
1214
|
filterIsoLocality: filterIsoLocality,
|
1214
1215
|
filterAssignee: filterAssignee,
|
1216
|
+
filterOnlyWithoutTransmission: filterOnlyWithoutTransmission,
|
1217
|
+
filterAfterDate: filterAfterDate,
|
1215
1218
|
typesConsult: typesConsult,
|
1216
1219
|
uuidParent: uuidParent
|
1217
1220
|
}
|
@@ -1359,6 +1362,24 @@ var DiagnosisService = /*#__PURE__*/function () {
|
|
1359
1362
|
populated: true
|
1360
1363
|
}
|
1361
1364
|
});
|
1365
|
+
}
|
1366
|
+
/**
|
1367
|
+
* This function returns populated treatment plans associated consults in a list
|
1368
|
+
* @param arrUuidsConsults the list of consult uuid to fetch the treatments for
|
1369
|
+
* @param arrStatusesToInclude the PlanStatus to include
|
1370
|
+
* @param dateDecidedAfter the date after which the treatment must have been decided
|
1371
|
+
* @param dateDecidedBefore the date before which the treatment must have been decided
|
1372
|
+
* @returns a TreatmentPlans object
|
1373
|
+
*/;
|
1374
|
+
_proto.getTreatmentPlansWithStatusDecidedAfterDateForConsultsUuids = function getTreatmentPlansWithStatusDecidedAfterDateForConsultsUuids(arrUuidsConsults, arrStatusesToInclude, dateDecidedAfter, dateDecidedBefore) {
|
1375
|
+
return this.api.get(this.baseURL + "/v1/treatment-plans/", {
|
1376
|
+
params: {
|
1377
|
+
filterByConsultsUuids: arrUuidsConsults,
|
1378
|
+
statusesTreatmentPlanIncluded: arrStatusesToInclude,
|
1379
|
+
filterDecidedAfterDate: dateDecidedAfter,
|
1380
|
+
filterDecidedBeforeDate: dateDecidedBefore
|
1381
|
+
}
|
1382
|
+
});
|
1362
1383
|
};
|
1363
1384
|
_proto.postPlans = function postPlans(plans) {
|
1364
1385
|
return this.api.post(this.baseURL + "/v1/treatment-plans", plans);
|