oro-sdk 7.1.0 → 7.1.1-dev
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/LICENSE +21 -0
- 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
package/dist/oro-sdk.esm.js
CHANGED
@@ -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 :
|
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) {
|