@icure/cardinal-sdk 2.8.0 → 2.8.1
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/api/CalendarItemApi.d.mts +36 -0
- package/api/CalendarItemInGroupApi.d.mts +16 -0
- package/cardinal-sdk-ts.mjs +39815 -39345
- package/cardinal-sdk.mjs +64698 -64411
- package/kotlin-kotlin-stdlib.mjs +6 -6
- package/kotlinx-coroutines-core.mjs +8 -8
- package/model/embed/Medication.d.mts +0 -85
- package/model/embed/Medication.mjs +0 -85
- package/package.json +1 -1
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -48,12 +48,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
48
48
|
};
|
|
49
49
|
}(Math.log, Math.LN2);
|
|
50
50
|
}
|
|
51
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
52
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
53
|
-
position = position || 0;
|
|
54
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
55
|
-
}});
|
|
56
|
-
}
|
|
57
51
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
58
52
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
59
53
|
var subjectString = this.toString();
|
|
@@ -65,6 +59,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
65
59
|
return lastIndex !== -1 && lastIndex === position;
|
|
66
60
|
}});
|
|
67
61
|
}
|
|
62
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
63
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
64
|
+
position = position || 0;
|
|
65
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
66
|
+
}});
|
|
67
|
+
}
|
|
68
68
|
//endregion
|
|
69
69
|
//region block: imports
|
|
70
70
|
var imul_0 = Math.imul;
|
|
@@ -235,6 +235,11 @@ initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, V
|
|
|
235
235
|
initMetadataForCoroutine($sendCOROUTINE$, CoroutineImpl);
|
|
236
236
|
initMetadataForCoroutine($receiveCOROUTINE$, CoroutineImpl);
|
|
237
237
|
initMetadataForCoroutine($receiveCatchingCOROUTINE$, CoroutineImpl);
|
|
238
|
+
function close$default(cause, $super) {
|
|
239
|
+
cause = cause === VOID ? null : cause;
|
|
240
|
+
return $super === VOID ? this.s1d(cause) : $super.s1d.call(this, cause);
|
|
241
|
+
}
|
|
242
|
+
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
238
243
|
function cancel$default_0(cause, $super) {
|
|
239
244
|
cause = cause === VOID ? null : cause;
|
|
240
245
|
var tmp;
|
|
@@ -247,12 +252,7 @@ function cancel$default_0(cause, $super) {
|
|
|
247
252
|
return tmp;
|
|
248
253
|
}
|
|
249
254
|
initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
|
|
250
|
-
|
|
251
|
-
cause = cause === VOID ? null : cause;
|
|
252
|
-
return $super === VOID ? this.s1d(cause) : $super.s1d.call(this, cause);
|
|
253
|
-
}
|
|
254
|
-
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
255
|
-
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
|
|
255
|
+
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
|
|
256
256
|
initMetadataForClass(WaiterEB, 'WaiterEB');
|
|
257
257
|
initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
|
|
258
258
|
initMetadataForObject(Factory, 'Factory');
|
|
@@ -262,7 +262,7 @@ initMetadataForCompanion(Companion);
|
|
|
262
262
|
initMetadataForClass(ChannelResult, 'ChannelResult');
|
|
263
263
|
initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
|
|
264
264
|
initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
|
|
265
|
-
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [
|
|
265
|
+
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [SendChannel, ReceiveChannel], [1, 0]);
|
|
266
266
|
initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
|
|
267
267
|
initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
|
|
268
268
|
initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ProducerScope], [1, 0]);
|
|
@@ -294,7 +294,7 @@ initMetadataForClass(ContextScope, 'ContextScope', VOID, VOID, [CoroutineScope])
|
|
|
294
294
|
initMetadataForClass(Symbol, 'Symbol');
|
|
295
295
|
initMetadataForInterface(SelectInstance, 'SelectInstance');
|
|
296
296
|
initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
|
|
297
|
-
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler,
|
|
297
|
+
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
|
|
298
298
|
initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
|
|
299
299
|
initMetadataForClass(CancellableContinuationWithOwner, 'CancellableContinuationWithOwner', VOID, VOID, [CancellableContinuation, Waiter]);
|
|
300
300
|
initMetadataForClass(SemaphoreAndMutexImpl, 'SemaphoreAndMutexImpl', VOID, VOID, VOID, [0]);
|
|
@@ -17,107 +17,22 @@ export declare class Medication {
|
|
|
17
17
|
* The expiration date of the medication. Format: yyyyMMdd
|
|
18
18
|
*/
|
|
19
19
|
expirationDate: number | undefined;
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
23
|
-
* /
|
|
24
|
-
*/
|
|
25
20
|
instructionForPatient: string | undefined;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
29
|
-
* /
|
|
30
|
-
*/
|
|
31
21
|
instructionForReimbursement: string | undefined;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
35
|
-
* /
|
|
36
|
-
*/
|
|
37
22
|
commentForDelivery: string | undefined;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
41
|
-
* /
|
|
42
|
-
*/
|
|
43
23
|
drugRoute: string | undefined;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
47
|
-
* /
|
|
48
|
-
*/
|
|
49
24
|
temporality: string | undefined;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
53
|
-
* /
|
|
54
|
-
*/
|
|
55
25
|
frequency: CodeStub | undefined;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
59
|
-
* /
|
|
60
|
-
*/
|
|
61
26
|
reimbursementReason: CodeStub | undefined;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
65
|
-
* /
|
|
66
|
-
*/
|
|
67
27
|
substitutionAllowed: boolean | undefined;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
71
|
-
* /
|
|
72
|
-
*/
|
|
73
28
|
beginMoment: number | undefined;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
77
|
-
* /
|
|
78
|
-
*/
|
|
79
29
|
endMoment: number | undefined;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
83
|
-
* /
|
|
84
|
-
*/
|
|
85
30
|
deliveryMoment: number | undefined;
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
89
|
-
* /
|
|
90
|
-
*/
|
|
91
31
|
endExecutionMoment: number | undefined;
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
95
|
-
* /
|
|
96
|
-
*/
|
|
97
32
|
duration: Duration | undefined;
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
101
|
-
* /
|
|
102
|
-
*/
|
|
103
33
|
renewal: Renewal | undefined;
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
107
|
-
* /
|
|
108
|
-
*/
|
|
109
34
|
knownUsage: boolean | undefined;
|
|
110
|
-
/**
|
|
111
|
-
*
|
|
112
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
113
|
-
* /
|
|
114
|
-
*/
|
|
115
35
|
regimen: Array<RegimenItem> | undefined;
|
|
116
|
-
/**
|
|
117
|
-
*
|
|
118
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
119
|
-
* /
|
|
120
|
-
*/
|
|
121
36
|
posology: string | undefined;
|
|
122
37
|
stockLocation: DecryptedAddress | undefined;
|
|
123
38
|
constructor(partial: Partial<Medication>);
|
|
@@ -20,107 +20,22 @@ export class Medication {
|
|
|
20
20
|
* The expiration date of the medication. Format: yyyyMMdd
|
|
21
21
|
*/
|
|
22
22
|
this.expirationDate = undefined;
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
26
|
-
* /
|
|
27
|
-
*/
|
|
28
23
|
this.instructionForPatient = undefined;
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
32
|
-
* /
|
|
33
|
-
*/
|
|
34
24
|
this.instructionForReimbursement = undefined;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
38
|
-
* /
|
|
39
|
-
*/
|
|
40
25
|
this.commentForDelivery = undefined;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
44
|
-
* /
|
|
45
|
-
*/
|
|
46
26
|
this.drugRoute = undefined;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
50
|
-
* /
|
|
51
|
-
*/
|
|
52
27
|
this.temporality = undefined;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
56
|
-
* /
|
|
57
|
-
*/
|
|
58
28
|
this.frequency = undefined;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
62
|
-
* /
|
|
63
|
-
*/
|
|
64
29
|
this.reimbursementReason = undefined;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
68
|
-
* /
|
|
69
|
-
*/
|
|
70
30
|
this.substitutionAllowed = undefined;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
74
|
-
* /
|
|
75
|
-
*/
|
|
76
31
|
this.beginMoment = undefined;
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
80
|
-
* /
|
|
81
|
-
*/
|
|
82
32
|
this.endMoment = undefined;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
86
|
-
* /
|
|
87
|
-
*/
|
|
88
33
|
this.deliveryMoment = undefined;
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
91
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
92
|
-
* /
|
|
93
|
-
*/
|
|
94
34
|
this.endExecutionMoment = undefined;
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
98
|
-
* /
|
|
99
|
-
*/
|
|
100
35
|
this.duration = undefined;
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
104
|
-
* /
|
|
105
|
-
*/
|
|
106
36
|
this.renewal = undefined;
|
|
107
|
-
/**
|
|
108
|
-
*
|
|
109
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
110
|
-
* /
|
|
111
|
-
*/
|
|
112
37
|
this.knownUsage = undefined;
|
|
113
|
-
/**
|
|
114
|
-
*
|
|
115
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
116
|
-
* /
|
|
117
|
-
*/
|
|
118
38
|
this.regimen = undefined;
|
|
119
|
-
/**
|
|
120
|
-
*
|
|
121
|
-
* The expiration date of the medication. Format: yyyyMMdd
|
|
122
|
-
* /
|
|
123
|
-
*/
|
|
124
39
|
this.posology = undefined;
|
|
125
40
|
this.stockLocation = undefined;
|
|
126
41
|
if ('compoundPrescription' in partial)
|