@icure/api 4.0.77 → 4.0.82

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 (129) hide show
  1. package/icc-api/api/IccAnonymousAccessApi.d.ts +5 -5
  2. package/icc-api/api/IccAnonymousAccessApi.js +5 -5
  3. package/icc-api/api/IccAnonymousAccessApi.js.map +1 -1
  4. package/icc-api/api/IccCodeApi.d.ts +7 -0
  5. package/icc-api/api/IccCodeApi.js +15 -0
  6. package/icc-api/api/IccCodeApi.js.map +1 -1
  7. package/icc-api/api/IccContactApi.d.ts +13 -8
  8. package/icc-api/api/IccContactApi.js +28 -19
  9. package/icc-api/api/IccContactApi.js.map +1 -1
  10. package/icc-api/api/IccDeviceApi.d.ts +109 -0
  11. package/icc-api/api/IccDeviceApi.js +230 -0
  12. package/icc-api/api/IccDeviceApi.js.map +1 -0
  13. package/icc-api/api/IccHcpartyApi.d.ts +16 -0
  14. package/icc-api/api/IccHcpartyApi.js +37 -0
  15. package/icc-api/api/IccHcpartyApi.js.map +1 -1
  16. package/icc-api/api/IccHelementApi.d.ts +20 -3
  17. package/icc-api/api/IccHelementApi.js +43 -5
  18. package/icc-api/api/IccHelementApi.js.map +1 -1
  19. package/icc-api/api/IccPatientApi.d.ts +5 -2
  20. package/icc-api/api/IccPatientApi.js +3 -1
  21. package/icc-api/api/IccPatientApi.js.map +1 -1
  22. package/icc-api/api/IccReplicationApi.d.ts +46 -0
  23. package/icc-api/api/IccReplicationApi.js +87 -0
  24. package/icc-api/api/IccReplicationApi.js.map +1 -0
  25. package/icc-api/api/IccTmpApi.d.ts +22 -0
  26. package/icc-api/api/IccTmpApi.js +54 -0
  27. package/icc-api/api/IccTmpApi.js.map +1 -1
  28. package/icc-api/api/IccUserApi.d.ts +21 -3
  29. package/icc-api/api/IccUserApi.js +44 -3
  30. package/icc-api/api/IccUserApi.js.map +1 -1
  31. package/icc-api/iccApi.d.ts +2 -0
  32. package/icc-api/iccApi.js +2 -0
  33. package/icc-api/iccApi.js.map +1 -1
  34. package/icc-api/index.d.ts +4 -0
  35. package/icc-api/index.js +4 -0
  36. package/icc-api/index.js.map +1 -1
  37. package/icc-api/model/AbstractFilterDevice.d.ts +15 -0
  38. package/icc-api/model/AbstractFilterDevice.js +21 -0
  39. package/icc-api/model/AbstractFilterDevice.js.map +1 -0
  40. package/icc-api/model/AbstractFilterHealthcareParty.d.ts +15 -0
  41. package/icc-api/model/AbstractFilterHealthcareParty.js +21 -0
  42. package/icc-api/model/AbstractFilterHealthcareParty.js.map +1 -0
  43. package/icc-api/model/AbstractFilterUser.d.ts +15 -0
  44. package/icc-api/model/AbstractFilterUser.js +21 -0
  45. package/icc-api/model/AbstractFilterUser.js.map +1 -0
  46. package/icc-api/model/Annotation.d.ts +38 -0
  47. package/icc-api/model/Annotation.js +24 -0
  48. package/icc-api/model/Annotation.js.map +1 -0
  49. package/icc-api/model/Content.d.ts +3 -1
  50. package/icc-api/model/Content.js +1 -1
  51. package/icc-api/model/Content.js.map +1 -1
  52. package/icc-api/model/Device.d.ts +81 -0
  53. package/icc-api/model/Device.js +14 -0
  54. package/icc-api/model/Device.js.map +1 -0
  55. package/icc-api/model/FilterChainDevice.d.ts +18 -0
  56. package/icc-api/model/FilterChainDevice.js +10 -0
  57. package/icc-api/model/FilterChainDevice.js.map +1 -0
  58. package/icc-api/model/FilterChainHealthcareParty.d.ts +18 -0
  59. package/icc-api/model/FilterChainHealthcareParty.js +10 -0
  60. package/icc-api/model/FilterChainHealthcareParty.js.map +1 -0
  61. package/icc-api/model/FilterChainUser.d.ts +18 -0
  62. package/icc-api/model/FilterChainUser.js +10 -0
  63. package/icc-api/model/FilterChainUser.js.map +1 -0
  64. package/icc-api/model/FlowItem.d.ts +2 -0
  65. package/icc-api/model/FlowItem.js.map +1 -1
  66. package/icc-api/model/HealthElement.d.ts +3 -1
  67. package/icc-api/model/HealthElement.js.map +1 -1
  68. package/icc-api/model/HealthcareParty.d.ts +12 -2
  69. package/icc-api/model/HealthcareParty.js +1 -1
  70. package/icc-api/model/HealthcareParty.js.map +1 -1
  71. package/icc-api/model/IndexedIdentifier.d.ts +17 -0
  72. package/icc-api/model/IndexedIdentifier.js +10 -0
  73. package/icc-api/model/IndexedIdentifier.js.map +1 -0
  74. package/icc-api/model/ModelHelper.d.ts +1 -1
  75. package/icc-api/model/ModelHelper.js +21 -14
  76. package/icc-api/model/ModelHelper.js.map +1 -1
  77. package/icc-api/model/PaginatedListDevice.d.ts +20 -0
  78. package/icc-api/model/PaginatedListDevice.js +10 -0
  79. package/icc-api/model/PaginatedListDevice.js.map +1 -0
  80. package/icc-api/model/Patient.d.ts +3 -3
  81. package/icc-api/model/ReplicateCommand.d.ts +21 -0
  82. package/icc-api/model/ReplicateCommand.js +21 -0
  83. package/icc-api/model/ReplicateCommand.js.map +1 -0
  84. package/icc-api/model/ReplicatorResponse.d.ts +19 -0
  85. package/icc-api/model/ReplicatorResponse.js +21 -0
  86. package/icc-api/model/ReplicatorResponse.js.map +1 -0
  87. package/icc-api/model/Service.d.ts +28 -1
  88. package/icc-api/model/Service.js.map +1 -1
  89. package/icc-api/model/TimeSeries.d.ts +24 -0
  90. package/icc-api/model/TimeSeries.js +24 -0
  91. package/icc-api/model/TimeSeries.js.map +1 -0
  92. package/icc-api/model/TimeTable.d.ts +0 -1
  93. package/icc-api/model/TimeTable.js.map +1 -1
  94. package/icc-api/model/TimeTableItem.d.ts +1 -0
  95. package/icc-api/model/TimeTableItem.js.map +1 -1
  96. package/icc-api/model/User.d.ts +9 -1
  97. package/icc-api/model/User.js.map +1 -1
  98. package/icc-api/model/UserAndHealthcareParty.d.ts +21 -0
  99. package/icc-api/model/UserAndHealthcareParty.js +13 -0
  100. package/icc-api/model/UserAndHealthcareParty.js.map +1 -0
  101. package/icc-api/model/models.d.ts +11 -0
  102. package/icc-api/model/models.js +11 -0
  103. package/icc-api/model/models.js.map +1 -1
  104. package/icc-x-api/icc-accesslog-x-api.d.ts +1 -3
  105. package/icc-x-api/icc-bekmehr-x-api.js +4 -4
  106. package/icc-x-api/icc-bekmehr-x-api.js.map +1 -1
  107. package/icc-x-api/icc-calendar-item-x-api.d.ts +1 -3
  108. package/icc-x-api/icc-contact-x-api.d.ts +2 -1
  109. package/icc-x-api/icc-contact-x-api.js +7 -0
  110. package/icc-x-api/icc-contact-x-api.js.map +1 -1
  111. package/icc-x-api/icc-crypto-x-api.d.ts +23 -4
  112. package/icc-x-api/icc-crypto-x-api.js +133 -32
  113. package/icc-x-api/icc-crypto-x-api.js.map +1 -1
  114. package/icc-x-api/icc-hcparty-x-api.d.ts +4 -0
  115. package/icc-x-api/icc-hcparty-x-api.js +23 -1
  116. package/icc-x-api/icc-hcparty-x-api.js.map +1 -1
  117. package/icc-x-api/icc-patient-x-api.d.ts +2 -3
  118. package/icc-x-api/icc-patient-x-api.js +28 -2
  119. package/icc-x-api/icc-patient-x-api.js.map +1 -1
  120. package/icc-x-api/utils/formatting-util.d.ts +3 -0
  121. package/icc-x-api/utils/formatting-util.js +9 -9
  122. package/icc-x-api/utils/formatting-util.js.map +1 -1
  123. package/icc-x-api/utils/index.d.ts +1 -0
  124. package/icc-x-api/utils/index.js +1 -0
  125. package/icc-x-api/utils/index.js.map +1 -1
  126. package/icc-x-api/utils/person-util.d.ts +4 -0
  127. package/icc-x-api/utils/person-util.js +27 -0
  128. package/icc-x-api/utils/person-util.js.map +1 -0
  129. package/package.json +1 -1
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Device = void 0;
4
+ /**
5
+ * This entity is a root level object. It represents a device. It is serialized in JSON and saved in the underlying icure-base CouchDB database.
6
+ */
7
+ const ModelHelper_1 = require("./ModelHelper");
8
+ class Device {
9
+ constructor(json) {
10
+ Object.assign(this, json, json.picture ? { picture: ModelHelper_1.b64_2ab(json.picture) } : {});
11
+ }
12
+ }
13
+ exports.Device = Device;
14
+ //# sourceMappingURL=Device.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Device.js","sourceRoot":"","sources":["../../../icc-api/model/Device.ts"],"names":[],"mappings":";;;AAeA;;GAEG;AACH,+CAAuC;AACvC,MAAa,MAAM;IACjB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAc,EAAE,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,qBAAO,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAA;IAC7F,CAAC;CA8DF;AAjED,wBAiEC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * iCure Data Stack API Documentation
3
+ * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.
4
+ *
5
+ * OpenAPI spec version: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AbstractFilterDevice } from './AbstractFilterDevice';
13
+ import { Predicate } from './Predicate';
14
+ export declare class FilterChainDevice {
15
+ constructor(json: JSON | any);
16
+ filter?: AbstractFilterDevice;
17
+ predicate?: Predicate;
18
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FilterChainDevice = void 0;
4
+ class FilterChainDevice {
5
+ constructor(json) {
6
+ Object.assign(this, json);
7
+ }
8
+ }
9
+ exports.FilterChainDevice = FilterChainDevice;
10
+ //# sourceMappingURL=FilterChainDevice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterChainDevice.js","sourceRoot":"","sources":["../../../icc-api/model/FilterChainDevice.ts"],"names":[],"mappings":";;;AAcA,MAAa,iBAAiB;IAC5B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAyB,EAAE,IAAI,CAAC,CAAA;IAChD,CAAC;CAIF;AAPD,8CAOC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * iCure Data Stack API Documentation
3
+ * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.
4
+ *
5
+ * OpenAPI spec version: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AbstractFilterHealthcareParty } from './AbstractFilterHealthcareParty';
13
+ import { Predicate } from './Predicate';
14
+ export declare class FilterChainHealthcareParty {
15
+ constructor(json: JSON | any);
16
+ filter?: AbstractFilterHealthcareParty;
17
+ predicate?: Predicate;
18
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FilterChainHealthcareParty = void 0;
4
+ class FilterChainHealthcareParty {
5
+ constructor(json) {
6
+ Object.assign(this, json);
7
+ }
8
+ }
9
+ exports.FilterChainHealthcareParty = FilterChainHealthcareParty;
10
+ //# sourceMappingURL=FilterChainHealthcareParty.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterChainHealthcareParty.js","sourceRoot":"","sources":["../../../icc-api/model/FilterChainHealthcareParty.ts"],"names":[],"mappings":";;;AAcA,MAAa,0BAA0B;IACrC,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAkC,EAAE,IAAI,CAAC,CAAA;IACzD,CAAC;CAIF;AAPD,gEAOC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * iCure Data Stack API Documentation
3
+ * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.
4
+ *
5
+ * OpenAPI spec version: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AbstractFilterUser } from './AbstractFilterUser';
13
+ import { Predicate } from './Predicate';
14
+ export declare class FilterChainUser {
15
+ constructor(json: JSON | any);
16
+ filter?: AbstractFilterUser;
17
+ predicate?: Predicate;
18
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FilterChainUser = void 0;
4
+ class FilterChainUser {
5
+ constructor(json) {
6
+ Object.assign(this, json);
7
+ }
8
+ }
9
+ exports.FilterChainUser = FilterChainUser;
10
+ //# sourceMappingURL=FilterChainUser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterChainUser.js","sourceRoot":"","sources":["../../../icc-api/model/FilterChainUser.ts"],"names":[],"mappings":";;;AAcA,MAAa,eAAe;IAC1B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAuB,EAAE,IAAI,CAAC,CAAA;IAC9C,CAAC;CAIF;AAPD,0CAOC"}
@@ -42,4 +42,6 @@ export declare class FlowItem {
42
42
  patientId?: string;
43
43
  patientLastName?: string;
44
44
  patientFirstName?: string;
45
+ description?: string;
46
+ interventionCode?: string;
45
47
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FlowItem.js","sourceRoot":"","sources":["../../../icc-api/model/FlowItem.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,QAAQ;IACnB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAgB,EAAE,IAAI,CAAC,CAAA;IACvC,CAAC;CAiCF;AApCD,4BAoCC"}
1
+ {"version":3,"file":"FlowItem.js","sourceRoot":"","sources":["../../../icc-api/model/FlowItem.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,QAAQ;IACnB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAgB,EAAE,IAAI,CAAC,CAAA;IACvC,CAAC;CAmCF;AAtCD,4BAsCC"}
@@ -13,6 +13,7 @@ import { CareTeamMember } from './CareTeamMember';
13
13
  import { CodeStub } from './CodeStub';
14
14
  import { Delegation } from './Delegation';
15
15
  import { Episode } from './Episode';
16
+ import { Identifier } from './Identifier';
16
17
  import { PlanOfAction } from './PlanOfAction';
17
18
  /**
18
19
  * This entity is a root level object. It represents a healthcare element. It is serialized in JSON and saved in the underlying CouchDB database.
@@ -23,8 +24,9 @@ export declare class HealthElement {
23
24
  * The Id of the healthcare element. We encourage using either a v4 UUID or a HL7 Id.
24
25
  */
25
26
  id?: string;
27
+ identifiers?: Array<Identifier>;
26
28
  /**
27
- * The revision of the patient in the database, used for conflict management / optimistic locking.
29
+ * The revision of the healthcare element in the database, used for conflict management / optimistic locking.
28
30
  */
29
31
  rev?: string;
30
32
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"HealthElement.js","sourceRoot":"","sources":["../../../icc-api/model/HealthElement.ts"],"names":[],"mappings":";;;AAiBA;;GAEG;AACH,MAAa,aAAa;IACxB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAqB,EAAE,IAAI,CAAC,CAAA;IAC5C,CAAC;CA8HF;AAjID,sCAiIC;AACD,WAAiB,aAAa;IAEf,4BAAc,GAAG;QAC5B,IAAI,EAAE,MAAwB;QAC9B,KAAK,EAAE,OAAyB;KACjC,CAAA;AACH,CAAC,EANgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAM7B"}
1
+ {"version":3,"file":"HealthElement.js","sourceRoot":"","sources":["../../../icc-api/model/HealthElement.ts"],"names":[],"mappings":";;;AAkBA;;GAEG;AACH,MAAa,aAAa;IACxB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAqB,EAAE,IAAI,CAAC,CAAA;IAC5C,CAAC;CA+HF;AAlID,sCAkIC;AACD,WAAiB,aAAa;IAEf,4BAAc,GAAG;QAC5B,IAAI,EAAE,MAAwB;QAC9B,KAAK,EAAE,OAAyB;KACjC,CAAA;AACH,CAAC,EANgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAM7B"}
@@ -15,6 +15,7 @@ import { FinancialInstitutionInformation } from './FinancialInstitutionInformati
15
15
  import { FlatRateTarification } from './FlatRateTarification';
16
16
  import { HealthcarePartyHistoryStatus } from './HealthcarePartyHistoryStatus';
17
17
  import { PersonName } from './PersonName';
18
+ import { PropertyStub } from './PropertyStub';
18
19
  export declare class HealthcareParty {
19
20
  constructor(json: JSON | any);
20
21
  /**
@@ -25,6 +26,14 @@ export declare class HealthcareParty {
25
26
  * the revision of the healthcare party in the database, used for conflict management / optimistic locking.
26
27
  */
27
28
  rev?: string;
29
+ /**
30
+ * creation timestamp of the object.
31
+ */
32
+ created?: number;
33
+ /**
34
+ * last modification timestamp of the object.
35
+ */
36
+ modified?: number;
28
37
  /**
29
38
  * hard delete (unix epoch in ms) timestamp of the object. Filled automatically when deletePatient is called.
30
39
  */
@@ -42,9 +51,9 @@ export declare class HealthcareParty {
42
51
  */
43
52
  firstName?: string;
44
53
  /**
45
- * the list of all denominations of the healthcare party, also containing the official full name information. Ordered by preference of use. First element is therefore the official name used for the healthcare party in the application
54
+ * the list of all names of the healthcare party, also containing the official full name information. Ordered by preference of use. First element is therefore the official name used for the healthcare party in the application
46
55
  */
47
- denominations?: Array<PersonName>;
56
+ names?: Array<PersonName>;
48
57
  /**
49
58
  * the gender of the healthcare party: male, female, indeterminate, changed, changedToMale, changedToFemale, unknown
50
59
  */
@@ -154,6 +163,7 @@ export declare class HealthcareParty {
154
163
  options?: {
155
164
  [key: string]: string;
156
165
  };
166
+ properties?: Array<PropertyStub>;
157
167
  /**
158
168
  * For each couple of HcParties (delegator and delegate), this map contains the exchange AES key. The delegator is always this hcp, the key of the map is the id of the delegate. The AES exchange key is encrypted using RSA twice : once using this hcp public key (index 0 in the Array) and once using the other hcp public key (index 1 in the Array). For a pair of HcParties. Each HcParty always has one AES exchange key for himself.
159
169
  */
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.HealthcareParty = void 0;
4
4
  /**
5
- * This entity is a root level object. It represents a healthcare party. It is serialized in JSON and saved in the underlying icure-healthcareParty CouchDB database.
5
+ * This entity is a root level object. It represents a healthcare party. It is serialized in JSON and saved in the underlying icure-healthdata CouchDB database.
6
6
  */
7
7
  const ModelHelper_1 = require("./ModelHelper");
8
8
  class HealthcareParty {
@@ -1 +1 @@
1
- {"version":3,"file":"HealthcareParty.js","sourceRoot":"","sources":["../../../icc-api/model/HealthcareParty.ts"],"names":[],"mappings":";;;AAkBA;;GAEG;AACH,+CAAuC;AACvC,MAAa,eAAe;IAC1B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAuB,EAAE,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,qBAAO,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAA;IACtG,CAAC;CAiJF;AApJD,0CAoJC;AACD,WAAiB,eAAe;IAEjB,0BAAU,GAAG;QACxB,IAAI,EAAE,MAAoB;QAC1B,MAAM,EAAE,QAAsB;QAC9B,aAAa,EAAE,eAA6B;QAC5C,OAAO,EAAE,SAAuB;QAChC,aAAa,EAAE,eAA6B;QAC5C,eAAe,EAAE,iBAA+B;QAChD,OAAO,EAAE,SAAuB;KACjC,CAAA;IAEY,4BAAY,GAAG;QAC1B,OAAO,EAAE,SAAyB;QAClC,cAAc,EAAE,gBAAgC;QAChD,YAAY,EAAE,cAA8B;KAC7C,CAAA;AACH,CAAC,EAjBgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAiB/B"}
1
+ {"version":3,"file":"HealthcareParty.js","sourceRoot":"","sources":["../../../icc-api/model/HealthcareParty.ts"],"names":[],"mappings":";;;AAmBA;;GAEG;AACH,+CAAuC;AACvC,MAAa,eAAe;IAC1B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAuB,EAAE,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,qBAAO,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAA;IACtG,CAAC;CA0JF;AA7JD,0CA6JC;AACD,WAAiB,eAAe;IAEjB,0BAAU,GAAG;QACxB,IAAI,EAAE,MAAoB;QAC1B,MAAM,EAAE,QAAsB;QAC9B,aAAa,EAAE,eAA6B;QAC5C,OAAO,EAAE,SAAuB;QAChC,aAAa,EAAE,eAA6B;QAC5C,eAAe,EAAE,iBAA+B;QAChD,OAAO,EAAE,SAAuB;KACjC,CAAA;IAEY,4BAAY,GAAG;QAC1B,OAAO,EAAE,SAAyB;QAClC,cAAc,EAAE,gBAAgC;QAChD,YAAY,EAAE,cAA8B;KAC7C,CAAA;AACH,CAAC,EAjBgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAiB/B"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * iCure Data Stack API Documentation
3
+ * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.
4
+ *
5
+ * OpenAPI spec version: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Identifier } from './Identifier';
13
+ export declare class IndexedIdentifier {
14
+ constructor(json: JSON | any);
15
+ id?: string;
16
+ identifier?: Identifier;
17
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IndexedIdentifier = void 0;
4
+ class IndexedIdentifier {
5
+ constructor(json) {
6
+ Object.assign(this, json);
7
+ }
8
+ }
9
+ exports.IndexedIdentifier = IndexedIdentifier;
10
+ //# sourceMappingURL=IndexedIdentifier.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IndexedIdentifier.js","sourceRoot":"","sources":["../../../icc-api/model/IndexedIdentifier.ts"],"names":[],"mappings":";;;AAaA,MAAa,iBAAiB;IAC5B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAyB,EAAE,IAAI,CAAC,CAAA;IAChD,CAAC;CAIF;AAPD,8CAOC"}
@@ -1 +1 @@
1
- export declare function b64_2ab(v: any): any;
1
+ export declare function b64_2ab(s: string): ArrayBuffer;
@@ -1,22 +1,29 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.b64_2ab = void 0;
4
- function b64_2ab(v) {
5
- if (v instanceof ArrayBuffer) {
6
- return v;
4
+ function b64_2ab(s) {
5
+ return ua2ab(string2ua(a2b(s)));
6
+ }
7
+ exports.b64_2ab = b64_2ab;
8
+ function a2b(s) {
9
+ if (Buffer) {
10
+ const buf = new Buffer(s, 'base64');
11
+ return buf.toString('latin1');
7
12
  }
8
- if (v instanceof Uint8Array) {
9
- return v.buffer;
13
+ if (typeof atob !== 'undefined') {
14
+ return atob(s);
10
15
  }
11
- if (typeof v === 'string') {
12
- const bs = (Buffer && Buffer.from(v, 'base64').toString('ascii')) || atob(v);
13
- const data = new Uint8Array(bs.length);
14
- for (let i = 0; i < bs.length; i++) {
15
- data[i] = bs.charCodeAt(i);
16
- }
17
- return data.buffer;
16
+ throw new Error('Unsupported operation a2b');
17
+ }
18
+ function string2ua(s) {
19
+ const ua = new Uint8Array(s.length);
20
+ for (let i = 0; i < s.length; i++) {
21
+ ua[i] = s.charCodeAt(i) & 0xff;
18
22
  }
19
- return v;
23
+ return ua;
24
+ }
25
+ function ua2ab(ua) {
26
+ const buffer = ua.buffer;
27
+ return (buffer.byteLength > ua.byteLength ? buffer.slice(0, ua.byteLength) : buffer);
20
28
  }
21
- exports.b64_2ab = b64_2ab;
22
29
  //# sourceMappingURL=ModelHelper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ModelHelper.js","sourceRoot":"","sources":["../../../icc-api/model/ModelHelper.ts"],"names":[],"mappings":";;;AAAA,SAAgB,OAAO,CAAC,CAAM;IAC5B,IAAI,CAAC,YAAY,WAAW,EAAE;QAC5B,OAAO,CAAC,CAAA;KACT;IACD,IAAI,CAAC,YAAY,UAAU,EAAE;QAC3B,OAAO,CAAC,CAAC,MAAM,CAAA;KAChB;IACD,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE;QACzB,MAAM,EAAE,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,IAAI,CAAC,CAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,IAAI,IAAI,CAAC,CAAW,CAAC,CAAA;QAChG,MAAM,IAAI,GAAG,IAAI,UAAU,CAAC,EAAE,CAAC,MAAM,CAAC,CAAA;QACtC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAClC,IAAI,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,CAAA;SAC3B;QACD,OAAO,IAAI,CAAC,MAAM,CAAA;KACnB;IACD,OAAO,CAAC,CAAA;AACV,CAAC;AAhBD,0BAgBC"}
1
+ {"version":3,"file":"ModelHelper.js","sourceRoot":"","sources":["../../../icc-api/model/ModelHelper.ts"],"names":[],"mappings":";;;AAAA,SAAgB,OAAO,CAAC,CAAS;IAC/B,OAAO,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;AACjC,CAAC;AAFD,0BAEC;AAED,SAAS,GAAG,CAAC,CAAS;IACpB,IAAI,MAAM,EAAE;QACV,MAAM,GAAG,GAAG,IAAI,MAAM,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAA;QACnC,OAAO,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;KAC9B;IACD,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE;QAC/B,OAAO,IAAI,CAAC,CAAC,CAAC,CAAA;KACf;IACD,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAA;AAC9C,CAAC;AAED,SAAS,SAAS,CAAC,CAAS;IAC1B,MAAM,EAAE,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;IACnC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACjC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,IAAI,CAAA;KAC/B;IACD,OAAO,EAAE,CAAA;AACX,CAAC;AAED,SAAS,KAAK,CAAC,EAAc;IAC3B,MAAM,MAAM,GAAG,EAAE,CAAC,MAAM,CAAA;IACxB,OAAO,CAAC,MAAM,CAAC,UAAU,GAAG,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,MAAM,CAAgB,CAAA;AACrG,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * iCure Data Stack API Documentation
3
+ * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.
4
+ *
5
+ * OpenAPI spec version: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Device } from './Device';
13
+ import { PaginatedDocumentKeyIdPairObject } from './PaginatedDocumentKeyIdPairObject';
14
+ export declare class PaginatedListDevice {
15
+ constructor(json: JSON | any);
16
+ pageSize?: number;
17
+ totalSize?: number;
18
+ rows?: Array<Device>;
19
+ nextKeyPair?: PaginatedDocumentKeyIdPairObject;
20
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PaginatedListDevice = void 0;
4
+ class PaginatedListDevice {
5
+ constructor(json) {
6
+ Object.assign(this, json);
7
+ }
8
+ }
9
+ exports.PaginatedListDevice = PaginatedListDevice;
10
+ //# sourceMappingURL=PaginatedListDevice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaginatedListDevice.js","sourceRoot":"","sources":["../../../icc-api/model/PaginatedListDevice.ts"],"names":[],"mappings":";;;AAcA,MAAa,mBAAmB;IAC9B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAA2B,EAAE,IAAI,CAAC,CAAA;IAClD,CAAC;CAMF;AATD,kDASC"}
@@ -74,9 +74,9 @@ export declare class Patient {
74
74
  */
75
75
  lastName?: string;
76
76
  /**
77
- * the list of all denominations of the patient, also containing the official full name information. Ordered by preference of use. First element is therefore the official name used for the patient in the application
77
+ * the list of all names of the patient, also containing the official full name information. Ordered by preference of use. First element is therefore the official name used for the patient in the application
78
78
  */
79
- denominations?: Array<PersonName>;
79
+ names?: Array<PersonName>;
80
80
  /**
81
81
  * the name of the company this patient is member of.
82
82
  */
@@ -200,7 +200,7 @@ export declare class Patient {
200
200
  /**
201
201
  * A picture usually saved in JPEG format.
202
202
  */
203
- picture?: string;
203
+ picture?: ArrayBuffer;
204
204
  /**
205
205
  * An external (from another source) id with no guarantee or requirement for unicity .
206
206
  */
@@ -0,0 +1,21 @@
1
+ /**
2
+ * iCure Data Stack API Documentation
3
+ * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.
4
+ *
5
+ * OpenAPI spec version: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare class ReplicateCommand {
13
+ constructor(json: JSON | any);
14
+ sourceUrl?: string;
15
+ sourceUsername?: string;
16
+ sourcePassword?: string;
17
+ targetUrl?: string;
18
+ targetUsername?: string;
19
+ targetPassword?: string;
20
+ id?: string;
21
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /**
3
+ * iCure Data Stack API Documentation
4
+ * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.
5
+ *
6
+ * OpenAPI spec version: v1
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by the swagger code generator program.
10
+ * https://github.com/swagger-api/swagger-codegen.git
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.ReplicateCommand = void 0;
15
+ class ReplicateCommand {
16
+ constructor(json) {
17
+ Object.assign(this, json);
18
+ }
19
+ }
20
+ exports.ReplicateCommand = ReplicateCommand;
21
+ //# sourceMappingURL=ReplicateCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReplicateCommand.js","sourceRoot":"","sources":["../../../icc-api/model/ReplicateCommand.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,gBAAgB;IAC3B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAwB,EAAE,IAAI,CAAC,CAAA;IAC/C,CAAC;CASF;AAZD,4CAYC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * iCure Data Stack API Documentation
3
+ * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.
4
+ *
5
+ * OpenAPI spec version: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare class ReplicatorResponse {
13
+ constructor(json: JSON | any);
14
+ ok?: boolean;
15
+ id?: string;
16
+ rev?: string;
17
+ error?: string;
18
+ reason?: string;
19
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /**
3
+ * iCure Data Stack API Documentation
4
+ * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.
5
+ *
6
+ * OpenAPI spec version: v1
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by the swagger code generator program.
10
+ * https://github.com/swagger-api/swagger-codegen.git
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.ReplicatorResponse = void 0;
15
+ class ReplicatorResponse {
16
+ constructor(json) {
17
+ Object.assign(this, json);
18
+ }
19
+ }
20
+ exports.ReplicatorResponse = ReplicatorResponse;
21
+ //# sourceMappingURL=ReplicatorResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReplicatorResponse.js","sourceRoot":"","sources":["../../../icc-api/model/ReplicatorResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,kBAAkB;IAC7B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAA0B,EAAE,IAAI,CAAC,CAAA;IACjD,CAAC;CAOF;AAVD,gDAUC"}
@@ -9,6 +9,7 @@
9
9
  * https://github.com/swagger-api/swagger-codegen.git
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { Annotation } from './Annotation';
12
13
  import { CodeStub } from './CodeStub';
13
14
  import { Content } from './Content';
14
15
  import { Delegation } from './Delegation';
@@ -22,6 +23,10 @@ export declare class Service {
22
23
  * The Id of the Service. We encourage using either a v4 UUID or a HL7 Id.
23
24
  */
24
25
  id?: string;
26
+ /**
27
+ * The transactionId is used when a single service had to be split into parts for technical reasons. Several services with the same non null transaction id form one single service
28
+ */
29
+ transactionId?: string;
25
30
  identifier?: Array<Identifier>;
26
31
  /**
27
32
  * Id of the contact during which the service is provided
@@ -65,11 +70,17 @@ export declare class Service {
65
70
  encryptionKeys?: {
66
71
  [key: string]: Array<Delegation>;
67
72
  };
73
+ /**
74
+ * Description / Unambiguous qualification (LOINC code) of the type of information contained in the service. Could be a code to qualify temperature, complaint, diagnostic, ...
75
+ */
68
76
  label?: string;
69
77
  dataClassName?: string;
78
+ /**
79
+ * Used for sorting services inside an upper object (A contact, a transaction, a FHIR bundle, ...)
80
+ */
70
81
  index?: number;
71
82
  /**
72
- * The type of the content recorded in the documents for the service
83
+ * Information contained in the service. Content is localized, using ISO language code as key
73
84
  */
74
85
  content?: {
75
86
  [key: string]: Content;
@@ -78,9 +89,21 @@ export declare class Service {
78
89
  textIndexes?: {
79
90
  [key: string]: string;
80
91
  };
92
+ /**
93
+ * The date (YYYYMMDDhhmmss) when the Service is noted to have started and also closes on the same date
94
+ */
81
95
  valueDate?: number;
96
+ /**
97
+ * The date (YYYYMMDDhhmmss) of the start of the Service
98
+ */
82
99
  openingDate?: number;
100
+ /**
101
+ * The date (YYYYMMDDhhmmss) marking the end of the Service
102
+ */
83
103
  closingDate?: number;
104
+ /**
105
+ * Id of the form used during the Service
106
+ */
84
107
  formId?: string;
85
108
  /**
86
109
  * The timestamp (unix epoch in ms) of creation of this entity, will be filled automatically if missing. Not enforced by the application server.
@@ -115,6 +138,10 @@ export declare class Service {
115
138
  * List of invoicing codes
116
139
  */
117
140
  invoicingCodes?: Array<string>;
141
+ /**
142
+ * Comments - Notes recorded by a HCP about this service
143
+ */
144
+ notes?: Array<Annotation>;
118
145
  /**
119
146
  * Links towards related services (possibly in other contacts)
120
147
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Service.js","sourceRoot":"","sources":["../../../icc-api/model/Service.ts"],"names":[],"mappings":";;;AAgBA;;GAEG;AACH,MAAa,OAAO;IAClB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,IAAI,CAAC,CAAA;IACtC,CAAC;CAyGF;AA5GD,0BA4GC"}
1
+ {"version":3,"file":"Service.js","sourceRoot":"","sources":["../../../icc-api/model/Service.ts"],"names":[],"mappings":";;;AAiBA;;GAEG;AACH,MAAa,OAAO;IAClB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,IAAI,CAAC,CAAA;IACtC,CAAC;CAmIF;AAtID,0BAsIC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * iCure Data Stack API Documentation
3
+ * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.
4
+ *
5
+ * OpenAPI spec version: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * A high frequency time-series containing the ts in ms from the start (double) and the values
14
+ */
15
+ export declare class TimeSeries {
16
+ constructor(json: JSON | any);
17
+ fields?: Array<string>;
18
+ samples?: Array<Array<number>>;
19
+ min?: Array<number>;
20
+ max?: Array<number>;
21
+ mean?: Array<number>;
22
+ median?: Array<number>;
23
+ variance?: Array<number>;
24
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ /**
3
+ * iCure Data Stack API Documentation
4
+ * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.
5
+ *
6
+ * OpenAPI spec version: v1
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by the swagger code generator program.
10
+ * https://github.com/swagger-api/swagger-codegen.git
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.TimeSeries = void 0;
15
+ /**
16
+ * A high frequency time-series containing the ts in ms from the start (double) and the values
17
+ */
18
+ class TimeSeries {
19
+ constructor(json) {
20
+ Object.assign(this, json);
21
+ }
22
+ }
23
+ exports.TimeSeries = TimeSeries;
24
+ //# sourceMappingURL=TimeSeries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimeSeries.js","sourceRoot":"","sources":["../../../icc-api/model/TimeSeries.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH;;GAEG;AACH,MAAa,UAAU;IACrB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAkB,EAAE,IAAI,CAAC,CAAA;IACzC,CAAC;CASF;AAZD,gCAYC"}
@@ -54,7 +54,6 @@ export declare class TimeTable {
54
54
  deletionDate?: number;
55
55
  name?: string;
56
56
  agendaId?: string;
57
- publicTimeTable?: boolean;
58
57
  startTime?: number;
59
58
  endTime?: number;
60
59
  items?: Array<TimeTableItem>;
@@ -1 +1 @@
1
- {"version":3,"file":"TimeTable.js","sourceRoot":"","sources":["../../../icc-api/model/TimeTable.ts"],"names":[],"mappings":";;;AAeA,MAAa,SAAS;IACpB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAiB,EAAE,IAAI,CAAC,CAAA;IACxC,CAAC;CAkEF;AArED,8BAqEC"}
1
+ {"version":3,"file":"TimeTable.js","sourceRoot":"","sources":["../../../icc-api/model/TimeTable.ts"],"names":[],"mappings":";;;AAeA,MAAa,SAAS;IACpB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAiB,EAAE,IAAI,CAAC,CAAA;IACxC,CAAC;CAiEF;AApED,8BAoEC"}
@@ -18,5 +18,6 @@ export declare class TimeTableItem {
18
18
  calendarItemTypeId?: string;
19
19
  homeVisit?: boolean;
20
20
  placeId?: string;
21
+ publicTimeTableItem?: boolean;
21
22
  unavailable?: boolean;
22
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TimeTableItem.js","sourceRoot":"","sources":["../../../icc-api/model/TimeTableItem.ts"],"names":[],"mappings":";;;AAaA,MAAa,aAAa;IACxB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAqB,EAAE,IAAI,CAAC,CAAA;IAC5C,CAAC;CASF;AAZD,sCAYC"}
1
+ {"version":3,"file":"TimeTableItem.js","sourceRoot":"","sources":["../../../icc-api/model/TimeTableItem.ts"],"names":[],"mappings":";;;AAaA,MAAa,aAAa;IACxB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAqB,EAAE,IAAI,CAAC,CAAA;IAC5C,CAAC;CAUF;AAbD,sCAaC"}