@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.
Files changed (293) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
  2. package/api/CalendarItemApi.d.mts +20 -0
  3. package/api/CalendarItemBasicApi.d.mts +20 -0
  4. package/api/ContactApi.d.mts +20 -0
  5. package/api/ContactBasicApi.d.mts +20 -0
  6. package/api/DeviceApi.d.mts +20 -0
  7. package/api/HealthElementApi.d.mts +20 -0
  8. package/api/HealthElementBasicApi.d.mts +20 -0
  9. package/api/HealthcarePartyApi.d.mts +20 -0
  10. package/api/MaintenanceTaskApi.d.mts +20 -0
  11. package/api/MaintenanceTaskBasicApi.d.mts +20 -0
  12. package/api/MessageApi.d.mts +20 -0
  13. package/api/MessageBasicApi.d.mts +20 -0
  14. package/api/PatientApi.d.mts +20 -0
  15. package/api/PatientBasicApi.d.mts +20 -0
  16. package/api/RelatedPersonApi.d.mts +20 -0
  17. package/api/TopicApi.d.mts +20 -0
  18. package/api/TopicBasicApi.d.mts +20 -0
  19. package/api/UserApi.d.mts +20 -0
  20. package/cardinal-sdk-ts.mjs +43373 -43280
  21. package/cardinal-sdk.mjs +84479 -82911
  22. package/kotlin-kotlin-stdlib.mjs +6 -6
  23. package/kotlinx-coroutines-core.mjs +1 -1
  24. package/kotlinx-serialization-kotlinx-serialization-json.mjs +12 -0
  25. package/model/AccessLog.d.mts +7 -14
  26. package/model/AccessLog.mjs +6 -12
  27. package/model/Agenda.d.mts +3 -6
  28. package/model/Agenda.mjs +3 -6
  29. package/model/CalendarItem.d.mts +8 -16
  30. package/model/CalendarItem.mjs +6 -12
  31. package/model/CalendarItemOccupancy.d.mts +2 -4
  32. package/model/CalendarItemOccupancy.mjs +2 -4
  33. package/model/CalendarItemType.d.mts +2 -4
  34. package/model/CalendarItemType.mjs +2 -4
  35. package/model/Classification.d.mts +5 -10
  36. package/model/Classification.mjs +4 -8
  37. package/model/Code.d.mts +1 -2
  38. package/model/Code.mjs +1 -2
  39. package/model/Contact.d.mts +34 -71
  40. package/model/Contact.mjs +26 -54
  41. package/model/CryptoActorStub.d.mts +1 -2
  42. package/model/CryptoActorStub.mjs +1 -2
  43. package/model/DataOwnerRegistrationSuccess.d.mts +1 -2
  44. package/model/DataOwnerRegistrationSuccess.mjs +1 -2
  45. package/model/DataOwnerType.d.mts +1 -2
  46. package/model/DataOwnerType.mjs +1 -2
  47. package/model/Device.d.mts +1 -2
  48. package/model/Device.mjs +1 -2
  49. package/model/Document.d.mts +3 -6
  50. package/model/Document.mjs +2 -4
  51. package/model/FrontEndMigration.d.mts +2 -4
  52. package/model/FrontEndMigration.mjs +2 -4
  53. package/model/Group.d.mts +9 -2
  54. package/model/Group.mjs +14 -2
  55. package/model/HealthElement.d.mts +20 -40
  56. package/model/HealthElement.mjs +14 -28
  57. package/model/HealthcareParty.d.mts +4 -9
  58. package/model/HealthcareParty.mjs +4 -9
  59. package/model/IndexingInfo.d.mts +1 -2
  60. package/model/IndexingInfo.mjs +1 -2
  61. package/model/Insurance.d.mts +1 -2
  62. package/model/Insurance.mjs +1 -2
  63. package/model/Invoice.d.mts +3 -6
  64. package/model/Invoice.mjs +2 -4
  65. package/model/MaintenanceTask.d.mts +8 -16
  66. package/model/MaintenanceTask.mjs +6 -12
  67. package/model/Message.d.mts +3 -6
  68. package/model/Message.mjs +2 -4
  69. package/model/PaginatedDocumentKeyIdPair.d.mts +1 -2
  70. package/model/PaginatedDocumentKeyIdPair.mjs +1 -2
  71. package/model/PaginatedList.d.mts +2 -4
  72. package/model/PaginatedList.mjs +2 -4
  73. package/model/PaginationError.d.mts +2 -4
  74. package/model/PaginationError.mjs +1 -2
  75. package/model/Patient.d.mts +6 -12
  76. package/model/Patient.mjs +4 -8
  77. package/model/PropertyTypeStub.d.mts +1 -2
  78. package/model/PropertyTypeStub.mjs +1 -2
  79. package/model/Receipt.d.mts +6 -12
  80. package/model/Receipt.mjs +4 -8
  81. package/model/RelatedPerson.d.mts +8 -18
  82. package/model/RelatedPerson.mjs +6 -14
  83. package/model/Role.d.mts +4 -8
  84. package/model/Role.mjs +4 -8
  85. package/model/Topic.d.mts +3 -6
  86. package/model/Topic.mjs +2 -4
  87. package/model/User.d.mts +2 -4
  88. package/model/User.mjs +2 -4
  89. package/model/base/CodeStub.d.mts +1 -2
  90. package/model/base/CodeStub.mjs +1 -2
  91. package/model/base/CryptoActor.d.mts +37 -74
  92. package/model/base/DataOwner.d.mts +1 -2
  93. package/model/base/DataOwnerGroupLink.d.mts +2 -4
  94. package/model/base/DataOwnerGroupLink.mjs +2 -4
  95. package/model/base/DataOwnerGroupLinkType.d.mts +1 -2
  96. package/model/base/DataOwnerGroupLinkType.mjs +1 -2
  97. package/model/base/DataOwnerHierarchyInfo.d.mts +2 -4
  98. package/model/base/DataOwnerHierarchyInfo.mjs +2 -4
  99. package/model/base/HasCodes.d.mts +1 -2
  100. package/model/base/HasEncryptionMetadata.d.mts +1 -2
  101. package/model/base/HasIdentifier.d.mts +1 -2
  102. package/model/base/HasTags.d.mts +1 -2
  103. package/model/base/ICureDocument.d.mts +1 -2
  104. package/model/base/LinkQualification.d.mts +7 -17
  105. package/model/base/LinkQualification.mjs +7 -17
  106. package/model/base/StoredDocument.d.mts +1 -2
  107. package/model/couchdb/Basic.d.mts +1 -2
  108. package/model/couchdb/Basic.mjs +1 -2
  109. package/model/couchdb/DatabaseInfo.d.mts +1 -2
  110. package/model/couchdb/DatabaseInfo.mjs +1 -2
  111. package/model/couchdb/DesignDocument.d.mts +1 -2
  112. package/model/couchdb/DesignDocument.mjs +1 -2
  113. package/model/couchdb/GroupDatabasesInfo.d.mts +1 -2
  114. package/model/couchdb/GroupDatabasesInfo.mjs +1 -2
  115. package/model/couchdb/Remote.d.mts +1 -2
  116. package/model/couchdb/Remote.mjs +1 -2
  117. package/model/couchdb/ReplicatorDocument.d.mts +1 -2
  118. package/model/couchdb/ReplicatorDocument.mjs +1 -2
  119. package/model/data/LabelledOccurence.d.mts +1 -2
  120. package/model/data/LabelledOccurence.mjs +1 -2
  121. package/model/embed/AdministrationQuantity.d.mts +1 -2
  122. package/model/embed/AdministrationQuantity.mjs +1 -2
  123. package/model/embed/AgendaSlottingAlgorithm.d.mts +1 -2
  124. package/model/embed/AgendaSlottingAlgorithm.mjs +1 -2
  125. package/model/embed/Annotation.d.mts +6 -12
  126. package/model/embed/Annotation.mjs +4 -8
  127. package/model/embed/AsserterType.d.mts +6 -12
  128. package/model/embed/AsserterType.mjs +6 -12
  129. package/model/embed/CareTeamMember.d.mts +3 -6
  130. package/model/embed/CareTeamMember.mjs +2 -4
  131. package/model/embed/CareTeamMembership.d.mts +3 -6
  132. package/model/embed/CareTeamMembership.mjs +2 -4
  133. package/model/embed/Content.d.mts +3 -6
  134. package/model/embed/Content.mjs +2 -4
  135. package/model/embed/DataAttachment.d.mts +5 -10
  136. package/model/embed/DataAttachment.mjs +5 -10
  137. package/model/embed/DatabaseSynchronization.d.mts +1 -2
  138. package/model/embed/DatabaseSynchronization.mjs +1 -2
  139. package/model/embed/DeletedAttachment.d.mts +2 -4
  140. package/model/embed/DeletedAttachment.mjs +2 -4
  141. package/model/embed/DocumentStatus.d.mts +1 -2
  142. package/model/embed/DocumentStatus.mjs +1 -2
  143. package/model/embed/EmbeddedTimeTableItem.d.mts +1 -2
  144. package/model/embed/EmbeddedTimeTableItem.mjs +1 -2
  145. package/model/embed/Encryptable.d.mts +1 -2
  146. package/model/embed/Episode.d.mts +3 -6
  147. package/model/embed/Episode.mjs +2 -4
  148. package/model/embed/FinancialInstitutionInformation.d.mts +3 -6
  149. package/model/embed/FinancialInstitutionInformation.mjs +2 -4
  150. package/model/embed/Gender.d.mts +1 -2
  151. package/model/embed/Gender.mjs +1 -2
  152. package/model/embed/GroupStatus.d.mts +10 -0
  153. package/model/embed/GroupStatus.mjs +12 -0
  154. package/model/embed/HealthElementAsserter.d.mts +23 -46
  155. package/model/embed/HealthElementAsserter.mjs +20 -40
  156. package/model/embed/HealthElementQualifiedLink.d.mts +2 -4
  157. package/model/embed/HealthElementQualifiedLink.mjs +1 -2
  158. package/model/embed/InvoicingCode.d.mts +18 -6
  159. package/model/embed/InvoicingCode.mjs +22 -4
  160. package/model/embed/Measure.d.mts +1 -2
  161. package/model/embed/Measure.mjs +1 -2
  162. package/model/embed/MedicalHouseContract.d.mts +3 -6
  163. package/model/embed/MedicalHouseContract.mjs +2 -4
  164. package/model/embed/MessageReadStatus.d.mts +1 -2
  165. package/model/embed/MessageReadStatus.mjs +1 -2
  166. package/model/embed/MhcSignatureType.d.mts +1 -2
  167. package/model/embed/MhcSignatureType.mjs +1 -2
  168. package/model/embed/PartnerType.d.mts +1 -2
  169. package/model/embed/PartnerType.mjs +1 -2
  170. package/model/embed/Partnership.d.mts +6 -12
  171. package/model/embed/Partnership.mjs +4 -8
  172. package/model/embed/PartnershipType.d.mts +1 -2
  173. package/model/embed/PartnershipType.mjs +1 -2
  174. package/model/embed/PersonName.d.mts +1 -2
  175. package/model/embed/PersonName.mjs +1 -2
  176. package/model/embed/ReceiptBlobType.d.mts +1 -2
  177. package/model/embed/ReceiptBlobType.mjs +1 -2
  178. package/model/embed/ReferenceRange.d.mts +1 -2
  179. package/model/embed/ReferenceRange.mjs +1 -2
  180. package/model/embed/RegimenItem.d.mts +2 -4
  181. package/model/embed/RegimenItem.mjs +2 -4
  182. package/model/embed/Renewal.d.mts +1 -2
  183. package/model/embed/Renewal.mjs +1 -2
  184. package/model/embed/ResourceGroupAllocationSchedule.d.mts +1 -2
  185. package/model/embed/ResourceGroupAllocationSchedule.mjs +1 -2
  186. package/model/embed/RoleConfiguration.d.mts +1 -2
  187. package/model/embed/RoleConfiguration.mjs +1 -2
  188. package/model/embed/SecureDelegation.d.mts +2 -4
  189. package/model/embed/SecureDelegation.mjs +2 -4
  190. package/model/embed/SecurityMetadata.d.mts +1 -2
  191. package/model/embed/Service.d.mts +35 -70
  192. package/model/embed/Service.mjs +26 -52
  193. package/model/embed/TelecomType.d.mts +1 -2
  194. package/model/embed/TelecomType.mjs +1 -2
  195. package/model/embed/TimeSeries.d.mts +1 -2
  196. package/model/embed/TimeSeries.mjs +1 -2
  197. package/model/embed/TypedValue.d.mts +3 -6
  198. package/model/embed/TypedValue.mjs +2 -4
  199. package/model/embed/UserAccessLevel.d.mts +2 -4
  200. package/model/embed/UserAccessLevel.mjs +2 -4
  201. package/model/embed/form/template/Action.d.mts +1 -2
  202. package/model/embed/form/template/Action.mjs +1 -2
  203. package/model/embed/form/template/Field.d.mts +2 -4
  204. package/model/embed/form/template/FieldsGroup.d.mts +1 -2
  205. package/model/embed/form/template/FieldsGroup.mjs +1 -2
  206. package/model/embed/form/template/FormTemplateLayout.d.mts +1 -2
  207. package/model/embed/form/template/FormTemplateLayout.mjs +1 -2
  208. package/model/embed/form/template/Launcher.d.mts +1 -2
  209. package/model/embed/form/template/Launcher.mjs +1 -2
  210. package/model/embed/form/template/Section.d.mts +1 -2
  211. package/model/embed/form/template/Section.mjs +1 -2
  212. package/model/embed/form/template/StructureElement.d.mts +1 -2
  213. package/model/filter/predicate/Predicate.d.mts +1 -2
  214. package/model/security/AlwaysPermissionItem.d.mts +1 -2
  215. package/model/security/AlwaysPermissionItem.mjs +1 -2
  216. package/model/security/AuthenticationToken.d.mts +1 -2
  217. package/model/security/AuthenticationToken.mjs +1 -2
  218. package/model/security/ExternalJwtConfig.d.mts +3 -6
  219. package/model/security/ExternalJwtConfig.mjs +2 -4
  220. package/model/security/LoginIdentifier.d.mts +1 -2
  221. package/model/security/LoginIdentifier.mjs +1 -2
  222. package/model/security/OperationToken.d.mts +1 -2
  223. package/model/security/OperationToken.mjs +1 -2
  224. package/model/security/PermissionItem.d.mts +1 -2
  225. package/model/security/PermissionType.d.mts +1 -2
  226. package/model/security/PermissionType.mjs +1 -2
  227. package/model.d.mts +1 -0
  228. package/model.mjs +1 -0
  229. package/options/SdkOptions.d.mts +67 -0
  230. package/options/SdkOptions.mjs +27 -1
  231. package/package.json +1 -1
  232. package/api/ApplicationSettingsApi.d.mts +0 -6
  233. package/api/ApplicationSettingsApi.mjs +0 -1
  234. package/api/DocumentTemplateApi.d.mts +0 -22
  235. package/api/DocumentTemplateApi.mjs +0 -1
  236. package/api/EntityReferenceApi.d.mts +0 -5
  237. package/api/EntityReferenceApi.mjs +0 -1
  238. package/api/EntityTemplateApi.d.mts +0 -24
  239. package/api/EntityTemplateApi.mjs +0 -1
  240. package/api/KeywordApi.d.mts +0 -14
  241. package/api/KeywordApi.mjs +0 -1
  242. package/api/MedicalLocationApi.d.mts +0 -17
  243. package/api/MedicalLocationApi.mjs +0 -1
  244. package/api/TarificationApi.d.mts +0 -27
  245. package/api/TarificationApi.mjs +0 -1
  246. package/api/TimeTableApi.d.mts +0 -26
  247. package/api/TimeTableApi.mjs +0 -1
  248. package/crypto/entities/DelegateShareOptions.d.mts +0 -9
  249. package/crypto/entities/DelegateShareOptions.mjs +0 -8
  250. package/crypto/entities/ShareAllPatientDataOptions.d.mts +0 -49
  251. package/crypto/entities/ShareAllPatientDataOptions.mjs +0 -58
  252. package/filters/ClassificationFilters.d.mts +0 -27
  253. package/filters/ClassificationFilters.mjs +0 -8
  254. package/filters/MedicalLocationFilters.d.mts +0 -8
  255. package/filters/MedicalLocationFilters.mjs +0 -6
  256. package/filters/TimeTableFilters.d.mts +0 -12
  257. package/filters/TimeTableFilters.mjs +0 -6
  258. package/model/ApplicationSettings.d.mts +0 -87
  259. package/model/ApplicationSettings.mjs +0 -256
  260. package/model/DocumentTemplate.d.mts +0 -35
  261. package/model/DocumentTemplate.mjs +0 -162
  262. package/model/EntityReference.d.mts +0 -10
  263. package/model/EntityReference.mjs +0 -46
  264. package/model/EntityTemplate.d.mts +0 -16
  265. package/model/EntityTemplate.mjs +0 -81
  266. package/model/Keyword.d.mts +0 -23
  267. package/model/Keyword.mjs +0 -99
  268. package/model/ListOfIds.d.mts +0 -6
  269. package/model/ListOfIds.mjs +0 -28
  270. package/model/MedicalLocation.d.mts +0 -28
  271. package/model/MedicalLocation.mjs +0 -116
  272. package/model/Tarification.d.mts +0 -50
  273. package/model/Tarification.mjs +0 -178
  274. package/model/TimeTable.d.mts +0 -25
  275. package/model/TimeTable.mjs +0 -111
  276. package/model/base/AppendixType.d.mts +0 -5
  277. package/model/base/AppendixType.mjs +0 -7
  278. package/model/base/CodeFlag.d.mts +0 -80
  279. package/model/base/CodeFlag.mjs +0 -82
  280. package/model/base/ReportVersion.d.mts +0 -3
  281. package/model/base/ReportVersion.mjs +0 -5
  282. package/model/embed/KeywordSubword.d.mts +0 -8
  283. package/model/embed/KeywordSubword.mjs +0 -35
  284. package/model/embed/LetterValue.d.mts +0 -9
  285. package/model/embed/LetterValue.mjs +0 -47
  286. package/model/embed/Periodicity.d.mts +0 -8
  287. package/model/embed/Periodicity.mjs +0 -36
  288. package/model/embed/TimeTableHour.d.mts +0 -7
  289. package/model/embed/TimeTableHour.mjs +0 -35
  290. package/model/embed/TimeTableItem.d.mts +0 -19
  291. package/model/embed/TimeTableItem.mjs +0 -96
  292. package/model/embed/Valorisation.d.mts +0 -56
  293. package/model/embed/Valorisation.mjs +0 -188
