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
@@ -970,6 +970,7 @@ var VaultDataMissing = /*#__PURE__*/function (_Error8) {
|
|
970
970
|
PeriodType["PerMonth"] = "PerMonth";
|
971
971
|
PeriodType["PerWeek"] = "PerWeek";
|
972
972
|
PeriodType["PerBusinessDay"] = "PerBusinessDay";
|
973
|
+
PeriodType["PerNonBusinessDay"] = "PerNonBusinessDay";
|
973
974
|
PeriodType["PerDay"] = "PerDay";
|
974
975
|
PeriodType["PerHour"] = "PerHour";
|
975
976
|
})(exports.PeriodType || (exports.PeriodType = {}));
|
@@ -1152,7 +1153,7 @@ var ConsultService = /*#__PURE__*/function () {
|
|
1152
1153
|
* @param filterIsoLocality the of isoLocality to filter with
|
1153
1154
|
* @returns a list of consult
|
1154
1155
|
*/;
|
1155
|
-
_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) {
|
1156
1157
|
return this.api.get(this.baseURL + "/v1/consults", {
|
1157
1158
|
params: {
|
1158
1159
|
uuidPractice: uuidPractice,
|
@@ -1168,6 +1169,8 @@ var ConsultService = /*#__PURE__*/function () {
|
|
1168
1169
|
filterCurrentPractitioner: filterCurrentPractitioner,
|
1169
1170
|
filterIsoLocality: filterIsoLocality,
|
1170
1171
|
filterAssignee: filterAssignee,
|
1172
|
+
filterOnlyWithoutTransmission: filterOnlyWithoutTransmission,
|
1173
|
+
filterAfterDate: filterAfterDate,
|
1171
1174
|
typesConsult: typesConsult,
|
1172
1175
|
uuidParent: uuidParent
|
1173
1176
|
}
|
@@ -1315,6 +1318,24 @@ var DiagnosisService = /*#__PURE__*/function () {
|
|
1315
1318
|
populated: true
|
1316
1319
|
}
|
1317
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
|
+
});
|
1318
1339
|
};
|
1319
1340
|
_proto.postPlans = function postPlans(plans) {
|
1320
1341
|
return this.api.post(this.baseURL + "/v1/treatment-plans", plans);
|