oro-sdk 7.1.0 → 7.1.1-dev

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "7.1.0",
2
+ "version": "7.1.1-dev",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -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?: 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