@@ -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;
@@ -294,7 +294,7 @@ initMetadataForClass(ContextScope, 'ContextScope', VOID, VOID, [CoroutineScope])
294
294
  initMetadataForClass(Symbol, 'Symbol');
295
295
  initMetadataForInterface(SelectInstance, 'SelectInstance');
296
296
  initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
297
- initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
297
+ initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
298
298
  initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
299
299
  initMetadataForClass(CancellableContinuationWithOwner, 'CancellableContinuationWithOwner', VOID, VOID, [CancellableContinuation, Waiter]);
300
300
  initMetadataForClass(SemaphoreAndMutexImpl, 'SemaphoreAndMutexImpl', VOID, VOID, VOID, [0]);
@@ -834,6 +834,17 @@ function get_jsonObject(_this__u8e3s4) {
834
834
  }
835
835
  return tmp;
836
836
  }
837
+ function get_jsonArray(_this__u8e3s4) {
838
+ _init_properties_JsonElement_kt__7cbdc2();
839
+ var tmp0_elvis_lhs = _this__u8e3s4 instanceof JsonArray ? _this__u8e3s4 : null;
840
+ var tmp;
841
+ if (tmp0_elvis_lhs == null) {
842
+ error(_this__u8e3s4, 'JsonArray');
843
+ } else {
844
+ tmp = tmp0_elvis_lhs;
845
+ }
846
+ return tmp;
847
+ }
837
848
  var properties_initialized_JsonElement_kt_abxy8s;
