oro-sdk-apis 1.20.1 → 1.23.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/guard.d.ts +1 -1
- package/dist/models/practice.d.ts +1 -0
- package/dist/oro-sdk-apis.cjs.development.js +7 -4
- 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 +7 -4
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/consult.d.ts +3 -2
- package/package.json +1 -1
- package/src/models/guard.ts +8 -1
- package/src/models/practice.ts +1 -0
- package/src/services/consult.ts +30 -68
- package/LICENSE +0 -21
package/dist/oro-sdk-apis.esm.js
CHANGED
|
@@ -1646,11 +1646,12 @@ var ConsultService = /*#__PURE__*/function () {
|
|
|
1646
1646
|
* @param filterAssignedDoctor the uuid of the doctor for which to filter with
|
|
1647
1647
|
* @param filterCurrentPractitioner the uuid of the current assistant assigned to filter with
|
|
1648
1648
|
* @param filterIsoLocality the of isoLocality to filter with
|
|
1649
|
+
* @param filterAssignee array of practitioner uuids with which you want to filter the consultations
|
|
1649
1650
|
* @returns a number of consult
|
|
1650
1651
|
*/
|
|
1651
1652
|
;
|
|
1652
1653
|
|
|
1653
|
-
_proto.countConsults = function countConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality) {
|
|
1654
|
+
_proto.countConsults = function countConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee) {
|
|
1654
1655
|
return this.api.head(this.baseURL + "/v1/consults", {
|
|
1655
1656
|
params: {
|
|
1656
1657
|
uuidPractice: uuidPractice,
|
|
@@ -1664,7 +1665,8 @@ var ConsultService = /*#__PURE__*/function () {
|
|
|
1664
1665
|
orderColumns: orderToSortTo,
|
|
1665
1666
|
filterAssignedDoctor: filterAssignedDoctor,
|
|
1666
1667
|
filterCurrentPractitioner: filterCurrentPractitioner,
|
|
1667
|
-
filterIsoLocality: filterIsoLocality
|
|
1668
|
+
filterIsoLocality: filterIsoLocality,
|
|
1669
|
+
filterAssignee: filterAssignee
|
|
1668
1670
|
}
|
|
1669
1671
|
}, 'Content-Range').then(function (resContentRange) {
|
|
1670
1672
|
if (!resContentRange || typeof resContentRange !== 'string' && typeof resContentRange !== 'number') {
|
|
@@ -1696,7 +1698,7 @@ var ConsultService = /*#__PURE__*/function () {
|
|
|
1696
1698
|
*/
|
|
1697
1699
|
;
|
|
1698
1700
|
|
|
1699
|
-
_proto.getConsults = function getConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality) {
|
|
1701
|
+
_proto.getConsults = function getConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee) {
|
|
1700
1702
|
return this.api.get(this.baseURL + "/v1/consults", {
|
|
1701
1703
|
params: {
|
|
1702
1704
|
uuidPractice: uuidPractice,
|
|
@@ -1710,7 +1712,8 @@ var ConsultService = /*#__PURE__*/function () {
|
|
|
1710
1712
|
orderColumns: orderToSortTo,
|
|
1711
1713
|
filterAssignedDoctor: filterAssignedDoctor,
|
|
1712
1714
|
filterCurrentPractitioner: filterCurrentPractitioner,
|
|
1713
|
-
filterIsoLocality: filterIsoLocality
|
|
1715
|
+
filterIsoLocality: filterIsoLocality,
|
|
1716
|
+
filterAssignee: filterAssignee
|
|
1714
1717
|
}
|
|
1715
1718
|
});
|
|
1716
1719
|
};
|