@icure/cardinal-sdk 3.0.0-PREVIEW.7 → 3.0.0-PREVIEW.8
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/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
- package/api/AccessLogApi.d.mts +11 -0
- package/api/AccessLogBasicApi.d.mts +11 -0
- package/api/AccessLogBasicInGroupApi.d.mts +6 -0
- package/api/AccessLogInGroupApi.d.mts +33 -1
- package/api/ApplicationSettingsApi.d.mts +6 -0
- package/api/ApplicationSettingsApi.mjs +1 -0
- package/api/CalendarItemApi.d.mts +11 -0
- package/api/CalendarItemBasicApi.d.mts +11 -0
- package/api/CalendarItemBasicInGroupApi.d.mts +6 -0
- package/api/CalendarItemInGroupApi.d.mts +6 -0
- package/api/ContactApi.d.mts +22 -0
- package/api/ContactBasicApi.d.mts +22 -0
- package/api/ContactBasicInGroupApi.d.mts +11 -0
- package/api/ContactInGroupApi.d.mts +11 -0
- package/api/DocumentApi.d.mts +11 -0
- package/api/DocumentBasicApi.d.mts +11 -0
- package/api/DocumentBasicInGroupApi.d.mts +6 -0
- package/api/DocumentInGroupApi.d.mts +6 -0
- package/api/DocumentTemplateApi.d.mts +22 -0
- package/api/DocumentTemplateApi.mjs +1 -0
- package/api/EntityReferenceApi.d.mts +5 -0
- package/api/EntityReferenceApi.mjs +1 -0
- package/api/EntityTemplateApi.d.mts +24 -0
- package/api/EntityTemplateApi.mjs +1 -0
- package/api/FormApi.d.mts +11 -0
- package/api/FormBasicApi.d.mts +11 -0
- package/api/FormBasicInGroupApi.d.mts +6 -0
- package/api/FormInGroupApi.d.mts +6 -0
- package/api/HealthElementApi.d.mts +11 -0
- package/api/HealthElementBasicApi.d.mts +11 -0
- package/api/HealthElementBasicInGroupApi.d.mts +6 -0
- package/api/HealthElementInGroupApi.d.mts +6 -0
- package/api/InvoiceApi.d.mts +11 -0
- package/api/InvoiceBasicApi.d.mts +11 -0
- package/api/InvoiceBasicInGroupApi.d.mts +6 -0
- package/api/InvoiceInGroupApi.d.mts +6 -0
- package/api/KeywordApi.d.mts +14 -0
- package/api/KeywordApi.mjs +1 -0
- package/api/MedicalLocationApi.d.mts +17 -0
- package/api/MedicalLocationApi.mjs +1 -0
- package/api/MessageApi.d.mts +11 -0
- package/api/MessageBasicApi.d.mts +11 -0
- package/api/MessageBasicInGroupApi.d.mts +6 -0
- package/api/MessageInGroupApi.d.mts +6 -0
- package/api/ReceiptApi.d.mts +11 -0
- package/api/ReceiptBasicApi.d.mts +11 -0
- package/api/ReceiptBasicInGroupApi.d.mts +6 -0
- package/api/ReceiptInGroupApi.d.mts +6 -0
- package/api/RelatedPersonApi.d.mts +11 -0
- package/api/RelatedPersonBasicApi.d.mts +11 -0
- package/api/RelatedPersonBasicInGroupApi.d.mts +6 -0
- package/api/RelatedPersonInGroupApi.d.mts +6 -0
- package/api/TarificationApi.d.mts +27 -0
- package/api/TarificationApi.mjs +1 -0
- package/api/TimeTableApi.d.mts +26 -0
- package/api/TimeTableApi.mjs +1 -0
- package/api/TopicApi.d.mts +11 -0
- package/api/TopicBasicApi.d.mts +11 -0
- package/api/TopicBasicInGroupApi.d.mts +6 -0
- package/api/TopicInGroupApi.d.mts +6 -0
- package/cardinal-sdk-ts.mjs +47824 -44170
- package/cardinal-sdk.mjs +77922 -77616
- package/crypto/entities/DelegateShareOptions.d.mts +9 -0
- package/crypto/entities/DelegateShareOptions.mjs +8 -0
- package/crypto/entities/ShareAllPatientDataOptions.d.mts +49 -0
- package/crypto/entities/ShareAllPatientDataOptions.mjs +58 -0
- package/filters/ClassificationFilters.d.mts +114 -0
- package/filters/ClassificationFilters.mjs +8 -0
- package/filters/MedicalLocationFilters.d.mts +8 -0
- package/filters/MedicalLocationFilters.mjs +6 -0
- package/filters/TimeTableFilters.d.mts +12 -0
- package/filters/TimeTableFilters.mjs +6 -0
- package/kotlin-kotlin-stdlib.mjs +4 -4
- package/kotlinx-coroutines-core.mjs +1 -1
- package/model/ApplicationSettings.d.mts +87 -0
- package/model/ApplicationSettings.mjs +256 -0
- package/model/DocumentTemplate.d.mts +35 -0
- package/model/DocumentTemplate.mjs +162 -0
- package/model/EntityReference.d.mts +10 -0
- package/model/EntityReference.mjs +46 -0
- package/model/EntityTemplate.d.mts +16 -0
- package/model/EntityTemplate.mjs +81 -0
- package/model/Keyword.d.mts +23 -0
- package/model/Keyword.mjs +99 -0
- package/model/ListOfIds.d.mts +6 -0
- package/model/ListOfIds.mjs +28 -0
- package/model/MedicalLocation.d.mts +28 -0
- package/model/MedicalLocation.mjs +116 -0
- package/model/Tarification.d.mts +50 -0
- package/model/Tarification.mjs +178 -0
- package/model/TimeTable.d.mts +25 -0
- package/model/TimeTable.mjs +111 -0
- package/model/base/AppendixType.d.mts +5 -0
- package/model/base/AppendixType.mjs +7 -0
- package/model/base/CodeFlag.d.mts +80 -0
- package/model/base/CodeFlag.mjs +82 -0
- package/model/base/ReportVersion.d.mts +3 -0
- package/model/base/ReportVersion.mjs +5 -0
- package/model/embed/KeywordSubword.d.mts +8 -0
- package/model/embed/KeywordSubword.mjs +35 -0
- package/model/embed/LetterValue.d.mts +9 -0
- package/model/embed/LetterValue.mjs +47 -0
- package/model/embed/Periodicity.d.mts +8 -0
- package/model/embed/Periodicity.mjs +36 -0
- package/model/embed/TimeTableHour.d.mts +7 -0
- package/model/embed/TimeTableHour.mjs +35 -0
- package/model/embed/TimeTableItem.d.mts +19 -0
- package/model/embed/TimeTableItem.mjs +96 -0
- package/model/embed/Valorisation.d.mts +56 -0
- package/model/embed/Valorisation.mjs +188 -0
- package/package.json +1 -1
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export declare enum CodeFlag {
|
|
2
|
+
MaleOnly = "MaleOnly",
|
|
3
|
+
FemaleOnly = "FemaleOnly",
|
|
4
|
+
Deptkinesitherapy = "Deptkinesitherapy",
|
|
5
|
+
Deptnursing = "Deptnursing",
|
|
6
|
+
Deptgeneralpractice = "Deptgeneralpractice",
|
|
7
|
+
Deptsocialworker = "Deptsocialworker",
|
|
8
|
+
Deptpsychology = "Deptpsychology",
|
|
9
|
+
Deptadministrative = "Deptadministrative",
|
|
10
|
+
Deptdietetics = "Deptdietetics",
|
|
11
|
+
Deptspeechtherapy = "Deptspeechtherapy",
|
|
12
|
+
Deptdentistry = "Deptdentistry",
|
|
13
|
+
Deptoccupationaltherapy = "Deptoccupationaltherapy",
|
|
14
|
+
Depthealthcare = "Depthealthcare",
|
|
15
|
+
Deptgynecology = "Deptgynecology",
|
|
16
|
+
Deptpediatry = "Deptpediatry",
|
|
17
|
+
Deptalgology = "Deptalgology",
|
|
18
|
+
Deptanatomopathology = "Deptanatomopathology",
|
|
19
|
+
Deptanesthesiology = "Deptanesthesiology",
|
|
20
|
+
Deptbacteriology = "Deptbacteriology",
|
|
21
|
+
Deptcardiacsurgery = "Deptcardiacsurgery",
|
|
22
|
+
Deptcardiology = "Deptcardiology",
|
|
23
|
+
Deptchildandadolescentpsychiatry = "Deptchildandadolescentpsychiatry",
|
|
24
|
+
Deptdermatology = "Deptdermatology",
|
|
25
|
+
Deptdiabetology = "Deptdiabetology",
|
|
26
|
+
Deptemergency = "Deptemergency",
|
|
27
|
+
Deptendocrinology = "Deptendocrinology",
|
|
28
|
+
Deptgastroenterology = "Deptgastroenterology",
|
|
29
|
+
Deptgenetics = "Deptgenetics",
|
|
30
|
+
Deptgeriatry = "Deptgeriatry",
|
|
31
|
+
Depthandsurgery = "Depthandsurgery",
|
|
32
|
+
Depthematology = "Depthematology",
|
|
33
|
+
Deptinfectiousdisease = "Deptinfectiousdisease",
|
|
34
|
+
Deptintensivecare = "Deptintensivecare",
|
|
35
|
+
Deptlaboratory = "Deptlaboratory",
|
|
36
|
+
Deptmajorburns = "Deptmajorburns",
|
|
37
|
+
Deptmaxillofacialsurgery = "Deptmaxillofacialsurgery",
|
|
38
|
+
Deptmedicine = "Deptmedicine",
|
|
39
|
+
Deptmolecularbiology = "Deptmolecularbiology",
|
|
40
|
+
Deptneonatalogy = "Deptneonatalogy",
|
|
41
|
+
Deptnephrology = "Deptnephrology",
|
|
42
|
+
Deptneurology = "Deptneurology",
|
|
43
|
+
Deptneurosurgery = "Deptneurosurgery",
|
|
44
|
+
Deptnte = "Deptnte",
|
|
45
|
+
Deptnuclear = "Deptnuclear",
|
|
46
|
+
Deptnutritiondietetics = "Deptnutritiondietetics",
|
|
47
|
+
Deptobstetrics = "Deptobstetrics",
|
|
48
|
+
Deptoncology = "Deptoncology",
|
|
49
|
+
Deptophtalmology = "Deptophtalmology",
|
|
50
|
+
Deptorthopedy = "Deptorthopedy",
|
|
51
|
+
Deptpalliativecare = "Deptpalliativecare",
|
|
52
|
+
Deptpediatricintensivecare = "Deptpediatricintensivecare",
|
|
53
|
+
Deptpediatricsurgery = "Deptpediatricsurgery",
|
|
54
|
+
Deptpharmacy = "Deptpharmacy",
|
|
55
|
+
Deptphysicalmedecine = "Deptphysicalmedecine",
|
|
56
|
+
Deptphysiotherapy = "Deptphysiotherapy",
|
|
57
|
+
Deptplasticandreparatorysurgery = "Deptplasticandreparatorysurgery",
|
|
58
|
+
Deptpneumology = "Deptpneumology",
|
|
59
|
+
Deptpodiatry = "Deptpodiatry",
|
|
60
|
+
Deptpsychiatry = "Deptpsychiatry",
|
|
61
|
+
Deptradiology = "Deptradiology",
|
|
62
|
+
Deptradiotherapy = "Deptradiotherapy",
|
|
63
|
+
Deptrevalidation = "Deptrevalidation",
|
|
64
|
+
Deptrheumatology = "Deptrheumatology",
|
|
65
|
+
Deptrhumatology = "Deptrhumatology",
|
|
66
|
+
Deptsenology = "Deptsenology",
|
|
67
|
+
Deptsocialservice = "Deptsocialservice",
|
|
68
|
+
Deptsportsmedecine = "Deptsportsmedecine",
|
|
69
|
+
Deptstomatology = "Deptstomatology",
|
|
70
|
+
Deptsurgery = "Deptsurgery",
|
|
71
|
+
Deptthoracicsurgery = "Deptthoracicsurgery",
|
|
72
|
+
Depttoxicology = "Depttoxicology",
|
|
73
|
+
Depttropicalmedecine = "Depttropicalmedecine",
|
|
74
|
+
Depturology = "Depturology",
|
|
75
|
+
Deptvascularsurgery = "Deptvascularsurgery",
|
|
76
|
+
Deptvisceraldigestiveabdominalsurgery = "Deptvisceraldigestiveabdominalsurgery",
|
|
77
|
+
Depttransplantsurgery = "Depttransplantsurgery",
|
|
78
|
+
Deptpercutaneous = "Deptpercutaneous",
|
|
79
|
+
Deptchildbirth = "Deptchildbirth"
|
|
80
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// auto-generated file
|
|
2
|
+
export var CodeFlag;
|
|
3
|
+
(function (CodeFlag) {
|
|
4
|
+
CodeFlag["MaleOnly"] = "MaleOnly";
|
|
5
|
+
CodeFlag["FemaleOnly"] = "FemaleOnly";
|
|
6
|
+
CodeFlag["Deptkinesitherapy"] = "Deptkinesitherapy";
|
|
7
|
+
CodeFlag["Deptnursing"] = "Deptnursing";
|
|
8
|
+
CodeFlag["Deptgeneralpractice"] = "Deptgeneralpractice";
|
|
9
|
+
CodeFlag["Deptsocialworker"] = "Deptsocialworker";
|
|
10
|
+
CodeFlag["Deptpsychology"] = "Deptpsychology";
|
|
11
|
+
CodeFlag["Deptadministrative"] = "Deptadministrative";
|
|
12
|
+
CodeFlag["Deptdietetics"] = "Deptdietetics";
|
|
13
|
+
CodeFlag["Deptspeechtherapy"] = "Deptspeechtherapy";
|
|
14
|
+
CodeFlag["Deptdentistry"] = "Deptdentistry";
|
|
15
|
+
CodeFlag["Deptoccupationaltherapy"] = "Deptoccupationaltherapy";
|
|
16
|
+
CodeFlag["Depthealthcare"] = "Depthealthcare";
|
|
17
|
+
CodeFlag["Deptgynecology"] = "Deptgynecology";
|
|
18
|
+
CodeFlag["Deptpediatry"] = "Deptpediatry";
|
|
19
|
+
CodeFlag["Deptalgology"] = "Deptalgology";
|
|
20
|
+
CodeFlag["Deptanatomopathology"] = "Deptanatomopathology";
|
|
21
|
+
CodeFlag["Deptanesthesiology"] = "Deptanesthesiology";
|
|
22
|
+
CodeFlag["Deptbacteriology"] = "Deptbacteriology";
|
|
23
|
+
CodeFlag["Deptcardiacsurgery"] = "Deptcardiacsurgery";
|
|
24
|
+
CodeFlag["Deptcardiology"] = "Deptcardiology";
|
|
25
|
+
CodeFlag["Deptchildandadolescentpsychiatry"] = "Deptchildandadolescentpsychiatry";
|
|
26
|
+
CodeFlag["Deptdermatology"] = "Deptdermatology";
|
|
27
|
+
CodeFlag["Deptdiabetology"] = "Deptdiabetology";
|
|
28
|
+
CodeFlag["Deptemergency"] = "Deptemergency";
|
|
29
|
+
CodeFlag["Deptendocrinology"] = "Deptendocrinology";
|
|
30
|
+
CodeFlag["Deptgastroenterology"] = "Deptgastroenterology";
|
|
31
|
+
CodeFlag["Deptgenetics"] = "Deptgenetics";
|
|
32
|
+
CodeFlag["Deptgeriatry"] = "Deptgeriatry";
|
|
33
|
+
CodeFlag["Depthandsurgery"] = "Depthandsurgery";
|
|
34
|
+
CodeFlag["Depthematology"] = "Depthematology";
|
|
35
|
+
CodeFlag["Deptinfectiousdisease"] = "Deptinfectiousdisease";
|
|
36
|
+
CodeFlag["Deptintensivecare"] = "Deptintensivecare";
|
|
37
|
+
CodeFlag["Deptlaboratory"] = "Deptlaboratory";
|
|
38
|
+
CodeFlag["Deptmajorburns"] = "Deptmajorburns";
|
|
39
|
+
CodeFlag["Deptmaxillofacialsurgery"] = "Deptmaxillofacialsurgery";
|
|
40
|
+
CodeFlag["Deptmedicine"] = "Deptmedicine";
|
|
41
|
+
CodeFlag["Deptmolecularbiology"] = "Deptmolecularbiology";
|
|
42
|
+
CodeFlag["Deptneonatalogy"] = "Deptneonatalogy";
|
|
43
|
+
CodeFlag["Deptnephrology"] = "Deptnephrology";
|
|
44
|
+
CodeFlag["Deptneurology"] = "Deptneurology";
|
|
45
|
+
CodeFlag["Deptneurosurgery"] = "Deptneurosurgery";
|
|
46
|
+
CodeFlag["Deptnte"] = "Deptnte";
|
|
47
|
+
CodeFlag["Deptnuclear"] = "Deptnuclear";
|
|
48
|
+
CodeFlag["Deptnutritiondietetics"] = "Deptnutritiondietetics";
|
|
49
|
+
CodeFlag["Deptobstetrics"] = "Deptobstetrics";
|
|
50
|
+
CodeFlag["Deptoncology"] = "Deptoncology";
|
|
51
|
+
CodeFlag["Deptophtalmology"] = "Deptophtalmology";
|
|
52
|
+
CodeFlag["Deptorthopedy"] = "Deptorthopedy";
|
|
53
|
+
CodeFlag["Deptpalliativecare"] = "Deptpalliativecare";
|
|
54
|
+
CodeFlag["Deptpediatricintensivecare"] = "Deptpediatricintensivecare";
|
|
55
|
+
CodeFlag["Deptpediatricsurgery"] = "Deptpediatricsurgery";
|
|
56
|
+
CodeFlag["Deptpharmacy"] = "Deptpharmacy";
|
|
57
|
+
CodeFlag["Deptphysicalmedecine"] = "Deptphysicalmedecine";
|
|
58
|
+
CodeFlag["Deptphysiotherapy"] = "Deptphysiotherapy";
|
|
59
|
+
CodeFlag["Deptplasticandreparatorysurgery"] = "Deptplasticandreparatorysurgery";
|
|
60
|
+
CodeFlag["Deptpneumology"] = "Deptpneumology";
|
|
61
|
+
CodeFlag["Deptpodiatry"] = "Deptpodiatry";
|
|
62
|
+
CodeFlag["Deptpsychiatry"] = "Deptpsychiatry";
|
|
63
|
+
CodeFlag["Deptradiology"] = "Deptradiology";
|
|
64
|
+
CodeFlag["Deptradiotherapy"] = "Deptradiotherapy";
|
|
65
|
+
CodeFlag["Deptrevalidation"] = "Deptrevalidation";
|
|
66
|
+
CodeFlag["Deptrheumatology"] = "Deptrheumatology";
|
|
67
|
+
CodeFlag["Deptrhumatology"] = "Deptrhumatology";
|
|
68
|
+
CodeFlag["Deptsenology"] = "Deptsenology";
|
|
69
|
+
CodeFlag["Deptsocialservice"] = "Deptsocialservice";
|
|
70
|
+
CodeFlag["Deptsportsmedecine"] = "Deptsportsmedecine";
|
|
71
|
+
CodeFlag["Deptstomatology"] = "Deptstomatology";
|
|
72
|
+
CodeFlag["Deptsurgery"] = "Deptsurgery";
|
|
73
|
+
CodeFlag["Deptthoracicsurgery"] = "Deptthoracicsurgery";
|
|
74
|
+
CodeFlag["Depttoxicology"] = "Depttoxicology";
|
|
75
|
+
CodeFlag["Depttropicalmedecine"] = "Depttropicalmedecine";
|
|
76
|
+
CodeFlag["Depturology"] = "Depturology";
|
|
77
|
+
CodeFlag["Deptvascularsurgery"] = "Deptvascularsurgery";
|
|
78
|
+
CodeFlag["Deptvisceraldigestiveabdominalsurgery"] = "Deptvisceraldigestiveabdominalsurgery";
|
|
79
|
+
CodeFlag["Depttransplantsurgery"] = "Depttransplantsurgery";
|
|
80
|
+
CodeFlag["Deptpercutaneous"] = "Deptpercutaneous";
|
|
81
|
+
CodeFlag["Deptchildbirth"] = "Deptchildbirth";
|
|
82
|
+
})(CodeFlag || (CodeFlag = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { KeywordSubword as KeywordSubword_ } from './KeywordSubword.mjs';
|
|
2
|
+
export declare class KeywordSubword {
|
|
3
|
+
value: string | undefined;
|
|
4
|
+
subWords: Array<KeywordSubword_> | undefined;
|
|
5
|
+
constructor(partial: Partial<KeywordSubword>);
|
|
6
|
+
toJSON(): object;
|
|
7
|
+
static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array<string>): KeywordSubword;
|
|
8
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// auto-generated file
|
|
2
|
+
import { expectArray, expectObject, expectString, extractEntry } from '../../internal/JsonDecodeUtils.mjs';
|
|
3
|
+
export class KeywordSubword {
|
|
4
|
+
constructor(partial) {
|
|
5
|
+
this.value = undefined;
|
|
6
|
+
this.subWords = undefined;
|
|
7
|
+
if ('value' in partial)
|
|
8
|
+
this.value = partial.value;
|
|
9
|
+
if ('subWords' in partial)
|
|
10
|
+
this.subWords = partial.subWords;
|
|
11
|
+
}
|
|
12
|
+
toJSON() {
|
|
13
|
+
const res = {};
|
|
14
|
+
if (this.value != undefined)
|
|
15
|
+
res['value'] = this.value;
|
|
16
|
+
if (this.subWords != undefined)
|
|
17
|
+
res['subWords'] = this.subWords.map((x0) => x0.toJSON());
|
|
18
|
+
return res;
|
|
19
|
+
}
|
|
20
|
+
static fromJSON(json, ignoreUnknownKeys = false, path = ['KeywordSubword']) {
|
|
21
|
+
if (typeof json != 'object')
|
|
22
|
+
throw new Error(`Expected json object at path ${path.join("")}`);
|
|
23
|
+
const jCpy = Object.assign({}, json);
|
|
24
|
+
const res = new KeywordSubword({
|
|
25
|
+
value: expectString(extractEntry(jCpy, 'value', false, path), true, [...path, ".value"]),
|
|
26
|
+
subWords: expectArray(extractEntry(jCpy, 'subWords', false, path), true, [...path, ".subWords"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, KeywordSubword.fromJSON)),
|
|
27
|
+
});
|
|
28
|
+
if (!ignoreUnknownKeys) {
|
|
29
|
+
const unused = Object.keys(jCpy);
|
|
30
|
+
if (unused.length > 0)
|
|
31
|
+
throw new Error(`Unexpected key(s) for json object KeywordSubword at path ${path.join("")}: ${unused}`);
|
|
32
|
+
}
|
|
33
|
+
return res;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare class LetterValue {
|
|
2
|
+
letter: string | undefined;
|
|
3
|
+
index: string | undefined;
|
|
4
|
+
coefficient: number | undefined;
|
|
5
|
+
value: number | undefined;
|
|
6
|
+
constructor(partial: Partial<LetterValue>);
|
|
7
|
+
toJSON(): object;
|
|
8
|
+
static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array<string>): LetterValue;
|
|
9
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// auto-generated file
|
|
2
|
+
import { expectNumber, expectString, extractEntry } from '../../internal/JsonDecodeUtils.mjs';
|
|
3
|
+
export class LetterValue {
|
|
4
|
+
constructor(partial) {
|
|
5
|
+
this.letter = undefined;
|
|
6
|
+
this.index = undefined;
|
|
7
|
+
this.coefficient = undefined;
|
|
8
|
+
this.value = undefined;
|
|
9
|
+
if ('letter' in partial)
|
|
10
|
+
this.letter = partial.letter;
|
|
11
|
+
if ('index' in partial)
|
|
12
|
+
this.index = partial.index;
|
|
13
|
+
if ('coefficient' in partial)
|
|
14
|
+
this.coefficient = partial.coefficient;
|
|
15
|
+
if ('value' in partial)
|
|
16
|
+
this.value = partial.value;
|
|
17
|
+
}
|
|
18
|
+
toJSON() {
|
|
19
|
+
const res = {};
|
|
20
|
+
if (this.letter != undefined)
|
|
21
|
+
res['letter'] = this.letter;
|
|
22
|
+
if (this.index != undefined)
|
|
23
|
+
res['index'] = this.index;
|
|
24
|
+
if (this.coefficient != undefined)
|
|
25
|
+
res['coefficient'] = this.coefficient;
|
|
26
|
+
if (this.value != undefined)
|
|
27
|
+
res['value'] = this.value;
|
|
28
|
+
return res;
|
|
29
|
+
}
|
|
30
|
+
static fromJSON(json, ignoreUnknownKeys = false, path = ['LetterValue']) {
|
|
31
|
+
if (typeof json != 'object')
|
|
32
|
+
throw new Error(`Expected json object at path ${path.join("")}`);
|
|
33
|
+
const jCpy = Object.assign({}, json);
|
|
34
|
+
const res = new LetterValue({
|
|
35
|
+
letter: expectString(extractEntry(jCpy, 'letter', false, path), true, [...path, ".letter"]),
|
|
36
|
+
index: expectString(extractEntry(jCpy, 'index', false, path), true, [...path, ".index"]),
|
|
37
|
+
coefficient: expectNumber(extractEntry(jCpy, 'coefficient', false, path), true, false, [...path, ".coefficient"]),
|
|
38
|
+
value: expectNumber(extractEntry(jCpy, 'value', false, path), true, false, [...path, ".value"]),
|
|
39
|
+
});
|
|
40
|
+
if (!ignoreUnknownKeys) {
|
|
41
|
+
const unused = Object.keys(jCpy);
|
|
42
|
+
if (unused.length > 0)
|
|
43
|
+
throw new Error(`Unexpected key(s) for json object LetterValue at path ${path.join("")}: ${unused}`);
|
|
44
|
+
}
|
|
45
|
+
return res;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CodeStub } from '../base/CodeStub.mjs';
|
|
2
|
+
export declare class Periodicity {
|
|
3
|
+
relatedCode: CodeStub | undefined;
|
|
4
|
+
relatedPeriodicity: CodeStub | undefined;
|
|
5
|
+
constructor(partial: Partial<Periodicity>);
|
|
6
|
+
toJSON(): object;
|
|
7
|
+
static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array<string>): Periodicity;
|
|
8
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// auto-generated file
|
|
2
|
+
import { expectObject, extractEntry } from '../../internal/JsonDecodeUtils.mjs';
|
|
3
|
+
import { CodeStub } from '../base/CodeStub.mjs';
|
|
4
|
+
export class Periodicity {
|
|
5
|
+
constructor(partial) {
|
|
6
|
+
this.relatedCode = undefined;
|
|
7
|
+
this.relatedPeriodicity = undefined;
|
|
8
|
+
if ('relatedCode' in partial)
|
|
9
|
+
this.relatedCode = partial.relatedCode;
|
|
10
|
+
if ('relatedPeriodicity' in partial)
|
|
11
|
+
this.relatedPeriodicity = partial.relatedPeriodicity;
|
|
12
|
+
}
|
|
13
|
+
toJSON() {
|
|
14
|
+
const res = {};
|
|
15
|
+
if (this.relatedCode != undefined)
|
|
16
|
+
res['relatedCode'] = this.relatedCode.toJSON();
|
|
17
|
+
if (this.relatedPeriodicity != undefined)
|
|
18
|
+
res['relatedPeriodicity'] = this.relatedPeriodicity.toJSON();
|
|
19
|
+
return res;
|
|
20
|
+
}
|
|
21
|
+
static fromJSON(json, ignoreUnknownKeys = false, path = ['Periodicity']) {
|
|
22
|
+
if (typeof json != 'object')
|
|
23
|
+
throw new Error(`Expected json object at path ${path.join("")}`);
|
|
24
|
+
const jCpy = Object.assign({}, json);
|
|
25
|
+
const res = new Periodicity({
|
|
26
|
+
relatedCode: expectObject(extractEntry(jCpy, 'relatedCode', false, path), true, ignoreUnknownKeys, [...path, ".relatedCode"], CodeStub.fromJSON),
|
|
27
|
+
relatedPeriodicity: expectObject(extractEntry(jCpy, 'relatedPeriodicity', false, path), true, ignoreUnknownKeys, [...path, ".relatedPeriodicity"], CodeStub.fromJSON),
|
|
28
|
+
});
|
|
29
|
+
if (!ignoreUnknownKeys) {
|
|
30
|
+
const unused = Object.keys(jCpy);
|
|
31
|
+
if (unused.length > 0)
|
|
32
|
+
throw new Error(`Unexpected key(s) for json object Periodicity at path ${path.join("")}: ${unused}`);
|
|
33
|
+
}
|
|
34
|
+
return res;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare class TimeTableHour {
|
|
2
|
+
startHour: number | undefined;
|
|
3
|
+
endHour: number | undefined;
|
|
4
|
+
constructor(partial: Partial<TimeTableHour>);
|
|
5
|
+
toJSON(): object;
|
|
6
|
+
static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array<string>): TimeTableHour;
|
|
7
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// auto-generated file
|
|
2
|
+
import { expectNumber, extractEntry } from '../../internal/JsonDecodeUtils.mjs';
|
|
3
|
+
export class TimeTableHour {
|
|
4
|
+
constructor(partial) {
|
|
5
|
+
this.startHour = undefined;
|
|
6
|
+
this.endHour = undefined;
|
|
7
|
+
if ('startHour' in partial)
|
|
8
|
+
this.startHour = partial.startHour;
|
|
9
|
+
if ('endHour' in partial)
|
|
10
|
+
this.endHour = partial.endHour;
|
|
11
|
+
}
|
|
12
|
+
toJSON() {
|
|
13
|
+
const res = {};
|
|
14
|
+
if (this.startHour != undefined)
|
|
15
|
+
res['startHour'] = this.startHour;
|
|
16
|
+
if (this.endHour != undefined)
|
|
17
|
+
res['endHour'] = this.endHour;
|
|
18
|
+
return res;
|
|
19
|
+
}
|
|
20
|
+
static fromJSON(json, ignoreUnknownKeys = false, path = ['TimeTableHour']) {
|
|
21
|
+
if (typeof json != 'object')
|
|
22
|
+
throw new Error(`Expected json object at path ${path.join("")}`);
|
|
23
|
+
const jCpy = Object.assign({}, json);
|
|
24
|
+
const res = new TimeTableHour({
|
|
25
|
+
startHour: expectNumber(extractEntry(jCpy, 'startHour', false, path), true, true, [...path, ".startHour"]),
|
|
26
|
+
endHour: expectNumber(extractEntry(jCpy, 'endHour', false, path), true, true, [...path, ".endHour"]),
|
|
27
|
+
});
|
|
28
|
+
if (!ignoreUnknownKeys) {
|
|
29
|
+
const unused = Object.keys(jCpy);
|
|
30
|
+
if (unused.length > 0)
|
|
31
|
+
throw new Error(`Unexpected key(s) for json object TimeTableHour at path ${path.join("")}: ${unused}`);
|
|
32
|
+
}
|
|
33
|
+
return res;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TimeTableHour } from './TimeTableHour.mjs';
|
|
2
|
+
export declare class TimeTableItem {
|
|
3
|
+
rruleStartDate: number | undefined;
|
|
4
|
+
rrule: string | undefined;
|
|
5
|
+
notBeforeInMinutes: number | undefined;
|
|
6
|
+
notAfterInMinutes: number | undefined;
|
|
7
|
+
zoneId: string | undefined;
|
|
8
|
+
hours: Array<TimeTableHour>;
|
|
9
|
+
calendarItemTypeId: string | undefined;
|
|
10
|
+
homeVisit: boolean;
|
|
11
|
+
placeId: string | undefined;
|
|
12
|
+
publicTimeTableItem: boolean;
|
|
13
|
+
acceptsNewPatient: boolean;
|
|
14
|
+
unavailable: boolean;
|
|
15
|
+
reservingRights: Array<string>;
|
|
16
|
+
constructor(partial: Partial<TimeTableItem>);
|
|
17
|
+
toJSON(): object;
|
|
18
|
+
static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array<string>): TimeTableItem;
|
|
19
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
// auto-generated file
|
|
2
|
+
import { expectArray, expectBoolean, expectNumber, expectObject, expectString, extractEntry } from '../../internal/JsonDecodeUtils.mjs';
|
|
3
|
+
import { TimeTableHour } from './TimeTableHour.mjs';
|
|
4
|
+
export class TimeTableItem {
|
|
5
|
+
constructor(partial) {
|
|
6
|
+
this.rruleStartDate = undefined;
|
|
7
|
+
this.rrule = undefined;
|
|
8
|
+
this.notBeforeInMinutes = undefined;
|
|
9
|
+
this.notAfterInMinutes = undefined;
|
|
10
|
+
this.zoneId = undefined;
|
|
11
|
+
this.hours = [];
|
|
12
|
+
this.calendarItemTypeId = undefined;
|
|
13
|
+
this.homeVisit = false;
|
|
14
|
+
this.placeId = undefined;
|
|
15
|
+
this.publicTimeTableItem = false;
|
|
16
|
+
this.acceptsNewPatient = true;
|
|
17
|
+
this.unavailable = false;
|
|
18
|
+
this.reservingRights = [];
|
|
19
|
+
if ('rruleStartDate' in partial)
|
|
20
|
+
this.rruleStartDate = partial.rruleStartDate;
|
|
21
|
+
if ('rrule' in partial)
|
|
22
|
+
this.rrule = partial.rrule;
|
|
23
|
+
if ('notBeforeInMinutes' in partial)
|
|
24
|
+
this.notBeforeInMinutes = partial.notBeforeInMinutes;
|
|
25
|
+
if ('notAfterInMinutes' in partial)
|
|
26
|
+
this.notAfterInMinutes = partial.notAfterInMinutes;
|
|
27
|
+
if ('zoneId' in partial)
|
|
28
|
+
this.zoneId = partial.zoneId;
|
|
29
|
+
if ('hours' in partial && partial.hours !== undefined)
|
|
30
|
+
this.hours = partial.hours;
|
|
31
|
+
if ('calendarItemTypeId' in partial)
|
|
32
|
+
this.calendarItemTypeId = partial.calendarItemTypeId;
|
|
33
|
+
if ('homeVisit' in partial && partial.homeVisit !== undefined)
|
|
34
|
+
this.homeVisit = partial.homeVisit;
|
|
35
|
+
if ('placeId' in partial)
|
|
36
|
+
this.placeId = partial.placeId;
|
|
37
|
+
if ('publicTimeTableItem' in partial && partial.publicTimeTableItem !== undefined)
|
|
38
|
+
this.publicTimeTableItem = partial.publicTimeTableItem;
|
|
39
|
+
if ('acceptsNewPatient' in partial && partial.acceptsNewPatient !== undefined)
|
|
40
|
+
this.acceptsNewPatient = partial.acceptsNewPatient;
|
|
41
|
+
if ('unavailable' in partial && partial.unavailable !== undefined)
|
|
42
|
+
this.unavailable = partial.unavailable;
|
|
43
|
+
if ('reservingRights' in partial && partial.reservingRights !== undefined)
|
|
44
|
+
this.reservingRights = partial.reservingRights;
|
|
45
|
+
}
|
|
46
|
+
toJSON() {
|
|
47
|
+
const res = {};
|
|
48
|
+
if (this.rruleStartDate != undefined)
|
|
49
|
+
res['rruleStartDate'] = this.rruleStartDate;
|
|
50
|
+
if (this.rrule != undefined)
|
|
51
|
+
res['rrule'] = this.rrule;
|
|
52
|
+
if (this.notBeforeInMinutes != undefined)
|
|
53
|
+
res['notBeforeInMinutes'] = this.notBeforeInMinutes;
|
|
54
|
+
if (this.notAfterInMinutes != undefined)
|
|
55
|
+
res['notAfterInMinutes'] = this.notAfterInMinutes;
|
|
56
|
+
if (this.zoneId != undefined)
|
|
57
|
+
res['zoneId'] = this.zoneId;
|
|
58
|
+
res['hours'] = this.hours.map((x0) => x0.toJSON());
|
|
59
|
+
if (this.calendarItemTypeId != undefined)
|
|
60
|
+
res['calendarItemTypeId'] = this.calendarItemTypeId;
|
|
61
|
+
res['homeVisit'] = this.homeVisit;
|
|
62
|
+
if (this.placeId != undefined)
|
|
63
|
+
res['placeId'] = this.placeId;
|
|
64
|
+
res['publicTimeTableItem'] = this.publicTimeTableItem;
|
|
65
|
+
res['acceptsNewPatient'] = this.acceptsNewPatient;
|
|
66
|
+
res['unavailable'] = this.unavailable;
|
|
67
|
+
res['reservingRights'] = this.reservingRights.map((x0) => x0);
|
|
68
|
+
return res;
|
|
69
|
+
}
|
|
70
|
+
static fromJSON(json, ignoreUnknownKeys = false, path = ['TimeTableItem']) {
|
|
71
|
+
if (typeof json != 'object')
|
|
72
|
+
throw new Error(`Expected json object at path ${path.join("")}`);
|
|
73
|
+
const jCpy = Object.assign({}, json);
|
|
74
|
+
const res = new TimeTableItem({
|
|
75
|
+
rruleStartDate: expectNumber(extractEntry(jCpy, 'rruleStartDate', false, path), true, true, [...path, ".rruleStartDate"]),
|
|
76
|
+
rrule: expectString(extractEntry(jCpy, 'rrule', false, path), true, [...path, ".rrule"]),
|
|
77
|
+
notBeforeInMinutes: expectNumber(extractEntry(jCpy, 'notBeforeInMinutes', false, path), true, true, [...path, ".notBeforeInMinutes"]),
|
|
78
|
+
notAfterInMinutes: expectNumber(extractEntry(jCpy, 'notAfterInMinutes', false, path), true, true, [...path, ".notAfterInMinutes"]),
|
|
79
|
+
zoneId: expectString(extractEntry(jCpy, 'zoneId', false, path), true, [...path, ".zoneId"]),
|
|
80
|
+
hours: expectArray(extractEntry(jCpy, 'hours', false, path), false, [...path, ".hours"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, TimeTableHour.fromJSON)),
|
|
81
|
+
calendarItemTypeId: expectString(extractEntry(jCpy, 'calendarItemTypeId', false, path), true, [...path, ".calendarItemTypeId"]),
|
|
82
|
+
homeVisit: expectBoolean(extractEntry(jCpy, 'homeVisit', false, path), false, [...path, ".homeVisit"]),
|
|
83
|
+
placeId: expectString(extractEntry(jCpy, 'placeId', false, path), true, [...path, ".placeId"]),
|
|
84
|
+
publicTimeTableItem: expectBoolean(extractEntry(jCpy, 'publicTimeTableItem', false, path), false, [...path, ".publicTimeTableItem"]),
|
|
85
|
+
acceptsNewPatient: expectBoolean(extractEntry(jCpy, 'acceptsNewPatient', false, path), false, [...path, ".acceptsNewPatient"]),
|
|
86
|
+
unavailable: expectBoolean(extractEntry(jCpy, 'unavailable', false, path), false, [...path, ".unavailable"]),
|
|
87
|
+
reservingRights: expectArray(extractEntry(jCpy, 'reservingRights', false, path), false, [...path, ".reservingRights"], (x0, p0) => expectString(x0, false, p0)),
|
|
88
|
+
});
|
|
89
|
+
if (!ignoreUnknownKeys) {
|
|
90
|
+
const unused = Object.keys(jCpy);
|
|
91
|
+
if (unused.length > 0)
|
|
92
|
+
throw new Error(`Unexpected key(s) for json object TimeTableItem at path ${path.join("")}: ${unused}`);
|
|
93
|
+
}
|
|
94
|
+
return res;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Base64String } from '../specializations/Base64String.mjs';
|
|
2
|
+
import { Encryptable } from './Encryptable.mjs';
|
|
3
|
+
export interface Valorisation extends Encryptable {
|
|
4
|
+
startOfValidity: number | undefined;
|
|
5
|
+
endOfValidity: number | undefined;
|
|
6
|
+
predicate: string | undefined;
|
|
7
|
+
reference: Array<number> | undefined;
|
|
8
|
+
totalAmount: number | undefined;
|
|
9
|
+
reimbursement: number | undefined;
|
|
10
|
+
patientIntervention: number | undefined;
|
|
11
|
+
doctorSupplement: number | undefined;
|
|
12
|
+
vat: number | undefined;
|
|
13
|
+
label: {
|
|
14
|
+
[key: string]: string;
|
|
15
|
+
} | undefined;
|
|
16
|
+
readonly isEncrypted: boolean;
|
|
17
|
+
toJSON(): object;
|
|
18
|
+
}
|
|
19
|
+
export declare class DecryptedValorisation {
|
|
20
|
+
startOfValidity: number | undefined;
|
|
21
|
+
endOfValidity: number | undefined;
|
|
22
|
+
predicate: string | undefined;
|
|
23
|
+
reference: Array<number> | undefined;
|
|
24
|
+
totalAmount: number | undefined;
|
|
25
|
+
reimbursement: number | undefined;
|
|
26
|
+
patientIntervention: number | undefined;
|
|
27
|
+
doctorSupplement: number | undefined;
|
|
28
|
+
vat: number | undefined;
|
|
29
|
+
label: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
} | undefined;
|
|
32
|
+
encryptedSelf: Base64String | undefined;
|
|
33
|
+
readonly isEncrypted: false;
|
|
34
|
+
constructor(partial: Partial<DecryptedValorisation>);
|
|
35
|
+
toJSON(): object;
|
|
36
|
+
static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array<string>): DecryptedValorisation;
|
|
37
|
+
}
|
|
38
|
+
export declare class EncryptedValorisation {
|
|
39
|
+
startOfValidity: number | undefined;
|
|
40
|
+
endOfValidity: number | undefined;
|
|
41
|
+
predicate: string | undefined;
|
|
42
|
+
reference: Array<number> | undefined;
|
|
43
|
+
totalAmount: number | undefined;
|
|
44
|
+
reimbursement: number | undefined;
|
|
45
|
+
patientIntervention: number | undefined;
|
|
46
|
+
doctorSupplement: number | undefined;
|
|
47
|
+
vat: number | undefined;
|
|
48
|
+
label: {
|
|
49
|
+
[key: string]: string;
|
|
50
|
+
} | undefined;
|
|
51
|
+
encryptedSelf: Base64String | undefined;
|
|
52
|
+
readonly isEncrypted: true;
|
|
53
|
+
constructor(partial: Partial<EncryptedValorisation>);
|
|
54
|
+
toJSON(): object;
|
|
55
|
+
static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array<string>): EncryptedValorisation;
|
|
56
|
+
}
|