oro-sdk 7.1.0 → 7.2.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/oro-sdk.cjs.development.js +2 -2
- package/dist/oro-sdk.cjs.development.js.map +1 -1
- package/dist/oro-sdk.cjs.production.min.js +1 -1
- package/dist/oro-sdk.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk.esm.js +2 -2
- package/dist/oro-sdk.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/helpers/patient-registration.ts +4 -2
@@ -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 :
|
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) {
|