oro-sdk 5.5.0 → 5.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/client.d.ts +15 -7
- package/dist/oro-sdk.cjs.development.js +97 -77
- 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 +97 -77
- package/dist/oro-sdk.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +41 -32
- package/src/helpers/patient-registration.ts +7 -7
- package/src/helpers/prescription-refill.ts +21 -12
package/dist/client.d.ts
CHANGED
@@ -140,7 +140,9 @@ export declare class OroClient {
|
|
140
140
|
* @param previousDataUuid if it's a revision of existing file, specify the previous data uuid
|
141
141
|
* @returns the data uuid
|
142
142
|
*/
|
143
|
-
createMessageData(lockboxUuid: Uuid, message: string, consultationId: string, lockboxOwnerUuid?: Uuid, previousDataUuid?: Uuid
|
143
|
+
createMessageData(lockboxUuid: Uuid, message: string, consultationId: string, lockboxOwnerUuid?: Uuid, previousDataUuid?: Uuid, options?: {
|
144
|
+
updateMedicalStatus: boolean;
|
145
|
+
}): Promise<DataCreateResponse>;
|
144
146
|
/**
|
145
147
|
* @name createMessageAttachmentData
|
146
148
|
* @description Creates a Base64 encrypted Payload to send and store in the vault from a file
|
@@ -151,7 +153,9 @@ export declare class OroClient {
|
|
151
153
|
* @param previousDataUuid if it's a revision of existing file, specify the previous data uuid
|
152
154
|
* @returns the data uuid
|
153
155
|
*/
|
154
|
-
createMessageAttachmentData(lockboxUuid: Uuid, data: File, consultationId: string, lockboxOwnerUuid?: Uuid, previousDataUuid?: Uuid
|
156
|
+
createMessageAttachmentData(lockboxUuid: Uuid, data: File, consultationId: string, lockboxOwnerUuid?: Uuid, previousDataUuid?: Uuid, options?: {
|
157
|
+
updateMedicalStatus: boolean;
|
158
|
+
}): Promise<DataCreateResponse>;
|
155
159
|
/**
|
156
160
|
* @name createAttachmentData
|
157
161
|
* @description Creates a Base64 encrypted Payload to send and store in the vault from a file
|
@@ -165,7 +169,8 @@ export declare class OroClient {
|
|
165
169
|
* @returns the data uuid
|
166
170
|
*/
|
167
171
|
createConsultationAttachmentData(lockboxUuid: Uuid, data: File, consultationId: string, documentType: DocumentType, lockboxOwnerUuid?: Uuid, previousDataUuid?: Uuid, options?: {
|
168
|
-
withNotification
|
172
|
+
withNotification: boolean;
|
173
|
+
updateMedicalStatus: boolean;
|
169
174
|
}): Promise<DataCreateResponse>;
|
170
175
|
/**
|
171
176
|
* @name createJsonData
|
@@ -182,7 +187,8 @@ export declare class OroClient {
|
|
182
187
|
createJsonData<T extends Metadata>(lockboxUuid: Uuid, data: any, meta?: T, privateMeta?: {
|
183
188
|
[val: string]: any;
|
184
189
|
}, lockboxOwnerUuid?: Uuid, previousDataUuid?: Uuid, options?: {
|
185
|
-
withNotification
|
190
|
+
withNotification: boolean;
|
191
|
+
updateMedicalStatus: boolean;
|
186
192
|
}): Promise<DataCreateResponse>;
|
187
193
|
/**
|
188
194
|
* Get or upsert a data in lockbox
|
@@ -195,8 +201,9 @@ export declare class OroClient {
|
|
195
201
|
* @returns the data uuid
|
196
202
|
*/
|
197
203
|
getOrInsertJsonData<M extends Metadata>(lockboxUuid: Uuid, data: any, publicMetadata: M, privateMetadata: Metadata, options?: {
|
198
|
-
withNotification
|
199
|
-
forceReplace
|
204
|
+
withNotification: boolean;
|
205
|
+
forceReplace: boolean;
|
206
|
+
updateMedicalStatus: boolean;
|
200
207
|
}): Promise<Uuid>;
|
201
208
|
/**
|
202
209
|
* @name createBytesData
|
@@ -213,7 +220,8 @@ export declare class OroClient {
|
|
213
220
|
createBytesData<T extends Metadata>(lockboxUuid: Uuid, data: Uint8Array, meta: T, privateMeta: {
|
214
221
|
[val: string]: any;
|
215
222
|
}, lockboxOwnerUuid?: Uuid, previousDataUuid?: Uuid, options?: {
|
216
|
-
withNotification
|
223
|
+
withNotification: boolean;
|
224
|
+
updateMedicalStatus: boolean;
|
217
225
|
}): Promise<DataCreateResponse>;
|
218
226
|
/**
|
219
227
|
* @name getJsonData
|
@@ -1472,8 +1472,12 @@ function _storePatientData() {
|
|
1472
1472
|
}, {
|
1473
1473
|
consultationId: consultationId
|
1474
1474
|
}, {
|
1475
|
-
withNotification: true
|
1476
|
-
|
1475
|
+
withNotification: true,
|
1476
|
+
forceReplace: false,
|
1477
|
+
updateMedicalStatus: false
|
1478
|
+
}
|
1479
|
+
// the only data that needs to include an email notification
|
1480
|
+
);
|
1477
1481
|
}), getWorkflowDataByCategory(workflow, initApis.MetadataCategory.Medical).then(function (data) {
|
1478
1482
|
return oroClient.getOrInsertJsonData(lockboxUuid, data, {
|
1479
1483
|
category: initApis.MetadataCategory.Medical,
|
@@ -1879,7 +1883,9 @@ function _createRefill() {
|
|
1879
1883
|
documentType: initApis.DocumentType.PopulatedWorkflowData,
|
1880
1884
|
consultationIds: [newConsult.uuid]
|
1881
1885
|
}, {}, {
|
1882
|
-
withNotification: true
|
1886
|
+
withNotification: true,
|
1887
|
+
forceReplace: false,
|
1888
|
+
updateMedicalStatus: true
|
1883
1889
|
})["catch"](function (err) {
|
1884
1890
|
console.error('[SDK: prescription refill request] Some errors happened during refill data upload', err);
|
1885
1891
|
errorsThrown.push(err);
|
@@ -1917,7 +1923,7 @@ function _createRefill() {
|
|
1917
1923
|
_context.next = 36;
|
1918
1924
|
break;
|
1919
1925
|
case 34:
|
1920
|
-
console.error(
|
1926
|
+
console.error("[SDK: prescription refill request] parent consultation's raw data not found");
|
1921
1927
|
errorsThrown.push(Error('RawData Not Found'));
|
1922
1928
|
case 36:
|
1923
1929
|
if (!(errorsThrown.length > 0)) {
|
@@ -2658,27 +2664,32 @@ var OroClient = /*#__PURE__*/function () {
|
|
2658
2664
|
_proto.createMessageData =
|
2659
2665
|
/*#__PURE__*/
|
2660
2666
|
function () {
|
2661
|
-
var _createMessageData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13(lockboxUuid, message, consultationId, lockboxOwnerUuid, previousDataUuid) {
|
2667
|
+
var _createMessageData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13(lockboxUuid, message, consultationId, lockboxOwnerUuid, previousDataUuid, options) {
|
2662
2668
|
var symmetricEncryptor, encryptedData, encryptedPrivateMeta, meta, request;
|
2663
2669
|
return _regeneratorRuntime().wrap(function _callee13$(_context13) {
|
2664
2670
|
while (1) {
|
2665
2671
|
switch (_context13.prev = _context13.next) {
|
2666
2672
|
case 0:
|
2673
|
+
if (options === void 0) {
|
2674
|
+
options = {
|
2675
|
+
updateMedicalStatus: true
|
2676
|
+
};
|
2677
|
+
}
|
2667
2678
|
if (this.rsa) {
|
2668
|
-
_context13.next =
|
2679
|
+
_context13.next = 3;
|
2669
2680
|
break;
|
2670
2681
|
}
|
2671
2682
|
throw IncompleteAuthentication;
|
2672
|
-
case
|
2673
|
-
_context13.next =
|
2683
|
+
case 3:
|
2684
|
+
_context13.next = 5;
|
2674
2685
|
return this.getCachedSecretCryptor(lockboxUuid, lockboxOwnerUuid);
|
2675
|
-
case
|
2686
|
+
case 5:
|
2676
2687
|
symmetricEncryptor = _context13.sent;
|
2677
2688
|
encryptedData = symmetricEncryptor.jsonEncryptToBase64Payload(message);
|
2678
2689
|
_context13.t0 = symmetricEncryptor;
|
2679
|
-
_context13.next =
|
2690
|
+
_context13.next = 10;
|
2680
2691
|
return this.guardClient.whoAmI();
|
2681
|
-
case
|
2692
|
+
case 10:
|
2682
2693
|
_context13.t1 = _context13.sent.sub;
|
2683
2694
|
_context13.t2 = {
|
2684
2695
|
author: _context13.t1
|
@@ -2695,15 +2706,15 @@ var OroClient = /*#__PURE__*/function () {
|
|
2695
2706
|
publicMetadata: meta,
|
2696
2707
|
privateMetadata: encryptedPrivateMeta
|
2697
2708
|
};
|
2698
|
-
return _context13.abrupt("return", this.tellerClient.lockboxDataStore(lockboxUuid, request, lockboxOwnerUuid, previousDataUuid));
|
2699
|
-
case
|
2709
|
+
return _context13.abrupt("return", this.tellerClient.lockboxDataStore(lockboxUuid, request, lockboxOwnerUuid, previousDataUuid, options));
|
2710
|
+
case 16:
|
2700
2711
|
case "end":
|
2701
2712
|
return _context13.stop();
|
2702
2713
|
}
|
2703
2714
|
}
|
2704
2715
|
}, _callee13, this);
|
2705
2716
|
}));
|
2706
|
-
function createMessageData(_x29, _x30, _x31, _x32, _x33) {
|
2717
|
+
function createMessageData(_x29, _x30, _x31, _x32, _x33, _x34) {
|
2707
2718
|
return _createMessageData.apply(this, arguments);
|
2708
2719
|
}
|
2709
2720
|
return createMessageData;
|
@@ -2722,34 +2733,39 @@ var OroClient = /*#__PURE__*/function () {
|
|
2722
2733
|
_proto.createMessageAttachmentData =
|
2723
2734
|
/*#__PURE__*/
|
2724
2735
|
function () {
|
2725
|
-
var _createMessageAttachmentData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(lockboxUuid, data, consultationId, lockboxOwnerUuid, previousDataUuid) {
|
2736
|
+
var _createMessageAttachmentData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(lockboxUuid, data, consultationId, lockboxOwnerUuid, previousDataUuid, options) {
|
2726
2737
|
var symmetricEncryptor, encryptedData, encryptedPrivateMeta, meta, request;
|
2727
2738
|
return _regeneratorRuntime().wrap(function _callee14$(_context14) {
|
2728
2739
|
while (1) {
|
2729
2740
|
switch (_context14.prev = _context14.next) {
|
2730
2741
|
case 0:
|
2742
|
+
if (options === void 0) {
|
2743
|
+
options = {
|
2744
|
+
updateMedicalStatus: true
|
2745
|
+
};
|
2746
|
+
}
|
2731
2747
|
if (this.rsa) {
|
2732
|
-
_context14.next =
|
2748
|
+
_context14.next = 3;
|
2733
2749
|
break;
|
2734
2750
|
}
|
2735
2751
|
throw IncompleteAuthentication;
|
2736
|
-
case
|
2737
|
-
_context14.next =
|
2752
|
+
case 3:
|
2753
|
+
_context14.next = 5;
|
2738
2754
|
return this.getCachedSecretCryptor(lockboxUuid, lockboxOwnerUuid);
|
2739
|
-
case
|
2755
|
+
case 5:
|
2740
2756
|
symmetricEncryptor = _context14.sent;
|
2741
2757
|
_context14.t0 = symmetricEncryptor;
|
2742
2758
|
_context14.t1 = Uint8Array;
|
2743
|
-
_context14.next =
|
2759
|
+
_context14.next = 10;
|
2744
2760
|
return data.arrayBuffer();
|
2745
|
-
case
|
2761
|
+
case 10:
|
2746
2762
|
_context14.t2 = _context14.sent;
|
2747
2763
|
_context14.t3 = new _context14.t1(_context14.t2);
|
2748
2764
|
encryptedData = _context14.t0.bytesEncryptToBase64Payload.call(_context14.t0, _context14.t3);
|
2749
2765
|
_context14.t4 = symmetricEncryptor;
|
2750
|
-
_context14.next =
|
2766
|
+
_context14.next = 16;
|
2751
2767
|
return this.guardClient.whoAmI();
|
2752
|
-
case
|
2768
|
+
case 16:
|
2753
2769
|
_context14.t5 = _context14.sent.sub;
|
2754
2770
|
_context14.t6 = data.name;
|
2755
2771
|
_context14.t7 = data.lastModified;
|
@@ -2772,15 +2788,15 @@ var OroClient = /*#__PURE__*/function () {
|
|
2772
2788
|
publicMetadata: meta,
|
2773
2789
|
privateMetadata: encryptedPrivateMeta
|
2774
2790
|
};
|
2775
|
-
return _context14.abrupt("return", this.tellerClient.lockboxDataStore(lockboxUuid, request, lockboxOwnerUuid, previousDataUuid));
|
2776
|
-
case
|
2791
|
+
return _context14.abrupt("return", this.tellerClient.lockboxDataStore(lockboxUuid, request, lockboxOwnerUuid, previousDataUuid, options));
|
2792
|
+
case 25:
|
2777
2793
|
case "end":
|
2778
2794
|
return _context14.stop();
|
2779
2795
|
}
|
2780
2796
|
}
|
2781
2797
|
}, _callee14, this);
|
2782
2798
|
}));
|
2783
|
-
function createMessageAttachmentData(
|
2799
|
+
function createMessageAttachmentData(_x35, _x36, _x37, _x38, _x39, _x40) {
|
2784
2800
|
return _createMessageAttachmentData.apply(this, arguments);
|
2785
2801
|
}
|
2786
2802
|
return createMessageAttachmentData;
|
@@ -2808,7 +2824,8 @@ var OroClient = /*#__PURE__*/function () {
|
|
2808
2824
|
case 0:
|
2809
2825
|
if (options === void 0) {
|
2810
2826
|
options = {
|
2811
|
-
withNotification: false
|
2827
|
+
withNotification: false,
|
2828
|
+
updateMedicalStatus: false
|
2812
2829
|
};
|
2813
2830
|
}
|
2814
2831
|
if (this.rsa) {
|
@@ -2851,7 +2868,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
2851
2868
|
}
|
2852
2869
|
}, _callee15, this);
|
2853
2870
|
}));
|
2854
|
-
function createConsultationAttachmentData(
|
2871
|
+
function createConsultationAttachmentData(_x41, _x42, _x43, _x44, _x45, _x46, _x47) {
|
2855
2872
|
return _createConsultationAttachmentData.apply(this, arguments);
|
2856
2873
|
}
|
2857
2874
|
return createConsultationAttachmentData;
|
@@ -2880,7 +2897,8 @@ var OroClient = /*#__PURE__*/function () {
|
|
2880
2897
|
case 0:
|
2881
2898
|
if (options === void 0) {
|
2882
2899
|
options = {
|
2883
|
-
withNotification: false
|
2900
|
+
withNotification: false,
|
2901
|
+
updateMedicalStatus: false
|
2884
2902
|
};
|
2885
2903
|
}
|
2886
2904
|
if (this.rsa) {
|
@@ -2904,7 +2922,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
2904
2922
|
_context16.next = 13;
|
2905
2923
|
break;
|
2906
2924
|
}
|
2907
|
-
return _context16.abrupt("return", this.tellerClient.lockboxDataStore(lockboxUuid, request, lockboxOwnerUuid, previousDataUuid));
|
2925
|
+
return _context16.abrupt("return", this.tellerClient.lockboxDataStore(lockboxUuid, request, lockboxOwnerUuid, previousDataUuid, options));
|
2908
2926
|
case 13:
|
2909
2927
|
return _context16.abrupt("return", this.vaultClient.lockboxDataStore(lockboxUuid, request, lockboxOwnerUuid, previousDataUuid));
|
2910
2928
|
case 14:
|
@@ -2914,7 +2932,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
2914
2932
|
}
|
2915
2933
|
}, _callee16, this);
|
2916
2934
|
}));
|
2917
|
-
function createJsonData(
|
2935
|
+
function createJsonData(_x48, _x49, _x50, _x51, _x52, _x53, _x54) {
|
2918
2936
|
return _createJsonData.apply(this, arguments);
|
2919
2937
|
}
|
2920
2938
|
return createJsonData;
|
@@ -2942,7 +2960,8 @@ var OroClient = /*#__PURE__*/function () {
|
|
2942
2960
|
if (options === void 0) {
|
2943
2961
|
options = {
|
2944
2962
|
withNotification: false,
|
2945
|
-
forceReplace: false
|
2963
|
+
forceReplace: false,
|
2964
|
+
updateMedicalStatus: false
|
2946
2965
|
};
|
2947
2966
|
}
|
2948
2967
|
_context17.next = 3;
|
@@ -2959,9 +2978,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
2959
2978
|
_context17.next = 11;
|
2960
2979
|
return this.createJsonData(lockboxUuid, data, publicMetadata, privateMetadata, undefined,
|
2961
2980
|
// if forceReplace and data already exist, then replace data. Otherwise insert it
|
2962
|
-
options.forceReplace && manifest.length > 0 ? manifest[0].dataUuid : undefined, {
|
2963
|
-
withNotification: options.withNotification
|
2964
|
-
})["catch"](function (err) {
|
2981
|
+
options.forceReplace && manifest.length > 0 ? manifest[0].dataUuid : undefined, options)["catch"](function (err) {
|
2965
2982
|
console.error("Error while upserting data " + JSON.stringify(publicMetadata) + " data", err);
|
2966
2983
|
throw err;
|
2967
2984
|
});
|
@@ -2974,7 +2991,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
2974
2991
|
}
|
2975
2992
|
}, _callee17, this);
|
2976
2993
|
}));
|
2977
|
-
function getOrInsertJsonData(
|
2994
|
+
function getOrInsertJsonData(_x55, _x56, _x57, _x58, _x59) {
|
2978
2995
|
return _getOrInsertJsonData.apply(this, arguments);
|
2979
2996
|
}
|
2980
2997
|
return getOrInsertJsonData;
|
@@ -3003,7 +3020,8 @@ var OroClient = /*#__PURE__*/function () {
|
|
3003
3020
|
case 0:
|
3004
3021
|
if (options === void 0) {
|
3005
3022
|
options = {
|
3006
|
-
withNotification: false
|
3023
|
+
withNotification: false,
|
3024
|
+
updateMedicalStatus: false
|
3007
3025
|
};
|
3008
3026
|
}
|
3009
3027
|
if (this.rsa) {
|
@@ -3027,7 +3045,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3027
3045
|
_context18.next = 13;
|
3028
3046
|
break;
|
3029
3047
|
}
|
3030
|
-
return _context18.abrupt("return", this.tellerClient.lockboxDataStore(lockboxUuid, request, lockboxOwnerUuid, previousDataUuid));
|
3048
|
+
return _context18.abrupt("return", this.tellerClient.lockboxDataStore(lockboxUuid, request, lockboxOwnerUuid, previousDataUuid, options));
|
3031
3049
|
case 13:
|
3032
3050
|
return _context18.abrupt("return", this.vaultClient.lockboxDataStore(lockboxUuid, request, lockboxOwnerUuid, previousDataUuid));
|
3033
3051
|
case 14:
|
@@ -3037,7 +3055,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3037
3055
|
}
|
3038
3056
|
}, _callee18, this);
|
3039
3057
|
}));
|
3040
|
-
function createBytesData(
|
3058
|
+
function createBytesData(_x60, _x61, _x62, _x63, _x64, _x65, _x66) {
|
3041
3059
|
return _createBytesData.apply(this, arguments);
|
3042
3060
|
}
|
3043
3061
|
return createBytesData;
|
@@ -3083,7 +3101,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3083
3101
|
}
|
3084
3102
|
}, _callee19, this);
|
3085
3103
|
}));
|
3086
|
-
function getJsonData(
|
3104
|
+
function getJsonData(_x67, _x68, _x69) {
|
3087
3105
|
return _getJsonData.apply(this, arguments);
|
3088
3106
|
}
|
3089
3107
|
return getJsonData;
|
@@ -3125,7 +3143,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3125
3143
|
}
|
3126
3144
|
}, _callee20, this);
|
3127
3145
|
}));
|
3128
|
-
function getBytesData(
|
3146
|
+
function getBytesData(_x70, _x71, _x72) {
|
3129
3147
|
return _getBytesData.apply(this, arguments);
|
3130
3148
|
}
|
3131
3149
|
return getBytesData;
|
@@ -3236,7 +3254,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3236
3254
|
}
|
3237
3255
|
}, _callee21, this);
|
3238
3256
|
}));
|
3239
|
-
function getGrants(
|
3257
|
+
function getGrants(_x73) {
|
3240
3258
|
return _getGrants.apply(this, arguments);
|
3241
3259
|
}
|
3242
3260
|
return getGrants;
|
@@ -3321,7 +3339,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3321
3339
|
}
|
3322
3340
|
}, _callee23, this);
|
3323
3341
|
}));
|
3324
|
-
function getCachedSecretCryptor(
|
3342
|
+
function getCachedSecretCryptor(_x74, _x75) {
|
3325
3343
|
return _getCachedSecretCryptor.apply(this, arguments);
|
3326
3344
|
}
|
3327
3345
|
return getCachedSecretCryptor;
|
@@ -3357,7 +3375,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3357
3375
|
}
|
3358
3376
|
}, _callee24, this);
|
3359
3377
|
}));
|
3360
|
-
function getPersonalInformationsFromConsultId(
|
3378
|
+
function getPersonalInformationsFromConsultId(_x76, _x77, _x78) {
|
3361
3379
|
return _getPersonalInformationsFromConsultId.apply(this, arguments);
|
3362
3380
|
}
|
3363
3381
|
return getPersonalInformationsFromConsultId;
|
@@ -3392,7 +3410,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3392
3410
|
}
|
3393
3411
|
}, _callee25, this);
|
3394
3412
|
}));
|
3395
|
-
function getMedicalDataFromConsultId(
|
3413
|
+
function getMedicalDataFromConsultId(_x79, _x80) {
|
3396
3414
|
return _getMedicalDataFromConsultId.apply(this, arguments);
|
3397
3415
|
}
|
3398
3416
|
return getMedicalDataFromConsultId;
|
@@ -3473,7 +3491,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3473
3491
|
}
|
3474
3492
|
}, _callee26);
|
3475
3493
|
}));
|
3476
|
-
return function (
|
3494
|
+
return function (_x84) {
|
3477
3495
|
return _ref3.apply(this, arguments);
|
3478
3496
|
};
|
3479
3497
|
}()));
|
@@ -3506,7 +3524,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3506
3524
|
}
|
3507
3525
|
}, _callee27, this);
|
3508
3526
|
}));
|
3509
|
-
function getMetaCategoryFromConsultId(
|
3527
|
+
function getMetaCategoryFromConsultId(_x81, _x82, _x83) {
|
3510
3528
|
return _getMetaCategoryFromConsultId.apply(this, arguments);
|
3511
3529
|
}
|
3512
3530
|
return getMetaCategoryFromConsultId;
|
@@ -3578,7 +3596,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3578
3596
|
}
|
3579
3597
|
}, _callee28, this);
|
3580
3598
|
}));
|
3581
|
-
function getPersonalInformations(
|
3599
|
+
function getPersonalInformations(_x85) {
|
3582
3600
|
return _getPersonalInformations.apply(this, arguments);
|
3583
3601
|
}
|
3584
3602
|
return getPersonalInformations;
|
@@ -3619,7 +3637,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3619
3637
|
}
|
3620
3638
|
}, _callee29, this);
|
3621
3639
|
}));
|
3622
|
-
function getGrantFromConsultId(
|
3640
|
+
function getGrantFromConsultId(_x86) {
|
3623
3641
|
return _getGrantFromConsultId.apply(this, arguments);
|
3624
3642
|
}
|
3625
3643
|
return getGrantFromConsultId;
|
@@ -3660,7 +3678,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3660
3678
|
}
|
3661
3679
|
}, _callee30, this);
|
3662
3680
|
}));
|
3663
|
-
function getIdentityFromConsultId(
|
3681
|
+
function getIdentityFromConsultId(_x87) {
|
3664
3682
|
return _getIdentityFromConsultId.apply(this, arguments);
|
3665
3683
|
}
|
3666
3684
|
return getIdentityFromConsultId;
|
@@ -3729,7 +3747,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3729
3747
|
}
|
3730
3748
|
}, _callee31);
|
3731
3749
|
}));
|
3732
|
-
return function (
|
3750
|
+
return function (_x93) {
|
3733
3751
|
return _ref4.apply(this, arguments);
|
3734
3752
|
};
|
3735
3753
|
}())).then(function (manifest) {
|
@@ -3743,7 +3761,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3743
3761
|
}
|
3744
3762
|
}, _callee32, this);
|
3745
3763
|
}));
|
3746
|
-
function getLockboxManifest(
|
3764
|
+
function getLockboxManifest(_x88, _x89, _x90, _x91, _x92) {
|
3747
3765
|
return _getLockboxManifest.apply(this, arguments);
|
3748
3766
|
}
|
3749
3767
|
return getLockboxManifest;
|
@@ -3800,7 +3818,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3800
3818
|
}
|
3801
3819
|
}, _callee33, this);
|
3802
3820
|
}));
|
3803
|
-
function createPersonalInformations(
|
3821
|
+
function createPersonalInformations(_x94, _x95, _x96) {
|
3804
3822
|
return _createPersonalInformations.apply(this, arguments);
|
3805
3823
|
}
|
3806
3824
|
return createPersonalInformations;
|
@@ -3857,7 +3875,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3857
3875
|
}
|
3858
3876
|
}, _callee34, this);
|
3859
3877
|
}));
|
3860
|
-
function createUserPreference(
|
3878
|
+
function createUserPreference(_x97, _x98, _x99) {
|
3861
3879
|
return _createUserPreference.apply(this, arguments);
|
3862
3880
|
}
|
3863
3881
|
return createUserPreference;
|
@@ -3916,7 +3934,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3916
3934
|
}
|
3917
3935
|
}, _callee35, this);
|
3918
3936
|
}));
|
3919
|
-
function getDataFromGrant(
|
3937
|
+
function getDataFromGrant(_x100, _x101) {
|
3920
3938
|
return _getDataFromGrant.apply(this, arguments);
|
3921
3939
|
}
|
3922
3940
|
return getDataFromGrant;
|
@@ -3957,7 +3975,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
3957
3975
|
}
|
3958
3976
|
}, _callee36, this);
|
3959
3977
|
}));
|
3960
|
-
function getUserPreferenceFromConsultId(
|
3978
|
+
function getUserPreferenceFromConsultId(_x102) {
|
3961
3979
|
return _getUserPreferenceFromConsultId.apply(this, arguments);
|
3962
3980
|
}
|
3963
3981
|
return getUserPreferenceFromConsultId;
|
@@ -4000,7 +4018,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4000
4018
|
}
|
4001
4019
|
}, _callee37, this);
|
4002
4020
|
}));
|
4003
|
-
function getUserPreference(
|
4021
|
+
function getUserPreference(_x103) {
|
4004
4022
|
return _getUserPreference.apply(this, arguments);
|
4005
4023
|
}
|
4006
4024
|
return getUserPreference;
|
@@ -4041,7 +4059,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4041
4059
|
}
|
4042
4060
|
}, _callee38, this);
|
4043
4061
|
}));
|
4044
|
-
function getRecoveryDataFromConsultId(
|
4062
|
+
function getRecoveryDataFromConsultId(_x104) {
|
4045
4063
|
return _getRecoveryDataFromConsultId.apply(this, arguments);
|
4046
4064
|
}
|
4047
4065
|
return getRecoveryDataFromConsultId;
|
@@ -4084,7 +4102,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4084
4102
|
}
|
4085
4103
|
}, _callee39, this);
|
4086
4104
|
}));
|
4087
|
-
function getRecoveryData(
|
4105
|
+
function getRecoveryData(_x105) {
|
4088
4106
|
return _getRecoveryData.apply(this, arguments);
|
4089
4107
|
}
|
4090
4108
|
return getRecoveryData;
|
@@ -4135,7 +4153,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4135
4153
|
}
|
4136
4154
|
}, _callee40);
|
4137
4155
|
}));
|
4138
|
-
return function (
|
4156
|
+
return function (_x107) {
|
4139
4157
|
return _ref5.apply(this, arguments);
|
4140
4158
|
};
|
4141
4159
|
}())).then(function (promise) {
|
@@ -4153,7 +4171,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4153
4171
|
}
|
4154
4172
|
}, _callee41, this);
|
4155
4173
|
}));
|
4156
|
-
function getAssignedConsultations(
|
4174
|
+
function getAssignedConsultations(_x106) {
|
4157
4175
|
return _getAssignedConsultations.apply(this, arguments);
|
4158
4176
|
}
|
4159
4177
|
return getAssignedConsultations;
|
@@ -4217,7 +4235,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4217
4235
|
}
|
4218
4236
|
}, _callee42);
|
4219
4237
|
}));
|
4220
|
-
return function (
|
4238
|
+
return function (_x110) {
|
4221
4239
|
return _ref6.apply(this, arguments);
|
4222
4240
|
};
|
4223
4241
|
}()));
|
@@ -4230,7 +4248,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4230
4248
|
}
|
4231
4249
|
}, _callee43, this);
|
4232
4250
|
}));
|
4233
|
-
function getPastConsultationsFromConsultId(
|
4251
|
+
function getPastConsultationsFromConsultId(_x108, _x109) {
|
4234
4252
|
return _getPastConsultationsFromConsultId.apply(this, arguments);
|
4235
4253
|
}
|
4236
4254
|
return getPastConsultationsFromConsultId;
|
@@ -4283,7 +4301,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4283
4301
|
}
|
4284
4302
|
}, _callee44, this);
|
4285
4303
|
}));
|
4286
|
-
function getPatientConsultationData(
|
4304
|
+
function getPatientConsultationData(_x111, _x112) {
|
4287
4305
|
return _getPatientConsultationData.apply(this, arguments);
|
4288
4306
|
}
|
4289
4307
|
return getPatientConsultationData;
|
@@ -4313,7 +4331,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4313
4331
|
}
|
4314
4332
|
}, _callee45, this);
|
4315
4333
|
}));
|
4316
|
-
function getPatientPrescriptionsList(
|
4334
|
+
function getPatientPrescriptionsList(_x113) {
|
4317
4335
|
return _getPatientPrescriptionsList.apply(this, arguments);
|
4318
4336
|
}
|
4319
4337
|
return getPatientPrescriptionsList;
|
@@ -4343,7 +4361,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4343
4361
|
}
|
4344
4362
|
}, _callee46, this);
|
4345
4363
|
}));
|
4346
|
-
function getPatientResultsList(
|
4364
|
+
function getPatientResultsList(_x114) {
|
4347
4365
|
return _getPatientResultsList.apply(this, arguments);
|
4348
4366
|
}
|
4349
4367
|
return getPatientResultsList;
|
@@ -4373,7 +4391,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4373
4391
|
}
|
4374
4392
|
}, _callee47, this);
|
4375
4393
|
}));
|
4376
|
-
function getPatientTreatmentPlans(
|
4394
|
+
function getPatientTreatmentPlans(_x115) {
|
4377
4395
|
return _getPatientTreatmentPlans.apply(this, arguments);
|
4378
4396
|
}
|
4379
4397
|
return getPatientTreatmentPlans;
|
@@ -4405,7 +4423,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4405
4423
|
}
|
4406
4424
|
}, _callee48, this);
|
4407
4425
|
}));
|
4408
|
-
function getPatientTreatmentPlanByUuid(
|
4426
|
+
function getPatientTreatmentPlanByUuid(_x116, _x117) {
|
4409
4427
|
return _getPatientTreatmentPlanByUuid.apply(this, arguments);
|
4410
4428
|
}
|
4411
4429
|
return getPatientTreatmentPlanByUuid;
|
@@ -4458,7 +4476,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4458
4476
|
}
|
4459
4477
|
}, _callee49);
|
4460
4478
|
}));
|
4461
|
-
return function (
|
4479
|
+
return function (_x121) {
|
4462
4480
|
return _ref7.apply(this, arguments);
|
4463
4481
|
};
|
4464
4482
|
}()));
|
@@ -4474,7 +4492,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4474
4492
|
}
|
4475
4493
|
}, _callee50, this);
|
4476
4494
|
}));
|
4477
|
-
function getPatientDocumentsList(
|
4495
|
+
function getPatientDocumentsList(_x118, _x119, _x120) {
|
4478
4496
|
return _getPatientDocumentsList.apply(this, arguments);
|
4479
4497
|
}
|
4480
4498
|
return getPatientDocumentsList;
|
@@ -4529,7 +4547,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4529
4547
|
}
|
4530
4548
|
}, _callee51, this);
|
4531
4549
|
}));
|
4532
|
-
function recoverPrivateKeyFromSecurityQuestions(
|
4550
|
+
function recoverPrivateKeyFromSecurityQuestions(_x122, _x123, _x124, _x125) {
|
4533
4551
|
return _recoverPrivateKeyFromSecurityQuestions.apply(this, arguments);
|
4534
4552
|
}
|
4535
4553
|
return recoverPrivateKeyFromSecurityQuestions;
|
@@ -4570,7 +4588,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4570
4588
|
}
|
4571
4589
|
}, _callee52, this);
|
4572
4590
|
}));
|
4573
|
-
function recoverPrivateKeyFromPassword(
|
4591
|
+
function recoverPrivateKeyFromPassword(_x126, _x127) {
|
4574
4592
|
return _recoverPrivateKeyFromPassword.apply(this, arguments);
|
4575
4593
|
}
|
4576
4594
|
return recoverPrivateKeyFromPassword;
|
@@ -4605,7 +4623,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4605
4623
|
}
|
4606
4624
|
}, _callee53, this);
|
4607
4625
|
}));
|
4608
|
-
function recoverPrivateKeyFromMasterKey(
|
4626
|
+
function recoverPrivateKeyFromMasterKey(_x128, _x129) {
|
4609
4627
|
return _recoverPrivateKeyFromMasterKey.apply(this, arguments);
|
4610
4628
|
}
|
4611
4629
|
return recoverPrivateKeyFromMasterKey;
|
@@ -4649,7 +4667,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4649
4667
|
}
|
4650
4668
|
}, _callee54, this);
|
4651
4669
|
}));
|
4652
|
-
function updateSecurityQuestions(
|
4670
|
+
function updateSecurityQuestions(_x130, _x131, _x132, _x133) {
|
4653
4671
|
return _updateSecurityQuestions.apply(this, arguments);
|
4654
4672
|
}
|
4655
4673
|
return updateSecurityQuestions;
|
@@ -4705,7 +4723,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4705
4723
|
}
|
4706
4724
|
}, _callee55, this);
|
4707
4725
|
}));
|
4708
|
-
function updatePassword(
|
4726
|
+
function updatePassword(_x134, _x135, _x136) {
|
4709
4727
|
return _updatePassword.apply(this, arguments);
|
4710
4728
|
}
|
4711
4729
|
return updatePassword;
|
@@ -4750,7 +4768,9 @@ var OroClient = /*#__PURE__*/function () {
|
|
4750
4768
|
category: initApis.MetadataCategory.Recovery,
|
4751
4769
|
contentType: 'application/json'
|
4752
4770
|
}, {}, {
|
4753
|
-
forceReplace: true
|
4771
|
+
forceReplace: true,
|
4772
|
+
withNotification: false,
|
4773
|
+
updateMedicalStatus: false
|
4754
4774
|
});
|
4755
4775
|
case 10:
|
4756
4776
|
return _context57.abrupt("return", updatedIdentity);
|
@@ -4761,7 +4781,7 @@ var OroClient = /*#__PURE__*/function () {
|
|
4761
4781
|
}
|
4762
4782
|
}, _callee56, this);
|
4763
4783
|
}));
|
4764
|
-
function updateMasterKey(
|
4784
|
+
function updateMasterKey(_x137, _x138, _x139) {
|
4765
4785
|
return _updateMasterKey.apply(this, arguments);
|
4766
4786
|
}
|
4767
4787
|
return updateMasterKey;
|