oro-sdk-apis 1.30.0 → 1.32.0-dev2
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/consult.d.ts +10 -0
- package/dist/models/practice.d.ts +1 -0
- package/dist/models/workflow.d.ts +1 -0
- package/dist/oro-sdk-apis.cjs.development.js +17 -3
- 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 +20 -4
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/consult.d.ts +5 -3
- package/dist/services/teller.d.ts +2 -2
- package/package.json +2 -2
- package/src/models/consult.ts +11 -0
- package/src/models/practice.ts +2 -1
- package/src/models/workflow.ts +3 -1
- package/src/services/consult.ts +11 -0
- package/src/services/teller.ts +6 -1
package/dist/models/consult.d.ts
CHANGED
|
@@ -74,6 +74,13 @@ export declare enum TaskStatus {
|
|
|
74
74
|
Blocked = "Blocked",
|
|
75
75
|
Done = "Done"
|
|
76
76
|
}
|
|
77
|
+
export declare enum ClosedReasonType {
|
|
78
|
+
Completed = "Completed",
|
|
79
|
+
NotADisease = "NotADisease",
|
|
80
|
+
NotAppropriateForVirtual = "NotAppropriateForVirtual",
|
|
81
|
+
Other = "Other",
|
|
82
|
+
RequiresInPerson = "RequiresInPerson"
|
|
83
|
+
}
|
|
77
84
|
export interface ConsultRequest {
|
|
78
85
|
uuidPractice: string;
|
|
79
86
|
tagSpecialtyRequired: string;
|
|
@@ -94,6 +101,9 @@ export interface Consult {
|
|
|
94
101
|
uuidAssignedDoctor: string;
|
|
95
102
|
uuidCurrentAssigned: string;
|
|
96
103
|
statusTask?: TaskStatus;
|
|
104
|
+
closedReasonType?: ClosedReasonType;
|
|
105
|
+
closedReasonLogs?: string;
|
|
106
|
+
testReason?: string;
|
|
97
107
|
hasTransmissions?: boolean;
|
|
98
108
|
assignedAssistant?: ConsultAssignedAssistant[];
|
|
99
109
|
shortId?: string;
|
|
@@ -916,6 +916,14 @@ var ApisPracticeManager = /*#__PURE__*/function () {
|
|
|
916
916
|
TaskStatus["Done"] = "Done";
|
|
917
917
|
})(exports.TaskStatus || (exports.TaskStatus = {}));
|
|
918
918
|
|
|
919
|
+
(function (ClosedReasonType) {
|
|
920
|
+
ClosedReasonType["Completed"] = "Completed";
|
|
921
|
+
ClosedReasonType["NotADisease"] = "NotADisease";
|
|
922
|
+
ClosedReasonType["NotAppropriateForVirtual"] = "NotAppropriateForVirtual";
|
|
923
|
+
ClosedReasonType["Other"] = "Other";
|
|
924
|
+
ClosedReasonType["RequiresInPerson"] = "RequiresInPerson";
|
|
925
|
+
})(exports.ClosedReasonType || (exports.ClosedReasonType = {}));
|
|
926
|
+
|
|
919
927
|
(function (VisibilityType) {
|
|
920
928
|
VisibilityType["Generic"] = "Generic";
|
|
921
929
|
VisibilityType["Private"] = "Private";
|
|
@@ -1192,13 +1200,15 @@ var ConsultService = /*#__PURE__*/function () {
|
|
|
1192
1200
|
*/
|
|
1193
1201
|
;
|
|
1194
1202
|
|
|
1195
|
-
_proto.countConsults = function countConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee) {
|
|
1203
|
+
_proto.countConsults = function countConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, closedReasonTypes, closedReasonLogs, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee) {
|
|
1196
1204
|
return this.api.head(this.baseURL + "/v1/consults", {
|
|
1197
1205
|
params: {
|
|
1198
1206
|
uuidPractice: uuidPractice,
|
|
1199
1207
|
uuidRequester: uuidRequester,
|
|
1200
1208
|
statusesMedical: statusesMedical,
|
|
1201
1209
|
statusesExclude: statusesExclude,
|
|
1210
|
+
closedReasonTypes: closedReasonTypes,
|
|
1211
|
+
closedReasonLogs: closedReasonLogs,
|
|
1202
1212
|
shortId: shortId,
|
|
1203
1213
|
perPage: perPage,
|
|
1204
1214
|
page: indexPage,
|
|
@@ -1239,13 +1249,15 @@ var ConsultService = /*#__PURE__*/function () {
|
|
|
1239
1249
|
*/
|
|
1240
1250
|
;
|
|
1241
1251
|
|
|
1242
|
-
_proto.getConsults = function getConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee) {
|
|
1252
|
+
_proto.getConsults = function getConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, closedReasonTypes, closedReasonLogs, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee) {
|
|
1243
1253
|
return this.api.get(this.baseURL + "/v1/consults", {
|
|
1244
1254
|
params: {
|
|
1245
1255
|
uuidPractice: uuidPractice,
|
|
1246
1256
|
uuidRequester: uuidRequester,
|
|
1247
1257
|
statusesMedical: statusesMedical,
|
|
1248
1258
|
statusesExclude: statusesExclude,
|
|
1259
|
+
closedReasonTypes: closedReasonTypes,
|
|
1260
|
+
closedReasonLogs: closedReasonLogs,
|
|
1249
1261
|
shortId: shortId,
|
|
1250
1262
|
perPage: perPage,
|
|
1251
1263
|
page: indexPage,
|
|
@@ -2485,10 +2497,12 @@ var TellerService = /*#__PURE__*/function () {
|
|
|
2485
2497
|
return lockboxDataStore;
|
|
2486
2498
|
}();
|
|
2487
2499
|
|
|
2488
|
-
_proto.updateConsultByUUID = function updateConsultByUUID(patientUuid, uuidConsult, statusMedical, neverExpires) {
|
|
2500
|
+
_proto.updateConsultByUUID = function updateConsultByUUID(patientUuid, uuidConsult, statusMedical, closedReasonType, closedReasonLogs, neverExpires) {
|
|
2489
2501
|
return this.api.put(this.baseURL + "/v1/consults/" + uuidConsult, {
|
|
2490
2502
|
patientUuid: patientUuid,
|
|
2491
2503
|
statusMedical: statusMedical,
|
|
2504
|
+
closedReasonType: closedReasonType,
|
|
2505
|
+
closedReasonLogs: closedReasonLogs,
|
|
2492
2506
|
neverExpires: neverExpires
|
|
2493
2507
|
});
|
|
2494
2508
|
}
|