@icure/cardinal-sdk 3.0.0-PREVIEW-4 → 3.0.0-PREVIEW.6
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 +20 -0
- package/api/CalendarItemBasicApi.d.mts +20 -0
- package/api/ContactApi.d.mts +20 -0
- package/api/ContactBasicApi.d.mts +20 -0
- package/api/DeviceApi.d.mts +20 -0
- package/api/HealthElementApi.d.mts +20 -0
- package/api/HealthElementBasicApi.d.mts +20 -0
- package/api/HealthcarePartyApi.d.mts +20 -0
- package/api/MaintenanceTaskApi.d.mts +20 -0
- package/api/MaintenanceTaskBasicApi.d.mts +20 -0
- package/api/MessageApi.d.mts +20 -0
- package/api/MessageBasicApi.d.mts +20 -0
- package/api/PatientApi.d.mts +20 -0
- package/api/PatientBasicApi.d.mts +20 -0
- package/api/RelatedPersonApi.d.mts +20 -0
- package/api/TopicApi.d.mts +20 -0
- package/api/TopicBasicApi.d.mts +20 -0
- package/api/UserApi.d.mts +20 -0
- package/cardinal-sdk-ts.mjs +43373 -43280
- package/cardinal-sdk.mjs +84479 -82911
- package/kotlin-kotlin-stdlib.mjs +6 -6
- package/kotlinx-coroutines-core.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +12 -0
- package/model/AccessLog.d.mts +7 -14
- package/model/AccessLog.mjs +6 -12
- package/model/Agenda.d.mts +3 -6
- package/model/Agenda.mjs +3 -6
- package/model/CalendarItem.d.mts +8 -16
- package/model/CalendarItem.mjs +6 -12
- package/model/CalendarItemOccupancy.d.mts +2 -4
- package/model/CalendarItemOccupancy.mjs +2 -4
- package/model/CalendarItemType.d.mts +2 -4
- package/model/CalendarItemType.mjs +2 -4
- package/model/Classification.d.mts +5 -10
- package/model/Classification.mjs +4 -8
- package/model/Code.d.mts +1 -2
- package/model/Code.mjs +1 -2
- package/model/Contact.d.mts +34 -71
- package/model/Contact.mjs +26 -54
- package/model/CryptoActorStub.d.mts +1 -2
- package/model/CryptoActorStub.mjs +1 -2
- package/model/DataOwnerRegistrationSuccess.d.mts +1 -2
- package/model/DataOwnerRegistrationSuccess.mjs +1 -2
- package/model/DataOwnerType.d.mts +1 -2
- package/model/DataOwnerType.mjs +1 -2
- package/model/Device.d.mts +1 -2
- package/model/Device.mjs +1 -2
- package/model/Document.d.mts +3 -6
- package/model/Document.mjs +2 -4
- package/model/FrontEndMigration.d.mts +2 -4
- package/model/FrontEndMigration.mjs +2 -4
- package/model/Group.d.mts +9 -2
- package/model/Group.mjs +14 -2
- package/model/HealthElement.d.mts +20 -40
- package/model/HealthElement.mjs +14 -28
- package/model/HealthcareParty.d.mts +4 -9
- package/model/HealthcareParty.mjs +4 -9
- package/model/IndexingInfo.d.mts +1 -2
- package/model/IndexingInfo.mjs +1 -2
- package/model/Insurance.d.mts +1 -2
- package/model/Insurance.mjs +1 -2
- package/model/Invoice.d.mts +3 -6
- package/model/Invoice.mjs +2 -4
- package/model/MaintenanceTask.d.mts +8 -16
- package/model/MaintenanceTask.mjs +6 -12
- package/model/Message.d.mts +3 -6
- package/model/Message.mjs +2 -4
- package/model/PaginatedDocumentKeyIdPair.d.mts +1 -2
- package/model/PaginatedDocumentKeyIdPair.mjs +1 -2
- package/model/PaginatedList.d.mts +2 -4
- package/model/PaginatedList.mjs +2 -4
- package/model/PaginationError.d.mts +2 -4
- package/model/PaginationError.mjs +1 -2
- package/model/Patient.d.mts +6 -12
- package/model/Patient.mjs +4 -8
- package/model/PropertyTypeStub.d.mts +1 -2
- package/model/PropertyTypeStub.mjs +1 -2
- package/model/Receipt.d.mts +6 -12
- package/model/Receipt.mjs +4 -8
- package/model/RelatedPerson.d.mts +8 -18
- package/model/RelatedPerson.mjs +6 -14
- package/model/Role.d.mts +4 -8
- package/model/Role.mjs +4 -8
- package/model/Topic.d.mts +3 -6
- package/model/Topic.mjs +2 -4
- package/model/User.d.mts +2 -4
- package/model/User.mjs +2 -4
- package/model/base/CodeStub.d.mts +1 -2
- package/model/base/CodeStub.mjs +1 -2
- package/model/base/CryptoActor.d.mts +37 -74
- package/model/base/DataOwner.d.mts +1 -2
- package/model/base/DataOwnerGroupLink.d.mts +2 -4
- package/model/base/DataOwnerGroupLink.mjs +2 -4
- package/model/base/DataOwnerGroupLinkType.d.mts +1 -2
- package/model/base/DataOwnerGroupLinkType.mjs +1 -2
- package/model/base/DataOwnerHierarchyInfo.d.mts +2 -4
- package/model/base/DataOwnerHierarchyInfo.mjs +2 -4
- package/model/base/HasCodes.d.mts +1 -2
- package/model/base/HasEncryptionMetadata.d.mts +1 -2
- package/model/base/HasIdentifier.d.mts +1 -2
- package/model/base/HasTags.d.mts +1 -2
- package/model/base/ICureDocument.d.mts +1 -2
- package/model/base/LinkQualification.d.mts +7 -17
- package/model/base/LinkQualification.mjs +7 -17
- package/model/base/StoredDocument.d.mts +1 -2
- package/model/couchdb/Basic.d.mts +1 -2
- package/model/couchdb/Basic.mjs +1 -2
- package/model/couchdb/DatabaseInfo.d.mts +1 -2
- package/model/couchdb/DatabaseInfo.mjs +1 -2
- package/model/couchdb/DesignDocument.d.mts +1 -2
- package/model/couchdb/DesignDocument.mjs +1 -2
- package/model/couchdb/GroupDatabasesInfo.d.mts +1 -2
- package/model/couchdb/GroupDatabasesInfo.mjs +1 -2
- package/model/couchdb/Remote.d.mts +1 -2
- package/model/couchdb/Remote.mjs +1 -2
- package/model/couchdb/ReplicatorDocument.d.mts +1 -2
- package/model/couchdb/ReplicatorDocument.mjs +1 -2
- package/model/data/LabelledOccurence.d.mts +1 -2
- package/model/data/LabelledOccurence.mjs +1 -2
- package/model/embed/AdministrationQuantity.d.mts +1 -2
- package/model/embed/AdministrationQuantity.mjs +1 -2
- package/model/embed/AgendaSlottingAlgorithm.d.mts +1 -2
- package/model/embed/AgendaSlottingAlgorithm.mjs +1 -2
- package/model/embed/Annotation.d.mts +6 -12
- package/model/embed/Annotation.mjs +4 -8
- package/model/embed/AsserterType.d.mts +6 -12
- package/model/embed/AsserterType.mjs +6 -12
- package/model/embed/CareTeamMember.d.mts +3 -6
- package/model/embed/CareTeamMember.mjs +2 -4
- package/model/embed/CareTeamMembership.d.mts +3 -6
- package/model/embed/CareTeamMembership.mjs +2 -4
- package/model/embed/Content.d.mts +3 -6
- package/model/embed/Content.mjs +2 -4
- package/model/embed/DataAttachment.d.mts +5 -10
- package/model/embed/DataAttachment.mjs +5 -10
- package/model/embed/DatabaseSynchronization.d.mts +1 -2
- package/model/embed/DatabaseSynchronization.mjs +1 -2
- package/model/embed/DeletedAttachment.d.mts +2 -4
- package/model/embed/DeletedAttachment.mjs +2 -4
- package/model/embed/DocumentStatus.d.mts +1 -2
- package/model/embed/DocumentStatus.mjs +1 -2
- package/model/embed/EmbeddedTimeTableItem.d.mts +1 -2
- package/model/embed/EmbeddedTimeTableItem.mjs +1 -2
- package/model/embed/Encryptable.d.mts +1 -2
- package/model/embed/Episode.d.mts +3 -6
- package/model/embed/Episode.mjs +2 -4
- package/model/embed/FinancialInstitutionInformation.d.mts +3 -6
- package/model/embed/FinancialInstitutionInformation.mjs +2 -4
- package/model/embed/Gender.d.mts +1 -2
- package/model/embed/Gender.mjs +1 -2
- package/model/embed/GroupStatus.d.mts +10 -0
- package/model/embed/GroupStatus.mjs +12 -0
- package/model/embed/HealthElementAsserter.d.mts +23 -46
- package/model/embed/HealthElementAsserter.mjs +20 -40
- package/model/embed/HealthElementQualifiedLink.d.mts +2 -4
- package/model/embed/HealthElementQualifiedLink.mjs +1 -2
- package/model/embed/InvoicingCode.d.mts +18 -6
- package/model/embed/InvoicingCode.mjs +22 -4
- package/model/embed/Measure.d.mts +1 -2
- package/model/embed/Measure.mjs +1 -2
- package/model/embed/MedicalHouseContract.d.mts +3 -6
- package/model/embed/MedicalHouseContract.mjs +2 -4
- package/model/embed/MessageReadStatus.d.mts +1 -2
- package/model/embed/MessageReadStatus.mjs +1 -2
- package/model/embed/MhcSignatureType.d.mts +1 -2
- package/model/embed/MhcSignatureType.mjs +1 -2
- package/model/embed/PartnerType.d.mts +1 -2
- package/model/embed/PartnerType.mjs +1 -2
- package/model/embed/Partnership.d.mts +6 -12
- package/model/embed/Partnership.mjs +4 -8
- package/model/embed/PartnershipType.d.mts +1 -2
- package/model/embed/PartnershipType.mjs +1 -2
- package/model/embed/PersonName.d.mts +1 -2
- package/model/embed/PersonName.mjs +1 -2
- package/model/embed/ReceiptBlobType.d.mts +1 -2
- package/model/embed/ReceiptBlobType.mjs +1 -2
- package/model/embed/ReferenceRange.d.mts +1 -2
- package/model/embed/ReferenceRange.mjs +1 -2
- package/model/embed/RegimenItem.d.mts +2 -4
- package/model/embed/RegimenItem.mjs +2 -4
- package/model/embed/Renewal.d.mts +1 -2
- package/model/embed/Renewal.mjs +1 -2
- package/model/embed/ResourceGroupAllocationSchedule.d.mts +1 -2
- package/model/embed/ResourceGroupAllocationSchedule.mjs +1 -2
- package/model/embed/RoleConfiguration.d.mts +1 -2
- package/model/embed/RoleConfiguration.mjs +1 -2
- package/model/embed/SecureDelegation.d.mts +2 -4
- package/model/embed/SecureDelegation.mjs +2 -4
- package/model/embed/SecurityMetadata.d.mts +1 -2
- package/model/embed/Service.d.mts +35 -70
- package/model/embed/Service.mjs +26 -52
- package/model/embed/TelecomType.d.mts +1 -2
- package/model/embed/TelecomType.mjs +1 -2
- package/model/embed/TimeSeries.d.mts +1 -2
- package/model/embed/TimeSeries.mjs +1 -2
- package/model/embed/TypedValue.d.mts +3 -6
- package/model/embed/TypedValue.mjs +2 -4
- package/model/embed/UserAccessLevel.d.mts +2 -4
- package/model/embed/UserAccessLevel.mjs +2 -4
- package/model/embed/form/template/Action.d.mts +1 -2
- package/model/embed/form/template/Action.mjs +1 -2
- package/model/embed/form/template/Field.d.mts +2 -4
- package/model/embed/form/template/FieldsGroup.d.mts +1 -2
- package/model/embed/form/template/FieldsGroup.mjs +1 -2
- package/model/embed/form/template/FormTemplateLayout.d.mts +1 -2
- package/model/embed/form/template/FormTemplateLayout.mjs +1 -2
- package/model/embed/form/template/Launcher.d.mts +1 -2
- package/model/embed/form/template/Launcher.mjs +1 -2
- package/model/embed/form/template/Section.d.mts +1 -2
- package/model/embed/form/template/Section.mjs +1 -2
- package/model/embed/form/template/StructureElement.d.mts +1 -2
- package/model/filter/predicate/Predicate.d.mts +1 -2
- package/model/security/AlwaysPermissionItem.d.mts +1 -2
- package/model/security/AlwaysPermissionItem.mjs +1 -2
- package/model/security/AuthenticationToken.d.mts +1 -2
- package/model/security/AuthenticationToken.mjs +1 -2
- package/model/security/ExternalJwtConfig.d.mts +3 -6
- package/model/security/ExternalJwtConfig.mjs +2 -4
- package/model/security/LoginIdentifier.d.mts +1 -2
- package/model/security/LoginIdentifier.mjs +1 -2
- package/model/security/OperationToken.d.mts +1 -2
- package/model/security/OperationToken.mjs +1 -2
- package/model/security/PermissionItem.d.mts +1 -2
- package/model/security/PermissionType.d.mts +1 -2
- package/model/security/PermissionType.mjs +1 -2
- package/model.d.mts +1 -0
- package/model.mjs +1 -0
- package/options/SdkOptions.d.mts +67 -0
- package/options/SdkOptions.mjs +27 -1
- package/package.json +1 -1
- package/api/ApplicationSettingsApi.d.mts +0 -6
- package/api/ApplicationSettingsApi.mjs +0 -1
- package/api/DocumentTemplateApi.d.mts +0 -22
- package/api/DocumentTemplateApi.mjs +0 -1
- package/api/EntityReferenceApi.d.mts +0 -5
- package/api/EntityReferenceApi.mjs +0 -1
- package/api/EntityTemplateApi.d.mts +0 -24
- package/api/EntityTemplateApi.mjs +0 -1
- package/api/KeywordApi.d.mts +0 -14
- package/api/KeywordApi.mjs +0 -1
- package/api/MedicalLocationApi.d.mts +0 -17
- package/api/MedicalLocationApi.mjs +0 -1
- package/api/TarificationApi.d.mts +0 -27
- package/api/TarificationApi.mjs +0 -1
- package/api/TimeTableApi.d.mts +0 -26
- package/api/TimeTableApi.mjs +0 -1
- package/crypto/entities/DelegateShareOptions.d.mts +0 -9
- package/crypto/entities/DelegateShareOptions.mjs +0 -8
- package/crypto/entities/ShareAllPatientDataOptions.d.mts +0 -49
- package/crypto/entities/ShareAllPatientDataOptions.mjs +0 -58
- package/filters/ClassificationFilters.d.mts +0 -27
- package/filters/ClassificationFilters.mjs +0 -8
- package/filters/MedicalLocationFilters.d.mts +0 -8
- package/filters/MedicalLocationFilters.mjs +0 -6
- package/filters/TimeTableFilters.d.mts +0 -12
- package/filters/TimeTableFilters.mjs +0 -6
- package/model/ApplicationSettings.d.mts +0 -87
- package/model/ApplicationSettings.mjs +0 -256
- package/model/DocumentTemplate.d.mts +0 -35
- package/model/DocumentTemplate.mjs +0 -162
- package/model/EntityReference.d.mts +0 -10
- package/model/EntityReference.mjs +0 -46
- package/model/EntityTemplate.d.mts +0 -16
- package/model/EntityTemplate.mjs +0 -81
- package/model/Keyword.d.mts +0 -23
- package/model/Keyword.mjs +0 -99
- package/model/ListOfIds.d.mts +0 -6
- package/model/ListOfIds.mjs +0 -28
- package/model/MedicalLocation.d.mts +0 -28
- package/model/MedicalLocation.mjs +0 -116
- package/model/Tarification.d.mts +0 -50
- package/model/Tarification.mjs +0 -178
- package/model/TimeTable.d.mts +0 -25
- package/model/TimeTable.mjs +0 -111
- package/model/base/AppendixType.d.mts +0 -5
- package/model/base/AppendixType.mjs +0 -7
- package/model/base/CodeFlag.d.mts +0 -80
- package/model/base/CodeFlag.mjs +0 -82
- package/model/base/ReportVersion.d.mts +0 -3
- package/model/base/ReportVersion.mjs +0 -5
- package/model/embed/KeywordSubword.d.mts +0 -8
- package/model/embed/KeywordSubword.mjs +0 -35
- package/model/embed/LetterValue.d.mts +0 -9
- package/model/embed/LetterValue.mjs +0 -47
- package/model/embed/Periodicity.d.mts +0 -8
- package/model/embed/Periodicity.mjs +0 -36
- package/model/embed/TimeTableHour.d.mts +0 -7
- package/model/embed/TimeTableHour.mjs +0 -35
- package/model/embed/TimeTableItem.d.mts +0 -19
- package/model/embed/TimeTableItem.mjs +0 -96
- package/model/embed/Valorisation.d.mts +0 -56
- package/model/embed/Valorisation.mjs +0 -188
package/model/Contact.d.mts
CHANGED
|
@@ -17,31 +17,23 @@ import { DecryptedSubContact, EncryptedSubContact, SubContact } from './embed/Su
|
|
|
17
17
|
import { Base64String } from './specializations/Base64String.mjs';
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* This entity is a root-level object. It represents a contact. It is serialized in JSON and saved
|
|
21
|
-
* in the underlying
|
|
20
|
+
* This entity is a root-level object. It represents a contact. It is serialized in JSON and saved in the underlying
|
|
22
21
|
* icure-contact CouchDB database.
|
|
23
22
|
*
|
|
24
|
-
* A contact is an entry in the day-to-day journal of the medical file of a patient. A contact
|
|
25
|
-
*
|
|
26
|
-
* patient, one or several healthcare parties (with one healthcare party promoted as the responsible
|
|
27
|
-
* of the contact),
|
|
23
|
+
* A contact is an entry in the day-to-day journal of the medical file of a patient. A contact happens between one
|
|
24
|
+
* patient, one or several healthcare parties (with one healthcare party promoted as the responsible of the contact),
|
|
28
25
|
* at one place during one (fairly short) period of time.
|
|
29
|
-
* A contact contains a series of services (acts, observations, exchanges) performed on the patient.
|
|
30
|
-
* These services
|
|
26
|
+
* A contact contains a series of services (acts, observations, exchanges) performed on the patient. These services
|
|
31
27
|
* can be linked to healthcare elements.
|
|
32
28
|
*
|
|
33
|
-
* A contact can occur with or without direct interaction between the patient and the healthcare
|
|
34
|
-
* party
|
|
35
|
-
* when a healthcare party encodes data received from laboratory's test result, this is done in the
|
|
36
|
-
* absence of a patient.
|
|
29
|
+
* A contact can occur with or without direct interaction between the patient and the healthcare party. For example,
|
|
30
|
+
* when a healthcare party encodes data received from laboratory's test result, this is done in the absence of a patient.
|
|
37
31
|
* /
|
|
38
32
|
*/
|
|
39
33
|
export interface Contact extends StoredDocument, ICureDocument<string>, HasMedicalLocation, HasEncryptionMetadata, Encryptable, HasEndOfLife, HasIdentifier {
|
|
40
34
|
/**
|
|
41
35
|
*
|
|
42
|
-
* Separate contacts can be merged in one logical contact if they share the same groupId. When a
|
|
43
|
-
* contact must be split to selectively assign rights to healthcare parties, the split contacts all
|
|
44
|
-
* share the same groupId.
|
|
36
|
+
* Separate contacts can be merged in one logical contact if they share the same groupId. When a contact must be split to selectively assign rights to healthcare parties, the split contacts all share the same groupId.
|
|
45
37
|
*/
|
|
46
38
|
groupId: string | undefined;
|
|
47
39
|
/**
|
|
@@ -76,8 +68,7 @@ export interface Contact extends StoredDocument, ICureDocument<string>, HasMedic
|
|
|
76
68
|
encounterLocation: Address | undefined;
|
|
77
69
|
/**
|
|
78
70
|
*
|
|
79
|
-
* Set of all sub-contacts recorded during the given contact. Sub-contacts are used to link
|
|
80
|
-
* services embedded inside this contact to healthcare elements, healthcare approaches and/or forms.
|
|
71
|
+
* Set of all sub-contacts recorded during the given contact. Sub-contacts are used to link services embedded inside this contact to healthcare elements, healthcare approaches and/or forms.
|
|
81
72
|
*/
|
|
82
73
|
subContacts: Array<SubContact>;
|
|
83
74
|
/**
|
|
@@ -100,23 +91,17 @@ export interface Contact extends StoredDocument, ICureDocument<string>, HasMedic
|
|
|
100
91
|
}
|
|
101
92
|
/**
|
|
102
93
|
*
|
|
103
|
-
* This entity is a root-level object. It represents a contact. It is serialized in JSON and saved
|
|
104
|
-
* in the underlying
|
|
94
|
+
* This entity is a root-level object. It represents a contact. It is serialized in JSON and saved in the underlying
|
|
105
95
|
* icure-contact CouchDB database.
|
|
106
96
|
*
|
|
107
|
-
* A contact is an entry in the day-to-day journal of the medical file of a patient. A contact
|
|
108
|
-
*
|
|
109
|
-
* patient, one or several healthcare parties (with one healthcare party promoted as the responsible
|
|
110
|
-
* of the contact),
|
|
97
|
+
* A contact is an entry in the day-to-day journal of the medical file of a patient. A contact happens between one
|
|
98
|
+
* patient, one or several healthcare parties (with one healthcare party promoted as the responsible of the contact),
|
|
111
99
|
* at one place during one (fairly short) period of time.
|
|
112
|
-
* A contact contains a series of services (acts, observations, exchanges) performed on the patient.
|
|
113
|
-
* These services
|
|
100
|
+
* A contact contains a series of services (acts, observations, exchanges) performed on the patient. These services
|
|
114
101
|
* can be linked to healthcare elements.
|
|
115
102
|
*
|
|
116
|
-
* A contact can occur with or without direct interaction between the patient and the healthcare
|
|
117
|
-
* party
|
|
118
|
-
* when a healthcare party encodes data received from laboratory's test result, this is done in the
|
|
119
|
-
* absence of a patient.
|
|
103
|
+
* A contact can occur with or without direct interaction between the patient and the healthcare party. For example,
|
|
104
|
+
* when a healthcare party encodes data received from laboratory's test result, this is done in the absence of a patient.
|
|
120
105
|
* /
|
|
121
106
|
*/
|
|
122
107
|
export declare class DecryptedContact {
|
|
@@ -132,26 +117,22 @@ export declare class DecryptedContact {
|
|
|
132
117
|
rev: string | undefined;
|
|
133
118
|
/**
|
|
134
119
|
*
|
|
135
|
-
* The timestamp (unix epoch in ms) of creation of the contact, will be filled automatically if
|
|
136
|
-
* missing. Not enforced by the application server.
|
|
120
|
+
* The timestamp (unix epoch in ms) of creation of the contact, will be filled automatically if missing. Not enforced by the application server.
|
|
137
121
|
*/
|
|
138
122
|
created: number | undefined;
|
|
139
123
|
/**
|
|
140
124
|
*
|
|
141
|
-
* The date (unix epoch in ms) of the latest modification of the contact, will be filled
|
|
142
|
-
* automatically if missing. Not enforced by the application server.
|
|
125
|
+
* The date (unix epoch in ms) of the latest modification of the contact, will be filled automatically if missing. Not enforced by the application server.
|
|
143
126
|
*/
|
|
144
127
|
modified: number | undefined;
|
|
145
128
|
/**
|
|
146
129
|
*
|
|
147
|
-
* The id of the User that has created this contact, will be filled automatically if missing. Not
|
|
148
|
-
* enforced by the application server.
|
|
130
|
+
* The id of the User that has created this contact, will be filled automatically if missing. Not enforced by the application server.
|
|
149
131
|
*/
|
|
150
132
|
author: string | undefined;
|
|
151
133
|
/**
|
|
152
134
|
*
|
|
153
|
-
* The id of the HealthcareParty that is responsible for this contact, will be filled automatically
|
|
154
|
-
* if missing. Not enforced by the application server.
|
|
135
|
+
* The id of the HealthcareParty that is responsible for this contact, will be filled automatically if missing. Not enforced by the application server.
|
|
155
136
|
*/
|
|
156
137
|
responsible: string | undefined;
|
|
157
138
|
/**
|
|
@@ -181,9 +162,7 @@ export declare class DecryptedContact {
|
|
|
181
162
|
deletionDate: number | undefined;
|
|
182
163
|
/**
|
|
183
164
|
*
|
|
184
|
-
* Separate contacts can be merged in one logical contact if they share the same groupId. When a
|
|
185
|
-
* contact must be split to selectively assign rights to healthcare parties, the split contacts all
|
|
186
|
-
* share the same groupId.
|
|
165
|
+
* Separate contacts can be merged in one logical contact if they share the same groupId. When a contact must be split to selectively assign rights to healthcare parties, the split contacts all share the same groupId.
|
|
187
166
|
*/
|
|
188
167
|
groupId: string | undefined;
|
|
189
168
|
/**
|
|
@@ -218,8 +197,7 @@ export declare class DecryptedContact {
|
|
|
218
197
|
encounterLocation: DecryptedAddress | undefined;
|
|
219
198
|
/**
|
|
220
199
|
*
|
|
221
|
-
* Set of all sub-contacts recorded during the given contact. Sub-contacts are used to link
|
|
222
|
-
* services embedded inside this contact to healthcare elements, healthcare approaches and/or forms.
|
|
200
|
+
* Set of all sub-contacts recorded during the given contact. Sub-contacts are used to link services embedded inside this contact to healthcare elements, healthcare approaches and/or forms.
|
|
223
201
|
*/
|
|
224
202
|
subContacts: Array<DecryptedSubContact>;
|
|
225
203
|
/**
|
|
@@ -253,8 +231,7 @@ export declare class DecryptedContact {
|
|
|
253
231
|
};
|
|
254
232
|
/**
|
|
255
233
|
*
|
|
256
|
-
* The contact secret encryption key used to encrypt the secured properties (like services for
|
|
257
|
-
* example), encrypted for separate Crypto Actors.
|
|
234
|
+
* The contact secret encryption key used to encrypt the secured properties (like services for example), encrypted for separate Crypto Actors.
|
|
258
235
|
*/
|
|
259
236
|
encryptionKeys: {
|
|
260
237
|
[key: string]: Array<Delegation>;
|
|
@@ -281,23 +258,17 @@ export declare class DecryptedContact {
|
|
|
281
258
|
}
|
|
282
259
|
/**
|
|
283
260
|
*
|
|
284
|
-
* This entity is a root-level object. It represents a contact. It is serialized in JSON and saved
|
|
285
|
-
* in the underlying
|
|
261
|
+
* This entity is a root-level object. It represents a contact. It is serialized in JSON and saved in the underlying
|
|
286
262
|
* icure-contact CouchDB database.
|
|
287
263
|
*
|
|
288
|
-
* A contact is an entry in the day-to-day journal of the medical file of a patient. A contact
|
|
289
|
-
*
|
|
290
|
-
* patient, one or several healthcare parties (with one healthcare party promoted as the responsible
|
|
291
|
-
* of the contact),
|
|
264
|
+
* A contact is an entry in the day-to-day journal of the medical file of a patient. A contact happens between one
|
|
265
|
+
* patient, one or several healthcare parties (with one healthcare party promoted as the responsible of the contact),
|
|
292
266
|
* at one place during one (fairly short) period of time.
|
|
293
|
-
* A contact contains a series of services (acts, observations, exchanges) performed on the patient.
|
|
294
|
-
* These services
|
|
267
|
+
* A contact contains a series of services (acts, observations, exchanges) performed on the patient. These services
|
|
295
268
|
* can be linked to healthcare elements.
|
|
296
269
|
*
|
|
297
|
-
* A contact can occur with or without direct interaction between the patient and the healthcare
|
|
298
|
-
* party
|
|
299
|
-
* when a healthcare party encodes data received from laboratory's test result, this is done in the
|
|
300
|
-
* absence of a patient.
|
|
270
|
+
* A contact can occur with or without direct interaction between the patient and the healthcare party. For example,
|
|
271
|
+
* when a healthcare party encodes data received from laboratory's test result, this is done in the absence of a patient.
|
|
301
272
|
* /
|
|
302
273
|
*/
|
|
303
274
|
export declare class EncryptedContact {
|
|
@@ -313,26 +284,22 @@ export declare class EncryptedContact {
|
|
|
313
284
|
rev: string | undefined;
|
|
314
285
|
/**
|
|
315
286
|
*
|
|
316
|
-
* The timestamp (unix epoch in ms) of creation of the contact, will be filled automatically if
|
|
317
|
-
* missing. Not enforced by the application server.
|
|
287
|
+
* The timestamp (unix epoch in ms) of creation of the contact, will be filled automatically if missing. Not enforced by the application server.
|
|
318
288
|
*/
|
|
319
289
|
created: number | undefined;
|
|
320
290
|
/**
|
|
321
291
|
*
|
|
322
|
-
* The date (unix epoch in ms) of the latest modification of the contact, will be filled
|
|
323
|
-
* automatically if missing. Not enforced by the application server.
|
|
292
|
+
* The date (unix epoch in ms) of the latest modification of the contact, will be filled automatically if missing. Not enforced by the application server.
|
|
324
293
|
*/
|
|
325
294
|
modified: number | undefined;
|
|
326
295
|
/**
|
|
327
296
|
*
|
|
328
|
-
* The id of the User that has created this contact, will be filled automatically if missing. Not
|
|
329
|
-
* enforced by the application server.
|
|
297
|
+
* The id of the User that has created this contact, will be filled automatically if missing. Not enforced by the application server.
|
|
330
298
|
*/
|
|
331
299
|
author: string | undefined;
|
|
332
300
|
/**
|
|
333
301
|
*
|
|
334
|
-
* The id of the HealthcareParty that is responsible for this contact, will be filled automatically
|
|
335
|
-
* if missing. Not enforced by the application server.
|
|
302
|
+
* The id of the HealthcareParty that is responsible for this contact, will be filled automatically if missing. Not enforced by the application server.
|
|
336
303
|
*/
|
|
337
304
|
responsible: string | undefined;
|
|
338
305
|
/**
|
|
@@ -362,9 +329,7 @@ export declare class EncryptedContact {
|
|
|
362
329
|
deletionDate: number | undefined;
|
|
363
330
|
/**
|
|
364
331
|
*
|
|
365
|
-
* Separate contacts can be merged in one logical contact if they share the same groupId. When a
|
|
366
|
-
* contact must be split to selectively assign rights to healthcare parties, the split contacts all
|
|
367
|
-
* share the same groupId.
|
|
332
|
+
* Separate contacts can be merged in one logical contact if they share the same groupId. When a contact must be split to selectively assign rights to healthcare parties, the split contacts all share the same groupId.
|
|
368
333
|
*/
|
|
369
334
|
groupId: string | undefined;
|
|
370
335
|
/**
|
|
@@ -399,8 +364,7 @@ export declare class EncryptedContact {
|
|
|
399
364
|
encounterLocation: EncryptedAddress | undefined;
|
|
400
365
|
/**
|
|
401
366
|
*
|
|
402
|
-
* Set of all sub-contacts recorded during the given contact. Sub-contacts are used to link
|
|
403
|
-
* services embedded inside this contact to healthcare elements, healthcare approaches and/or forms.
|
|
367
|
+
* Set of all sub-contacts recorded during the given contact. Sub-contacts are used to link services embedded inside this contact to healthcare elements, healthcare approaches and/or forms.
|
|
404
368
|
*/
|
|
405
369
|
subContacts: Array<EncryptedSubContact>;
|
|
406
370
|
/**
|
|
@@ -434,8 +398,7 @@ export declare class EncryptedContact {
|
|
|
434
398
|
};
|
|
435
399
|
/**
|
|
436
400
|
*
|
|
437
|
-
* The contact secret encryption key used to encrypt the secured properties (like services for
|
|
438
|
-
* example), encrypted for separate Crypto Actors.
|
|
401
|
+
* The contact secret encryption key used to encrypt the secured properties (like services for example), encrypted for separate Crypto Actors.
|
|
439
402
|
*/
|
|
440
403
|
encryptionKeys: {
|
|
441
404
|
[key: string]: Array<Delegation>;
|
package/model/Contact.mjs
CHANGED
|
@@ -12,23 +12,17 @@ import { DecryptedService, EncryptedService } from './embed/Service.mjs';
|
|
|
12
12
|
import { DecryptedSubContact, EncryptedSubContact } from './embed/SubContact.mjs';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
|
-
* This entity is a root-level object. It represents a contact. It is serialized in JSON and saved
|
|
16
|
-
* in the underlying
|
|
15
|
+
* This entity is a root-level object. It represents a contact. It is serialized in JSON and saved in the underlying
|
|
17
16
|
* icure-contact CouchDB database.
|
|
18
17
|
*
|
|
19
|
-
* A contact is an entry in the day-to-day journal of the medical file of a patient. A contact
|
|
20
|
-
*
|
|
21
|
-
* patient, one or several healthcare parties (with one healthcare party promoted as the responsible
|
|
22
|
-
* of the contact),
|
|
18
|
+
* A contact is an entry in the day-to-day journal of the medical file of a patient. A contact happens between one
|
|
19
|
+
* patient, one or several healthcare parties (with one healthcare party promoted as the responsible of the contact),
|
|
23
20
|
* at one place during one (fairly short) period of time.
|
|
24
|
-
* A contact contains a series of services (acts, observations, exchanges) performed on the patient.
|
|
25
|
-
* These services
|
|
21
|
+
* A contact contains a series of services (acts, observations, exchanges) performed on the patient. These services
|
|
26
22
|
* can be linked to healthcare elements.
|
|
27
23
|
*
|
|
28
|
-
* A contact can occur with or without direct interaction between the patient and the healthcare
|
|
29
|
-
* party
|
|
30
|
-
* when a healthcare party encodes data received from laboratory's test result, this is done in the
|
|
31
|
-
* absence of a patient.
|
|
24
|
+
* A contact can occur with or without direct interaction between the patient and the healthcare party. For example,
|
|
25
|
+
* when a healthcare party encodes data received from laboratory's test result, this is done in the absence of a patient.
|
|
32
26
|
* /
|
|
33
27
|
*/
|
|
34
28
|
export class DecryptedContact {
|
|
@@ -41,26 +35,22 @@ export class DecryptedContact {
|
|
|
41
35
|
this.rev = undefined;
|
|
42
36
|
/**
|
|
43
37
|
*
|
|
44
|
-
* The timestamp (unix epoch in ms) of creation of the contact, will be filled automatically if
|
|
45
|
-
* missing. Not enforced by the application server.
|
|
38
|
+
* The timestamp (unix epoch in ms) of creation of the contact, will be filled automatically if missing. Not enforced by the application server.
|
|
46
39
|
*/
|
|
47
40
|
this.created = undefined;
|
|
48
41
|
/**
|
|
49
42
|
*
|
|
50
|
-
* The date (unix epoch in ms) of the latest modification of the contact, will be filled
|
|
51
|
-
* automatically if missing. Not enforced by the application server.
|
|
43
|
+
* The date (unix epoch in ms) of the latest modification of the contact, will be filled automatically if missing. Not enforced by the application server.
|
|
52
44
|
*/
|
|
53
45
|
this.modified = undefined;
|
|
54
46
|
/**
|
|
55
47
|
*
|
|
56
|
-
* The id of the User that has created this contact, will be filled automatically if missing. Not
|
|
57
|
-
* enforced by the application server.
|
|
48
|
+
* The id of the User that has created this contact, will be filled automatically if missing. Not enforced by the application server.
|
|
58
49
|
*/
|
|
59
50
|
this.author = undefined;
|
|
60
51
|
/**
|
|
61
52
|
*
|
|
62
|
-
* The id of the HealthcareParty that is responsible for this contact, will be filled automatically
|
|
63
|
-
* if missing. Not enforced by the application server.
|
|
53
|
+
* The id of the HealthcareParty that is responsible for this contact, will be filled automatically if missing. Not enforced by the application server.
|
|
64
54
|
*/
|
|
65
55
|
this.responsible = undefined;
|
|
66
56
|
/**
|
|
@@ -90,9 +80,7 @@ export class DecryptedContact {
|
|
|
90
80
|
this.deletionDate = undefined;
|
|
91
81
|
/**
|
|
92
82
|
*
|
|
93
|
-
* Separate contacts can be merged in one logical contact if they share the same groupId. When a
|
|
94
|
-
* contact must be split to selectively assign rights to healthcare parties, the split contacts all
|
|
95
|
-
* share the same groupId.
|
|
83
|
+
* Separate contacts can be merged in one logical contact if they share the same groupId. When a contact must be split to selectively assign rights to healthcare parties, the split contacts all share the same groupId.
|
|
96
84
|
*/
|
|
97
85
|
this.groupId = undefined;
|
|
98
86
|
/**
|
|
@@ -127,8 +115,7 @@ export class DecryptedContact {
|
|
|
127
115
|
this.encounterLocation = undefined;
|
|
128
116
|
/**
|
|
129
117
|
*
|
|
130
|
-
* Set of all sub-contacts recorded during the given contact. Sub-contacts are used to link
|
|
131
|
-
* services embedded inside this contact to healthcare elements, healthcare approaches and/or forms.
|
|
118
|
+
* Set of all sub-contacts recorded during the given contact. Sub-contacts are used to link services embedded inside this contact to healthcare elements, healthcare approaches and/or forms.
|
|
132
119
|
*/
|
|
133
120
|
this.subContacts = [];
|
|
134
121
|
/**
|
|
@@ -158,8 +145,7 @@ export class DecryptedContact {
|
|
|
158
145
|
this.delegations = {};
|
|
159
146
|
/**
|
|
160
147
|
*
|
|
161
|
-
* The contact secret encryption key used to encrypt the secured properties (like services for
|
|
162
|
-
* example), encrypted for separate Crypto Actors.
|
|
148
|
+
* The contact secret encryption key used to encrypt the secured properties (like services for example), encrypted for separate Crypto Actors.
|
|
163
149
|
*/
|
|
164
150
|
this.encryptionKeys = {};
|
|
165
151
|
/**
|
|
@@ -331,23 +317,17 @@ export class DecryptedContact {
|
|
|
331
317
|
}
|
|
332
318
|
/**
|
|
333
319
|
*
|
|
334
|
-
* This entity is a root-level object. It represents a contact. It is serialized in JSON and saved
|
|
335
|
-
* in the underlying
|
|
320
|
+
* This entity is a root-level object. It represents a contact. It is serialized in JSON and saved in the underlying
|
|
336
321
|
* icure-contact CouchDB database.
|
|
337
322
|
*
|
|
338
|
-
* A contact is an entry in the day-to-day journal of the medical file of a patient. A contact
|
|
339
|
-
*
|
|
340
|
-
* patient, one or several healthcare parties (with one healthcare party promoted as the responsible
|
|
341
|
-
* of the contact),
|
|
323
|
+
* A contact is an entry in the day-to-day journal of the medical file of a patient. A contact happens between one
|
|
324
|
+
* patient, one or several healthcare parties (with one healthcare party promoted as the responsible of the contact),
|
|
342
325
|
* at one place during one (fairly short) period of time.
|
|
343
|
-
* A contact contains a series of services (acts, observations, exchanges) performed on the patient.
|
|
344
|
-
* These services
|
|
326
|
+
* A contact contains a series of services (acts, observations, exchanges) performed on the patient. These services
|
|
345
327
|
* can be linked to healthcare elements.
|
|
346
328
|
*
|
|
347
|
-
* A contact can occur with or without direct interaction between the patient and the healthcare
|
|
348
|
-
* party
|
|
349
|
-
* when a healthcare party encodes data received from laboratory's test result, this is done in the
|
|
350
|
-
* absence of a patient.
|
|
329
|
+
* A contact can occur with or without direct interaction between the patient and the healthcare party. For example,
|
|
330
|
+
* when a healthcare party encodes data received from laboratory's test result, this is done in the absence of a patient.
|
|
351
331
|
* /
|
|
352
332
|
*/
|
|
353
333
|
export class EncryptedContact {
|
|
@@ -360,26 +340,22 @@ export class EncryptedContact {
|
|
|
360
340
|
this.rev = undefined;
|
|
361
341
|
/**
|
|
362
342
|
*
|
|
363
|
-
* The timestamp (unix epoch in ms) of creation of the contact, will be filled automatically if
|
|
364
|
-
* missing. Not enforced by the application server.
|
|
343
|
+
* The timestamp (unix epoch in ms) of creation of the contact, will be filled automatically if missing. Not enforced by the application server.
|
|
365
344
|
*/
|
|
366
345
|
this.created = undefined;
|
|
367
346
|
/**
|
|
368
347
|
*
|
|
369
|
-
* The date (unix epoch in ms) of the latest modification of the contact, will be filled
|
|
370
|
-
* automatically if missing. Not enforced by the application server.
|
|
348
|
+
* The date (unix epoch in ms) of the latest modification of the contact, will be filled automatically if missing. Not enforced by the application server.
|
|
371
349
|
*/
|
|
372
350
|
this.modified = undefined;
|
|
373
351
|
/**
|
|
374
352
|
*
|
|
375
|
-
* The id of the User that has created this contact, will be filled automatically if missing. Not
|
|
376
|
-
* enforced by the application server.
|
|
353
|
+
* The id of the User that has created this contact, will be filled automatically if missing. Not enforced by the application server.
|
|
377
354
|
*/
|
|
378
355
|
this.author = undefined;
|
|
379
356
|
/**
|
|
380
357
|
*
|
|
381
|
-
* The id of the HealthcareParty that is responsible for this contact, will be filled automatically
|
|
382
|
-
* if missing. Not enforced by the application server.
|
|
358
|
+
* The id of the HealthcareParty that is responsible for this contact, will be filled automatically if missing. Not enforced by the application server.
|
|
383
359
|
*/
|
|
384
360
|
this.responsible = undefined;
|
|
385
361
|
/**
|
|
@@ -409,9 +385,7 @@ export class EncryptedContact {
|
|
|
409
385
|
this.deletionDate = undefined;
|
|
410
386
|
/**
|
|
411
387
|
*
|
|
412
|
-
* Separate contacts can be merged in one logical contact if they share the same groupId. When a
|
|
413
|
-
* contact must be split to selectively assign rights to healthcare parties, the split contacts all
|
|
414
|
-
* share the same groupId.
|
|
388
|
+
* Separate contacts can be merged in one logical contact if they share the same groupId. When a contact must be split to selectively assign rights to healthcare parties, the split contacts all share the same groupId.
|
|
415
389
|
*/
|
|
416
390
|
this.groupId = undefined;
|
|
417
391
|
/**
|
|
@@ -446,8 +420,7 @@ export class EncryptedContact {
|
|
|
446
420
|
this.encounterLocation = undefined;
|
|
447
421
|
/**
|
|
448
422
|
*
|
|
449
|
-
* Set of all sub-contacts recorded during the given contact. Sub-contacts are used to link
|
|
450
|
-
* services embedded inside this contact to healthcare elements, healthcare approaches and/or forms.
|
|
423
|
+
* Set of all sub-contacts recorded during the given contact. Sub-contacts are used to link services embedded inside this contact to healthcare elements, healthcare approaches and/or forms.
|
|
451
424
|
*/
|
|
452
425
|
this.subContacts = [];
|
|
453
426
|
/**
|
|
@@ -477,8 +450,7 @@ export class EncryptedContact {
|
|
|
477
450
|
this.delegations = {};
|
|
478
451
|
/**
|
|
479
452
|
*
|
|
480
|
-
* The contact secret encryption key used to encrypt the secured properties (like services for
|
|
481
|
-
* example), encrypted for separate Crypto Actors.
|
|
453
|
+
* The contact secret encryption key used to encrypt the secured properties (like services for example), encrypted for separate Crypto Actors.
|
|
482
454
|
*/
|
|
483
455
|
this.encryptionKeys = {};
|
|
484
456
|
/**
|
|
@@ -8,8 +8,7 @@ import { SpkiHexString } from './specializations/SpkiHexString.mjs';
|
|
|
8
8
|
/**
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
|
-
* Holds only data specific for crypto actors without any additional information (from patient,
|
|
12
|
-
* hcparty, device).
|
|
11
|
+
* Holds only data specific for crypto actors without any additional information (from patient, hcparty, device).
|
|
13
12
|
*/
|
|
14
13
|
export declare class CryptoActorStub implements Versionable<string>, CryptoActor {
|
|
15
14
|
id: string;
|
|
@@ -7,8 +7,7 @@ import { DataOwnerGroupLinkType } from './base/DataOwnerGroupLinkType.mjs';
|
|
|
7
7
|
/**
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
|
-
* Holds only data specific for crypto actors without any additional information (from patient,
|
|
11
|
-
* hcparty, device).
|
|
10
|
+
* Holds only data specific for crypto actors without any additional information (from patient, hcparty, device).
|
|
12
11
|
*/
|
|
13
12
|
export class CryptoActorStub {
|
|
14
13
|
constructor(partial) {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
*
|
|
3
|
-
* DTO returned upon successful registration of a data owner, containing the credentials needed for
|
|
4
|
-
* initial login.
|
|
3
|
+
* DTO returned upon successful registration of a data owner, containing the credentials needed for initial login.
|
|
5
4
|
* /
|
|
6
5
|
*/
|
|
7
6
|
export declare class DataOwnerRegistrationSuccess {
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
import { expectString, extractEntry } from '../internal/JsonDecodeUtils.mjs';
|
|
3
3
|
/**
|
|
4
4
|
*
|
|
5
|
-
* DTO returned upon successful registration of a data owner, containing the credentials needed for
|
|
6
|
-
* initial login.
|
|
5
|
+
* DTO returned upon successful registration of a data owner, containing the credentials needed for initial login.
|
|
7
6
|
* /
|
|
8
7
|
*/
|
|
9
8
|
export class DataOwnerRegistrationSuccess {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
*
|
|
3
3
|
*
|
|
4
|
-
* Enumeration of the possible types of data owners in the iCure platform: healthcare parties,
|
|
5
|
-
* devices, and patients.
|
|
4
|
+
* Enumeration of the possible types of data owners in the iCure platform: healthcare parties, devices, and patients.
|
|
6
5
|
*/
|
|
7
6
|
export declare enum DataOwnerType {
|
|
8
7
|
Hcp = "Hcp",
|
package/model/DataOwnerType.mjs
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
|
-
* Enumeration of the possible types of data owners in the iCure platform: healthcare parties,
|
|
6
|
-
* devices, and patients.
|
|
5
|
+
* Enumeration of the possible types of data owners in the iCure platform: healthcare parties, devices, and patients.
|
|
7
6
|
*/
|
|
8
7
|
export var DataOwnerType;
|
|
9
8
|
(function (DataOwnerType) {
|
package/model/Device.d.mts
CHANGED
|
@@ -13,8 +13,7 @@ import { HexString } from './specializations/HexString.mjs';
|
|
|
13
13
|
import { SpkiHexString } from './specializations/SpkiHexString.mjs';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
|
-
* Represents a device that sends medical data. This is a root-level entity stored in the
|
|
17
|
-
* icure-device CouchDB database.
|
|
16
|
+
* Represents a device that sends medical data. This is a root-level entity stored in the icure-device CouchDB database.
|
|
18
17
|
* A device can act as a data owner and crypto actor for secure data exchange.
|
|
19
18
|
* /
|
|
20
19
|
*/
|
package/model/Device.mjs
CHANGED
|
@@ -8,8 +8,7 @@ import { DataOwnerGroupLinkType } from './base/DataOwnerGroupLinkType.mjs';
|
|
|
8
8
|
import { Identifier } from './base/Identifier.mjs';
|
|
9
9
|
/**
|
|
10
10
|
*
|
|
11
|
-
* Represents a device that sends medical data. This is a root-level entity stored in the
|
|
12
|
-
* icure-device CouchDB database.
|
|
11
|
+
* Represents a device that sends medical data. This is a root-level entity stored in the icure-device CouchDB database.
|
|
13
12
|
* A device can act as a data owner and crypto actor for secure data exchange.
|
|
14
13
|
* /
|
|
15
14
|
*/
|
package/model/Document.d.mts
CHANGED
|
@@ -14,8 +14,7 @@ import { SecurityMetadata } from './embed/SecurityMetadata.mjs';
|
|
|
14
14
|
import { Base64String } from './specializations/Base64String.mjs';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
|
-
* Represents a document entity stored in CouchDB. Documents can have main and secondary data
|
|
18
|
-
* attachments,
|
|
17
|
+
* Represents a document entity stored in CouchDB. Documents can have main and secondary data attachments,
|
|
19
18
|
* and support various storage backends (CouchDB attachments, object storage).
|
|
20
19
|
* /
|
|
21
20
|
*/
|
|
@@ -103,8 +102,7 @@ export interface Document extends StoredDocument, ICureDocument<string>, HasMedi
|
|
|
103
102
|
}
|
|
104
103
|
/**
|
|
105
104
|
*
|
|
106
|
-
* Represents a document entity stored in CouchDB. Documents can have main and secondary data
|
|
107
|
-
* attachments,
|
|
105
|
+
* Represents a document entity stored in CouchDB. Documents can have main and secondary data attachments,
|
|
108
106
|
* and support various storage backends (CouchDB attachments, object storage).
|
|
109
107
|
* /
|
|
110
108
|
*/
|
|
@@ -275,8 +273,7 @@ export declare class DecryptedDocument {
|
|
|
275
273
|
}
|
|
276
274
|
/**
|
|
277
275
|
*
|
|
278
|
-
* Represents a document entity stored in CouchDB. Documents can have main and secondary data
|
|
279
|
-
* attachments,
|
|
276
|
+
* Represents a document entity stored in CouchDB. Documents can have main and secondary data attachments,
|
|
280
277
|
* and support various storage backends (CouchDB attachments, object storage).
|
|
281
278
|
* /
|
|
282
279
|
*/
|
package/model/Document.mjs
CHANGED
|
@@ -11,8 +11,7 @@ import { DocumentType } from './embed/DocumentType.mjs';
|
|
|
11
11
|
import { SecurityMetadata } from './embed/SecurityMetadata.mjs';
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
|
-
* Represents a document entity stored in CouchDB. Documents can have main and secondary data
|
|
15
|
-
* attachments,
|
|
14
|
+
* Represents a document entity stored in CouchDB. Documents can have main and secondary data attachments,
|
|
16
15
|
* and support various storage backends (CouchDB attachments, object storage).
|
|
17
16
|
* /
|
|
18
17
|
*/
|
|
@@ -336,8 +335,7 @@ export class DecryptedDocument {
|
|
|
336
335
|
}
|
|
337
336
|
/**
|
|
338
337
|
*
|
|
339
|
-
* Represents a document entity stored in CouchDB. Documents can have main and secondary data
|
|
340
|
-
* attachments,
|
|
338
|
+
* Represents a document entity stored in CouchDB. Documents can have main and secondary data attachments,
|
|
341
339
|
* and support various storage backends (CouchDB attachments, object storage).
|
|
342
340
|
* /
|
|
343
341
|
*/
|
|
@@ -3,8 +3,7 @@ import { StoredDocument } from './base/StoredDocument.mjs';
|
|
|
3
3
|
import { FrontEndMigrationStatus } from './embed/FrontEndMigrationStatus.mjs';
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
6
|
-
* Represents a front-end migration task. A front-end migration tracks the progress of data
|
|
7
|
-
* migration operations
|
|
6
|
+
* Represents a front-end migration task. A front-end migration tracks the progress of data migration operations
|
|
8
7
|
* initiated from the front-end application.
|
|
9
8
|
* /
|
|
10
9
|
*/
|
|
@@ -16,8 +15,7 @@ export declare class FrontEndMigration implements StoredDocument {
|
|
|
16
15
|
id: string;
|
|
17
16
|
/**
|
|
18
17
|
*
|
|
19
|
-
* The revision of the front-end migration in the database, used for conflict management /
|
|
20
|
-
* optimistic locking.
|
|
18
|
+
* The revision of the front-end migration in the database, used for conflict management / optimistic locking.
|
|
21
19
|
*/
|
|
22
20
|
rev: string | undefined;
|
|
23
21
|
/**
|
|
@@ -5,8 +5,7 @@ import { DecryptedPropertyStub } from './PropertyStub.mjs';
|
|
|
5
5
|
import { FrontEndMigrationStatus } from './embed/FrontEndMigrationStatus.mjs';
|
|
6
6
|
/**
|
|
7
7
|
*
|
|
8
|
-
* Represents a front-end migration task. A front-end migration tracks the progress of data
|
|
9
|
-
* migration operations
|
|
8
|
+
* Represents a front-end migration task. A front-end migration tracks the progress of data migration operations
|
|
10
9
|
* initiated from the front-end application.
|
|
11
10
|
* /
|
|
12
11
|
*/
|
|
@@ -15,8 +14,7 @@ export class FrontEndMigration {
|
|
|
15
14
|
var _a;
|
|
16
15
|
/**
|
|
17
16
|
*
|
|
18
|
-
* The revision of the front-end migration in the database, used for conflict management /
|
|
19
|
-
* optimistic locking.
|
|
17
|
+
* The revision of the front-end migration in the database, used for conflict management / optimistic locking.
|
|
20
18
|
*/
|
|
21
19
|
this.rev = undefined;
|
|
22
20
|
/**
|
package/model/Group.d.mts
CHANGED
|
@@ -3,14 +3,14 @@ import { CodeStub } from './base/CodeStub.mjs';
|
|
|
3
3
|
import { HasTags } from './base/HasTags.mjs';
|
|
4
4
|
import { StoredDocument } from './base/StoredDocument.mjs';
|
|
5
5
|
import { AuthenticationClass } from './embed/AuthenticationClass.mjs';
|
|
6
|
+
import { GroupStatus } from './embed/GroupStatus.mjs';
|
|
6
7
|
import { UserType } from './embed/UserType.mjs';
|
|
7
8
|
import { ExternalJwtConfig } from './security/ExternalJwtConfig.mjs';
|
|
8
9
|
import { OperationToken } from './security/OperationToken.mjs';
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
*
|
|
12
|
-
* Represents a group in the iCure platform. A group corresponds to a practice, hospital, or
|
|
13
|
-
* organization
|
|
13
|
+
* Represents a group in the iCure platform. A group corresponds to a practice, hospital, or organization
|
|
14
14
|
* that contains its own set of databases and users.
|
|
15
15
|
*/
|
|
16
16
|
export declare class Group implements StoredDocument, HasTags {
|
|
@@ -129,6 +129,13 @@ export declare class Group implements StoredDocument, HasTags {
|
|
|
129
129
|
* The version of the custom design doc schema to apply by default children groups on creation.
|
|
130
130
|
*/
|
|
131
131
|
defaultChildrenSchemaVersion: number | undefined;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
*
|
|
135
|
+
* The commercial status of the group, derived from the group hierarchy when not explicitly set on the group.
|
|
136
|
+
* This field is read-only: it is ignored when creating or modifying a group.
|
|
137
|
+
*/
|
|
138
|
+
status: GroupStatus | undefined;
|
|
132
139
|
constructor(partial: Partial<Group> & Pick<Group, "minimumAuthenticationClassForElevatedPrivileges">);
|
|
133
140
|
toJSON(): object;
|
|
134
141
|
static fromJSON(json: any, ignoreUnknownKeys?: boolean, path?: Array<string>): Group;
|