@icure/api 4.0.76 → 4.0.81

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 (152) hide show
  1. package/icc-api/api/IccAnonymousAccessApi.d.ts +14 -12
  2. package/icc-api/api/IccAnonymousAccessApi.js +20 -17
  3. package/icc-api/api/IccAnonymousAccessApi.js.map +1 -1
  4. package/icc-api/api/IccCalendarItemApi.d.ts +12 -0
  5. package/icc-api/api/IccCalendarItemApi.js +32 -0
  6. package/icc-api/api/IccCalendarItemApi.js.map +1 -1
  7. package/icc-api/api/IccCodeApi.d.ts +14 -0
  8. package/icc-api/api/IccCodeApi.js +29 -0
  9. package/icc-api/api/IccCodeApi.js.map +1 -1
  10. package/icc-api/api/IccContactApi.d.ts +6 -8
  11. package/icc-api/api/IccContactApi.js +13 -19
  12. package/icc-api/api/IccContactApi.js.map +1 -1
  13. package/icc-api/api/IccDeviceApi.d.ts +104 -0
  14. package/icc-api/api/IccDeviceApi.js +224 -0
  15. package/icc-api/api/IccDeviceApi.js.map +1 -0
  16. package/icc-api/api/IccDocumentApi.d.ts +27 -27
  17. package/icc-api/api/IccDocumentApi.js +40 -40
  18. package/icc-api/api/IccDocumentApi.js.map +1 -1
  19. package/icc-api/api/IccHcpartyApi.d.ts +16 -0
  20. package/icc-api/api/IccHcpartyApi.js +37 -0
  21. package/icc-api/api/IccHcpartyApi.js.map +1 -1
  22. package/icc-api/api/IccHelementApi.d.ts +14 -0
  23. package/icc-api/api/IccHelementApi.js +30 -0
  24. package/icc-api/api/IccHelementApi.js.map +1 -1
  25. package/icc-api/api/IccPatientApi.d.ts +3 -2
  26. package/icc-api/api/IccPatientApi.js +4 -2
  27. package/icc-api/api/IccPatientApi.js.map +1 -1
  28. package/icc-api/api/IccReplicationApi.d.ts +46 -0
  29. package/icc-api/api/IccReplicationApi.js +87 -0
  30. package/icc-api/api/IccReplicationApi.js.map +1 -0
  31. package/icc-api/api/IccTmpApi.d.ts +22 -0
  32. package/icc-api/api/IccTmpApi.js +54 -0
  33. package/icc-api/api/IccTmpApi.js.map +1 -1
  34. package/icc-api/api/IccUserApi.d.ts +1 -1
  35. package/icc-api/api/IccUserApi.js +1 -1
  36. package/icc-api/iccApi.d.ts +2 -0
  37. package/icc-api/iccApi.js +2 -0
  38. package/icc-api/iccApi.js.map +1 -1
  39. package/icc-api/index.d.ts +4 -0
  40. package/icc-api/index.js +4 -0
  41. package/icc-api/index.js.map +1 -1
  42. package/icc-api/model/AbstractFilterDevice.d.ts +15 -0
  43. package/icc-api/model/AbstractFilterDevice.js +21 -0
  44. package/icc-api/model/AbstractFilterDevice.js.map +1 -0
  45. package/icc-api/model/AbstractFilterHealthcareParty.d.ts +15 -0
  46. package/icc-api/model/AbstractFilterHealthcareParty.js +21 -0
  47. package/icc-api/model/AbstractFilterHealthcareParty.js.map +1 -0
  48. package/icc-api/model/Annotation.d.ts +38 -0
  49. package/icc-api/model/Annotation.js +24 -0
  50. package/icc-api/model/Annotation.js.map +1 -0
  51. package/icc-api/model/Authentication.d.ts +16 -0
  52. package/icc-api/model/Authentication.js +10 -0
  53. package/icc-api/model/Authentication.js.map +1 -0
  54. package/icc-api/model/Basic.d.ts +16 -0
  55. package/icc-api/model/Basic.js +21 -0
  56. package/icc-api/model/Basic.js.map +1 -0
  57. package/icc-api/model/Content.d.ts +2 -5
  58. package/icc-api/model/Content.js.map +1 -1
  59. package/icc-api/model/Device.d.ts +81 -0
  60. package/icc-api/model/Device.js +14 -0
  61. package/icc-api/model/Device.js.map +1 -0
  62. package/icc-api/model/DocumentTemplate.d.ts +46 -0
  63. package/icc-api/model/DocumentTemplate.js +41 -0
  64. package/icc-api/model/DocumentTemplate.js.map +1 -1
  65. package/icc-api/model/FilterChainDevice.d.ts +18 -0
  66. package/icc-api/model/FilterChainDevice.js +10 -0
  67. package/icc-api/model/FilterChainDevice.js.map +1 -0
  68. package/icc-api/model/FilterChainHealthcareParty.d.ts +18 -0
  69. package/icc-api/model/FilterChainHealthcareParty.js +10 -0
  70. package/icc-api/model/FilterChainHealthcareParty.js.map +1 -0
  71. package/icc-api/model/FlowItem.d.ts +2 -0
  72. package/icc-api/model/FlowItem.js.map +1 -1
  73. package/icc-api/model/HealthElement.d.ts +3 -1
  74. package/icc-api/model/HealthElement.js.map +1 -1
  75. package/icc-api/model/HealthcareParty.d.ts +7 -0
  76. package/icc-api/model/HealthcareParty.js.map +1 -1
  77. package/icc-api/model/IndexedIdentifier.d.ts +17 -0
  78. package/icc-api/model/IndexedIdentifier.js +10 -0
  79. package/icc-api/model/IndexedIdentifier.js.map +1 -0
  80. package/icc-api/model/Invoice.d.ts +2 -1
  81. package/icc-api/model/Invoice.js +1 -0
  82. package/icc-api/model/Invoice.js.map +1 -1
  83. package/icc-api/model/ModelHelper.d.ts +1 -1
  84. package/icc-api/model/ModelHelper.js +21 -14
  85. package/icc-api/model/ModelHelper.js.map +1 -1
  86. package/icc-api/model/Partnership.d.ts +8 -1
  87. package/icc-api/model/Partnership.js +7 -0
  88. package/icc-api/model/Partnership.js.map +1 -1
  89. package/icc-api/model/Patient.d.ts +9 -2
  90. package/icc-api/model/Patient.js +2 -0
  91. package/icc-api/model/Patient.js.map +1 -1
  92. package/icc-api/model/PatientHealthCareParty.d.ts +2 -2
  93. package/icc-api/model/PatientHealthCareParty.js +1 -1
  94. package/icc-api/model/PersonName.d.ts +62 -0
  95. package/icc-api/model/PersonName.js +36 -0
  96. package/icc-api/model/PersonName.js.map +1 -0
  97. package/icc-api/model/Remote.d.ts +17 -0
  98. package/icc-api/model/Remote.js +10 -0
  99. package/icc-api/model/Remote.js.map +1 -0
  100. package/icc-api/model/RemoteAuthentication.d.ts +16 -0
  101. package/icc-api/model/RemoteAuthentication.js +10 -0
  102. package/icc-api/model/RemoteAuthentication.js.map +1 -0
  103. package/icc-api/model/ReplicateCommand.d.ts +21 -0
  104. package/icc-api/model/ReplicateCommand.js +21 -0
  105. package/icc-api/model/ReplicateCommand.js.map +1 -0
  106. package/icc-api/model/ReplicationStats.d.ts +2 -0
  107. package/icc-api/model/ReplicationStats.js.map +1 -1
  108. package/icc-api/model/ReplicatorDocument.d.ts +8 -3
  109. package/icc-api/model/ReplicatorDocument.js.map +1 -1
  110. package/icc-api/model/ReplicatorResponse.d.ts +19 -0
  111. package/icc-api/model/ReplicatorResponse.js +21 -0
  112. package/icc-api/model/ReplicatorResponse.js.map +1 -0
  113. package/icc-api/model/Service.d.ts +28 -1
  114. package/icc-api/model/Service.js.map +1 -1
  115. package/icc-api/model/Telecom.d.ts +2 -1
  116. package/icc-api/model/Telecom.js +1 -0
  117. package/icc-api/model/Telecom.js.map +1 -1
  118. package/icc-api/model/TimeSeries.d.ts +24 -0
  119. package/icc-api/model/TimeSeries.js +24 -0
  120. package/icc-api/model/TimeSeries.js.map +1 -0
  121. package/icc-api/model/User.d.ts +5 -1
  122. package/icc-api/model/User.js.map +1 -1
  123. package/icc-api/model/UserAndHealthcareParty.d.ts +21 -0
  124. package/icc-api/model/UserAndHealthcareParty.js +13 -0
  125. package/icc-api/model/UserAndHealthcareParty.js.map +1 -0
  126. package/icc-api/model/models.d.ts +13 -0
  127. package/icc-api/model/models.js +13 -0
  128. package/icc-api/model/models.js.map +1 -1
  129. package/icc-x-api/icc-accesslog-x-api.d.ts +1 -3
  130. package/icc-x-api/icc-calendar-item-x-api.d.ts +1 -3
  131. package/icc-x-api/icc-contact-x-api.d.ts +2 -1
  132. package/icc-x-api/icc-contact-x-api.js +7 -0
  133. package/icc-x-api/icc-contact-x-api.js.map +1 -1
  134. package/icc-x-api/icc-crypto-x-api.d.ts +23 -4
  135. package/icc-x-api/icc-crypto-x-api.js +133 -32
  136. package/icc-x-api/icc-crypto-x-api.js.map +1 -1
  137. package/icc-x-api/icc-hcparty-x-api.d.ts +4 -0
  138. package/icc-x-api/icc-hcparty-x-api.js +23 -1
  139. package/icc-x-api/icc-hcparty-x-api.js.map +1 -1
  140. package/icc-x-api/icc-patient-x-api.d.ts +2 -3
  141. package/icc-x-api/icc-patient-x-api.js +28 -2
  142. package/icc-x-api/icc-patient-x-api.js.map +1 -1
  143. package/icc-x-api/utils/formatting-util.d.ts +3 -0
  144. package/icc-x-api/utils/formatting-util.js +9 -9
  145. package/icc-x-api/utils/formatting-util.js.map +1 -1
  146. package/icc-x-api/utils/index.d.ts +1 -0
  147. package/icc-x-api/utils/index.js +1 -0
  148. package/icc-x-api/utils/index.js.map +1 -1
  149. package/icc-x-api/utils/person-util.d.ts +4 -0
  150. package/icc-x-api/utils/person-util.js +27 -0
  151. package/icc-x-api/utils/person-util.js.map +1 -0
  152. package/package.json +1 -1
