oro-sdk 7.1.0 → 7.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1318,7 +1318,7 @@ function _registerPatient() {
1318
1318
  ++currentStep;
1319
1319
  if (onProgress) onProgress(currentStep++ / stepsTotalNum, 'store_patient_data');
1320
1320
  _context3.next = 38;
1321
- return storePatientData(consult.uuid, consultRequest.isoLanguageRequired, lockboxUuid, workflow, oroClient)["catch"](function (err) {
1321
+ return storePatientData(consult.uuid, consultRequest.isoLanguageRequired, lockboxUuid, workflow, oroClient, consult.consultType)["catch"](function (err) {
1322
1322
  console.error('[SDK: registration] Some errors happened during patient data upload', err);
1323
1323
  errorsThrown.push(err);
1324
1324
  });
@@ -1555,7 +1555,7 @@ function _storePatientData() {
1555
1555
  contentType: 'application/json'
1556
1556
  }, {})];
1557
1557
  _context6.t0 = consultType;
1558
- _context6.next = _context6.t0 === ConsultType.FollowUp ? 4 : _context6.t0 === ConsultType.Onboard ? 6 : _context6.t0 === ConsultType.Refill ? 6 : 7;
1558
+ _context6.next = _context6.t0 === ConsultType.FollowUp ? 4 : _context6.t0 === ConsultType.Onboard ? 6 : _context6.t0 === ConsultType.Refill ? 6 : 6;
1559
1559
  break;
1560
1560
  case 4:
1561
1561
  patientDataPromises.push(getWorkflowDataByCategory(workflow, MetadataCategory.Followup).then(function (data) {