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.
@@ -1322,7 +1322,7 @@ function _registerPatient() {
1322
1322
  ++currentStep;
1323
1323
  if (onProgress) onProgress(currentStep++ / stepsTotalNum, 'store_patient_data');
1324
1324
  _context3.next = 38;
1325
- return storePatientData(consult.uuid, consultRequest.isoLanguageRequired, lockboxUuid, workflow, oroClient)["catch"](function (err) {
1325
+ return storePatientData(consult.uuid, consultRequest.isoLanguageRequired, lockboxUuid, workflow, oroClient, consult.consultType)["catch"](function (err) {
1326
1326
  console.error('[SDK: registration] Some errors happened during patient data upload', err);
1327
1327
  errorsThrown.push(err);
1328
1328
  });
@@ -1559,7 +1559,7 @@ function _storePatientData() {
1559
1559
  contentType: 'application/json'
1560
1560
  }, {})];
1561
1561
  _context6.t0 = consultType;
1562
- _context6.next = _context6.t0 === initApis.ConsultType.FollowUp ? 4 : _context6.t0 === initApis.ConsultType.Onboard ? 6 : _context6.t0 === initApis.ConsultType.Refill ? 6 : 7;
1562
+ _context6.next = _context6.t0 === initApis.ConsultType.FollowUp ? 4 : _context6.t0 === initApis.ConsultType.Onboard ? 6 : _context6.t0 === initApis.ConsultType.Refill ? 6 : 6;
1563
1563
  break;
1564
1564
  case 4:
1565
1565
  patientDataPromises.push(getWorkflowDataByCategory(workflow, initApis.MetadataCategory.Followup).then(function (data) {