@icure/cardinal-sdk 2.10.2 → 2.11.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/api/AccessLogApi.d.mts +26 -1
- package/api/AccessLogInGroupApi.d.mts +16 -1
- package/api/CalendarItemApi.d.mts +25 -0
- package/api/CalendarItemInGroupApi.d.mts +12 -0
- package/api/ContactApi.d.mts +23 -0
- package/api/ContactInGroupApi.d.mts +13 -0
- package/api/DocumentApi.d.mts +64 -1
- package/api/DocumentInGroupApi.d.mts +33 -0
- package/api/FormApi.d.mts +25 -2
- package/api/FormInGroupApi.d.mts +13 -0
- package/api/HealthElementApi.d.mts +24 -1
- package/api/HealthElementInGroupApi.d.mts +13 -0
- package/api/InvoiceApi.d.mts +24 -1
- package/api/InvoiceBasicApi.d.mts +1 -1
- package/api/InvoiceInGroupApi.d.mts +13 -0
- package/api/MessageApi.d.mts +24 -1
- package/api/MessageInGroupApi.d.mts +13 -0
- package/api/PatientApi.d.mts +20 -0
- package/api/PatientInGroupApi.d.mts +12 -0
- package/api/ReceiptApi.d.mts +23 -0
- package/api/ReceiptBasicApi.d.mts +15 -0
- package/api/ReceiptBasicInGroupApi.d.mts +14 -0
- package/api/ReceiptFlavouredApi.d.mts +15 -0
- package/api/ReceiptFlavouredInGroupApi.d.mts +9 -0
- package/api/ReceiptInGroupApi.d.mts +26 -0
- package/api/TopicApi.d.mts +23 -0
- package/api/TopicInGroupApi.d.mts +13 -0
- package/api/UserApi.d.mts +10 -0
- package/cardinal-sdk-ts.d.mts +0 -19
- package/cardinal-sdk-ts.mjs +44169 -40027
- package/cardinal-sdk.mjs +104895 -100890
- package/crypto/entities/AccessLogDelegateOptions.d.mts +12 -0
- package/crypto/entities/AccessLogDelegateOptions.mjs +18 -0
- package/crypto/entities/CalendarItemDelegateOptions.d.mts +12 -0
- package/crypto/entities/CalendarItemDelegateOptions.mjs +18 -0
- package/crypto/entities/ContactDelegateOptions.d.mts +12 -0
- package/crypto/entities/ContactDelegateOptions.mjs +18 -0
- package/crypto/entities/DocumentDelegateOptions.d.mts +12 -0
- package/crypto/entities/DocumentDelegateOptions.mjs +18 -0
- package/crypto/entities/FormDelegateOptions.d.mts +12 -0
- package/crypto/entities/FormDelegateOptions.mjs +18 -0
- package/crypto/entities/HealthElementDelegateOptions.d.mts +12 -0
- package/crypto/entities/HealthElementDelegateOptions.mjs +18 -0
- package/crypto/entities/InvoiceDelegateOptions.d.mts +12 -0
- package/crypto/entities/InvoiceDelegateOptions.mjs +18 -0
- package/crypto/entities/MessageDelegateOptions.d.mts +12 -0
- package/crypto/entities/MessageDelegateOptions.mjs +18 -0
- package/crypto/entities/PatientDelegateOptions.d.mts +7 -0
- package/crypto/entities/PatientDelegateOptions.mjs +11 -0
- package/crypto/entities/ReceiptDelegateOptions.d.mts +7 -0
- package/crypto/entities/ReceiptDelegateOptions.mjs +11 -0
- package/crypto/entities/TopicDelegateOptions.d.mts +12 -0
- package/crypto/entities/TopicDelegateOptions.mjs +18 -0
- package/crypto.d.mts +11 -0
- package/crypto.mjs +11 -0
- package/filters.d.mts +0 -1
- package/filters.mjs +0 -1
- package/kotlinx-coroutines-core.mjs +7 -7
- package/model/base/CryptoActor.mjs +1 -1
- package/model/embed/form/template/Field.d.mts +1 -1
- package/model/embed/form/template/StructureElement.d.mts +1 -1
- package/model/embed/form/template/StructureElement.mjs +7 -7
- package/model/filter/predicate/Predicate.d.mts +1 -1
- package/model/filter/predicate/Predicate.mjs +3 -3
- package/package.json +1 -1
- package/filters/ClassificationFilters.d.mts +0 -114
- package/filters/ClassificationFilters.mjs +0 -8
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { BaseSortableFilterOptions, SortableFilterOptions } from '../cardinal-sdk-ts.mjs';
|
|
2
|
-
import { Classification } from '../model/Classification.mjs';
|
|
3
|
-
import { Patient } from '../model/Patient.mjs';
|
|
4
|
-
interface ClassificationFiltersFactory {
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* Options for classification filtering which match all classifications shared directly (i.e. ignoring hierarchies) with a specific data owner
|
|
8
|
-
* that are linked with one of the provided patients.
|
|
9
|
-
* This Options also allows to restrict the classifications based on [Classification.created]:
|
|
10
|
-
* - if the [from] timestamp is not null, only the classifications where [Classification.created] is greater than or equal to [from] will be returned.
|
|
11
|
-
* - if the [to] timestamp is not null, only the classifications where [Classification.created] is less than or equal to [to] will be returned.
|
|
12
|
-
*
|
|
13
|
-
* When using these options the sdk will automatically extract the secret ids from the provided patients and use
|
|
14
|
-
* those for filtering.
|
|
15
|
-
* If you already have the secret ids of the patient you may instead use [byPatientSecretIdsCreatedForDataOwner].
|
|
16
|
-
* If the current data owner does not have access to any secret id of one of the provide patients the patient will
|
|
17
|
-
* simply be ignored.
|
|
18
|
-
* Note that these may not be used in methods of apis from [CardinalBaseApis].
|
|
19
|
-
*
|
|
20
|
-
* These options are sortable. When sorting using these options the classifications will be sorted by [Classification.created] in ascending or
|
|
21
|
-
* descending order according to the value of the [descending] parameter.
|
|
22
|
-
*
|
|
23
|
-
* @param dataOwnerId a data owner id
|
|
24
|
-
* @param patients a list of patients.
|
|
25
|
-
* @param from the minimum timestamp for [Classification.created] (default: no limit).
|
|
26
|
-
* @param to the maximum timestamp for [Classification.created] (default: no limit).
|
|
27
|
-
* @param descending whether to sort the result in descending or ascending order by [Classification.created] (default: ascending).
|
|
28
|
-
*/
|
|
29
|
-
byPatientsCreatedForDataOwner(dataOwnerId: string, patients: Array<Patient>, options?: {
|
|
30
|
-
from?: number | undefined;
|
|
31
|
-
to?: number | undefined;
|
|
32
|
-
descending?: boolean;
|
|
33
|
-
}): SortableFilterOptions<Classification>;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* Options for classification filtering which match all classifications shared directly (i.e. ignoring hierarchies) with the current data owner
|
|
37
|
-
* that are linked with one of the provided patients.
|
|
38
|
-
* This Options also allows to restrict the classifications based on [Classification.created]:
|
|
39
|
-
* - if the [from] timestamp is not null, only the classifications where [Classification.created] is greater than or equal to [from] will be returned.
|
|
40
|
-
* - if the [to] timestamp is not null, only the classifications where [Classification.created] is less than or equal to [to] will be returned.
|
|
41
|
-
*
|
|
42
|
-
* When using these options the sdk will automatically extract the secret ids from the provided patients and use
|
|
43
|
-
* those for filtering.
|
|
44
|
-
* If you already have the secret ids of the patient you may instead use [byPatientSecretIdsCreatedForSelf].
|
|
45
|
-
* If the current data owner does not have access to any secret id of one of the provide patients the patient will
|
|
46
|
-
* simply be ignored.
|
|
47
|
-
* Note that these may not be used in methods of apis from [CardinalBaseApis].
|
|
48
|
-
*
|
|
49
|
-
* These options are sortable. When sorting using these options the classifications will be sorted by [Classification.created] in ascending or
|
|
50
|
-
* descending order according to the value of the [descending] parameter.
|
|
51
|
-
*
|
|
52
|
-
* @param patients a list of patients.
|
|
53
|
-
* @param from the minimum timestamp for [Classification.created] (default: no limit).
|
|
54
|
-
* @param to the maximum timestamp for [Classification.created] (default: no limit).
|
|
55
|
-
* @param descending whether to sort the result in descending or ascending order by [Classification.created] (default: ascending).
|
|
56
|
-
*/
|
|
57
|
-
byPatientsCreatedForSelf(patients: Array<Patient>, options?: {
|
|
58
|
-
from?: number | undefined;
|
|
59
|
-
to?: number | undefined;
|
|
60
|
-
descending?: boolean;
|
|
61
|
-
}): SortableFilterOptions<Classification>;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* Options for classification filtering which match all classifications shared directly (i.e. ignoring hierarchies) with a specific data owner
|
|
65
|
-
* that are linked with one of the provided patients through one of the provided secret ids.
|
|
66
|
-
* This Options also allows to restrict the classifications based on [Classification.created]:
|
|
67
|
-
* - if the [from] timestamp is not null, only the classifications where [Classification.created] is greater than or equal to [from] will be returned.
|
|
68
|
-
* - if the [to] timestamp is not null, only the classifications where [Classification.created] is less than or equal to [to] will be returned.
|
|
69
|
-
*
|
|
70
|
-
* If the current data owner does not have access to any secret id of one of the provide patients the patient will
|
|
71
|
-
* simply be ignored.
|
|
72
|
-
*
|
|
73
|
-
* These options are sortable. When sorting using these options the classifications will be sorted by [Classification.created] in ascending or
|
|
74
|
-
* descending order according to the value of the [descending] parameter.
|
|
75
|
-
*
|
|
76
|
-
* @param dataOwnerId a data owner id.
|
|
77
|
-
* @param secretIds a list of secret ids from one or more patients.
|
|
78
|
-
* @param from the minimum timestamp for [Classification.created] (default: no limit).
|
|
79
|
-
* @param to the maximum timestamp for [Classification.created] (default: no limit).
|
|
80
|
-
* @param descending whether to sort the result in descending or ascending order by [Classification.created] (default: ascending).
|
|
81
|
-
*/
|
|
82
|
-
byPatientSecretIdsCreatedForDataOwner(dataOwnerId: string, secretIds: Array<string>, options?: {
|
|
83
|
-
from?: number | undefined;
|
|
84
|
-
to?: number | undefined;
|
|
85
|
-
descending?: boolean;
|
|
86
|
-
}): BaseSortableFilterOptions<Classification>;
|
|
87
|
-
/**
|
|
88
|
-
*
|
|
89
|
-
* Options for classification filtering which match all classifications shared directly (i.e. ignoring hierarchies) with the current data owner
|
|
90
|
-
* that are linked with one of the provided patients through one of the provided secret ids.
|
|
91
|
-
* This Options also allows to restrict the classifications based on [Classification.created]:
|
|
92
|
-
* - if the [from] timestamp is not null, only the classifications where [Classification.created] is greater than or equal to [from] will be returned.
|
|
93
|
-
* - if the [to] timestamp is not null, only the classifications where [Classification.created] is less than or equal to [to] will be returned.
|
|
94
|
-
*
|
|
95
|
-
* If the current data owner does not have access to any secret id of one of the provide patients the patient will
|
|
96
|
-
* simply be ignored.
|
|
97
|
-
* Note that these may not be used in methods of apis from [CardinalBaseApis].
|
|
98
|
-
*
|
|
99
|
-
* These options are sortable. When sorting using these options the classifications will be sorted by [Classification.created] in ascending or
|
|
100
|
-
* descending order according to the value of the [descending] parameter.
|
|
101
|
-
*
|
|
102
|
-
* @param secretIds a list of secret ids from one or more patients.
|
|
103
|
-
* @param from the minimum timestamp for [Classification.created] (default: no limit).
|
|
104
|
-
* @param to the maximum timestamp for [Classification.created] (default: no limit).
|
|
105
|
-
* @param descending whether to sort the result in descending or ascending order by [Classification.created] (default: ascending).
|
|
106
|
-
*/
|
|
107
|
-
byPatientSecretIdsCreatedForSelf(secretIds: Array<string>, options?: {
|
|
108
|
-
from?: number | undefined;
|
|
109
|
-
to?: number | undefined;
|
|
110
|
-
descending?: boolean;
|
|
111
|
-
}): SortableFilterOptions<Classification>;
|
|
112
|
-
}
|
|
113
|
-
export declare const ClassificationFilters: ClassificationFiltersFactory;
|
|
114
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// auto-generated file
|
|
2
|
-
import { InternalClassificationFiltersObj } from '../cardinal-sdk-ts.mjs';
|
|
3
|
-
export const ClassificationFilters = {
|
|
4
|
-
byPatientsCreatedForDataOwner: (dataOwnerId, patients, options) => InternalClassificationFiltersObj.getInstance().byPatientsCreatedForDataOwner(dataOwnerId, patients, options),
|
|
5
|
-
byPatientsCreatedForSelf: (patients, options) => InternalClassificationFiltersObj.getInstance().byPatientsCreatedForSelf(patients, options),
|
|
6
|
-
byPatientSecretIdsCreatedForDataOwner: (dataOwnerId, secretIds, options) => InternalClassificationFiltersObj.getInstance().byPatientSecretIdsCreatedForDataOwner(dataOwnerId, secretIds, options),
|
|
7
|
-
byPatientSecretIdsCreatedForSelf: (secretIds, options) => InternalClassificationFiltersObj.getInstance().byPatientSecretIdsCreatedForSelf(secretIds, options)
|
|
8
|
-
};
|