@icure/cardinal-sdk 2.8.0 → 2.9.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/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
- package/api/CalendarItemApi.d.mts +36 -0
- package/api/CalendarItemInGroupApi.d.mts +16 -0
- package/api/InsuranceApi.d.mts +5 -0
- package/api/InsuranceInGroupApi.d.mts +5 -0
- package/cardinal-sdk-ts.d.mts +19 -0
- package/cardinal-sdk-ts.mjs +40627 -39498
- package/cardinal-sdk.mjs +102042 -99376
- package/filters/InsuranceFilters.d.mts +54 -0
- package/filters/InsuranceFilters.mjs +8 -0
- package/filters.d.mts +1 -0
- package/filters.mjs +1 -0
- package/kotlin-kotlin-stdlib.mjs +6 -6
- package/model/Contact.d.mts +2 -6
- package/model/HealthcareParty.d.mts +2 -1
- package/model/Insurance.d.mts +15 -10
- package/model/Insurance.mjs +24 -22
- package/model/Invoice.d.mts +2 -6
- package/model/MaintenanceTask.d.mts +2 -6
- package/model/Patient.d.mts +2 -6
- package/model/User.d.mts +2 -1
- package/model/base/HasIdentifier.d.mts +10 -0
- package/model/base/HasIdentifier.mjs +1 -0
- package/model/embed/Address.d.mts +2 -2
- package/model/embed/Service.d.mts +2 -7
- package/model.d.mts +1 -0
- package/model.mjs +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { BaseFilterOptions, BaseSortableFilterOptions } from '../cardinal-sdk-ts.mjs';
|
|
2
|
+
import { Insurance } from '../model/Insurance.mjs';
|
|
3
|
+
import { Identifier } from '../model/base/Identifier.mjs';
|
|
4
|
+
interface InsuranceFiltersFactory {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* Filter options to match all insurances.
|
|
8
|
+
* These options are not sortable.
|
|
9
|
+
*/
|
|
10
|
+
all(): BaseFilterOptions<Insurance>;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* Options for insurance filtering which match all the insurances that have at least
|
|
14
|
+
* an identifier that has the same exact [Identifier.system] and [Identifier.value] as one of the provided
|
|
15
|
+
* [identifiers]. Other properties of the provided identifiers are ignored.
|
|
16
|
+
*
|
|
17
|
+
* These options are sortable. When sorting using these options the insurances will be in the same order as
|
|
18
|
+
* the input identifiers. In case an entity has multiple identifiers only the first matching identifier is considered
|
|
19
|
+
* for the sorting.
|
|
20
|
+
*
|
|
21
|
+
* @param identifiers a list of identifiers
|
|
22
|
+
*/
|
|
23
|
+
byIdentifiers(identifiers: Array<Identifier>): BaseFilterOptions<Insurance>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* Options for insurance filtering which match all insurances shared directly (i.e. ignoring hierarchies) ƒthat have a certain code.
|
|
27
|
+
* If you specify only the [codeType] you will get all entities that have at least a code of that type.
|
|
28
|
+
*
|
|
29
|
+
* These options are sortable. When sorting using these options the insurances will be sorted by [codeCode]
|
|
30
|
+
*
|
|
31
|
+
* @param codeType a code type
|
|
32
|
+
* @param codeCode a code for the provided code type, or null if you want the filter to accept any entity
|
|
33
|
+
* with a code of the provided type.
|
|
34
|
+
*/
|
|
35
|
+
byCode(codeType: string, options?: {
|
|
36
|
+
codeCode?: string | undefined;
|
|
37
|
+
}): BaseSortableFilterOptions<Insurance>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* Options for insurance filtering which match all insurances shared directly (i.e. ignoring hierarchies) that have a certain tag.
|
|
41
|
+
* If you specify only the [tagType] you will get all entities that have at least a tag of that type.
|
|
42
|
+
*
|
|
43
|
+
* These options are sortable. When sorting using these options the insurances will be sorted by [tagCode]
|
|
44
|
+
*
|
|
45
|
+
* @param tagType a tag type
|
|
46
|
+
* @param tagCode a code for the provided tag type, or null if you want the filter to accept any entity
|
|
47
|
+
* with a tag of the provided type.
|
|
48
|
+
*/
|
|
49
|
+
byTag(tagType: string, options?: {
|
|
50
|
+
tagCode?: string | undefined;
|
|
51
|
+
}): BaseSortableFilterOptions<Insurance>;
|
|
52
|
+
}
|
|
53
|
+
export declare const InsuranceFilters: InsuranceFiltersFactory;
|
|
54
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// auto-generated file
|
|
2
|
+
import { InternalInsuranceFiltersObj } from '../cardinal-sdk-ts.mjs';
|
|
3
|
+
export const InsuranceFilters = {
|
|
4
|
+
all: () => InternalInsuranceFiltersObj.getInstance().all(),
|
|
5
|
+
byIdentifiers: (identifiers) => InternalInsuranceFiltersObj.getInstance().byIdentifiers(identifiers),
|
|
6
|
+
byCode: (codeType, options) => InternalInsuranceFiltersObj.getInstance().byCode(codeType, options),
|
|
7
|
+
byTag: (tagType, options) => InternalInsuranceFiltersObj.getInstance().byTag(tagType, options)
|
|
8
|
+
};
|
package/filters.d.mts
CHANGED
package/filters.mjs
CHANGED
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;
|
package/model/Contact.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CodeStub } from './base/CodeStub.mjs';
|
|
2
2
|
import { HasEncryptionMetadata } from './base/HasEncryptionMetadata.mjs';
|
|
3
3
|
import { HasEndOfLife } from './base/HasEndOfLife.mjs';
|
|
4
|
+
import { HasIdentifier } from './base/HasIdentifier.mjs';
|
|
4
5
|
import { ICureDocument } from './base/ICureDocument.mjs';
|
|
5
6
|
import { Identifier } from './base/Identifier.mjs';
|
|
6
7
|
import { StoredDocument } from './base/StoredDocument.mjs';
|
|
@@ -34,12 +35,7 @@ import { Base64String } from './specializations/Base64String.mjs';
|
|
|
34
35
|
* absence of a patient.
|
|
35
36
|
* /
|
|
36
37
|
*/
|
|
37
|
-
export interface Contact extends StoredDocument, ICureDocument<string>, HasEncryptionMetadata, Encryptable, HasEndOfLife {
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* The identifiers of the Contact.
|
|
41
|
-
*/
|
|
42
|
-
identifier: Array<Identifier>;
|
|
38
|
+
export interface Contact extends StoredDocument, ICureDocument<string>, HasEncryptionMetadata, Encryptable, HasEndOfLife, HasIdentifier {
|
|
43
39
|
/**
|
|
44
40
|
*
|
|
45
41
|
* Separate contacts can be merged in one logical contact if they share the same groupId. When a
|
|
@@ -3,6 +3,7 @@ import { CodeStub } from './base/CodeStub.mjs';
|
|
|
3
3
|
import { CryptoActor } from './base/CryptoActor.mjs';
|
|
4
4
|
import { DataOwner } from './base/DataOwner.mjs';
|
|
5
5
|
import { HasCodes } from './base/HasCodes.mjs';
|
|
6
|
+
import { HasIdentifier } from './base/HasIdentifier.mjs';
|
|
6
7
|
import { HasTags } from './base/HasTags.mjs';
|
|
7
8
|
import { Identifier } from './base/Identifier.mjs';
|
|
8
9
|
import { Named } from './base/Named.mjs';
|
|
@@ -23,7 +24,7 @@ import { SpkiHexString } from './specializations/SpkiHexString.mjs';
|
|
|
23
24
|
* icure-healthdata CouchDB database.
|
|
24
25
|
* /
|
|
25
26
|
*/
|
|
26
|
-
export declare class HealthcareParty implements StoredDocument, Named, Person, CryptoActor, DataOwner, HasCodes, HasTags {
|
|
27
|
+
export declare class HealthcareParty implements StoredDocument, Named, Person, CryptoActor, DataOwner, HasCodes, HasTags, HasIdentifier {
|
|
27
28
|
/**
|
|
28
29
|
*
|
|
29
30
|
* The Id of the healthcare party. We encourage using either a v4 UUID or a HL7 Id.
|
package/model/Insurance.d.mts
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
|
+
import { CodeStub } from './base/CodeStub.mjs';
|
|
2
|
+
import { HasCodes } from './base/HasCodes.mjs';
|
|
3
|
+
import { HasIdentifier } from './base/HasIdentifier.mjs';
|
|
4
|
+
import { HasTags } from './base/HasTags.mjs';
|
|
5
|
+
import { Identifier } from './base/Identifier.mjs';
|
|
1
6
|
import { StoredDocument } from './base/StoredDocument.mjs';
|
|
2
7
|
import { DecryptedAddress } from './embed/Address.mjs';
|
|
3
8
|
/**
|
|
4
9
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
10
|
+
*
|
|
11
|
+
* Represents an insurance entity. An insurance can be a mutual fund, a private insurance company,
|
|
12
|
+
* or any other type of insurance organization that covers healthcare costs.
|
|
8
13
|
*/
|
|
9
|
-
export declare class Insurance implements StoredDocument {
|
|
14
|
+
export declare class Insurance implements StoredDocument, HasTags, HasCodes, HasIdentifier {
|
|
10
15
|
/**
|
|
11
16
|
*
|
|
12
17
|
* The unique identifier of the insurance.
|
|
@@ -32,19 +37,19 @@ export declare class Insurance implements StoredDocument {
|
|
|
32
37
|
};
|
|
33
38
|
/**
|
|
34
39
|
*
|
|
35
|
-
*
|
|
40
|
+
* The identifiers of the insurance.
|
|
36
41
|
*/
|
|
37
|
-
|
|
42
|
+
identifier: Array<Identifier>;
|
|
38
43
|
/**
|
|
39
44
|
*
|
|
40
|
-
*
|
|
45
|
+
* Tags that qualify the insurance as being member of a certain class.
|
|
41
46
|
*/
|
|
42
|
-
|
|
47
|
+
tags: Array<CodeStub>;
|
|
43
48
|
/**
|
|
44
49
|
*
|
|
45
|
-
*
|
|
50
|
+
* Codes that identify or qualify this particular insurance.
|
|
46
51
|
*/
|
|
47
|
-
|
|
52
|
+
codes: Array<CodeStub>;
|
|
48
53
|
/**
|
|
49
54
|
*
|
|
50
55
|
* The insurance code.
|
package/model/Insurance.mjs
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
// auto-generated file
|
|
2
|
-
import {
|
|
2
|
+
import { expectArray, expectMap, expectNumber, expectObject, expectString, extractEntry } from '../internal/JsonDecodeUtils.mjs';
|
|
3
3
|
import { randomUuid } from '../utils/Id.mjs';
|
|
4
|
+
import { CodeStub } from './base/CodeStub.mjs';
|
|
5
|
+
import { Identifier } from './base/Identifier.mjs';
|
|
4
6
|
import { DecryptedAddress } from './embed/Address.mjs';
|
|
5
7
|
/**
|
|
6
8
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
9
|
+
*
|
|
10
|
+
* Represents an insurance entity. An insurance can be a mutual fund, a private insurance company,
|
|
11
|
+
* or any other type of insurance organization that covers healthcare costs.
|
|
10
12
|
*/
|
|
11
13
|
export class Insurance {
|
|
12
14
|
constructor(partial) {
|
|
@@ -29,19 +31,19 @@ export class Insurance {
|
|
|
29
31
|
this.name = {};
|
|
30
32
|
/**
|
|
31
33
|
*
|
|
32
|
-
*
|
|
34
|
+
* The identifiers of the insurance.
|
|
33
35
|
*/
|
|
34
|
-
this.
|
|
36
|
+
this.identifier = [];
|
|
35
37
|
/**
|
|
36
38
|
*
|
|
37
|
-
*
|
|
39
|
+
* Tags that qualify the insurance as being member of a certain class.
|
|
38
40
|
*/
|
|
39
|
-
this.
|
|
41
|
+
this.tags = [];
|
|
40
42
|
/**
|
|
41
43
|
*
|
|
42
|
-
*
|
|
44
|
+
* Codes that identify or qualify this particular insurance.
|
|
43
45
|
*/
|
|
44
|
-
this.
|
|
46
|
+
this.codes = [];
|
|
45
47
|
/**
|
|
46
48
|
*
|
|
47
49
|
* The insurance code.
|
|
@@ -64,12 +66,12 @@ export class Insurance {
|
|
|
64
66
|
this.deletionDate = partial.deletionDate;
|
|
65
67
|
if ('name' in partial && partial.name !== undefined)
|
|
66
68
|
this.name = partial.name;
|
|
67
|
-
if ('
|
|
68
|
-
this.
|
|
69
|
-
if ('
|
|
70
|
-
this.
|
|
71
|
-
if ('
|
|
72
|
-
this.
|
|
69
|
+
if ('identifier' in partial && partial.identifier !== undefined)
|
|
70
|
+
this.identifier = partial.identifier;
|
|
71
|
+
if ('tags' in partial && partial.tags !== undefined)
|
|
72
|
+
this.tags = partial.tags;
|
|
73
|
+
if ('codes' in partial && partial.codes !== undefined)
|
|
74
|
+
this.codes = partial.codes;
|
|
73
75
|
if ('code' in partial)
|
|
74
76
|
this.code = partial.code;
|
|
75
77
|
if ('agreementNumber' in partial)
|
|
@@ -86,9 +88,9 @@ export class Insurance {
|
|
|
86
88
|
if (this.deletionDate != undefined)
|
|
87
89
|
res['deletionDate'] = this.deletionDate;
|
|
88
90
|
res['name'] = Object.fromEntries(Object.entries(this.name).map(([k0, v0]) => [k0, v0]));
|
|
89
|
-
res['
|
|
90
|
-
res['
|
|
91
|
-
res['
|
|
91
|
+
res['identifier'] = this.identifier.map((x0) => x0.toJSON());
|
|
92
|
+
res['tags'] = this.tags.map((x0) => x0.toJSON());
|
|
93
|
+
res['codes'] = this.codes.map((x0) => x0.toJSON());
|
|
92
94
|
if (this.code != undefined)
|
|
93
95
|
res['code'] = this.code;
|
|
94
96
|
if (this.agreementNumber != undefined)
|
|
@@ -107,9 +109,9 @@ export class Insurance {
|
|
|
107
109
|
rev: expectString(extractEntry(jCpy, 'rev', false, path), true, [...path, ".rev"]),
|
|
108
110
|
deletionDate: expectNumber(extractEntry(jCpy, 'deletionDate', false, path), true, true, [...path, ".deletionDate"]),
|
|
109
111
|
name: expectMap(extractEntry(jCpy, 'name', false, path), false, [...path, ".name"], (k0, p0) => expectString(k0, false, p0), (v0, p0) => expectString(v0, false, p0)),
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
112
|
+
identifier: expectArray(extractEntry(jCpy, 'identifier', false, path), false, [...path, ".identifier"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, Identifier.fromJSON)),
|
|
113
|
+
tags: expectArray(extractEntry(jCpy, 'tags', false, path), false, [...path, ".tags"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, CodeStub.fromJSON)),
|
|
114
|
+
codes: expectArray(extractEntry(jCpy, 'codes', false, path), false, [...path, ".codes"], (x0, p0) => expectObject(x0, false, ignoreUnknownKeys, p0, CodeStub.fromJSON)),
|
|
113
115
|
code: expectString(extractEntry(jCpy, 'code', false, path), true, [...path, ".code"]),
|
|
114
116
|
agreementNumber: expectString(extractEntry(jCpy, 'agreementNumber', false, path), true, [...path, ".agreementNumber"]),
|
|
115
117
|
parent: expectString(extractEntry(jCpy, 'parent', false, path), true, [...path, ".parent"]),
|
package/model/Invoice.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CodeStub } from './base/CodeStub.mjs';
|
|
2
2
|
import { HasEncryptionMetadata } from './base/HasEncryptionMetadata.mjs';
|
|
3
|
+
import { HasIdentifier } from './base/HasIdentifier.mjs';
|
|
3
4
|
import { ICureDocument } from './base/ICureDocument.mjs';
|
|
4
5
|
import { Identifier } from './base/Identifier.mjs';
|
|
5
6
|
import { StoredDocument } from './base/StoredDocument.mjs';
|
|
@@ -18,12 +19,7 @@ import { Base64String } from './specializations/Base64String.mjs';
|
|
|
18
19
|
* services rendered. It is serialized in JSON and saved in the underlying iCure CouchDB database.
|
|
19
20
|
* /
|
|
20
21
|
*/
|
|
21
|
-
export interface Invoice extends StoredDocument, ICureDocument<string>, HasEncryptionMetadata, Encryptable {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* The identifiers of the invoice.
|
|
25
|
-
*/
|
|
26
|
-
identifier: Array<Identifier>;
|
|
22
|
+
export interface Invoice extends StoredDocument, ICureDocument<string>, HasEncryptionMetadata, Encryptable, HasIdentifier {
|
|
27
23
|
/**
|
|
28
24
|
*
|
|
29
25
|
* The timestamp (unix epoch in ms) when the invoice was drafted.
|
|
@@ -2,6 +2,7 @@ import { DecryptedPropertyStub, EncryptedPropertyStub, PropertyStub } from './Pr
|
|
|
2
2
|
import { CodeStub } from './base/CodeStub.mjs';
|
|
3
3
|
import { HasEncryptionMetadata } from './base/HasEncryptionMetadata.mjs';
|
|
4
4
|
import { HasEndOfLife } from './base/HasEndOfLife.mjs';
|
|
5
|
+
import { HasIdentifier } from './base/HasIdentifier.mjs';
|
|
5
6
|
import { ICureDocument } from './base/ICureDocument.mjs';
|
|
6
7
|
import { Identifier } from './base/Identifier.mjs';
|
|
7
8
|
import { StoredDocument } from './base/StoredDocument.mjs';
|
|
@@ -18,12 +19,7 @@ import { Base64String } from './specializations/Base64String.mjs';
|
|
|
18
19
|
* asynchronous processing.
|
|
19
20
|
* /
|
|
20
21
|
*/
|
|
21
|
-
export interface MaintenanceTask extends StoredDocument, ICureDocument<string>, HasEncryptionMetadata, Encryptable, HasEndOfLife {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* The identifiers of the maintenance task.
|
|
25
|
-
*/
|
|
26
|
-
identifier: Array<Identifier>;
|
|
22
|
+
export interface MaintenanceTask extends StoredDocument, ICureDocument<string>, HasEncryptionMetadata, Encryptable, HasEndOfLife, HasIdentifier {
|
|
27
23
|
/**
|
|
28
24
|
*
|
|
29
25
|
* The type of the maintenance task.
|
package/model/Patient.d.mts
CHANGED
|
@@ -2,6 +2,7 @@ import { DecryptedPropertyStub, EncryptedPropertyStub, PropertyStub } from './Pr
|
|
|
2
2
|
import { CodeStub } from './base/CodeStub.mjs';
|
|
3
3
|
import { CryptoActor } from './base/CryptoActor.mjs';
|
|
4
4
|
import { HasEncryptionMetadata } from './base/HasEncryptionMetadata.mjs';
|
|
5
|
+
import { HasIdentifier } from './base/HasIdentifier.mjs';
|
|
5
6
|
import { ICureDocument } from './base/ICureDocument.mjs';
|
|
6
7
|
import { Identifier } from './base/Identifier.mjs';
|
|
7
8
|
import { Person } from './base/Person.mjs';
|
|
@@ -31,12 +32,7 @@ import { SpkiHexString } from './specializations/SpkiHexString.mjs';
|
|
|
31
32
|
* end-to-end encryption of sensitive data.
|
|
32
33
|
* /
|
|
33
34
|
*/
|
|
34
|
-
export interface Patient extends StoredDocument, ICureDocument<string>, Person, HasEncryptionMetadata, Encryptable, CryptoActor {
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* The patient's identifiers, used by the client to uniquely identify the patient.
|
|
38
|
-
*/
|
|
39
|
-
identifier: Array<Identifier>;
|
|
35
|
+
export interface Patient extends StoredDocument, ICureDocument<string>, Person, HasEncryptionMetadata, Encryptable, HasIdentifier, CryptoActor {
|
|
40
36
|
/**
|
|
41
37
|
*
|
|
42
38
|
* The birth sex of the patient.
|
package/model/User.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DecryptedPropertyStub } from './PropertyStub.mjs';
|
|
2
|
+
import { HasIdentifier } from './base/HasIdentifier.mjs';
|
|
2
3
|
import { Identifier } from './base/Identifier.mjs';
|
|
3
4
|
import { StoredDocument } from './base/StoredDocument.mjs';
|
|
4
5
|
import { DelegationTag } from './embed/DelegationTag.mjs';
|
|
@@ -13,7 +14,7 @@ import { Permission } from './security/Permission.mjs';
|
|
|
13
14
|
* party,
|
|
14
15
|
* a patient, or a device, and holds authentication credentials, roles, and permissions.
|
|
15
16
|
*/
|
|
16
|
-
export declare class User implements StoredDocument {
|
|
17
|
+
export declare class User implements StoredDocument, HasIdentifier {
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
19
20
|
* The Id of the user. We encourage using either a v4 UUID or a HL7 Id.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CodeStub } from '../base/CodeStub.mjs';
|
|
2
2
|
import { HasCodes } from '../base/HasCodes.mjs';
|
|
3
|
+
import { HasIdentifier } from '../base/HasIdentifier.mjs';
|
|
3
4
|
import { HasTags } from '../base/HasTags.mjs';
|
|
4
5
|
import { Identifier } from '../base/Identifier.mjs';
|
|
5
6
|
import { Base64String } from '../specializations/Base64String.mjs';
|
|
@@ -7,8 +8,7 @@ import { AddressType } from './AddressType.mjs';
|
|
|
7
8
|
import { Annotation } from './Annotation.mjs';
|
|
8
9
|
import { Encryptable } from './Encryptable.mjs';
|
|
9
10
|
import { DecryptedTelecom, EncryptedTelecom, Telecom } from './Telecom.mjs';
|
|
10
|
-
export interface Address extends Encryptable, HasTags, HasCodes {
|
|
11
|
-
identifier: Array<Identifier>;
|
|
11
|
+
export interface Address extends Encryptable, HasTags, HasCodes, HasIdentifier {
|
|
12
12
|
addressType: AddressType | undefined;
|
|
13
13
|
descr: string | undefined;
|
|
14
14
|
street: string | undefined;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CodeStub } from '../base/CodeStub.mjs';
|
|
2
2
|
import { HasEndOfLife } from '../base/HasEndOfLife.mjs';
|
|
3
|
+
import { HasIdentifier } from '../base/HasIdentifier.mjs';
|
|
3
4
|
import { ICureDocument } from '../base/ICureDocument.mjs';
|
|
4
5
|
import { Identifier } from '../base/Identifier.mjs';
|
|
5
6
|
import { LinkQualification } from '../base/LinkQualification.mjs';
|
|
@@ -9,19 +10,13 @@ import { Content, DecryptedContent, EncryptedContent } from './Content.mjs';
|
|
|
9
10
|
import { Delegation } from './Delegation.mjs';
|
|
10
11
|
import { Encryptable } from './Encryptable.mjs';
|
|
11
12
|
import { SecurityMetadata } from './SecurityMetadata.mjs';
|
|
12
|
-
export interface Service extends Encryptable, ICureDocument<string>, HasEndOfLife {
|
|
13
|
+
export interface Service extends Encryptable, ICureDocument<string>, HasEndOfLife, HasIdentifier {
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* The transactionId is used when a single service had to be split into parts for technical
|
|
16
17
|
* reasons. Several services with the same non null transaction id form one single service
|
|
17
18
|
*/
|
|
18
19
|
transactionId: string | undefined;
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* The transactionId is used when a single service had to be split into parts for technical
|
|
22
|
-
* reasons. Several services with the same non null transaction id form one single service
|
|
23
|
-
*/
|
|
24
|
-
identifier: Array<Identifier>;
|
|
25
20
|
/**
|
|
26
21
|
*
|
|
27
22
|
* Id of the contact during which the service is provided. Only used when the Service is emitted
|
package/model.d.mts
CHANGED
|
@@ -195,6 +195,7 @@ export * from './model/base/HasEndOfLife.mjs';
|
|
|
195
195
|
export * from './model/base/HasTags.mjs';
|
|
196
196
|
export * from './model/base/Identifier.mjs';
|
|
197
197
|
export * from './model/base/DataOwner.mjs';
|
|
198
|
+
export * from './model/base/HasIdentifier.mjs';
|
|
198
199
|
export * from './model/base/Person.mjs';
|
|
199
200
|
export * from './model/base/Named.mjs';
|
|
200
201
|
export * from './model/base/ParticipantType.mjs';
|
package/model.mjs
CHANGED
|
@@ -195,6 +195,7 @@ export * from './model/base/HasEndOfLife.mjs';
|
|
|
195
195
|
export * from './model/base/HasTags.mjs';
|
|
196
196
|
export * from './model/base/Identifier.mjs';
|
|
197
197
|
export * from './model/base/DataOwner.mjs';
|
|
198
|
+
export * from './model/base/HasIdentifier.mjs';
|
|
198
199
|
export * from './model/base/Person.mjs';
|
|
199
200
|
export * from './model/base/Named.mjs';
|
|
200
201
|
export * from './model/base/ParticipantType.mjs';
|