oro-sdk 6.4.0 → 7.0.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 +1 -0
- 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 +1 -0
- package/dist/oro-sdk.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/helpers/prescription-refill.ts +3 -2
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"version": "
|
2
|
+
"version": "7.0.0",
|
3
3
|
"main": "dist/index.js",
|
4
4
|
"typings": "dist/index.d.ts",
|
5
5
|
"files": [
|
@@ -55,7 +55,7 @@
|
|
55
55
|
"form-data": "^4.0.0",
|
56
56
|
"formdata-node": "^4.3.1",
|
57
57
|
"idb-keyval": "^5.0.6",
|
58
|
-
"oro-sdk-apis": "~
|
58
|
+
"oro-sdk-apis": "~7.0.0",
|
59
59
|
"oro-toolbox": "0.0.6",
|
60
60
|
"uuid": "^8.3.2"
|
61
61
|
}
|
@@ -50,6 +50,7 @@ export function getRefillAnswersAsWorkflow(
|
|
50
50
|
createdAt: '2022-10-03T00:00:00.000Z',
|
51
51
|
culDeSacs: [],
|
52
52
|
hidePlanRules: [],
|
53
|
+
startingPlanIds: [],
|
53
54
|
pages: [
|
54
55
|
{
|
55
56
|
title: 'Prescription Refill',
|
@@ -212,9 +213,9 @@ export async function createRefill(
|
|
212
213
|
|
213
214
|
if (errorsThrown.length > 0) throw errorsThrown
|
214
215
|
|
215
|
-
if(
|
216
|
+
if (newConsult.statusMedical === MedicalStatus.Assigning) {
|
216
217
|
//hopefully svelte query received all updates
|
217
|
-
console.warn(
|
218
|
+
console.warn('Consult Refill assignation took too much time, moving to new anyway')
|
218
219
|
}
|
219
220
|
|
220
221
|
// Deem the consultation as ready
|