838
849
  function _init_properties_JsonElement_kt__7cbdc2() {
839
850
  if (!properties_initialized_JsonElement_kt_abxy8s) {
@@ -6737,6 +6748,7 @@ export {
6737
6748
  decodeFromDynamic as decodeFromDynamic3axi482yesc93,
6738
6749
  get_doubleOrNull as get_doubleOrNull2fo14gjg922um,
6739
6750
  encodeToDynamic as encodeToDynamicsae9c2u7066d,
6751
+ get_jsonArray as get_jsonArray18sglwhl4pclz,
6740
6752
  get_jsonObject as get_jsonObject2u4z2ch1uuca9,
6741
6753
  get_jsonPrimitive as get_jsonPrimitivez17tyd5rw1ql,
6742
6754
  get_longOrNull as get_longOrNull1kg1ha9scz5pa,
@@ -9,8 +9,7 @@ import { SecurityMetadata } from './embed/SecurityMetadata.mjs';
9
9
  import { Base64String } from './specializations/Base64String.mjs';
10
10
  /**
11
11
  *
12
- * Represents an access log entry that records access to medical data or resources within the
13
- * system.
12
+ * Represents an access log entry that records access to medical data or resources within the system.
14
13
  * /
15
14
  */
16
15
  export interface AccessLog extends StoredDocument, ICureDocument<string>, HasMedicalLocation, HasEncryptionMetadata, Encryptable {
@@ -44,8 +43,7 @@ export interface AccessLog extends StoredDocument, ICureDocument<string>, HasMed
44
43
  }
45
44
  /**
46
45
  *
47
- * Represents an access log entry that records access to medical data or resources within the
48
- * system.
46
+ * Represents an access log entry that records access to medical data or resources within the system.
49
47
  * /
50
48
  */
51
49
  export declare class DecryptedAccessLog {
@@ -56,8 +54,7 @@ export declare class DecryptedAccessLog {
56
54
  id: string;
57
55
  /**
58
56
  *
59
- * The revision of the access log in the database, used for conflict management / optimistic
60
- * locking.
57
+ * The revision of the access log in the database, used for conflict management / optimistic locking.
61
58
  */
62
59
  rev: string | undefined;
63
60
  /**
@@ -141,8 +138,7 @@ export declare class DecryptedAccessLog {
141
138
  };
142
139
  /**
143
140
  *
144
- * The encryption keys used to encrypt the secured properties, encrypted for separate Crypto
145
- * Actors.
141
+ * The encryption keys used to encrypt the secured properties, encrypted for separate Crypto Actors.
146
142
  */
147
143
  encryptionKeys: {
148
144
  [key: string]: Array<Delegation>;
@@ -164,8 +160,7 @@ export declare class DecryptedAccessLog {
164
160
  }
165
161
  /**
166
162
  *
167
- * Represents an access log entry that records access to medical data or resources within the
168
- * system.
163
+ * Represents an access log entry that records access to medical data or resources within the system.
169
164
  * /
170
165
  */
171
166
  export declare class EncryptedAccessLog {
@@ -176,8 +171,7 @@ export declare class EncryptedAccessLog {
176
171
  id: string;
177
172
  /**
178
173
  *
179
- * The revision of the access log in the database, used for conflict management / optimistic
180
- * locking.
174
+ * The revision of the access log in the database, used for conflict management / optimistic locking.
181
175
  */
182
176
  rev: string | undefined;
183
177
  /**
@@ -261,8 +255,7 @@ export declare class EncryptedAccessLog {
261
255
  };
262
256
  /**
263
257
  *
264
- * The encryption keys used to encrypt the secured properties, encrypted for separate Crypto
265
- * Actors.
258
+ * The encryption keys used to encrypt the secured properties, encrypted for separate Crypto Actors.
266
259
  */
267
260
  encryptionKeys: {
268
261
  [key: string]: Array<Delegation>;
@@ -6,8 +6,7 @@ import { Delegation } from './embed/Delegation.mjs';
6
6
  import { SecurityMetadata } from './embed/SecurityMetadata.mjs';
7
7
  /**
8
8
  *
9
- * Represents an access log entry that records access to medical data or resources within the
10
- * system.
9
+ * Represents an access log entry that records access to medical data or resources within the system.
11
10
  * /
12
11
  */
13
12
  export class DecryptedAccessLog {
@@ -15,8 +14,7 @@ export class DecryptedAccessLog {
15
14
  var _a;
16
15
  /**
17
16
  *
18
- * The revision of the access log in the database, used for conflict management / optimistic
19
- * locking.
17
+ * The revision of the access log in the database, used for conflict management / optimistic locking.
20
18
  */
21
19
  this.rev = undefined;
22
20
  /**
@@ -96,8 +94,7 @@ export class DecryptedAccessLog {
96
94
  this.delegations = {};
97
95
  /**
98
96
  *
99
- * The encryption keys used to encrypt the secured properties, encrypted for separate Crypto
100
- * Actors.
97
+ * The encryption keys used to encrypt the secured properties, encrypted for separate Crypto Actors.
101
98
  */
102
99
  this.encryptionKeys = {};
103
100
  /**
@@ -229,8 +226,7 @@ export class DecryptedAccessLog {
229
226
  }
230
227
  /**
231
228
  *
232
- * Represents an access log entry that records access to medical data or resources within the
233
- * system.
229
+ * Represents an access log entry that records access to medical data or resources within the system.
234
230
  * /
235
231
  */
236
232
  export class EncryptedAccessLog {
@@ -238,8 +234,7 @@ export class EncryptedAccessLog {
238
234
  var _a;
239
235
  /**
240
236
  *
241
- * The revision of the access log in the database, used for conflict management / optimistic
242
- * locking.
237
+ * The revision of the access log in the database, used for conflict management / optimistic locking.
243
238
  */
244
239
  this.rev = undefined;
245
240
  /**
@@ -319,8 +314,7 @@ export class EncryptedAccessLog {
319
314
  this.delegations = {};
320
315
  /**
321
316
  *
322
- * The encryption keys used to encrypt the secured properties, encrypted for separate Crypto
323
- * Actors.
317
+ * The encryption keys used to encrypt the secured properties, encrypted for separate Crypto Actors.
324
318
  */
325
319
  this.encryptionKeys = {};
326
320
  /**
@@ -10,10 +10,8 @@ import { UserAccessLevel } from './embed/UserAccessLevel.mjs';
10
10
  /**
11
11
  *
12
12
  *
13
- * Represents an agenda that keeps track of appointments (calendar items) for a resource or group
14
- * of resources.
15
- * An agenda can specify a schedule for its resources and allows managing availabilities for
16
- * booking.
13
+ * Represents an agenda that keeps track of appointments (calendar items) for a resource or group of resources.
14
+ * An agenda can specify a schedule for its resources and allows managing availabilities for booking.
17
15
  */
18
16
  export declare class Agenda implements StoredDocument, ICureDocument<string>, HasMedicalLocation, HasEndOfLife {
19
17
  /**
@@ -68,8 +66,7 @@ export declare class Agenda implements StoredDocument, ICureDocument<string>, Ha
68
66
  deletionDate: number | undefined;
69
67
  /**
70
68
  *
71
- * A fuzzy time in HHMMSS format used to split working hours into blocks for availabilities
72
- * computation.
69
+ * A fuzzy time in HHMMSS format used to split working hours into blocks for availabilities computation.
73
70
  */
74
71
  daySplitHour: number | undefined;
75
72
  /**
package/model/Agenda.mjs CHANGED
@@ -9,10 +9,8 @@ import { UserAccessLevel } from './embed/UserAccessLevel.mjs';
9
9
  /**
10
10
  *
11
11
  *
12
- * Represents an agenda that keeps track of appointments (calendar items) for a resource or group
13
- * of resources.
14
- * An agenda can specify a schedule for its resources and allows managing availabilities for
15
- * booking.
12
+ * Represents an agenda that keeps track of appointments (calendar items) for a resource or group of resources.
13
+ * An agenda can specify a schedule for its resources and allows managing availabilities for booking.
16
14
  */
17
15
  export class Agenda {
18
16
  constructor(partial) {
@@ -64,8 +62,7 @@ export class Agenda {
64
62
  this.deletionDate = undefined;
65
63
  /**
66
64
  *
67
- * A fuzzy time in HHMMSS format used to split working hours into blocks for availabilities
68
- * computation.
65
+ * A fuzzy time in HHMMSS format used to split working hours into blocks for availabilities computation.
69
66
  */
70
67
  this.daySplitHour = undefined;
71
68
  /**
@@ -14,8 +14,7 @@ import { Base64String } from './specializations/Base64String.mjs';
14
14
  /**
15
15
  *
16
16
  *
17
- * Represents an appointment or event in a calendar. Calendar items are linked to an agenda and can
18
- * block
17
+ * Represents an appointment or event in a calendar. Calendar items are linked to an agenda and can block
19
18
  * availabilities for scheduling purposes.
20
19
  */
21
20
  export interface CalendarItem extends StoredDocument, ICureDocument<string>, HasMedicalLocation, HasEncryptionMetadata, Encryptable {
@@ -126,8 +125,7 @@ export interface CalendarItem extends StoredDocument, ICureDocument<string>, Has
126
125
  availabilitiesAssignmentStrategy: CalendarItem.AvailabilitiesAssignmentStrategy | undefined;
127
126
  /**
128
127
  *
129
- * The healthcare party id associated with this calendar item. Deprecated: This field is scheduled
130
- * for deletion
128
+ * The healthcare party id associated with this calendar item. Deprecated: This field is scheduled for deletion
131
129
  */
132
130
  hcpId: string | undefined;
133
131
  /**
@@ -151,8 +149,7 @@ export interface CalendarItem extends StoredDocument, ICureDocument<string>, Has
151
149
  /**
152
150
  *
153
151
  *
154
- * Represents an appointment or event in a calendar. Calendar items are linked to an agenda and can
155
- * block
152
+ * Represents an appointment or event in a calendar. Calendar items are linked to an agenda and can block
156
153
  * availabilities for scheduling purposes.
157
154
  */
158
155
  export declare class DecryptedCalendarItem {
@@ -163,8 +160,7 @@ export declare class DecryptedCalendarItem {
163
160
  id: string;
164
161
  /**
165
162
  *
166
- * The revision of the calendar item in the database, used for conflict management / optimistic
167
- * locking.
163
+ * The revision of the calendar item in the database, used for conflict management / optimistic locking.
168
164
  */
169
165
  rev: string | undefined;
170
166
  /**
@@ -309,8 +305,7 @@ export declare class DecryptedCalendarItem {
309
305
  availabilitiesAssignmentStrategy: CalendarItem_.AvailabilitiesAssignmentStrategy | undefined;
310
306
  /**
311
307
  *
312
- * The healthcare party id associated with this calendar item. Deprecated: This field is scheduled
313
- * for deletion
308
+ * The healthcare party id associated with this calendar item. Deprecated: This field is scheduled for deletion
314
309
  */
315
310
  hcpId: string | undefined;
316
311
  /**
@@ -372,8 +367,7 @@ export declare class DecryptedCalendarItem {
372
367
  /**
373
368
  *
374
369
  *
375
- * Represents an appointment or event in a calendar. Calendar items are linked to an agenda and can
376
- * block
370
+ * Represents an appointment or event in a calendar. Calendar items are linked to an agenda and can block
377
371
  * availabilities for scheduling purposes.
378
372
  */
379
373
  export declare class EncryptedCalendarItem {
@@ -384,8 +378,7 @@ export declare class EncryptedCalendarItem {
384
378
  id: string;
385
379
  /**
386
380
  *
387
- * The revision of the calendar item in the database, used for conflict management / optimistic
388
- * locking.
381
+ * The revision of the calendar item in the database, used for conflict management / optimistic locking.
389
382
  */
390
383
  rev: string | undefined;
391
384
  /**
@@ -530,8 +523,7 @@ export declare class EncryptedCalendarItem {
530
523
  availabilitiesAssignmentStrategy: CalendarItem_.AvailabilitiesAssignmentStrategy | undefined;
531
524
  /**
532
525
  *
533
- * The healthcare party id associated with this calendar item. Deprecated: This field is scheduled
534
- * for deletion
526
+ * The healthcare party id associated with this calendar item. Deprecated: This field is scheduled for deletion
535
527
  */
536
528
  hcpId: string | undefined;
537
529
  /**
@@ -11,8 +11,7 @@ import { SecurityMetadata } from './embed/SecurityMetadata.mjs';
11
11
  /**
12
12
  *
13
13
  *
14
- * Represents an appointment or event in a calendar. Calendar items are linked to an agenda and can
15
- * block
14
+ * Represents an appointment or event in a calendar. Calendar items are linked to an agenda and can block
16
15
  * availabilities for scheduling purposes.
17
16
  */
18
17
  export class DecryptedCalendarItem {
@@ -20,8 +19,7 @@ export class DecryptedCalendarItem {
20
19
  var _a;
21
20
  /**
22
21
  *
23
- * The revision of the calendar item in the database, used for conflict management / optimistic
24
- * locking.
22
+ * The revision of the calendar item in the database, used for conflict management / optimistic locking.
25
23
  */
26
24
  this.rev = undefined;
27
25
  /**
@@ -166,8 +164,7 @@ export class DecryptedCalendarItem {
166
164
  this.availabilitiesAssignmentStrategy = undefined;
167
165
  /**
168
166
  *
169
- * The healthcare party id associated with this calendar item. Deprecated: This field is scheduled
170
- * for deletion
167
+ * The healthcare party id associated with this calendar item. Deprecated: This field is scheduled for deletion
171
168
  */
172
169
  this.hcpId = undefined;
173
170
  /**
@@ -433,8 +430,7 @@ export class DecryptedCalendarItem {
433
430
  /**
434
431
  *
435
432
  *
436
- * Represents an appointment or event in a calendar. Calendar items are linked to an agenda and can
437
- * block
433
+ * Represents an appointment or event in a calendar. Calendar items are linked to an agenda and can block
438
434
  * availabilities for scheduling purposes.
439
435
  */
440
436
  export class EncryptedCalendarItem {
@@ -442,8 +438,7 @@ export class EncryptedCalendarItem {
442
438
  var _a;
443
439
  /**
444
440
  *
445
- * The revision of the calendar item in the database, used for conflict management / optimistic
446
- * locking.
441
+ * The revision of the calendar item in the database, used for conflict management / optimistic locking.
447
442
  */
448
443
  this.rev = undefined;
449
444
  /**
@@ -588,8 +583,7 @@ export class EncryptedCalendarItem {
588
583
  this.availabilitiesAssignmentStrategy = undefined;
589
584
  /**
590
585
  *
591
- * The healthcare party id associated with this calendar item. Deprecated: This field is scheduled
592
- * for deletion
586
+ * The healthcare party id associated with this calendar item. Deprecated: This field is scheduled for deletion
593
587
  */
594
588
  this.hcpId = undefined;
595
589
  /**
@@ -2,10 +2,8 @@
2
2
  *
3
3
  * One point of a concurrent-occupancy step function for a period of calendar items.
4
4
  *
5
- * The occupancy of a period is emitted as a sequence of these points, ordered by [timestamp]: each
6
- * point
7
- * indicates that, starting from [timestamp], the number of overlapping (busy) calendar items
8
- * becomes [occupancy].
5
+ * The occupancy of a period is emitted as a sequence of these points, ordered by [timestamp]: each point
6
+ * indicates that, starting from [timestamp], the number of overlapping (busy) calendar items becomes [occupancy].
9
7
  * /
10
8
  */
11
9
  export declare class CalendarItemOccupancy {
@@ -4,10 +4,8 @@ import { expectNumber, extractEntry } from '../internal/JsonDecodeUtils.mjs';
4
4
  *
5
5
  * One point of a concurrent-occupancy step function for a period of calendar items.
6
6
  *
7
- * The occupancy of a period is emitted as a sequence of these points, ordered by [timestamp]: each
8
- * point
9
- * indicates that, starting from [timestamp], the number of overlapping (busy) calendar items
10
- * becomes [occupancy].
7
+ * The occupancy of a period is emitted as a sequence of these points, ordered by [timestamp]: each point
8
+ * indicates that, starting from [timestamp], the number of overlapping (busy) calendar items becomes [occupancy].
11
9
  * /
12
10
  */
13
11
  export class CalendarItemOccupancy {
@@ -2,8 +2,7 @@ import { DecryptedPropertyStub } from './PropertyStub.mjs';
2
2
  import { StoredDocument } from './base/StoredDocument.mjs';
3
3
  /**
4
4
  *
5
- * Represents a type of calendar item, defining properties like duration, color, and name for
6
- * appointments.
5
+ * Represents a type of calendar item, defining properties like duration, color, and name for appointments.
7
6
  * Calendar item types are used to categorize calendar items within an agenda.
8
7
  * /
9
8
  */
@@ -15,8 +14,7 @@ export declare class CalendarItemType implements StoredDocument {
15
14
  id: string;
16
15
  /**
17
16
  *
18
- * The revision of the calendar item type in the database, used for conflict management /
19
- * optimistic locking.
17
+ * The revision of the calendar item type in the database, used for conflict management / optimistic locking.
20
18
  */
21
19
  rev: string | undefined;
22
20
  /**
@@ -4,8 +4,7 @@ import { randomUuid } from '../utils/Id.mjs';
4
4
  import { DecryptedPropertyStub } from './PropertyStub.mjs';
5
5
  /**
6
6
  *
7
- * Represents a type of calendar item, defining properties like duration, color, and name for
8
- * appointments.
7
+ * Represents a type of calendar item, defining properties like duration, color, and name for appointments.
9
8
  * Calendar item types are used to categorize calendar items within an agenda.
10
9
  * /
11
10
  */
@@ -14,8 +13,7 @@ export class CalendarItemType {
14
13
  var _a;
15
14
  /**
16
15
  *
17
- * The revision of the calendar item type in the database, used for conflict management /
18
- * optimistic locking.
16
+ * The revision of the calendar item type in the database, used for conflict management / optimistic locking.
19
17
  */
20
18
  this.rev = undefined;
21
19
  /**
@@ -10,8 +10,7 @@ import { SecurityMetadata } from './embed/SecurityMetadata.mjs';
10
10
  import { Base64String } from './specializations/Base64String.mjs';
11
11
  /**
12
12
  *
13
- * Represents a classification used to organize and categorize medical data. Classifications can be
14
- * nested
13
+ * Represents a classification used to organize and categorize medical data. Classifications can be nested
15
14
  * through parent-child relationships and linked to classification templates.
16
15
  * /
17
16
  */
@@ -36,8 +35,7 @@ export interface Classification extends StoredDocument, ICureDocument<string>, H
36
35
  }
37
36
  /**
38
37
  *
39
- * Represents a classification used to organize and categorize medical data. Classifications can be
40
- * nested
38
+ * Represents a classification used to organize and categorize medical data. Classifications can be nested
41
39
  * through parent-child relationships and linked to classification templates.
42
40
  * /
43
41
  */
@@ -49,8 +47,7 @@ export declare class DecryptedClassification {
49
47
  id: string;
50
48
  /**
51
49
  *
52
- * The revision of the classification in the database, used for conflict management / optimistic
53
- * locking.
50
+ * The revision of the classification in the database, used for conflict management / optimistic locking.
54
51
  */
55
52
  rev: string | undefined;
56
53
  /**
@@ -151,8 +148,7 @@ export declare class DecryptedClassification {
151
148
  }
152
149
  /**
153
150
  *
154
- * Represents a classification used to organize and categorize medical data. Classifications can be
155
- * nested
151
+ * Represents a classification used to organize and categorize medical data. Classifications can be nested
156
152
  * through parent-child relationships and linked to classification templates.
157
153
  * /
158
154
  */
@@ -164,8 +160,7 @@ export declare class EncryptedClassification {
164
160
  id: string;
165
161
  /**
166
162
  *
167
- * The revision of the classification in the database, used for conflict management / optimistic
168
- * locking.
163
+ * The revision of the classification in the database, used for conflict management / optimistic locking.
169
164
  */
170
165
  rev: string | undefined;
171
166
  /**
@@ -6,8 +6,7 @@ import { Delegation } from './embed/Delegation.mjs';
6
6
  import { SecurityMetadata } from './embed/SecurityMetadata.mjs';
7
7
  /**
8
8
  *
9
- * Represents a classification used to organize and categorize medical data. Classifications can be
10
- * nested
9
+ * Represents a classification used to organize and categorize medical data. Classifications can be nested
11
10
  * through parent-child relationships and linked to classification templates.
12
11
  * /
13
12
  */
@@ -16,8 +15,7 @@ export class DecryptedClassification {
16
15
  var _a;
17
16
  /**
18
17
  *
19
- * The revision of the classification in the database, used for conflict management / optimistic
20
- * locking.
18
+ * The revision of the classification in the database, used for conflict management / optimistic locking.
21
19
  */
22
20
  this.rev = undefined;
23
21
  /**
@@ -218,8 +216,7 @@ export class DecryptedClassification {
218
216
  }
219
217
  /**
220
218
  *
221
- * Represents a classification used to organize and categorize medical data. Classifications can be
222
- * nested
219
+ * Represents a classification used to organize and categorize medical data. Classifications can be nested
223
220
  * through parent-child relationships and linked to classification templates.
224
221
  * /
225
222
  */
@@ -228,8 +225,7 @@ export class EncryptedClassification {
228
225
  var _a;
229
226
  /**
230
227
  *
231
- * The revision of the classification in the database, used for conflict management / optimistic
232
- * locking.
228
+ * The revision of the classification in the database, used for conflict management / optimistic locking.
233
229
  */
234
230
  this.rev = undefined;
235
231
  /**
package/model/Code.d.mts CHANGED
@@ -2,8 +2,7 @@ import { CodeIdentification } from './base/CodeIdentification.mjs';
2
2
  import { StoredDocument } from './base/StoredDocument.mjs';
3
3
  /**
4
4
  *
5
- * Represents a medical code from a terminology system (e.g., ICD, SNOMED). The code id is composed
6
- * of
5
+ * Represents a medical code from a terminology system (e.g., ICD, SNOMED). The code id is composed of
7
6
  * type|code|version and must be unique.
8
7
  * /
9
8
  */
package/model/Code.mjs CHANGED
@@ -3,8 +3,7 @@ import { expectArray, expectBoolean, expectMap, expectNumber, expectString, extr
3
3
  import { randomUuid } from '../utils/Id.mjs';
4
4
  /**
5
5
  *
6
- * Represents a medical code from a terminology system (e.g., ICD, SNOMED). The code id is composed
7
- * of
6
+ * Represents a medical code from a terminology system (e.g., ICD, SNOMED). The code id is composed of
8
7
  * type|code|version and must be unique.
9
8
  * /
10
9
  */