oro-sdk-apis 1.29.0 → 1.30.0-dev1

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.
@@ -395,7 +395,7 @@ function _asyncToGenerator(fn) {
395
395
  }
396
396
 
397
397
  function _extends() {
398
- _extends = Object.assign || function (target) {
398
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
399
399
  for (var i = 1; i < arguments.length; i++) {
400
400
  var source = arguments[i];
401
401
 
@@ -408,7 +408,6 @@ function _extends() {
408
408
 
409
409
  return target;
410
410
  };
411
-
412
411
  return _extends.apply(this, arguments);
413
412
  }
414
413
 
@@ -420,18 +419,17 @@ function _inheritsLoose(subClass, superClass) {
420
419
  }
421
420
 
422
421
  function _getPrototypeOf(o) {
423
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
422
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
424
423
  return o.__proto__ || Object.getPrototypeOf(o);
425
424
  };
426
425
  return _getPrototypeOf(o);
427
426
  }
428
427
 
429
428
  function _setPrototypeOf(o, p) {
430
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
429
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
431
430
  o.__proto__ = p;
432
431
  return o;
433
432
  };
434
-
435
433
  return _setPrototypeOf(o, p);
436
434
  }
437
435
 
@@ -450,7 +448,7 @@ function _isNativeReflectConstruct() {
450
448
 
451
449
  function _construct(Parent, args, Class) {
452
450
  if (_isNativeReflectConstruct()) {
453
- _construct = Reflect.construct;
451
+ _construct = Reflect.construct.bind();
454
452
  } else {
455
453
  _construct = function _construct(Parent, args, Class) {
456
454
  var a = [null];
@@ -924,6 +922,16 @@ var TaskStatus;
924
922
  TaskStatus["Done"] = "Done";
925
923
  })(TaskStatus || (TaskStatus = {}));
926
924
 
925
+ var ClosedReasonType;
926
+
927
+ (function (ClosedReasonType) {
928
+ ClosedReasonType["Completed"] = "Completed";
929
+ ClosedReasonType["NotADisease"] = "NotADisease";
930
+ ClosedReasonType["NotAppropriateForVirtual"] = "NotAppropriateForVirtual";
931
+ ClosedReasonType["Other"] = "Other";
932
+ ClosedReasonType["RequiresInPerson"] = "RequiresInPerson";
933
+ })(ClosedReasonType || (ClosedReasonType = {}));
934
+
927
935
  var VisibilityType;
928
936
 
929
937
  (function (VisibilityType) {
@@ -1252,13 +1260,15 @@ var ConsultService = /*#__PURE__*/function () {
1252
1260
  */
1253
1261
  ;
1254
1262
 
1255
- _proto.countConsults = function countConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee) {
1263
+ _proto.countConsults = function countConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, closedReasonTypes, closedReasonMsgs, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee) {
1256
1264
  return this.api.head(this.baseURL + "/v1/consults", {
1257
1265
  params: {
1258
1266
  uuidPractice: uuidPractice,
1259
1267
  uuidRequester: uuidRequester,
1260
1268
  statusesMedical: statusesMedical,
1261
1269
  statusesExclude: statusesExclude,
1270
+ closedReasonTypes: closedReasonTypes,
1271
+ closedReasonMsgs: closedReasonMsgs,
1262
1272
  shortId: shortId,
1263
1273
  perPage: perPage,
1264
1274
  page: indexPage,
@@ -1299,13 +1309,15 @@ var ConsultService = /*#__PURE__*/function () {
1299
1309
  */
1300
1310
  ;
1301
1311
 
1302
- _proto.getConsults = function getConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee) {
1312
+ _proto.getConsults = function getConsults(uuidPractice, uuidRequester, statusesMedical, statusesExclude, closedReasonTypes, closedReasonMsgs, shortId, columnToSortTo, orderToSortTo, perPage, indexPage, filterAssignedDoctor, filterCurrentPractitioner, filterIsoLocality, filterAssignee) {
1303
1313
  return this.api.get(this.baseURL + "/v1/consults", {
1304
1314
  params: {
1305
1315
  uuidPractice: uuidPractice,
1306
1316
  uuidRequester: uuidRequester,
1307
1317
  statusesMedical: statusesMedical,
1308
1318
  statusesExclude: statusesExclude,
1319
+ closedReasonTypes: closedReasonTypes,
1320
+ closedReasonMsgs: closedReasonMsgs,
1309
1321
  shortId: shortId,
1310
1322
  perPage: perPage,
1311
1323
  page: indexPage,
@@ -2545,10 +2557,12 @@ var TellerService = /*#__PURE__*/function () {
2545
2557
  return lockboxDataStore;
2546
2558
  }();
2547
2559
 
2548
- _proto.updateConsultByUUID = function updateConsultByUUID(patientUuid, uuidConsult, statusMedical, neverExpires) {
2560
+ _proto.updateConsultByUUID = function updateConsultByUUID(patientUuid, uuidConsult, statusMedical, closedReasonType, closedReasonMsg, neverExpires) {
2549
2561
  return this.api.put(this.baseURL + "/v1/consults/" + uuidConsult, {
2550
2562
  patientUuid: patientUuid,
2551
2563
  statusMedical: statusMedical,
2564
+ closedReasonType: closedReasonType,
2565
+ closedReasonMsg: closedReasonMsg,
2552
2566
  neverExpires: neverExpires
2553
2567
  });
2554
2568
  }
@@ -3090,5 +3104,5 @@ var init = function init(services, authenticationCallback, useLocalStorage) {
3090
3104
  };
3091
3105
 
3092
3106
  export default init;
3093
- export { APIService, ApisPracticeManager, AssignmentStatus, AssistantType, AuthenticationBadRequest, AuthenticationFailed, AuthenticationServerError, AuthenticationUnconfirmedEmail, AxiosService, ConsultService, DiagnosisService, DocumentType, DrugType, FeeStatus, GuardService, IdentityCreationBadRequest, IdentityCreationConflict, IdentityCreationFailed, IndexKey, LicenseStatus, MedicalStatus, MetadataCategory, OtherRoleType, PaymentStatus, PeriodType, PlanStatus, PlanType, PracticeConfigKind, PracticeEmailKind, PracticeService, PractitionerStatus, PractitionnerRoleType, RateDimension, StripePriceType, SyncStatus, TaskStatus, TellerService, TransmissionKind, TransmissionStatus, VaultService, VisibilityType, WorkflowService, WorkflowType, hashToBase64String, init };
3107
+ export { APIService, ApisPracticeManager, AssignmentStatus, AssistantType, AuthenticationBadRequest, AuthenticationFailed, AuthenticationServerError, AuthenticationUnconfirmedEmail, AxiosService, ClosedReasonType, ConsultService, DiagnosisService, DocumentType, DrugType, FeeStatus, GuardService, IdentityCreationBadRequest, IdentityCreationConflict, IdentityCreationFailed, IndexKey, LicenseStatus, MedicalStatus, MetadataCategory, OtherRoleType, PaymentStatus, PeriodType, PlanStatus, PlanType, PracticeConfigKind, PracticeEmailKind, PracticeService, PractitionerStatus, PractitionnerRoleType, RateDimension, StripePriceType, SyncStatus, TaskStatus, TellerService, TransmissionKind, TransmissionStatus, VaultService, VisibilityType, WorkflowService, WorkflowType, hashToBase64String, init };
3094
3108
  //# sourceMappingURL=oro-sdk-apis.esm.js.map