@@ -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"}
@@ -30,7 +30,7 @@ export declare class Partnership {
30
30
  otherToMeRelationshipDescription?: string;
31
31
  }
32
32
  export declare namespace Partnership {
33
- type TypeEnum = 'primary_contact' | 'primary_contact_for' | 'family' | 'friend' | 'counselor' | 'contact' | 'brother' | 'brotherinlaw' | 'child' | 'daughter' | 'employer' | 'father' | 'grandchild' | 'grandparent' | 'husband' | 'lawyer' | 'mother' | 'neighbour' | 'notary' | 'partner' | 'sister' | 'sisterinlaw' | 'son' | 'spouse' | 'stepdaughter' | 'stepfather' | 'stepmother' | 'stepson' | 'tutor';
33
+ type TypeEnum = 'primary_contact' | 'primary_contact_for' | 'family' | 'friend' | 'counselor' | 'contact' | 'brother' | 'brotherinlaw' | 'child' | 'daughter' | 'employer' | 'father' | 'grandchild' | 'grandparent' | 'husband' | 'lawyer' | 'mother' | 'neighbour' | 'notary' | 'partner' | 'sister' | 'sisterinlaw' | 'son' | 'spouse' | 'stepdaughter' | 'stepfather' | 'stepmother' | 'stepson' | 'tutor' | 'next_of_kin' | 'federal_agency' | 'insurance_company' | 'state_agency' | 'unknown' | 'seealso' | 'refer';
34
34
  const TypeEnum: {
35
35
  PrimaryContact: TypeEnum;
36
36
  PrimaryContactFor: TypeEnum;
@@ -61,6 +61,13 @@ export declare namespace Partnership {
61
61
  Stepmother: TypeEnum;
62
62
  Stepson: TypeEnum;
63
63
  Tutor: TypeEnum;
64
+ NextOfKin: TypeEnum;
65
+ FederalAgency: TypeEnum;
66
+ InsuranceCompany: TypeEnum;
67
+ StateAgency: TypeEnum;
68
+ Unknown: TypeEnum;
69
+ Seealso: TypeEnum;
70
+ Refer: TypeEnum;
64
71
  };
65
72
  type StatusEnum = 'active' | 'complicated' | 'past';
66
73
  const StatusEnum: {
@@ -52,6 +52,13 @@ exports.Partnership = Partnership;
52
52
  Stepmother: 'stepmother',
53
53
  Stepson: 'stepson',
54
54
  Tutor: 'tutor',
55
+ NextOfKin: 'next_of_kin',
56
+ FederalAgency: 'federal_agency',
57
+ InsuranceCompany: 'insurance_company',
58
+ StateAgency: 'state_agency',
59
+ Unknown: 'unknown',
60
+ Seealso: 'seealso',
61
+ Refer: 'refer',
55
62
  };
56
63
  Partnership.StatusEnum = {
57
64
  Active: 'active',
@@ -1 +1 @@
1
- {"version":3,"file":"Partnership.js","sourceRoot":"","sources":["../../../icc-api/model/Partnership.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH;;GAEG;AACH,MAAa,WAAW;IACtB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAmB,EAAE,IAAI,CAAC,CAAA;IAC1C,CAAC;CAgBF;AAnBD,kCAmBC;AACD,WAAiB,WAAW;IA+Bb,oBAAQ,GAAG;QACtB,cAAc,EAAE,iBAA6B;QAC7C,iBAAiB,EAAE,qBAAiC;QACpD,MAAM,EAAE,QAAoB;QAC5B,MAAM,EAAE,QAAoB;QAC5B,SAAS,EAAE,WAAuB;QAClC,OAAO,EAAE,SAAqB;QAC9B,OAAO,EAAE,SAAqB;QAC9B,YAAY,EAAE,cAA0B;QACxC,KAAK,EAAE,OAAmB;QAC1B,QAAQ,EAAE,UAAsB;QAChC,QAAQ,EAAE,UAAsB;QAChC,MAAM,EAAE,QAAoB;QAC5B,UAAU,EAAE,YAAwB;QACpC,WAAW,EAAE,aAAyB;QACtC,OAAO,EAAE,SAAqB;QAC9B,MAAM,EAAE,QAAoB;QAC5B,MAAM,EAAE,QAAoB;QAC5B,SAAS,EAAE,WAAuB;QAClC,MAAM,EAAE,QAAoB;QAC5B,OAAO,EAAE,SAAqB;QAC9B,MAAM,EAAE,QAAoB;QAC5B,WAAW,EAAE,aAAyB;QACtC,GAAG,EAAE,KAAiB;QACtB,MAAM,EAAE,QAAoB;QAC5B,YAAY,EAAE,cAA0B;QACxC,UAAU,EAAE,YAAwB;QACpC,UAAU,EAAE,YAAwB;QACpC,OAAO,EAAE,SAAqB;QAC9B,KAAK,EAAE,OAAmB;KAC3B,CAAA;IAEY,sBAAU,GAAG;QACxB,MAAM,EAAE,QAAsB;QAC9B,WAAW,EAAE,aAA2B;QACxC,IAAI,EAAE,MAAoB;KAC3B,CAAA;AACH,CAAC,EApEgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAoE3B"}
1
+ {"version":3,"file":"Partnership.js","sourceRoot":"","sources":["../../../icc-api/model/Partnership.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH;;GAEG;AACH,MAAa,WAAW;IACtB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAmB,EAAE,IAAI,CAAC,CAAA;IAC1C,CAAC;CAgBF;AAnBD,kCAmBC;AACD,WAAiB,WAAW;IAsCb,oBAAQ,GAAG;QACtB,cAAc,EAAE,iBAA6B;QAC7C,iBAAiB,EAAE,qBAAiC;QACpD,MAAM,EAAE,QAAoB;QAC5B,MAAM,EAAE,QAAoB;QAC5B,SAAS,EAAE,WAAuB;QAClC,OAAO,EAAE,SAAqB;QAC9B,OAAO,EAAE,SAAqB;QAC9B,YAAY,EAAE,cAA0B;QACxC,KAAK,EAAE,OAAmB;QAC1B,QAAQ,EAAE,UAAsB;QAChC,QAAQ,EAAE,UAAsB;QAChC,MAAM,EAAE,QAAoB;QAC5B,UAAU,EAAE,YAAwB;QACpC,WAAW,EAAE,aAAyB;QACtC,OAAO,EAAE,SAAqB;QAC9B,MAAM,EAAE,QAAoB;QAC5B,MAAM,EAAE,QAAoB;QAC5B,SAAS,EAAE,WAAuB;QAClC,MAAM,EAAE,QAAoB;QAC5B,OAAO,EAAE,SAAqB;QAC9B,MAAM,EAAE,QAAoB;QAC5B,WAAW,EAAE,aAAyB;QACtC,GAAG,EAAE,KAAiB;QACtB,MAAM,EAAE,QAAoB;QAC5B,YAAY,EAAE,cAA0B;QACxC,UAAU,EAAE,YAAwB;QACpC,UAAU,EAAE,YAAwB;QACpC,OAAO,EAAE,SAAqB;QAC9B,KAAK,EAAE,OAAmB;QAC1B,SAAS,EAAE,aAAyB;QACpC,aAAa,EAAE,gBAA4B;QAC3C,gBAAgB,EAAE,mBAA+B;QACjD,WAAW,EAAE,cAA0B;QACvC,OAAO,EAAE,SAAqB;QAC9B,OAAO,EAAE,SAAqB;QAC9B,KAAK,EAAE,OAAmB;KAC3B,CAAA;IAEY,sBAAU,GAAG;QACxB,MAAM,EAAE,QAAsB;QAC9B,WAAW,EAAE,aAA2B;QACxC,IAAI,EAAE,MAAoB;KAC3B,CAAA;AACH,CAAC,EAlFgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAkF3B"}
@@ -19,6 +19,7 @@ import { Insurability } from './Insurability';
19
19
  import { MedicalHouseContract } from './MedicalHouseContract';
20
20
  import { Partnership } from './Partnership';
21
21
  import { PatientHealthCareParty } from './PatientHealthCareParty';
22
+ import { PersonName } from './PersonName';
22
23
  import { PropertyStub } from './PropertyStub';
23
24
  import { SchoolingInfo } from './SchoolingInfo';
24
25
  export declare class Patient {
@@ -72,6 +73,10 @@ export declare class Patient {
72
73
  * the lastname (surname) of the patient. This is the official lastname that should be used for official administrative purposes.
73
74
  */
74
75
  lastName?: string;
76
+ /**
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
+ */
79
+ names?: Array<PersonName>;
75
80
  /**
76
81
  * the name of the company this patient is member of.
77
82
  */
@@ -195,7 +200,7 @@ export declare class Patient {
195
200
  /**
196
201
  * A picture usually saved in JPEG format.
197
202
  */
198
- picture?: string;
203
+ picture?: ArrayBuffer;
199
204
  /**
200
205
  * An external (from another source) id with no guarantee or requirement for unicity .
201
206
  */
@@ -323,7 +328,7 @@ export declare namespace Patient {
323
328
  Unknown: DeactivationReasonEnum;
324
329
  None: DeactivationReasonEnum;
325
330
  };
326
- type PersonalStatusEnum = 'single' | 'in_couple' | 'married' | 'separated' | 'divorced' | 'divorcing' | 'widowed' | 'widower' | 'complicated' | 'unknown' | 'contract' | 'other';
331
+ type PersonalStatusEnum = 'single' | 'in_couple' | 'married' | 'separated' | 'divorced' | 'divorcing' | 'widowed' | 'widower' | 'complicated' | 'unknown' | 'contract' | 'other' | 'annulled' | 'polygamous';
327
332
  const PersonalStatusEnum: {
328
333
  Single: PersonalStatusEnum;
329
334
  InCouple: PersonalStatusEnum;
@@ -337,5 +342,7 @@ export declare namespace Patient {
337
342
  Unknown: PersonalStatusEnum;
338
343
  Contract: PersonalStatusEnum;
339
344
  Other: PersonalStatusEnum;
345
+ Annulled: PersonalStatusEnum;
346
+ Polygamous: PersonalStatusEnum;
340
347
  };
341
348
  }
@@ -52,6 +52,8 @@ exports.Patient = Patient;
52
52
  Unknown: 'unknown',
53
53
  Contract: 'contract',
54
54
  Other: 'other',
55
+ Annulled: 'annulled',
56
+ Polygamous: 'polygamous',
55
57
  };
56
58
  })(Patient = exports.Patient || (exports.Patient = {}));
57
59
  //# sourceMappingURL=Patient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Patient.js","sourceRoot":"","sources":["../../../icc-api/model/Patient.ts"],"names":[],"mappings":";;;AAwBA;;GAEG;AACH,+CAAuC;AACvC,MAAa,OAAO;IAClB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAe,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;IAC9F,CAAC;CAkQF;AArQD,0BAqQC;AACD,WAAiB,OAAO;IAET,kBAAU,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,oBAAY,GAAG;QAC1B,IAAI,EAAE,MAAsB;QAC5B,MAAM,EAAE,QAAwB;QAChC,aAAa,EAAE,eAA+B;QAC9C,OAAO,EAAE,SAAyB;QAClC,aAAa,EAAE,eAA+B;QAC9C,eAAe,EAAE,iBAAiC;QAClD,OAAO,EAAE,SAAyB;KACnC,CAAA;IAEY,8BAAsB,GAAG;QACpC,QAAQ,EAAE,UAAoC;QAC9C,KAAK,EAAE,OAAiC;QACxC,WAAW,EAAE,cAAwC;QACrD,OAAO,EAAE,SAAmC;QAC5C,SAAS,EAAE,YAAsC;QACjD,OAAO,EAAE,SAAmC;QAC5C,IAAI,EAAE,MAAgC;KACvC,CAAA;IAcY,0BAAkB,GAAG;QAChC,MAAM,EAAE,QAA8B;QACtC,QAAQ,EAAE,WAAiC;QAC3C,OAAO,EAAE,SAA+B;QACxC,SAAS,EAAE,WAAiC;QAC5C,QAAQ,EAAE,UAAgC;QAC1C,SAAS,EAAE,WAAiC;QAC5C,OAAO,EAAE,SAA+B;QACxC,OAAO,EAAE,SAA+B;QACxC,WAAW,EAAE,aAAmC;QAChD,OAAO,EAAE,SAA+B;QACxC,QAAQ,EAAE,UAAgC;QAC1C,KAAK,EAAE,OAA6B;KACrC,CAAA;AACH,CAAC,EA1DgB,OAAO,GAAP,eAAO,KAAP,eAAO,QA0DvB"}
1
+ {"version":3,"file":"Patient.js","sourceRoot":"","sources":["../../../icc-api/model/Patient.ts"],"names":[],"mappings":";;;AAyBA;;GAEG;AACH,+CAAuC;AACvC,MAAa,OAAO;IAClB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAe,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;IAC9F,CAAC;CAsQF;AAzQD,0BAyQC;AACD,WAAiB,OAAO;IAET,kBAAU,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,oBAAY,GAAG;QAC1B,IAAI,EAAE,MAAsB;QAC5B,MAAM,EAAE,QAAwB;QAChC,aAAa,EAAE,eAA+B;QAC9C,OAAO,EAAE,SAAyB;QAClC,aAAa,EAAE,eAA+B;QAC9C,eAAe,EAAE,iBAAiC;QAClD,OAAO,EAAE,SAAyB;KACnC,CAAA;IAEY,8BAAsB,GAAG;QACpC,QAAQ,EAAE,UAAoC;QAC9C,KAAK,EAAE,OAAiC;QACxC,WAAW,EAAE,cAAwC;QACrD,OAAO,EAAE,SAAmC;QAC5C,SAAS,EAAE,YAAsC;QACjD,OAAO,EAAE,SAAmC;QAC5C,IAAI,EAAE,MAAgC;KACvC,CAAA;IAgBY,0BAAkB,GAAG;QAChC,MAAM,EAAE,QAA8B;QACtC,QAAQ,EAAE,WAAiC;QAC3C,OAAO,EAAE,SAA+B;QACxC,SAAS,EAAE,WAAiC;QAC5C,QAAQ,EAAE,UAAgC;QAC1C,SAAS,EAAE,WAAiC;QAC5C,OAAO,EAAE,SAA+B;QACxC,OAAO,EAAE,SAA+B;QACxC,WAAW,EAAE,aAAmC;QAChD,OAAO,EAAE,SAA+B;QACxC,QAAQ,EAAE,UAAgC;QAC1C,KAAK,EAAE,OAA6B;QACpC,QAAQ,EAAE,UAAgC;QAC1C,UAAU,EAAE,YAAkC;KAC/C,CAAA;AACH,CAAC,EA9DgB,OAAO,GAAP,eAAO,KAAP,eAAO,QA8DvB"}
@@ -40,7 +40,7 @@ export declare class PatientHealthCareParty {
40
40
  encryptedSelf?: string;
41
41
  }
42
42
  export declare namespace PatientHealthCareParty {
43
- type TypeEnum = 'doctor' | 'referral' | 'medicalhouse' | 'retirementhome' | 'hospital' | 'other' | 'referringphysician' | 'managingOrganization';
43
+ type TypeEnum = 'doctor' | 'referral' | 'medicalhouse' | 'retirementhome' | 'hospital' | 'other' | 'referringphysician' | 'managingorganization';
44
44
  const TypeEnum: {
45
45
  Doctor: TypeEnum;
46
46
  Referral: TypeEnum;
@@ -49,6 +49,6 @@ export declare namespace PatientHealthCareParty {
49
49
  Hospital: TypeEnum;
50
50
  Other: TypeEnum;
51
51
  Referringphysician: TypeEnum;
52
- ManagingOrganization: TypeEnum;
52
+ Managingorganization: TypeEnum;
53
53
  };
54
54
  }
@@ -19,7 +19,7 @@ exports.PatientHealthCareParty = PatientHealthCareParty;
19
19
  Hospital: 'hospital',
20
20
  Other: 'other',
21
21
  Referringphysician: 'referringphysician',
22
- ManagingOrganization: 'managingOrganization',
22
+ Managingorganization: 'managingorganization',
23
23
  };
24
24
  })(PatientHealthCareParty = exports.PatientHealthCareParty || (exports.PatientHealthCareParty = {}));
25
25
  //# sourceMappingURL=PatientHealthCareParty.js.map
@@ -0,0 +1,62 @@
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
+ * Non preferred name information of a person
14
+ */
15
+ export declare class PersonName {
16
+ constructor(json: JSON | any);
17
+ /**
18
+ * Family name (often called 'Surname')
19
+ */
20
+ lastName?: string;
21
+ /**
22
+ * Given names (not always 'first'). Includes middle names. This repeating element order: Given Names appear in the correct order for presenting the name
23
+ */
24
+ firstNames?: Array<string>;
25
+ /**
26
+ * Starting date of time period when name is/was valid for use. Date encoded as a fuzzy date on 8 positions (YYYYMMDD)
27
+ */
28
+ start?: number;
29
+ /**
30
+ * Ending date of time period when name is/was valid for use. Date encoded as a fuzzy date on 8 positions (YYYYMMDD)
31
+ */
32
+ end?: number;
33
+ /**
34
+ * Parts that come before the name. This repeating element order: Prefixes appear in the correct order for presenting the name
35
+ */
36
+ prefix?: Array<string>;
37
+ /**
38
+ * Parts that come after the name. This repeating element order: Suffixes appear in the correct order for presenting the name
39
+ */
40
+ suffix?: Array<string>;
41
+ /**
42
+ * Text representation of the full name
43
+ */
44
+ text?: string;
45
+ /**
46
+ * What is the use of this name
47
+ */
48
+ use?: PersonName.UseEnum;
49
+ }
50
+ export declare namespace PersonName {
51
+ type UseEnum = 'usual' | 'official' | 'temp' | 'nickname' | 'anonymous' | 'maiden' | 'old' | 'other';
52
+ const UseEnum: {
53
+ Usual: UseEnum;
54
+ Official: UseEnum;
55
+ Temp: UseEnum;
56
+ Nickname: UseEnum;
57
+ Anonymous: UseEnum;
58
+ Maiden: UseEnum;
59
+ Old: UseEnum;
60
+ Other: UseEnum;
61
+ };
62
+ }
@@ -0,0 +1,36 @@
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.PersonName = void 0;
15
+ /**
16
+ * Non preferred name information of a person
17
+ */
18
+ class PersonName {
19
+ constructor(json) {
20
+ Object.assign(this, json);
21
+ }
22
+ }
23
+ exports.PersonName = PersonName;
24
+ (function (PersonName) {
25
+ PersonName.UseEnum = {
26
+ Usual: 'usual',
27
+ Official: 'official',
28
+ Temp: 'temp',
29
+ Nickname: 'nickname',
30
+ Anonymous: 'anonymous',
31
+ Maiden: 'maiden',
32
+ Old: 'old',
33
+ Other: 'other',
34
+ };
35
+ })(PersonName = exports.PersonName || (exports.PersonName = {}));
36
+ //# sourceMappingURL=PersonName.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PersonName.js","sourceRoot":"","sources":["../../../icc-api/model/PersonName.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;CAkCF;AArCD,gCAqCC;AACD,WAAiB,UAAU;IAEZ,kBAAO,GAAG;QACrB,KAAK,EAAE,OAAkB;QACzB,QAAQ,EAAE,UAAqB;QAC/B,IAAI,EAAE,MAAiB;QACvB,QAAQ,EAAE,UAAqB;QAC/B,SAAS,EAAE,WAAsB;QACjC,MAAM,EAAE,QAAmB;QAC3B,GAAG,EAAE,KAAgB;QACrB,KAAK,EAAE,OAAkB;KAC1B,CAAA;AACH,CAAC,EAZgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAY1B"}
@@ -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 { Authentication } from './Authentication';
13
+ export declare class Remote {
14
+ constructor(json: JSON | any);
15
+ url?: string;
16
+ auth?: Authentication;
17
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Remote = void 0;
4
+ class Remote {
5
+ constructor(json) {
6
+ Object.assign(this, json);
7
+ }
8
+ }
9
+ exports.Remote = Remote;
10
+ //# sourceMappingURL=Remote.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Remote.js","sourceRoot":"","sources":["../../../icc-api/model/Remote.ts"],"names":[],"mappings":";;;AAaA,MAAa,MAAM;IACjB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAc,EAAE,IAAI,CAAC,CAAA;IACrC,CAAC;CAIF;AAPD,wBAOC"}
@@ -0,0 +1,16 @@
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 { Basic } from './Basic';
13
+ export declare class RemoteAuthentication {
14
+ constructor(json: JSON | any);
15
+ basic?: Basic;
16
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RemoteAuthentication = void 0;
4
+ class RemoteAuthentication {
5
+ constructor(json) {
6
+ Object.assign(this, json);
7
+ }
8
+ }
9
+ exports.RemoteAuthentication = RemoteAuthentication;
10
+ //# sourceMappingURL=RemoteAuthentication.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RemoteAuthentication.js","sourceRoot":"","sources":["../../../icc-api/model/RemoteAuthentication.ts"],"names":[],"mappings":";;;AAaA,MAAa,oBAAoB;IAC/B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAA4B,EAAE,IAAI,CAAC,CAAA;IACnD,CAAC;CAGF;AAND,oDAMC"}
@@ -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"}
@@ -18,4 +18,6 @@ export declare class ReplicationStats {
18
18
  changesPending?: number;
19
19
  docWriteFailures?: number;
20
20
  checkpointedSourceSeq?: string;
21
+ startTime?: number;
22
+ error?: string;
21
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ReplicationStats.js","sourceRoot":"","sources":["../../../icc-api/model/ReplicationStats.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"}
1
+ {"version":3,"file":"ReplicationStats.js","sourceRoot":"","sources":["../../../icc-api/model/ReplicationStats.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,gBAAgB;IAC3B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAwB,EAAE,IAAI,CAAC,CAAA;IAC/C,CAAC;CAWF;AAdD,4CAcC"}
@@ -9,20 +9,25 @@
9
9
  * https://github.com/swagger-api/swagger-codegen.git
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { Remote } from './Remote';
12
13
  import { ReplicationStats } from './ReplicationStats';
13
14
  export declare class ReplicatorDocument {
14
15
  constructor(json: JSON | any);
15
16
  id?: string;
16
17
  rev?: string;
17
- source?: string;
18
- target?: string;
18
+ source?: Remote;
19
+ target?: Remote;
19
20
  owner?: string;
20
21
  createTarget?: boolean;
21
22
  continuous?: boolean;
22
23
  docIds?: Array<string>;
23
24
  replicationState?: string;
24
- replicationStateTime?: string;
25
+ replicationStateTime?: number;
25
26
  replicationStats?: ReplicationStats;
27
+ errorCount?: number;
28
+ revsInfo?: Array<{
29
+ [key: string]: string;
30
+ }>;
26
31
  revHistory?: {
27
32
  [key: string]: string;
28
33
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ReplicatorDocument.js","sourceRoot":"","sources":["../../../icc-api/model/ReplicatorDocument.ts"],"names":[],"mappings":";;;AAaA,MAAa,kBAAkB;IAC7B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAA0B,EAAE,IAAI,CAAC,CAAA;IACjD,CAAC;CAcF;AAjBD,gDAiBC"}
1
+ {"version":3,"file":"ReplicatorDocument.js","sourceRoot":"","sources":["../../../icc-api/model/ReplicatorDocument.ts"],"names":[],"mappings":";;;AAcA,MAAa,kBAAkB;IAC7B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAA0B,EAAE,IAAI,CAAC,CAAA;IACjD,CAAC;CAgBF;AAnBD,gDAmBC"}
@@ -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"}
@@ -26,7 +26,7 @@ export declare class Telecom {
26
26
  encryptedSelf?: string;
27
27
  }
28
28
  export declare namespace Telecom {
29
- type TelecomTypeEnum = 'mobile' | 'phone' | 'email' | 'fax' | 'skype' | 'im' | 'medibridge' | 'ehealthbox' | 'apicrypt' | 'web' | 'print' | 'disk' | 'other';
29
+ type TelecomTypeEnum = 'mobile' | 'phone' | 'email' | 'fax' | 'skype' | 'im' | 'medibridge' | 'ehealthbox' | 'apicrypt' | 'web' | 'print' | 'disk' | 'other' | 'pager';
30
30
  const TelecomTypeEnum: {
31
31
  Mobile: TelecomTypeEnum;
32
32
  Phone: TelecomTypeEnum;
@@ -41,5 +41,6 @@ export declare namespace Telecom {
41
41
  Print: TelecomTypeEnum;
42
42
  Disk: TelecomTypeEnum;
43
43
  Other: TelecomTypeEnum;
44
+ Pager: TelecomTypeEnum;
44
45
  };
45
46
  }
@@ -36,6 +36,7 @@ exports.Telecom = Telecom;
36
36
  Print: 'print',
37
37
  Disk: 'disk',
38
38
  Other: 'other',
39
+ Pager: 'pager',
39
40
  };
40
41
  })(Telecom = exports.Telecom || (exports.Telecom = {}));
41
42
  //# sourceMappingURL=Telecom.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Telecom.js","sourceRoot":"","sources":["../../../icc-api/model/Telecom.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH;;GAEG;AACH,MAAa,OAAO;IAClB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,IAAI,CAAC,CAAA;IACtC,CAAC;CAYF;AAfD,0BAeC;AACD,WAAiB,OAAO;IAeT,uBAAe,GAAG;QAC7B,MAAM,EAAE,QAA2B;QACnC,KAAK,EAAE,OAA0B;QACjC,KAAK,EAAE,OAA0B;QACjC,GAAG,EAAE,KAAwB;QAC7B,KAAK,EAAE,OAA0B;QACjC,EAAE,EAAE,IAAuB;QAC3B,UAAU,EAAE,YAA+B;QAC3C,UAAU,EAAE,YAA+B;QAC3C,QAAQ,EAAE,UAA6B;QACvC,GAAG,EAAE,KAAwB;QAC7B,KAAK,EAAE,OAA0B;QACjC,IAAI,EAAE,MAAyB;QAC/B,KAAK,EAAE,OAA0B;KAClC,CAAA;AACH,CAAC,EA9BgB,OAAO,GAAP,eAAO,KAAP,eAAO,QA8BvB"}
1
+ {"version":3,"file":"Telecom.js","sourceRoot":"","sources":["../../../icc-api/model/Telecom.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH;;GAEG;AACH,MAAa,OAAO;IAClB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,IAAI,CAAC,CAAA;IACtC,CAAC;CAYF;AAfD,0BAeC;AACD,WAAiB,OAAO;IAgBT,uBAAe,GAAG;QAC7B,MAAM,EAAE,QAA2B;QACnC,KAAK,EAAE,OAA0B;QACjC,KAAK,EAAE,OAA0B;QACjC,GAAG,EAAE,KAAwB;QAC7B,KAAK,EAAE,OAA0B;QACjC,EAAE,EAAE,IAAuB;QAC3B,UAAU,EAAE,YAA+B;QAC3C,UAAU,EAAE,YAA+B;QAC3C,QAAQ,EAAE,UAA6B;QACvC,GAAG,EAAE,KAAwB;QAC7B,KAAK,EAAE,OAA0B;QACjC,IAAI,EAAE,MAAyB;QAC/B,KAAK,EAAE,OAA0B;QACjC,KAAK,EAAE,OAA0B;KAClC,CAAA;AACH,CAAC,EAhCgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAgCvB"}
@@ -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
+ }