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/package.json
CHANGED
@@ -193,7 +193,8 @@ export async function registerPatient(
|
|
193
193
|
consultRequest.isoLanguageRequired,
|
194
194
|
lockboxUuid,
|
195
195
|
workflow,
|
196
|
-
oroClient
|
196
|
+
oroClient,
|
197
|
+
consult.consultType
|
197
198
|
).catch((err) => {
|
198
199
|
console.error('[SDK: registration] Some errors happened during patient data upload', err)
|
199
200
|
errorsThrown.push(err)
|
@@ -324,7 +325,7 @@ async function storePatientData(
|
|
324
325
|
lockboxUuid: Uuid,
|
325
326
|
workflow: WorkflowData,
|
326
327
|
oroClient: OroClient,
|
327
|
-
consultType
|
328
|
+
consultType: ConsultType
|
328
329
|
): Promise<(Uuid | void)[]> {
|
329
330
|
// Create and store registration data
|
330
331
|
let patientDataPromises = [
|
@@ -417,6 +418,7 @@ async function storePatientData(
|
|
417
418
|
break
|
418
419
|
case ConsultType.Onboard:
|
419
420
|
case ConsultType.Refill:
|
421
|
+
default:
|
420
422
|
break;
|
421
423
|
}
|
422
424
|
return Promise
|