@icure/api 8.2.3 → 8.2.4

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 (337) hide show
  1. package/icc-api/api/IccAuthApi.js +1 -1
  2. package/icc-api/api/IccAuthApi.js.map +1 -1
  3. package/icc-api/api/IccDocumentApi.js.map +1 -1
  4. package/icc-api/api/IccFormApi.js.map +1 -1
  5. package/icc-api/api/IccReceiptApi.js.map +1 -1
  6. package/icc-api/api/IccRestApiPath.js +1 -2
  7. package/icc-api/api/IccRestApiPath.js.map +1 -1
  8. package/icc-api/api/XHR.js +17 -8
  9. package/icc-api/api/XHR.js.map +1 -1
  10. package/icc-api/model/Address.js +1 -1
  11. package/icc-api/model/Address.js.map +1 -1
  12. package/icc-api/model/Amp.js +1 -1
  13. package/icc-api/model/Amp.js.map +1 -1
  14. package/icc-api/model/AmpComponent.js +1 -1
  15. package/icc-api/model/AmpComponent.js.map +1 -1
  16. package/icc-api/model/Ampp.js +1 -1
  17. package/icc-api/model/Ampp.js.map +1 -1
  18. package/icc-api/model/AmppComponent.js +1 -1
  19. package/icc-api/model/AmppComponent.js.map +1 -1
  20. package/icc-api/model/CareTeamMember.js +1 -1
  21. package/icc-api/model/CareTeamMember.js.map +1 -1
  22. package/icc-api/model/CareTeamMembership.js +1 -1
  23. package/icc-api/model/CareTeamMembership.js.map +1 -1
  24. package/icc-api/model/Code.js +1 -1
  25. package/icc-api/model/Code.js.map +1 -1
  26. package/icc-api/model/Contact.js.map +1 -1
  27. package/icc-api/model/Content.js.map +1 -1
  28. package/icc-api/model/DataOwnerTypeEnum.js +1 -1
  29. package/icc-api/model/DataOwnerTypeEnum.js.map +1 -1
  30. package/icc-api/model/DataOwnerWithType.js +1 -1
  31. package/icc-api/model/DataOwnerWithType.js.map +1 -1
  32. package/icc-api/model/DatabaseSynchronization.js +1 -1
  33. package/icc-api/model/DatabaseSynchronization.js.map +1 -1
  34. package/icc-api/model/Dmpp.js +1 -1
  35. package/icc-api/model/Dmpp.js.map +1 -1
  36. package/icc-api/model/Document.js +1 -1
  37. package/icc-api/model/Document.js.map +1 -1
  38. package/icc-api/model/DocumentTemplate.d.ts +1 -1
  39. package/icc-api/model/DocumentTemplate.js +1 -1
  40. package/icc-api/model/DocumentTemplate.js.map +1 -1
  41. package/icc-api/model/Editor.js +1 -1
  42. package/icc-api/model/Editor.js.map +1 -1
  43. package/icc-api/model/EfactInvoice.js +1 -1
  44. package/icc-api/model/EfactInvoice.js.map +1 -1
  45. package/icc-api/model/EmailOrSmsMessage.js +1 -1
  46. package/icc-api/model/EmailOrSmsMessage.js.map +1 -1
  47. package/icc-api/model/FlatRateTarification.js +1 -1
  48. package/icc-api/model/FlatRateTarification.js.map +1 -1
  49. package/icc-api/model/Formula.js +1 -1
  50. package/icc-api/model/Formula.js.map +1 -1
  51. package/icc-api/model/FrontEndMigration.js +1 -1
  52. package/icc-api/model/FrontEndMigration.js.map +1 -1
  53. package/icc-api/model/HealthElement.js +1 -1
  54. package/icc-api/model/HealthElement.js.map +1 -1
  55. package/icc-api/model/HealthcareParty.js +1 -1
  56. package/icc-api/model/HealthcareParty.js.map +1 -1
  57. package/icc-api/model/HealthcarePartyHistoryStatus.js +1 -1
  58. package/icc-api/model/HealthcarePartyHistoryStatus.js.map +1 -1
  59. package/icc-api/model/Ingredient.js +1 -1
  60. package/icc-api/model/Ingredient.js.map +1 -1
  61. package/icc-api/model/Invoice.js +1 -1
  62. package/icc-api/model/Invoice.js.map +1 -1
  63. package/icc-api/model/InvoiceItem.js +1 -1
  64. package/icc-api/model/InvoiceItem.js.map +1 -1
  65. package/icc-api/model/InvoicingCode.js +1 -1
  66. package/icc-api/model/InvoicingCode.js.map +1 -1
  67. package/icc-api/model/MaintenanceTask.js +1 -1
  68. package/icc-api/model/MaintenanceTask.js.map +1 -1
  69. package/icc-api/model/Measure.js.map +1 -1
  70. package/icc-api/model/MedicalHouseContract.js +1 -1
  71. package/icc-api/model/MedicalHouseContract.js.map +1 -1
  72. package/icc-api/model/ModelHelper.js +9 -10
  73. package/icc-api/model/ModelHelper.js.map +1 -1
  74. package/icc-api/model/Partnership.js +1 -1
  75. package/icc-api/model/Partnership.js.map +1 -1
  76. package/icc-api/model/Patient.js +1 -1
  77. package/icc-api/model/Patient.js.map +1 -1
  78. package/icc-api/model/PatientByHcPartyGenderEducationProfession.js +1 -1
  79. package/icc-api/model/PatientByHcPartyGenderEducationProfession.js.map +1 -1
  80. package/icc-api/model/PatientHealthCareParty.js +1 -1
  81. package/icc-api/model/PatientHealthCareParty.js.map +1 -1
  82. package/icc-api/model/Payment.js +1 -1
  83. package/icc-api/model/Payment.js.map +1 -1
  84. package/icc-api/model/PermissionCriterion.js +1 -1
  85. package/icc-api/model/PermissionCriterion.js.map +1 -1
  86. package/icc-api/model/PermissionItem.js +1 -1
  87. package/icc-api/model/PermissionItem.js.map +1 -1
  88. package/icc-api/model/PersonName.js +1 -1
  89. package/icc-api/model/PersonName.js.map +1 -1
  90. package/icc-api/model/PropertyTypeStub.js +1 -1
  91. package/icc-api/model/PropertyTypeStub.js.map +1 -1
  92. package/icc-api/model/Reimbursement.js +1 -1
  93. package/icc-api/model/Reimbursement.js.map +1 -1
  94. package/icc-api/model/RoleSourceEnum.js +1 -1
  95. package/icc-api/model/RoleSourceEnum.js.map +1 -1
  96. package/icc-api/model/SecureDelegation.js +1 -1
  97. package/icc-api/model/SecureDelegation.js.map +1 -1
  98. package/icc-api/model/Service.js.map +1 -1
  99. package/icc-api/model/StandardSubstance.js +1 -1
  100. package/icc-api/model/StandardSubstance.js.map +1 -1
  101. package/icc-api/model/SumehrValidity.js +1 -1
  102. package/icc-api/model/SumehrValidity.js.map +1 -1
  103. package/icc-api/model/Tarification.js +1 -1
  104. package/icc-api/model/Tarification.js.map +1 -1
  105. package/icc-api/model/Telecom.js +1 -1
  106. package/icc-api/model/Telecom.js.map +1 -1
  107. package/icc-api/model/Topic.js +1 -1
  108. package/icc-api/model/Topic.js.map +1 -1
  109. package/icc-api/model/TypedValueObject.js +1 -1
  110. package/icc-api/model/TypedValueObject.js.map +1 -1
  111. package/icc-api/model/User.js +1 -1
  112. package/icc-api/model/User.js.map +1 -1
  113. package/icc-api/model/UserTypeEnum.js +1 -1
  114. package/icc-api/model/UserTypeEnum.js.map +1 -1
  115. package/icc-api/model/VirtualIngredient.js +1 -1
  116. package/icc-api/model/VirtualIngredient.js.map +1 -1
  117. package/icc-api/model/internal/RecoveryData.js +1 -1
  118. package/icc-api/model/internal/RecoveryData.js.map +1 -1
  119. package/icc-api/model/requests/EntityBulkShareResult.js.map +1 -1
  120. package/icc-api/model/requests/EntityShareOrMetadataUpdateRequest.js.map +1 -1
  121. package/icc-api/model/requests/EntityShareRequest.js +1 -1
  122. package/icc-api/model/requests/EntityShareRequest.js.map +1 -1
  123. package/icc-api/model/requests/EntitySharedMetadataUpdateRequest.js +1 -1
  124. package/icc-api/model/requests/EntitySharedMetadataUpdateRequest.js.map +1 -1
  125. package/icc-x-api/auth/AuthenticationProvider.js.map +1 -1
  126. package/icc-x-api/auth/BasicAuthService.js.map +1 -1
  127. package/icc-x-api/auth/EnsembleAuthService.js.map +1 -1
  128. package/icc-x-api/auth/JwtAuthService.js.map +1 -1
  129. package/icc-x-api/auth/JwtBridgedAuthService.d.ts +1 -1
  130. package/icc-x-api/auth/JwtBridgedAuthService.js +1 -1
  131. package/icc-x-api/auth/JwtBridgedAuthService.js.map +1 -1
  132. package/icc-x-api/auth/JwtUtils.js +3 -4
  133. package/icc-x-api/auth/JwtUtils.js.map +1 -1
  134. package/icc-x-api/auth/NoAuthService.js.map +1 -1
  135. package/icc-x-api/auth/SmartAuthProvider.d.ts +1 -1
  136. package/icc-x-api/auth/SmartAuthProvider.js +1 -1
  137. package/icc-x-api/auth/SmartAuthProvider.js.map +1 -1
  138. package/icc-x-api/crypto/AES.js.map +1 -1
  139. package/icc-x-api/crypto/AccessControlKeysHeadersProvider.js.map +1 -1
  140. package/icc-x-api/crypto/AccessControlSecretUtils.js.map +1 -1
  141. package/icc-x-api/crypto/BaseExchangeDataManager.js +10 -10
  142. package/icc-x-api/crypto/BaseExchangeDataManager.js.map +1 -1
  143. package/icc-x-api/crypto/BaseExchangeKeysManager.js +4 -4
  144. package/icc-x-api/crypto/BaseExchangeKeysManager.js.map +1 -1
  145. package/icc-x-api/crypto/CryptoStrategies.d.ts +5 -7
  146. package/icc-x-api/crypto/CryptoStrategies.js.map +1 -1
  147. package/icc-x-api/crypto/DelegationsDeAnonymization.js +1 -1
  148. package/icc-x-api/crypto/DelegationsDeAnonymization.js.map +1 -1
  149. package/icc-x-api/crypto/ExchangeDataManager.js +7 -8
  150. package/icc-x-api/crypto/ExchangeDataManager.js.map +1 -1
  151. package/icc-x-api/crypto/ExchangeDataMapManager.js.map +1 -1
  152. package/icc-x-api/crypto/ExchangeKeysManager.js +1 -1
  153. package/icc-x-api/crypto/ExchangeKeysManager.js.map +1 -1
  154. package/icc-x-api/crypto/ExtendedApisUtilsImpl.js +11 -10
  155. package/icc-x-api/crypto/ExtendedApisUtilsImpl.js.map +1 -1
  156. package/icc-x-api/crypto/HMACUtils.js.map +1 -1
  157. package/icc-x-api/crypto/KeyRecovery.js +5 -5
  158. package/icc-x-api/crypto/KeyRecovery.js.map +1 -1
  159. package/icc-x-api/crypto/NativeCryptoPrimitivesBridge.js +3 -3
  160. package/icc-x-api/crypto/NativeCryptoPrimitivesBridge.js.map +1 -1
  161. package/icc-x-api/crypto/RSA.js +4 -4
  162. package/icc-x-api/crypto/RSA.js.map +1 -1
  163. package/icc-x-api/crypto/RecoveryDataEncryption.js +1 -1
  164. package/icc-x-api/crypto/RecoveryDataEncryption.js.map +1 -1
  165. package/icc-x-api/crypto/SecretIdUseOption.js +1 -1
  166. package/icc-x-api/crypto/SecretIdUseOption.js.map +1 -1
  167. package/icc-x-api/crypto/SecureDelegationsEncryption.js +4 -4
  168. package/icc-x-api/crypto/SecureDelegationsEncryption.js.map +1 -1
  169. package/icc-x-api/crypto/SecureDelegationsManager.js +1 -1
  170. package/icc-x-api/crypto/SecureDelegationsManager.js.map +1 -1
  171. package/icc-x-api/crypto/SecurityMetadataDecryptor.d.ts +1 -1
  172. package/icc-x-api/crypto/SecurityMetadataDecryptor.js +9 -9
  173. package/icc-x-api/crypto/SecurityMetadataDecryptor.js.map +1 -1
  174. package/icc-x-api/crypto/ShamirKeysManager.js.map +1 -1
  175. package/icc-x-api/crypto/ShareMetadataBehaviour.js +1 -1
  176. package/icc-x-api/crypto/ShareMetadataBehaviour.js.map +1 -1
  177. package/icc-x-api/crypto/TransferKeysManager.js +1 -1
  178. package/icc-x-api/crypto/TransferKeysManager.js.map +1 -1
  179. package/icc-x-api/crypto/UserEncryptionKeysManager.js +2 -2
  180. package/icc-x-api/crypto/UserEncryptionKeysManager.js.map +1 -1
  181. package/icc-x-api/crypto/shamir.d.ts +2 -2
  182. package/icc-x-api/crypto/shamir.js +4 -4
  183. package/icc-x-api/crypto/shamir.js.map +1 -1
  184. package/icc-x-api/crypto/utils.js +14 -15
  185. package/icc-x-api/crypto/utils.js.map +1 -1
  186. package/icc-x-api/icc-accesslog-x-api.js +10 -10
  187. package/icc-x-api/icc-accesslog-x-api.js.map +1 -1
  188. package/icc-x-api/icc-bekmehr-x-api.js.map +1 -1
  189. package/icc-x-api/icc-calendar-item-x-api.js +7 -7
  190. package/icc-x-api/icc-calendar-item-x-api.js.map +1 -1
  191. package/icc-x-api/icc-classification-x-api.js +5 -5
  192. package/icc-x-api/icc-classification-x-api.js.map +1 -1
  193. package/icc-x-api/icc-code-x-api.js.map +1 -1
  194. package/icc-x-api/icc-contact-x-api.js +12 -12
  195. package/icc-x-api/icc-contact-x-api.js.map +1 -1
  196. package/icc-x-api/icc-data-owner-x-api.js.map +1 -1
  197. package/icc-x-api/icc-device-x-api.js +2 -2
  198. package/icc-x-api/icc-device-x-api.js.map +1 -1
  199. package/icc-x-api/icc-doctemplate-x-api.js.map +1 -1
  200. package/icc-x-api/icc-document-x-api.js +15 -15
  201. package/icc-x-api/icc-document-x-api.js.map +1 -1
  202. package/icc-x-api/icc-form-x-api.js +7 -7
  203. package/icc-x-api/icc-form-x-api.js.map +1 -1
  204. package/icc-x-api/icc-hcparty-x-api.js +4 -4
  205. package/icc-x-api/icc-hcparty-x-api.js.map +1 -1
  206. package/icc-x-api/icc-helement-x-api.js +10 -10
  207. package/icc-x-api/icc-helement-x-api.js.map +1 -1
  208. package/icc-x-api/icc-icure-maintenance-x-api.js.map +1 -1
  209. package/icc-x-api/icc-invoice-x-api.js +7 -7
  210. package/icc-x-api/icc-invoice-x-api.js.map +1 -1
  211. package/icc-x-api/icc-maintenance-task-x-api.js +7 -7
  212. package/icc-x-api/icc-maintenance-task-x-api.js.map +1 -1
  213. package/icc-x-api/icc-message-x-api.js +8 -8
  214. package/icc-x-api/icc-message-x-api.js.map +1 -1
  215. package/icc-x-api/icc-patient-x-api.js +11 -11
  216. package/icc-x-api/icc-patient-x-api.js.map +1 -1
  217. package/icc-x-api/icc-receipt-x-api.js +10 -10
  218. package/icc-x-api/icc-receipt-x-api.js.map +1 -1
  219. package/icc-x-api/icc-recovery-x-api.js +4 -4
  220. package/icc-x-api/icc-recovery-x-api.js.map +1 -1
  221. package/icc-x-api/icc-time-table-x-api.js +5 -5
  222. package/icc-x-api/icc-time-table-x-api.js.map +1 -1
  223. package/icc-x-api/icc-topic-x-api.js +9 -9
  224. package/icc-x-api/icc-topic-x-api.js.map +1 -1
  225. package/icc-x-api/icc-user-x-api.js +4 -4
  226. package/icc-x-api/icc-user-x-api.js.map +1 -1
  227. package/icc-x-api/index.js +22 -22
  228. package/icc-x-api/index.js.map +1 -1
  229. package/icc-x-api/maintenance/KeyPairUpdateRequest.js +2 -2
  230. package/icc-x-api/maintenance/KeyPairUpdateRequest.js.map +1 -1
  231. package/icc-x-api/storage/IcureStorageFacade.js +1 -1
  232. package/icc-x-api/storage/IcureStorageFacade.js.map +1 -1
  233. package/icc-x-api/storage/LocalStorageImpl.js +1 -1
  234. package/icc-x-api/storage/LocalStorageImpl.js.map +1 -1
  235. package/icc-x-api/utils/EntityWithDelegationTypeName.js +4 -4
  236. package/icc-x-api/utils/EntityWithDelegationTypeName.js.map +1 -1
  237. package/icc-x-api/utils/asn1-packer.js +2 -3
  238. package/icc-x-api/utils/asn1-packer.js.map +1 -1
  239. package/icc-x-api/utils/asn1-parser.js +1 -2
  240. package/icc-x-api/utils/asn1-parser.js.map +1 -1
  241. package/icc-x-api/utils/binary-utils.js +11 -11
  242. package/icc-x-api/utils/binary-utils.js.map +1 -1
  243. package/icc-x-api/utils/code-util.js +1 -2
  244. package/icc-x-api/utils/code-util.js.map +1 -1
  245. package/icc-x-api/utils/collection-utils.js +5 -6
  246. package/icc-x-api/utils/collection-utils.js.map +1 -1
  247. package/icc-x-api/utils/crypto-utils.d.ts +1 -1
  248. package/icc-x-api/utils/crypto-utils.js +17 -18
  249. package/icc-x-api/utils/crypto-utils.js.map +1 -1
  250. package/icc-x-api/utils/formatting-util.js +21 -21
  251. package/icc-x-api/utils/formatting-util.js.map +1 -1
  252. package/icc-x-api/utils/functional-util.js +3 -4
  253. package/icc-x-api/utils/functional-util.js.map +1 -1
  254. package/icc-x-api/utils/graph-utils.js +3 -4
  255. package/icc-x-api/utils/graph-utils.js.map +1 -1
  256. package/icc-x-api/utils/hcp-util.js +4 -4
  257. package/icc-x-api/utils/hcp-util.js.map +1 -1
  258. package/icc-x-api/utils/insurability-util.js +6 -7
  259. package/icc-x-api/utils/insurability-util.js.map +1 -1
  260. package/icc-x-api/utils/lru-temporised-async-cache.js.map +1 -1
  261. package/icc-x-api/utils/net-utils.js +3 -4
  262. package/icc-x-api/utils/net-utils.js.map +1 -1
  263. package/icc-x-api/utils/person-util.js +3 -4
  264. package/icc-x-api/utils/person-util.js.map +1 -1
  265. package/icc-x-api/utils/proxy-utils.js.map +1 -1
  266. package/icc-x-api/utils/simple-lru-cache.js.map +1 -1
  267. package/icc-x-api/utils/uuid-encoder.js +2 -2
  268. package/icc-x-api/utils/uuid-encoder.js.map +1 -1
  269. package/icc-x-api/utils/websocket.d.ts +0 -1
  270. package/icc-x-api/utils/websocket.js +3 -3
  271. package/icc-x-api/utils/websocket.js.map +1 -1
  272. package/package.json +3 -3
  273. package/test/icc-api/api/IccAgendaApi.js.map +1 -1
  274. package/test/icc-api/api/IccCalendarItemApi.js.map +1 -1
  275. package/test/icc-api/api/IccCalendarItemTypeApi.js +2 -2
  276. package/test/icc-api/api/IccCalendarItemTypeApi.js.map +1 -1
  277. package/test/icc-api/api/IccDocumentApi.js.map +1 -1
  278. package/test/icc-api/api/IccKeywordApi.js.map +1 -1
  279. package/test/icc-api/api/IccMedicalLocationApi.js.map +1 -1
  280. package/test/icc-api/api/IccPlaceApi.js.map +1 -1
  281. package/test/icc-api/api/IccUserApi.js +6 -6
  282. package/test/icc-x-api/auth/group-switch-test.js.map +1 -1
  283. package/test/icc-x-api/auth/jwt-concurrency-test.js +1 -2
  284. package/test/icc-x-api/auth/jwt-concurrency-test.js.map +1 -1
  285. package/test/icc-x-api/auth/jwt-provider-test.js.map +1 -1
  286. package/test/icc-x-api/auth/smart-auth-provider-test.js.map +1 -1
  287. package/test/icc-x-api/autofix-anonymity-test.js.map +1 -1
  288. package/test/icc-x-api/confidential-entities-test.js +1 -1
  289. package/test/icc-x-api/confidential-entities-test.js.map +1 -1
  290. package/test/icc-x-api/crud/comprehensive-crud-test.js.map +1 -1
  291. package/test/icc-x-api/crud/entities-crud-test-interface.js +24 -24
  292. package/test/icc-x-api/crud/entities-crud-test-interface.js.map +1 -1
  293. package/test/icc-x-api/crypto/anonymous-delegations-test.js +2 -2
  294. package/test/icc-x-api/crypto/anonymous-delegations-test.js.map +1 -1
  295. package/test/icc-x-api/crypto/cryptoTest.js.map +1 -1
  296. package/test/icc-x-api/crypto/delegate-ci-to-patient-with-missing-keys-test.js.map +1 -1
  297. package/test/icc-x-api/crypto/exchange-data-manager-test.js +4 -4
  298. package/test/icc-x-api/crypto/exchange-data-manager-test.js.map +1 -1
  299. package/test/icc-x-api/crypto/full-crypto-test.js +5 -5
  300. package/test/icc-x-api/crypto/full-crypto-test.js.map +1 -1
  301. package/test/icc-x-api/crypto/legacy-metadata-migration-test.js +7 -7
  302. package/test/icc-x-api/crypto/legacy-metadata-migration-test.js.map +1 -1
  303. package/test/icc-x-api/crypto/secure-delegations-manager-test.js +2 -2
  304. package/test/icc-x-api/crypto/secure-delegations-manager-test.js.map +1 -1
  305. package/test/icc-x-api/crypto/shamir.js.map +1 -1
  306. package/test/icc-x-api/crypto/soft-deleted-data-owners.js +3 -3
  307. package/test/icc-x-api/crypto/soft-deleted-data-owners.js.map +1 -1
  308. package/test/icc-x-api/entity-with-attachments-api-test.js +2 -2
  309. package/test/icc-x-api/entity-with-attachments-api-test.js.map +1 -1
  310. package/test/icc-x-api/icc-maintenance-task-x-api-test.js +4 -4
  311. package/test/icc-x-api/icc-message-x-api.js +1 -1
  312. package/test/icc-x-api/icc-message-x-api.js.map +1 -1
  313. package/test/icc-x-api/icc-patient-x-api-test.js.map +1 -1
  314. package/test/icc-x-api/icc-recovery-x-api.js.map +1 -1
  315. package/test/icc-x-api/icc-topic-x-api.js.map +1 -1
  316. package/test/icc-x-api/icc-user-x-api-test.js.map +1 -1
  317. package/test/icc-x-api/patient-user.js.map +1 -1
  318. package/test/icc-x-api/test-legacy-data-support.js.map +1 -1
  319. package/test/icc-x-api/utils/graph-test.js.map +1 -1
  320. package/test/icc-x-api/utils/lru-temporised-async-cache-test.js.map +1 -1
  321. package/test/support/CSM-243.js +2 -2
  322. package/test/support/CSM-243.js.map +1 -1
  323. package/test/support/CSM-93.js +1 -1
  324. package/test/support/CSM-93.js.map +1 -1
  325. package/test/utils/FakeDataOwnerApi.js.map +1 -1
  326. package/test/utils/FakeEncryptionKeysManager.js +2 -2
  327. package/test/utils/FakeEncryptionKeysManager.js.map +1 -1
  328. package/test/utils/FakeExchangeDataApi.js.map +1 -1
  329. package/test/utils/FakeExchangeDataManager.js.map +1 -1
  330. package/test/utils/FakeGenericApi.js.map +1 -1
  331. package/test/utils/TestApi.js +2 -2
  332. package/test/utils/TestApi.js.map +1 -1
  333. package/test/utils/TestCryptoStrategies.js.map +1 -1
  334. package/test/utils/TestStorage.js +2 -2
  335. package/test/utils/TestStorage.js.map +1 -1
  336. package/test/utils/test_utils.js +22 -22
  337. package/test/utils/test_utils.js.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Measure.js","sourceRoot":"","sources":["../../../icc-api/model/Measure.ts"],"names":[],"mappings":";;;AAYA,qDAA+C;AAE/C,MAAa,OAAO;IAClB;;;;;OAKG;IACH,YAAY,IAAgB;QAC1B,MAAM,YAAY,qBAAO,IAAI,CAAC,CAAA;QAE9B,IAAI,CAAC,CAAC,CAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,GAAG,CAAA,IAAI,CAAC,CAAC,CAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,GAAG,CAAA,EAAE;YAC9C,YAAY,CAAC,eAAe,GAAG;gBAC7B,IAAI,+BAAc,CAAC;oBACjB,GAAG,EAAE,YAAY,CAAC,GAAG;oBACrB,IAAI,EAAE,YAAY,CAAC,GAAG;iBACvB,CAAC;aACH,CAAA;YACM,YAAY,aAAZ,YAAY,4BAAZ,YAAY,CAAE,GAAG,CAAA;YACjB,YAAY,aAAZ,YAAY,4BAAZ,YAAY,CAAE,GAAG,CAAA;SACzB;QAED,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,YAAY,CAAC,CAAA;IAC9C,CAAC;CAgBF;AAtCD,0BAsCC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { CodeStub } from './CodeStub'\nimport {ReferenceRange} from \"./ReferenceRange\"\n\nexport class Measure {\n /**\n * We delete min and max from the json and create a referenceRanges from it\n * Since this is a shallow copy, deletion of min and max will have no effect on the original json since it's the top level fields\n *\n * @param json\n */\n constructor(json: JSON | any) {\n const measureValue = {...json}\n\n if (!!measureValue?.min || !!measureValue?.max) {\n measureValue.referenceRanges = [\n new ReferenceRange({\n low: measureValue.min,\n high: measureValue.max\n })\n ]\n delete measureValue?.min\n delete measureValue?.max\n }\n\n Object.assign(this as Measure, measureValue)\n }\n\n value?: number\n ref?: number\n severity?: number\n severityCode?: string\n evolution?: number\n unit?: string\n sign?: string\n unitCodes?: Array<CodeStub>\n comment?: string\n comparator?: string\n /**\n * Reference range for the measure\n */\n referenceRanges?: Array<ReferenceRange>\n}\n"]}
1
+ {"version":3,"file":"Measure.js","sourceRoot":"","sources":["../../../icc-api/model/Measure.ts"],"names":[],"mappings":";;;AAYA,qDAA+C;AAE/C,MAAa,OAAO;IAClB;;;;;OAKG;IACH,YAAY,IAAgB;QAC1B,MAAM,YAAY,qBAAO,IAAI,CAAC,CAAA;QAE9B,IAAI,CAAC,CAAC,CAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,GAAG,CAAA,IAAI,CAAC,CAAC,CAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,GAAG,CAAA,EAAE,CAAC;YAC/C,YAAY,CAAC,eAAe,GAAG;gBAC7B,IAAI,+BAAc,CAAC;oBACjB,GAAG,EAAE,YAAY,CAAC,GAAG;oBACrB,IAAI,EAAE,YAAY,CAAC,GAAG;iBACvB,CAAC;aACH,CAAA;YACM,YAAY,aAAZ,YAAY,4BAAZ,YAAY,CAAE,GAAG,CAAA;YACjB,YAAY,aAAZ,YAAY,4BAAZ,YAAY,CAAE,GAAG,CAAA;QAC1B,CAAC;QAED,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,YAAY,CAAC,CAAA;IAC9C,CAAC;CAgBF;AAtCD,0BAsCC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { CodeStub } from './CodeStub'\nimport {ReferenceRange} from \"./ReferenceRange\"\n\nexport class Measure {\n /**\n * We delete min and max from the json and create a referenceRanges from it\n * Since this is a shallow copy, deletion of min and max will have no effect on the original json since it's the top level fields\n *\n * @param json\n */\n constructor(json: JSON | any) {\n const measureValue = {...json}\n\n if (!!measureValue?.min || !!measureValue?.max) {\n measureValue.referenceRanges = [\n new ReferenceRange({\n low: measureValue.min,\n high: measureValue.max\n })\n ]\n delete measureValue?.min\n delete measureValue?.max\n }\n\n Object.assign(this as Measure, measureValue)\n }\n\n value?: number\n ref?: number\n severity?: number\n severityCode?: string\n evolution?: number\n unit?: string\n sign?: string\n unitCodes?: Array<CodeStub>\n comment?: string\n comparator?: string\n /**\n * Reference range for the measure\n */\n referenceRanges?: Array<ReferenceRange>\n}\n"]}
@@ -41,5 +41,5 @@ exports.MedicalHouseContract = MedicalHouseContract;
41
41
  LegalrepresentativeEid: 'legalrepresentativeEid',
42
42
  LegalrepresentativePaper: 'legalrepresentativePaper',
43
43
  };
44
- })(MedicalHouseContract = exports.MedicalHouseContract || (exports.MedicalHouseContract = {}));
44
+ })(MedicalHouseContract || (exports.MedicalHouseContract = MedicalHouseContract = {}));
45
45
  //# sourceMappingURL=MedicalHouseContract.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MedicalHouseContract.js","sourceRoot":"","sources":["../../../icc-api/model/MedicalHouseContract.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH;;GAEG;AACH,MAAa,oBAAoB;IAC/B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAA4B,EAAE,IAAI,CAAC,CAAA;IACnD,CAAC;CAsCF;AAzCD,oDAyCC;AACD,WAAiB,oBAAoB;IAEtB,mCAAc,GAAG;QAC5B,gBAAgB,EAAE,kBAAoC;QACtD,cAAc,EAAE,gBAAkC;QAClD,UAAU,EAAE,YAA8B;QAC1C,cAAc,EAAE,gBAAkC;KACnD,CAAA;IAEY,yCAAoB,GAAG;QAClC,UAAU,EAAE,YAAoC;QAChD,aAAa,EAAE,eAAuC;QACtD,cAAc,EAAE,gBAAwC;QACxD,gBAAgB,EAAE,kBAA0C;QAC5D,iBAAiB,EAAE,mBAA2C;KAC/D,CAAA;IAEY,sCAAiB,GAAG;QAC/B,SAAS,EAAE,WAAgC;QAC3C,WAAW,EAAE,aAAkC;QAC/C,sBAAsB,EAAE,wBAA6C;QACrE,wBAAwB,EAAE,0BAA+C;KAC1E,CAAA;AACH,CAAC,EAvBgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAuBpC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\n/**\n * Contracts between the patient and the healthcare entity.\n */\nexport class MedicalHouseContract {\n constructor(json: JSON | any) {\n Object.assign(this as MedicalHouseContract, json)\n }\n\n contractId?: string\n validFrom?: number\n validTo?: number\n mmNihii?: string\n hcpId?: string\n changeType?: MedicalHouseContract.ChangeTypeEnum\n parentContractId?: string\n changedBy?: string\n startOfContract?: number\n startOfCoverage?: number\n endOfContract?: number\n endOfCoverage?: number\n kine?: boolean\n gp?: boolean\n ptd?: boolean\n nurse?: boolean\n noKine?: boolean\n noGp?: boolean\n noNurse?: boolean\n unsubscriptionReasonId?: number\n ptdStart?: number\n ptdEnd?: number\n ptdLastInvoiced?: number\n startOfSuspension?: number\n endOfSuspension?: number\n suspensionReason?: MedicalHouseContract.SuspensionReasonEnum\n suspensionSource?: string\n forcedSuspension?: boolean\n signatureType?: MedicalHouseContract.SignatureTypeEnum\n status?: number\n options?: { [key: string]: string }\n receipts?: { [key: string]: string }\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n}\nexport namespace MedicalHouseContract {\n export type ChangeTypeEnum = 'inscriptionStart' | 'inscriptionEnd' | 'suspension' | 'coverageChange'\n export const ChangeTypeEnum = {\n InscriptionStart: 'inscriptionStart' as ChangeTypeEnum,\n InscriptionEnd: 'inscriptionEnd' as ChangeTypeEnum,\n Suspension: 'suspension' as ChangeTypeEnum,\n CoverageChange: 'coverageChange' as ChangeTypeEnum,\n }\n export type SuspensionReasonEnum = 'notInsured' | 'noReasonGiven' | 'isHospitalized' | 'outsideOfCountry' | 'changeOfMutuality'\n export const SuspensionReasonEnum = {\n NotInsured: 'notInsured' as SuspensionReasonEnum,\n NoReasonGiven: 'noReasonGiven' as SuspensionReasonEnum,\n IsHospitalized: 'isHospitalized' as SuspensionReasonEnum,\n OutsideOfCountry: 'outsideOfCountry' as SuspensionReasonEnum,\n ChangeOfMutuality: 'changeOfMutuality' as SuspensionReasonEnum,\n }\n export type SignatureTypeEnum = 'holderEid' | 'holderPaper' | 'legalrepresentativeEid' | 'legalrepresentativePaper'\n export const SignatureTypeEnum = {\n HolderEid: 'holderEid' as SignatureTypeEnum,\n HolderPaper: 'holderPaper' as SignatureTypeEnum,\n LegalrepresentativeEid: 'legalrepresentativeEid' as SignatureTypeEnum,\n LegalrepresentativePaper: 'legalrepresentativePaper' as SignatureTypeEnum,\n }\n}\n"]}
1
+ {"version":3,"file":"MedicalHouseContract.js","sourceRoot":"","sources":["../../../icc-api/model/MedicalHouseContract.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH;;GAEG;AACH,MAAa,oBAAoB;IAC/B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAA4B,EAAE,IAAI,CAAC,CAAA;IACnD,CAAC;CAsCF;AAzCD,oDAyCC;AACD,WAAiB,oBAAoB;IAEtB,mCAAc,GAAG;QAC5B,gBAAgB,EAAE,kBAAoC;QACtD,cAAc,EAAE,gBAAkC;QAClD,UAAU,EAAE,YAA8B;QAC1C,cAAc,EAAE,gBAAkC;KACnD,CAAA;IAEY,yCAAoB,GAAG;QAClC,UAAU,EAAE,YAAoC;QAChD,aAAa,EAAE,eAAuC;QACtD,cAAc,EAAE,gBAAwC;QACxD,gBAAgB,EAAE,kBAA0C;QAC5D,iBAAiB,EAAE,mBAA2C;KAC/D,CAAA;IAEY,sCAAiB,GAAG;QAC/B,SAAS,EAAE,WAAgC;QAC3C,WAAW,EAAE,aAAkC;QAC/C,sBAAsB,EAAE,wBAA6C;QACrE,wBAAwB,EAAE,0BAA+C;KAC1E,CAAA;AACH,CAAC,EAvBgB,oBAAoB,oCAApB,oBAAoB,QAuBpC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\n/**\n * Contracts between the patient and the healthcare entity.\n */\nexport class MedicalHouseContract {\n constructor(json: JSON | any) {\n Object.assign(this as MedicalHouseContract, json)\n }\n\n contractId?: string\n validFrom?: number\n validTo?: number\n mmNihii?: string\n hcpId?: string\n changeType?: MedicalHouseContract.ChangeTypeEnum\n parentContractId?: string\n changedBy?: string\n startOfContract?: number\n startOfCoverage?: number\n endOfContract?: number\n endOfCoverage?: number\n kine?: boolean\n gp?: boolean\n ptd?: boolean\n nurse?: boolean\n noKine?: boolean\n noGp?: boolean\n noNurse?: boolean\n unsubscriptionReasonId?: number\n ptdStart?: number\n ptdEnd?: number\n ptdLastInvoiced?: number\n startOfSuspension?: number\n endOfSuspension?: number\n suspensionReason?: MedicalHouseContract.SuspensionReasonEnum\n suspensionSource?: string\n forcedSuspension?: boolean\n signatureType?: MedicalHouseContract.SignatureTypeEnum\n status?: number\n options?: { [key: string]: string }\n receipts?: { [key: string]: string }\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n}\nexport namespace MedicalHouseContract {\n export type ChangeTypeEnum = 'inscriptionStart' | 'inscriptionEnd' | 'suspension' | 'coverageChange'\n export const ChangeTypeEnum = {\n InscriptionStart: 'inscriptionStart' as ChangeTypeEnum,\n InscriptionEnd: 'inscriptionEnd' as ChangeTypeEnum,\n Suspension: 'suspension' as ChangeTypeEnum,\n CoverageChange: 'coverageChange' as ChangeTypeEnum,\n }\n export type SuspensionReasonEnum = 'notInsured' | 'noReasonGiven' | 'isHospitalized' | 'outsideOfCountry' | 'changeOfMutuality'\n export const SuspensionReasonEnum = {\n NotInsured: 'notInsured' as SuspensionReasonEnum,\n NoReasonGiven: 'noReasonGiven' as SuspensionReasonEnum,\n IsHospitalized: 'isHospitalized' as SuspensionReasonEnum,\n OutsideOfCountry: 'outsideOfCountry' as SuspensionReasonEnum,\n ChangeOfMutuality: 'changeOfMutuality' as SuspensionReasonEnum,\n }\n export type SignatureTypeEnum = 'holderEid' | 'holderPaper' | 'legalrepresentativeEid' | 'legalrepresentativePaper'\n export const SignatureTypeEnum = {\n HolderEid: 'holderEid' as SignatureTypeEnum,\n HolderPaper: 'holderPaper' as SignatureTypeEnum,\n LegalrepresentativeEid: 'legalrepresentativeEid' as SignatureTypeEnum,\n LegalrepresentativePaper: 'legalrepresentativePaper' as SignatureTypeEnum,\n }\n}\n"]}
@@ -1,6 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.a2b = exports.b2a = exports.ua2b64 = exports.b64_2ua = exports.b64_2ab = exports.ua2ab = exports.string2ab = exports.string2ua = exports.ua2string = void 0;
3
+ exports.ua2string = ua2string;
4
+ exports.string2ua = string2ua;
5
+ exports.string2ab = string2ab;
6
+ exports.ua2ab = ua2ab;
7
+ exports.b64_2ab = b64_2ab;
8
+ exports.b64_2ua = b64_2ua;
9
+ exports.ua2b64 = ua2b64;
10
+ exports.b2a = b2a;
11
+ exports.a2b = a2b;
4
12
  function ua2string(_ua) {
5
13
  let str = '';
6
14
  const ab = new Uint8Array(_ua);
@@ -14,7 +22,6 @@ function ua2string(_ua) {
14
22
  }
15
23
  return str;
16
24
  }
17
- exports.ua2string = ua2string;
18
25
  function string2ua(s) {
19
26
  const ua = new Uint8Array(s.length);
20
27
  for (let i = 0; i < s.length; i++) {
@@ -22,28 +29,22 @@ function string2ua(s) {
22
29
  }
23
30
  return ua;
24
31
  }
25
- exports.string2ua = string2ua;
26
32
  function string2ab(s) {
27
33
  return ua2ab(string2ua(s));
28
34
  }
29
- exports.string2ab = string2ab;
30
35
  function ua2ab(ua) {
31
36
  const buffer = ua.buffer;
32
37
  return (buffer.byteLength > ua.byteLength ? buffer.slice(0, ua.byteLength) : buffer);
33
38
  }
34
- exports.ua2ab = ua2ab;
35
39
  function b64_2ab(s) {
36
40
  return ua2ab(string2ua(a2b(s)));
37
41
  }
38
- exports.b64_2ab = b64_2ab;
39
42
  function b64_2ua(s) {
40
43
  return string2ua(a2b(s));
41
44
  }
42
- exports.b64_2ua = b64_2ua;
43
45
  function ua2b64(_ua) {
44
46
  return b2a(ua2string(_ua));
45
47
  }
46
- exports.ua2b64 = ua2b64;
47
48
  function b2a(a) {
48
49
  if (typeof window !== 'undefined') {
49
50
  //Favour btoa in browser
@@ -66,7 +67,6 @@ function b2a(a) {
66
67
  }
67
68
  throw new Error('Unsupported operation b2a');
68
69
  }
69
- exports.b2a = b2a;
70
70
  function a2b(s) {
71
71
  const urlUnsafeString = s.replace(/_/g, '/').replace(/-/g, '+');
72
72
  if (typeof window !== 'undefined') {
@@ -90,5 +90,4 @@ function a2b(s) {
90
90
  }
91
91
  throw new Error('Unsupported operation a2b');
92
92
  }
93
- exports.a2b = a2b;
94
93
  //# sourceMappingURL=ModelHelper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ModelHelper.js","sourceRoot":"","sources":["../../../icc-api/model/ModelHelper.ts"],"names":[],"mappings":";;;AAAA,SAAgB,SAAS,CAAC,GAA6B;IACrD,IAAI,GAAG,GAAG,EAAE,CAAA;IACZ,MAAM,EAAE,GAAG,IAAI,UAAU,CAAC,GAAG,CAAC,CAAA;IAC9B,MAAM,KAAK,GAAG,EAAE,CAAC,MAAM,CAAA;IACvB,MAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;IACjC,IAAI,MAAM,EAAE,GAAG,EAAE,KAAK,CAAA;IACtB,KAAK,MAAM,GAAG,CAAC,EAAE,MAAM,GAAG,KAAK,EAAE,MAAM,IAAI,UAAU,EAAE;QACrD,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,KAAK,GAAG,MAAM,CAAC,CAAA;QAC1C,KAAK,GAAG,EAAE,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,GAAG,CAAC,CAAA;QACzC,GAAG,IAAI,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE,KAAY,CAAC,CAAA;KACrD;IACD,OAAO,GAAG,CAAA;AACZ,CAAC;AAZD,8BAYC;AAED,SAAgB,SAAS,CAAC,CAAS;IACjC,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;AAND,8BAMC;AAED,SAAgB,SAAS,CAAC,CAAS;IACjC,OAAO,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAA;AAC5B,CAAC;AAFD,8BAEC;AAED,SAAgB,KAAK,CAAC,EAAc;IAClC,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;AAHD,sBAGC;AAED,SAAgB,OAAO,CAAC,CAAS;IAC/B,OAAO,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;AACjC,CAAC;AAFD,0BAEC;AAED,SAAgB,OAAO,CAAC,CAAS;IAC/B,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;AAC1B,CAAC;AAFD,0BAEC;AAED,SAAgB,MAAM,CAAC,GAA6B;IAClD,OAAO,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAA;AAC5B,CAAC;AAFD,wBAEC;AAED,SAAgB,GAAG,CAAC,CAAS;IAC3B,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;QACjC,wBAAwB;QACxB,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE;YAC/B,OAAO,IAAI,CAAC,CAAC,CAAC,CAAA;SACf;QACD,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;YACjC,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAA;YACpC,OAAO,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;SAC9B;KACF;SAAM;QACL,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;YACjC,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAA;YACpC,OAAO,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;SAC9B;QACD,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE;YAC/B,OAAO,IAAI,CAAC,CAAC,CAAC,CAAA;SACf;KACF;IACD,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAA;AAC9C,CAAC;AApBD,kBAoBC;AAED,SAAgB,GAAG,CAAC,CAAS;IAC3B,MAAM,eAAe,GAAG,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;IAC/D,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;QACjC,wBAAwB;QACxB,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE;YAC/B,OAAO,IAAI,CAAC,eAAe,CAAC,CAAA;SAC7B;QACD,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;YACjC,MAAM,GAAG,GAAG,IAAI,MAAM,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAA;YACjD,OAAO,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;SAC9B;KACF;SAAM;QACL,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;YACjC,MAAM,GAAG,GAAG,IAAI,MAAM,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAA;YACjD,OAAO,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;SAC9B;QACD,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE;YAC/B,OAAO,IAAI,CAAC,eAAe,CAAC,CAAA;SAC7B;KACF;IACD,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAA;AAC9C,CAAC;AArBD,kBAqBC","sourcesContent":["export function ua2string(_ua: Uint8Array | ArrayBuffer): string {\n let str = ''\n const ab = new Uint8Array(_ua)\n const abLen = ab.length\n const CHUNK_SIZE = Math.pow(2, 8)\n let offset, len, subab\n for (offset = 0; offset < abLen; offset += CHUNK_SIZE) {\n len = Math.min(CHUNK_SIZE, abLen - offset)\n subab = ab.subarray(offset, offset + len)\n str += String.fromCharCode.apply(null, subab as any)\n }\n return str\n}\n\nexport function string2ua(s: string): Uint8Array {\n const ua = new Uint8Array(s.length)\n for (let i = 0; i < s.length; i++) {\n ua[i] = s.charCodeAt(i) & 0xff\n }\n return ua\n}\n\nexport function string2ab(s: string): ArrayBuffer {\n return ua2ab(string2ua(s))\n}\n\nexport function ua2ab(ua: Uint8Array): ArrayBuffer {\n const buffer = ua.buffer\n return (buffer.byteLength > ua.byteLength ? buffer.slice(0, ua.byteLength) : buffer) as ArrayBuffer\n}\n\nexport function b64_2ab(s: string): ArrayBuffer {\n return ua2ab(string2ua(a2b(s)))\n}\n\nexport function b64_2ua(s: string): Uint8Array {\n return string2ua(a2b(s))\n}\n\nexport function ua2b64(_ua: Uint8Array | ArrayBuffer): string {\n return b2a(ua2string(_ua))\n}\n\nexport function b2a(a: string): string {\n if (typeof window !== 'undefined') {\n //Favour btoa in browser\n if (typeof btoa !== 'undefined') {\n return btoa(a)\n }\n if (typeof Buffer !== 'undefined') {\n const buf = Buffer.from(a, 'latin1')\n return buf.toString('base64')\n }\n } else {\n if (typeof Buffer !== 'undefined') {\n const buf = Buffer.from(a, 'latin1')\n return buf.toString('base64')\n }\n if (typeof btoa !== 'undefined') {\n return btoa(a)\n }\n }\n throw new Error('Unsupported operation b2a')\n}\n\nexport function a2b(s: string): string {\n const urlUnsafeString = s.replace(/_/g, '/').replace(/-/g, '+')\n if (typeof window !== 'undefined') {\n //Favour atob in browser\n if (typeof atob !== 'undefined') {\n return atob(urlUnsafeString)\n }\n if (typeof Buffer !== 'undefined') {\n const buf = new Buffer(urlUnsafeString, 'base64')\n return buf.toString('latin1')\n }\n } else {\n if (typeof Buffer !== 'undefined') {\n const buf = new Buffer(urlUnsafeString, 'base64')\n return buf.toString('latin1')\n }\n if (typeof atob !== 'undefined') {\n return atob(urlUnsafeString)\n }\n }\n throw new Error('Unsupported operation a2b')\n}\n"]}
1
+ {"version":3,"file":"ModelHelper.js","sourceRoot":"","sources":["../../../icc-api/model/ModelHelper.ts"],"names":[],"mappings":";;AAAA,8BAYC;AAED,8BAMC;AAED,8BAEC;AAED,sBAGC;AAED,0BAEC;AAED,0BAEC;AAED,wBAEC;AAED,kBAoBC;AAED,kBAqBC;AAtFD,SAAgB,SAAS,CAAC,GAA6B;IACrD,IAAI,GAAG,GAAG,EAAE,CAAA;IACZ,MAAM,EAAE,GAAG,IAAI,UAAU,CAAC,GAAG,CAAC,CAAA;IAC9B,MAAM,KAAK,GAAG,EAAE,CAAC,MAAM,CAAA;IACvB,MAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;IACjC,IAAI,MAAM,EAAE,GAAG,EAAE,KAAK,CAAA;IACtB,KAAK,MAAM,GAAG,CAAC,EAAE,MAAM,GAAG,KAAK,EAAE,MAAM,IAAI,UAAU,EAAE,CAAC;QACtD,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,KAAK,GAAG,MAAM,CAAC,CAAA;QAC1C,KAAK,GAAG,EAAE,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,GAAG,CAAC,CAAA;QACzC,GAAG,IAAI,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE,KAAY,CAAC,CAAA;IACtD,CAAC;IACD,OAAO,GAAG,CAAA;AACZ,CAAC;AAED,SAAgB,SAAS,CAAC,CAAS;IACjC,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,CAAC;QAClC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,IAAI,CAAA;IAChC,CAAC;IACD,OAAO,EAAE,CAAA;AACX,CAAC;AAED,SAAgB,SAAS,CAAC,CAAS;IACjC,OAAO,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAA;AAC5B,CAAC;AAED,SAAgB,KAAK,CAAC,EAAc;IAClC,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;AAED,SAAgB,OAAO,CAAC,CAAS;IAC/B,OAAO,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;AACjC,CAAC;AAED,SAAgB,OAAO,CAAC,CAAS;IAC/B,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;AAC1B,CAAC;AAED,SAAgB,MAAM,CAAC,GAA6B;IAClD,OAAO,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAA;AAC5B,CAAC;AAED,SAAgB,GAAG,CAAC,CAAS;IAC3B,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;QAClC,wBAAwB;QACxB,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE,CAAC;YAChC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAA;QAChB,CAAC;QACD,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;YAClC,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAA;YACpC,OAAO,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;QAC/B,CAAC;IACH,CAAC;SAAM,CAAC;QACN,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;YAClC,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAA;YACpC,OAAO,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;QAC/B,CAAC;QACD,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE,CAAC;YAChC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAA;QAChB,CAAC;IACH,CAAC;IACD,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAA;AAC9C,CAAC;AAED,SAAgB,GAAG,CAAC,CAAS;IAC3B,MAAM,eAAe,GAAG,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;IAC/D,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;QAClC,wBAAwB;QACxB,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE,CAAC;YAChC,OAAO,IAAI,CAAC,eAAe,CAAC,CAAA;QAC9B,CAAC;QACD,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;YAClC,MAAM,GAAG,GAAG,IAAI,MAAM,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAA;YACjD,OAAO,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;QAC/B,CAAC;IACH,CAAC;SAAM,CAAC;QACN,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;YAClC,MAAM,GAAG,GAAG,IAAI,MAAM,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAA;YACjD,OAAO,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;QAC/B,CAAC;QACD,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE,CAAC;YAChC,OAAO,IAAI,CAAC,eAAe,CAAC,CAAA;QAC9B,CAAC;IACH,CAAC;IACD,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAA;AAC9C,CAAC","sourcesContent":["export function ua2string(_ua: Uint8Array | ArrayBuffer): string {\n let str = ''\n const ab = new Uint8Array(_ua)\n const abLen = ab.length\n const CHUNK_SIZE = Math.pow(2, 8)\n let offset, len, subab\n for (offset = 0; offset < abLen; offset += CHUNK_SIZE) {\n len = Math.min(CHUNK_SIZE, abLen - offset)\n subab = ab.subarray(offset, offset + len)\n str += String.fromCharCode.apply(null, subab as any)\n }\n return str\n}\n\nexport function string2ua(s: string): Uint8Array {\n const ua = new Uint8Array(s.length)\n for (let i = 0; i < s.length; i++) {\n ua[i] = s.charCodeAt(i) & 0xff\n }\n return ua\n}\n\nexport function string2ab(s: string): ArrayBuffer {\n return ua2ab(string2ua(s))\n}\n\nexport function ua2ab(ua: Uint8Array): ArrayBuffer {\n const buffer = ua.buffer\n return (buffer.byteLength > ua.byteLength ? buffer.slice(0, ua.byteLength) : buffer) as ArrayBuffer\n}\n\nexport function b64_2ab(s: string): ArrayBuffer {\n return ua2ab(string2ua(a2b(s)))\n}\n\nexport function b64_2ua(s: string): Uint8Array {\n return string2ua(a2b(s))\n}\n\nexport function ua2b64(_ua: Uint8Array | ArrayBuffer): string {\n return b2a(ua2string(_ua))\n}\n\nexport function b2a(a: string): string {\n if (typeof window !== 'undefined') {\n //Favour btoa in browser\n if (typeof btoa !== 'undefined') {\n return btoa(a)\n }\n if (typeof Buffer !== 'undefined') {\n const buf = Buffer.from(a, 'latin1')\n return buf.toString('base64')\n }\n } else {\n if (typeof Buffer !== 'undefined') {\n const buf = Buffer.from(a, 'latin1')\n return buf.toString('base64')\n }\n if (typeof btoa !== 'undefined') {\n return btoa(a)\n }\n }\n throw new Error('Unsupported operation b2a')\n}\n\nexport function a2b(s: string): string {\n const urlUnsafeString = s.replace(/_/g, '/').replace(/-/g, '+')\n if (typeof window !== 'undefined') {\n //Favour atob in browser\n if (typeof atob !== 'undefined') {\n return atob(urlUnsafeString)\n }\n if (typeof Buffer !== 'undefined') {\n const buf = new Buffer(urlUnsafeString, 'base64')\n return buf.toString('latin1')\n }\n } else {\n if (typeof Buffer !== 'undefined') {\n const buf = new Buffer(urlUnsafeString, 'base64')\n return buf.toString('latin1')\n }\n if (typeof atob !== 'undefined') {\n return atob(urlUnsafeString)\n }\n }\n throw new Error('Unsupported operation a2b')\n}\n"]}
@@ -67,5 +67,5 @@ exports.Partnership = Partnership;
67
67
  Complicated: 'complicated',
68
68
  Past: 'past',
69
69
  };
70
- })(Partnership = exports.Partnership || (exports.Partnership = {}));
70
+ })(Partnership || (exports.Partnership = Partnership = {}));
71
71
  //# sourceMappingURL=Partnership.js.map
@@ -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;IAwCb,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,UAAU,EAAE,YAAwB;QACpC,iBAAiB,EAAE,oBAAgC;QACnD,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,EAtFgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAsF3B","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\n/**\n * A relationship between this patient and another person.\n */\nexport class Partnership {\n constructor(json: JSON | any) {\n Object.assign(this as Partnership, json)\n }\n\n /**\n * Type of relationship.\n */\n type?: Partnership.TypeEnum\n /**\n * Status of the relationship.\n */\n status?: Partnership.StatusEnum\n /**\n * UUID of the contact person or patient in this relationship.\n */\n partnerId?: string\n meToOtherRelationshipDescription?: string\n otherToMeRelationshipDescription?: string\n}\nexport namespace Partnership {\n export type TypeEnum =\n | 'primary_contact'\n | 'primary_contact_for'\n | 'family'\n | 'friend'\n | 'counselor'\n | 'contact'\n | 'brother'\n | 'brotherinlaw'\n | 'child'\n | 'daughter'\n | 'employer'\n | 'father'\n | 'grandchild'\n | 'grandparent'\n | 'husband'\n | 'lawyer'\n | 'mother'\n | 'neighbour'\n | 'notary'\n | 'partner'\n | 'sister'\n | 'sisterinlaw'\n | 'son'\n | 'spouse'\n | 'stepdaughter'\n | 'stepfather'\n | 'stepmother'\n | 'stepson'\n | 'tutor'\n | 'cohabiting'\n | 'registered_partner'\n | 'next_of_kin'\n | 'federal_agency'\n | 'insurance_company'\n | 'state_agency'\n | 'unknown'\n | 'seealso'\n | 'refer'\n export const TypeEnum = {\n PrimaryContact: 'primary_contact' as TypeEnum,\n PrimaryContactFor: 'primary_contact_for' as TypeEnum,\n Family: 'family' as TypeEnum,\n Friend: 'friend' as TypeEnum,\n Counselor: 'counselor' as TypeEnum,\n Contact: 'contact' as TypeEnum,\n Brother: 'brother' as TypeEnum,\n Brotherinlaw: 'brotherinlaw' as TypeEnum,\n Child: 'child' as TypeEnum,\n Daughter: 'daughter' as TypeEnum,\n Employer: 'employer' as TypeEnum,\n Father: 'father' as TypeEnum,\n Grandchild: 'grandchild' as TypeEnum,\n Grandparent: 'grandparent' as TypeEnum,\n Husband: 'husband' as TypeEnum,\n Lawyer: 'lawyer' as TypeEnum,\n Mother: 'mother' as TypeEnum,\n Neighbour: 'neighbour' as TypeEnum,\n Notary: 'notary' as TypeEnum,\n Partner: 'partner' as TypeEnum,\n Sister: 'sister' as TypeEnum,\n Sisterinlaw: 'sisterinlaw' as TypeEnum,\n Son: 'son' as TypeEnum,\n Spouse: 'spouse' as TypeEnum,\n Stepdaughter: 'stepdaughter' as TypeEnum,\n Stepfather: 'stepfather' as TypeEnum,\n Stepmother: 'stepmother' as TypeEnum,\n Stepson: 'stepson' as TypeEnum,\n Tutor: 'tutor' as TypeEnum,\n Cohabiting: 'cohabiting' as TypeEnum,\n RegisteredPartner: 'registered_partner' as TypeEnum,\n NextOfKin: 'next_of_kin' as TypeEnum,\n FederalAgency: 'federal_agency' as TypeEnum,\n InsuranceCompany: 'insurance_company' as TypeEnum,\n StateAgency: 'state_agency' as TypeEnum,\n Unknown: 'unknown' as TypeEnum,\n Seealso: 'seealso' as TypeEnum,\n Refer: 'refer' as TypeEnum,\n }\n export type StatusEnum = 'active' | 'complicated' | 'past'\n export const StatusEnum = {\n Active: 'active' as StatusEnum,\n Complicated: 'complicated' as StatusEnum,\n Past: 'past' as StatusEnum,\n }\n}\n"]}
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;IAwCb,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,UAAU,EAAE,YAAwB;QACpC,iBAAiB,EAAE,oBAAgC;QACnD,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,EAtFgB,WAAW,2BAAX,WAAW,QAsF3B","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\n/**\n * A relationship between this patient and another person.\n */\nexport class Partnership {\n constructor(json: JSON | any) {\n Object.assign(this as Partnership, json)\n }\n\n /**\n * Type of relationship.\n */\n type?: Partnership.TypeEnum\n /**\n * Status of the relationship.\n */\n status?: Partnership.StatusEnum\n /**\n * UUID of the contact person or patient in this relationship.\n */\n partnerId?: string\n meToOtherRelationshipDescription?: string\n otherToMeRelationshipDescription?: string\n}\nexport namespace Partnership {\n export type TypeEnum =\n | 'primary_contact'\n | 'primary_contact_for'\n | 'family'\n | 'friend'\n | 'counselor'\n | 'contact'\n | 'brother'\n | 'brotherinlaw'\n | 'child'\n | 'daughter'\n | 'employer'\n | 'father'\n | 'grandchild'\n | 'grandparent'\n | 'husband'\n | 'lawyer'\n | 'mother'\n | 'neighbour'\n | 'notary'\n | 'partner'\n | 'sister'\n | 'sisterinlaw'\n | 'son'\n | 'spouse'\n | 'stepdaughter'\n | 'stepfather'\n | 'stepmother'\n | 'stepson'\n | 'tutor'\n | 'cohabiting'\n | 'registered_partner'\n | 'next_of_kin'\n | 'federal_agency'\n | 'insurance_company'\n | 'state_agency'\n | 'unknown'\n | 'seealso'\n | 'refer'\n export const TypeEnum = {\n PrimaryContact: 'primary_contact' as TypeEnum,\n PrimaryContactFor: 'primary_contact_for' as TypeEnum,\n Family: 'family' as TypeEnum,\n Friend: 'friend' as TypeEnum,\n Counselor: 'counselor' as TypeEnum,\n Contact: 'contact' as TypeEnum,\n Brother: 'brother' as TypeEnum,\n Brotherinlaw: 'brotherinlaw' as TypeEnum,\n Child: 'child' as TypeEnum,\n Daughter: 'daughter' as TypeEnum,\n Employer: 'employer' as TypeEnum,\n Father: 'father' as TypeEnum,\n Grandchild: 'grandchild' as TypeEnum,\n Grandparent: 'grandparent' as TypeEnum,\n Husband: 'husband' as TypeEnum,\n Lawyer: 'lawyer' as TypeEnum,\n Mother: 'mother' as TypeEnum,\n Neighbour: 'neighbour' as TypeEnum,\n Notary: 'notary' as TypeEnum,\n Partner: 'partner' as TypeEnum,\n Sister: 'sister' as TypeEnum,\n Sisterinlaw: 'sisterinlaw' as TypeEnum,\n Son: 'son' as TypeEnum,\n Spouse: 'spouse' as TypeEnum,\n Stepdaughter: 'stepdaughter' as TypeEnum,\n Stepfather: 'stepfather' as TypeEnum,\n Stepmother: 'stepmother' as TypeEnum,\n Stepson: 'stepson' as TypeEnum,\n Tutor: 'tutor' as TypeEnum,\n Cohabiting: 'cohabiting' as TypeEnum,\n RegisteredPartner: 'registered_partner' as TypeEnum,\n NextOfKin: 'next_of_kin' as TypeEnum,\n FederalAgency: 'federal_agency' as TypeEnum,\n InsuranceCompany: 'insurance_company' as TypeEnum,\n StateAgency: 'state_agency' as TypeEnum,\n Unknown: 'unknown' as TypeEnum,\n Seealso: 'seealso' as TypeEnum,\n Refer: 'refer' as TypeEnum,\n }\n export type StatusEnum = 'active' | 'complicated' | 'past'\n export const StatusEnum = {\n Active: 'active' as StatusEnum,\n Complicated: 'complicated' as StatusEnum,\n Past: 'past' as StatusEnum,\n }\n}\n"]}
@@ -67,5 +67,5 @@ exports.Patient = Patient;
67
67
  Annulled: 'annulled',
68
68
  Polygamous: 'polygamous',
69
69
  };
70
- })(Patient = exports.Patient || (exports.Patient = {}));
70
+ })(Patient || (exports.Patient = Patient = {}));
71
71
  //# sourceMappingURL=Patient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Patient.js","sourceRoot":"","sources":["../../../icc-api/model/Patient.ts"],"names":[],"mappings":";;;AA0BA;;GAEG;AACH,+CAAuC;AAGvC,MAAa,OAAO;IAClB,YAAY,IAAgB;QAC1B,IAAI,WAAW,GAA8B,EAAE,CAAA;QAC/C,IAAI,CAAC,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,CAAA,EAAE;YACnB,IAAI,OAAO,IAAI,CAAC,OAAO,KAAK,QAAQ,EAAE;gBACpC,WAAW,CAAC,OAAO,GAAG,IAAA,qBAAO,EAAC,IAAI,CAAC,OAAO,CAAC,CAAA;aAC5C;iBAAM,IAAI,IAAI,CAAC,OAAO,YAAY,WAAW,IAAI,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE;gBAClF,WAAW,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAA;aACnC;iBAAM;gBACL,MAAM,IAAI,KAAK,CAAC,6BAA6B,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC,CAAA;aACpE;SACF;QACD,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,IAAI,EAAE,WAAW,CAAC,CAAA;IACnD,CAAC;CA8RF;AA3SD,0BA2SC;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","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { Address } from './Address'\nimport { CodeStub } from './CodeStub'\nimport { Delegation } from './Delegation'\nimport { EmploymentInfo } from './EmploymentInfo'\nimport { FinancialInstitutionInformation } from './FinancialInstitutionInformation'\nimport { Identifier } from './Identifier'\nimport { Insurability } from './Insurability'\nimport { MedicalHouseContract } from './MedicalHouseContract'\nimport { Partnership } from './Partnership'\nimport { PatientHealthCareParty } from './PatientHealthCareParty'\nimport { PersonName } from './PersonName'\nimport { PropertyStub } from './PropertyStub'\nimport { SchoolingInfo } from './SchoolingInfo'\nimport { Annotation } from './Annotation'\n\n/**\n * This entity is a root level object. It represents a patient It is serialized in JSON and saved in the underlying icure-patient CouchDB database.\n */\nimport { b64_2ab } from './ModelHelper'\nimport { SecurityMetadata } from './SecurityMetadata'\nimport { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName'\nexport class Patient {\n constructor(json: JSON | any) {\n let pictureData: { picture?: ArrayBuffer } = {}\n if (!!json?.picture) {\n if (typeof json.picture === 'string') {\n pictureData.picture = b64_2ab(json.picture)\n } else if (json.picture instanceof ArrayBuffer || ArrayBuffer.isView(json.picture)) {\n pictureData.picture = json.picture\n } else {\n throw new Error(`Invalid type for picture: ${typeof json.picture}`)\n }\n }\n Object.assign(this as Patient, json, pictureData)\n }\n\n /**\n * the Id of the patient. We encourage using either a v4 UUID or a HL7 Id.\n */\n id?: string\n /**\n * the revision of the patient in the database, used for conflict management / optimistic locking.\n */\n rev?: string\n identifier?: Array<Identifier>\n /**\n * The timestamp (unix epoch in ms) of creation of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n created?: number\n /**\n * The date (unix epoch in ms) of the latest modification of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n modified?: number\n /**\n * The id of the User that has created this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n author?: string\n /**\n * The id of the HealthcareParty that is responsible for this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n responsible?: string\n /**\n * A tag is an item from a codification system that qualifies an entity as being member of a certain class, whatever the value it might have taken. If the tag qualifies the content of a field, it means that whatever the content of the field, the tag will always apply. For example, the label of a field is qualified using a tag. LOINC is a codification system typically used for tags.\n */\n tags?: Array<CodeStub>\n /**\n * A code is an item from a codification system that qualifies the content of this entity. SNOMED-CT, ICPC-2 or ICD-10 codifications systems can be used for codes\n */\n codes?: Array<CodeStub>\n /**\n * Soft delete (unix epoch in ms) timestamp of the object.\n */\n endOfLife?: number\n /**\n * hard delete (unix epoch in ms) timestamp of the object. Filled automatically when deletePatient is called.\n */\n deletionDate?: number\n /**\n * the firstname (name) of the patient.\n */\n firstName?: string\n /**\n * the lastname (surname) of the patient. This is the official lastname that should be used for official administrative purposes.\n */\n lastName?: string\n /**\n * 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\n */\n names?: Array<PersonName>\n /**\n * the name of the company this patient is member of.\n */\n companyName?: string\n /**\n * the list of languages spoken by the patient ordered by fluency (alpha-2 code http://www.loc.gov/standards/iso639-2/ascii_8bits.html).\n */\n languages?: Array<string>\n /**\n * the list of addresses (with address type).\n */\n addresses?: Array<Address>\n /**\n * Mr., Ms., Pr., Dr. ...\n */\n civility?: string\n /**\n * the gender of the patient: male, female, indeterminate, changed, changedToMale, changedToFemale, unknown\n */\n gender?: Patient.GenderEnum\n /**\n * the birth sex of the patient: male, female, indeterminate, unknown\n */\n birthSex?: Patient.BirthSexEnum\n /**\n * The id of the patient this patient has been merged with.\n */\n mergeToPatientId?: string\n /**\n * The ids of the patients that have been merged inside this patient.\n */\n mergedIds?: Array<string>\n /**\n * An alias of the person, nickname, ...\n */\n alias?: string\n /**\n * Is the patient active (boolean).\n */\n active?: boolean\n /**\n * When not active, the reason for deactivation.\n */\n deactivationReason?: Patient.DeactivationReasonEnum\n /**\n * Deactivation date of the patient\n */\n deactivationDate?: number\n /**\n * Social security inscription number.\n */\n ssin?: string\n /**\n * Lastname at birth (can be different of the current name), depending on the country, must be used to design the patient .\n */\n maidenName?: string\n /**\n * Lastname of the spouse for a married woman, depending on the country, can be used to design the patient.\n */\n spouseName?: string\n /**\n * Lastname of the partner, should not be used to design the patient.\n */\n partnerName?: string\n /**\n * any of `single`, `in_couple`, `married`, `separated`, `divorced`, `divorcing`, `widowed`, `widower`, `complicated`, `unknown`, `contract`, `other`.\n */\n personalStatus?: Patient.PersonalStatusEnum\n /**\n * The birthdate encoded as a fuzzy date on 8 positions (YYYYMMDD) MM and/or DD can be set to 00 if unknown (19740000 is a valid date).\n */\n dateOfBirth?: number\n /**\n * The date of death encoded as a fuzzy date on 8 positions (YYYYMMDD) MM and/or DD can be set to 00 if unknown (19740000 is a valid date).\n */\n dateOfDeath?: number\n /**\n * Timestamp of the latest validation of the eID of the person..\n */\n timestampOfLatestEidReading?: number\n /**\n * The place of birth.\n */\n placeOfBirth?: string\n /**\n * The place of death.\n */\n placeOfDeath?: string\n /**\n * Is the patient deceased.\n */\n deceased?: boolean\n /**\n * The level of education (college degree, undergraduate, phd).\n */\n education?: string\n /**\n * The current professional activity.\n */\n profession?: string\n /**\n * A text note (can be confidential, encrypted by default).\n * @deprecated use notes instead with proper tags\n */\n note?: string\n /**\n * An administrative note, not confidential.\n * @deprecated use notes instead with proper tags\n */\n administrativeNote?: string\n /**\n * A list of localized notes.\n */\n notes?: Annotation[]\n /**\n * The nationality of the patient.\n */\n nationality?: string\n /**\n * The race of the patient.\n */\n race?: string\n /**\n * The ethnicity of the patient.\n */\n ethnicity?: string\n /**\n * The id of the user that usually handles this patient.\n */\n preferredUserId?: string\n /**\n * A picture usually saved in JPEG format.\n */\n picture?: ArrayBuffer\n /**\n * An external (from another source) id with no guarantee or requirement for unicity .\n */\n externalId?: string\n /**\n * List of insurance coverages (of class Insurability, see below).\n */\n insurabilities?: Array<Insurability>\n /**\n * List of partners, or persons of contact (of class Partnership, see below).\n */\n partnerships?: Array<Partnership>\n /**\n * Links (usually for therapeutic reasons) between this patient and healthcare parties (of class PatientHealthcareParty).\n */\n patientHealthCareParties?: Array<PatientHealthCareParty>\n /**\n * Financial information (Bank, bank account) used to reimburse the patient.\n */\n financialInstitutionInformation?: Array<FinancialInstitutionInformation>\n /**\n * Contracts between the patient and the healthcare entity.\n */\n medicalHouseContracts?: Array<MedicalHouseContract>\n /**\n * Codified list of professions exercised by this patient.\n */\n patientProfessions?: Array<CodeStub>\n /**\n * Extra parameters\n */\n parameters?: { [key: string]: Array<string> }\n /**\n * Extra properties\n */\n properties?: Array<PropertyStub>\n /**\n * 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.\n */\n hcPartyKeys?: { [key: string]: Array<string> }\n /**\n * Extra AES exchange keys, usually the ones we lost access to at some point. The structure is { publicKey: { delegateId: { myPubKey1: aesExKey_for_this, delegatePubKey1: aesExKey_for_delegate } } }\n */\n aesExchangeKeys?: { [key: string]: { [key: string]: { [key: string]: string } } }\n /**\n * Our private keys encrypted with our public keys. The structure is { publicKey1: { publicKey2: privateKey2_encrypted_with_publicKey1, publicKey3: privateKey3_encrypted_with_publicKey1 } }\n */\n transferKeys?: { [key: string]: { [key: string]: string } }\n /**\n * The privateKeyShamirPartitions are used to share this hcp's private RSA key with a series of other hcParties using Shamir's algorithm. The key of the map is the hcp Id with whom this partition has been shared. The value is \\\"threshold⎮partition in hex\\\" encrypted using the the partition's holder's public RSA key\n */\n privateKeyShamirPartitions?: { [key: string]: string }\n /**\n * The public key of this hcp\n */\n publicKey?: string\n /**\n * The public keys of this actor that are generates using the OAEP Sha-256 standard\n */\n publicKeysForOaepWithSha256?: Array<string>\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find all contacts for a specific patient. These keys are in clear. You can have several to partition the medical document space.\n */\n secretForeignKeys?: Array<string>\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find the patient for a specific contact. These keys are the encrypted id (using the hcParty key for the delegate) that can be found in clear inside the patient. ids encrypted using the hcParty keys.\n */\n cryptedForeignKeys?: { [key: string]: Array<Delegation> }\n /**\n * When a document is created, the responsible generates a cryptographically random master key (never to be used for something else than referencing from other entities). He/she encrypts it using his own AES exchange key and stores it as a delegation. The responsible is thus always in the delegations as well\n */\n delegations?: { [key: string]: Array<Delegation> }\n /**\n * When a document needs to be encrypted, the responsible generates a cryptographically random master key (different from the delegation key, never to appear in clear anywhere in the db. He/she encrypts it using his own AES exchange key and stores it as a delegation\n */\n encryptionKeys?: { [key: string]: Array<Delegation> }\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n /**\n * The id of the medical location where this entity was created.\n */\n medicalLocationId?: string\n nonDuplicateIds?: Array<string>\n encryptedAdministrativesDocuments?: Array<string>\n comment?: string\n warning?: string\n fatherBirthCountry?: CodeStub\n birthCountry?: CodeStub\n nativeCountry?: CodeStub\n socialStatus?: CodeStub\n mainSourceOfIncome?: CodeStub\n schoolingInfos?: Array<SchoolingInfo>\n employementInfos?: Array<EmploymentInfo>\n securityMetadata?: SecurityMetadata\n parentId?: never\n}\nexport namespace Patient {\n export type GenderEnum = 'male' | 'female' | 'indeterminate' | 'changed' | 'changedToMale' | 'changedToFemale' | 'unknown'\n export const GenderEnum = {\n Male: 'male' as GenderEnum,\n Female: 'female' as GenderEnum,\n Indeterminate: 'indeterminate' as GenderEnum,\n Changed: 'changed' as GenderEnum,\n ChangedToMale: 'changedToMale' as GenderEnum,\n ChangedToFemale: 'changedToFemale' as GenderEnum,\n Unknown: 'unknown' as GenderEnum,\n }\n export type BirthSexEnum = 'male' | 'female' | 'indeterminate' | 'changed' | 'changedToMale' | 'changedToFemale' | 'unknown'\n export const BirthSexEnum = {\n Male: 'male' as BirthSexEnum,\n Female: 'female' as BirthSexEnum,\n Indeterminate: 'indeterminate' as BirthSexEnum,\n Changed: 'changed' as BirthSexEnum,\n ChangedToMale: 'changedToMale' as BirthSexEnum,\n ChangedToFemale: 'changedToFemale' as BirthSexEnum,\n Unknown: 'unknown' as BirthSexEnum,\n }\n export type DeactivationReasonEnum = 'deceased' | 'moved' | 'other_doctor' | 'retired' | 'no_contact' | 'unknown' | 'none'\n export const DeactivationReasonEnum = {\n Deceased: 'deceased' as DeactivationReasonEnum,\n Moved: 'moved' as DeactivationReasonEnum,\n OtherDoctor: 'other_doctor' as DeactivationReasonEnum,\n Retired: 'retired' as DeactivationReasonEnum,\n NoContact: 'no_contact' as DeactivationReasonEnum,\n Unknown: 'unknown' as DeactivationReasonEnum,\n None: 'none' as DeactivationReasonEnum,\n }\n export type PersonalStatusEnum =\n | 'single'\n | 'in_couple'\n | 'married'\n | 'separated'\n | 'divorced'\n | 'divorcing'\n | 'widowed'\n | 'widower'\n | 'complicated'\n | 'unknown'\n | 'contract'\n | 'other'\n | 'annulled'\n | 'polygamous'\n export const PersonalStatusEnum = {\n Single: 'single' as PersonalStatusEnum,\n InCouple: 'in_couple' as PersonalStatusEnum,\n Married: 'married' as PersonalStatusEnum,\n Separated: 'separated' as PersonalStatusEnum,\n Divorced: 'divorced' as PersonalStatusEnum,\n Divorcing: 'divorcing' as PersonalStatusEnum,\n Widowed: 'widowed' as PersonalStatusEnum,\n Widower: 'widower' as PersonalStatusEnum,\n Complicated: 'complicated' as PersonalStatusEnum,\n Unknown: 'unknown' as PersonalStatusEnum,\n Contract: 'contract' as PersonalStatusEnum,\n Other: 'other' as PersonalStatusEnum,\n Annulled: 'annulled' as PersonalStatusEnum,\n Polygamous: 'polygamous' as PersonalStatusEnum,\n }\n}\n"]}
1
+ {"version":3,"file":"Patient.js","sourceRoot":"","sources":["../../../icc-api/model/Patient.ts"],"names":[],"mappings":";;;AA0BA;;GAEG;AACH,+CAAuC;AAGvC,MAAa,OAAO;IAClB,YAAY,IAAgB;QAC1B,IAAI,WAAW,GAA8B,EAAE,CAAA;QAC/C,IAAI,CAAC,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,CAAA,EAAE,CAAC;YACpB,IAAI,OAAO,IAAI,CAAC,OAAO,KAAK,QAAQ,EAAE,CAAC;gBACrC,WAAW,CAAC,OAAO,GAAG,IAAA,qBAAO,EAAC,IAAI,CAAC,OAAO,CAAC,CAAA;YAC7C,CAAC;iBAAM,IAAI,IAAI,CAAC,OAAO,YAAY,WAAW,IAAI,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;gBACnF,WAAW,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAA;YACpC,CAAC;iBAAM,CAAC;gBACN,MAAM,IAAI,KAAK,CAAC,6BAA6B,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC,CAAA;YACrE,CAAC;QACH,CAAC;QACD,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,IAAI,EAAE,WAAW,CAAC,CAAA;IACnD,CAAC;CA8RF;AA3SD,0BA2SC;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,uBAAP,OAAO,QA8DvB","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { Address } from './Address'\nimport { CodeStub } from './CodeStub'\nimport { Delegation } from './Delegation'\nimport { EmploymentInfo } from './EmploymentInfo'\nimport { FinancialInstitutionInformation } from './FinancialInstitutionInformation'\nimport { Identifier } from './Identifier'\nimport { Insurability } from './Insurability'\nimport { MedicalHouseContract } from './MedicalHouseContract'\nimport { Partnership } from './Partnership'\nimport { PatientHealthCareParty } from './PatientHealthCareParty'\nimport { PersonName } from './PersonName'\nimport { PropertyStub } from './PropertyStub'\nimport { SchoolingInfo } from './SchoolingInfo'\nimport { Annotation } from './Annotation'\n\n/**\n * This entity is a root level object. It represents a patient It is serialized in JSON and saved in the underlying icure-patient CouchDB database.\n */\nimport { b64_2ab } from './ModelHelper'\nimport { SecurityMetadata } from './SecurityMetadata'\nimport { EntityWithDelegationTypeName } from '../../icc-x-api/utils/EntityWithDelegationTypeName'\nexport class Patient {\n constructor(json: JSON | any) {\n let pictureData: { picture?: ArrayBuffer } = {}\n if (!!json?.picture) {\n if (typeof json.picture === 'string') {\n pictureData.picture = b64_2ab(json.picture)\n } else if (json.picture instanceof ArrayBuffer || ArrayBuffer.isView(json.picture)) {\n pictureData.picture = json.picture\n } else {\n throw new Error(`Invalid type for picture: ${typeof json.picture}`)\n }\n }\n Object.assign(this as Patient, json, pictureData)\n }\n\n /**\n * the Id of the patient. We encourage using either a v4 UUID or a HL7 Id.\n */\n id?: string\n /**\n * the revision of the patient in the database, used for conflict management / optimistic locking.\n */\n rev?: string\n identifier?: Array<Identifier>\n /**\n * The timestamp (unix epoch in ms) of creation of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n created?: number\n /**\n * The date (unix epoch in ms) of the latest modification of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n modified?: number\n /**\n * The id of the User that has created this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n author?: string\n /**\n * The id of the HealthcareParty that is responsible for this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n responsible?: string\n /**\n * A tag is an item from a codification system that qualifies an entity as being member of a certain class, whatever the value it might have taken. If the tag qualifies the content of a field, it means that whatever the content of the field, the tag will always apply. For example, the label of a field is qualified using a tag. LOINC is a codification system typically used for tags.\n */\n tags?: Array<CodeStub>\n /**\n * A code is an item from a codification system that qualifies the content of this entity. SNOMED-CT, ICPC-2 or ICD-10 codifications systems can be used for codes\n */\n codes?: Array<CodeStub>\n /**\n * Soft delete (unix epoch in ms) timestamp of the object.\n */\n endOfLife?: number\n /**\n * hard delete (unix epoch in ms) timestamp of the object. Filled automatically when deletePatient is called.\n */\n deletionDate?: number\n /**\n * the firstname (name) of the patient.\n */\n firstName?: string\n /**\n * the lastname (surname) of the patient. This is the official lastname that should be used for official administrative purposes.\n */\n lastName?: string\n /**\n * 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\n */\n names?: Array<PersonName>\n /**\n * the name of the company this patient is member of.\n */\n companyName?: string\n /**\n * the list of languages spoken by the patient ordered by fluency (alpha-2 code http://www.loc.gov/standards/iso639-2/ascii_8bits.html).\n */\n languages?: Array<string>\n /**\n * the list of addresses (with address type).\n */\n addresses?: Array<Address>\n /**\n * Mr., Ms., Pr., Dr. ...\n */\n civility?: string\n /**\n * the gender of the patient: male, female, indeterminate, changed, changedToMale, changedToFemale, unknown\n */\n gender?: Patient.GenderEnum\n /**\n * the birth sex of the patient: male, female, indeterminate, unknown\n */\n birthSex?: Patient.BirthSexEnum\n /**\n * The id of the patient this patient has been merged with.\n */\n mergeToPatientId?: string\n /**\n * The ids of the patients that have been merged inside this patient.\n */\n mergedIds?: Array<string>\n /**\n * An alias of the person, nickname, ...\n */\n alias?: string\n /**\n * Is the patient active (boolean).\n */\n active?: boolean\n /**\n * When not active, the reason for deactivation.\n */\n deactivationReason?: Patient.DeactivationReasonEnum\n /**\n * Deactivation date of the patient\n */\n deactivationDate?: number\n /**\n * Social security inscription number.\n */\n ssin?: string\n /**\n * Lastname at birth (can be different of the current name), depending on the country, must be used to design the patient .\n */\n maidenName?: string\n /**\n * Lastname of the spouse for a married woman, depending on the country, can be used to design the patient.\n */\n spouseName?: string\n /**\n * Lastname of the partner, should not be used to design the patient.\n */\n partnerName?: string\n /**\n * any of `single`, `in_couple`, `married`, `separated`, `divorced`, `divorcing`, `widowed`, `widower`, `complicated`, `unknown`, `contract`, `other`.\n */\n personalStatus?: Patient.PersonalStatusEnum\n /**\n * The birthdate encoded as a fuzzy date on 8 positions (YYYYMMDD) MM and/or DD can be set to 00 if unknown (19740000 is a valid date).\n */\n dateOfBirth?: number\n /**\n * The date of death encoded as a fuzzy date on 8 positions (YYYYMMDD) MM and/or DD can be set to 00 if unknown (19740000 is a valid date).\n */\n dateOfDeath?: number\n /**\n * Timestamp of the latest validation of the eID of the person..\n */\n timestampOfLatestEidReading?: number\n /**\n * The place of birth.\n */\n placeOfBirth?: string\n /**\n * The place of death.\n */\n placeOfDeath?: string\n /**\n * Is the patient deceased.\n */\n deceased?: boolean\n /**\n * The level of education (college degree, undergraduate, phd).\n */\n education?: string\n /**\n * The current professional activity.\n */\n profession?: string\n /**\n * A text note (can be confidential, encrypted by default).\n * @deprecated use notes instead with proper tags\n */\n note?: string\n /**\n * An administrative note, not confidential.\n * @deprecated use notes instead with proper tags\n */\n administrativeNote?: string\n /**\n * A list of localized notes.\n */\n notes?: Annotation[]\n /**\n * The nationality of the patient.\n */\n nationality?: string\n /**\n * The race of the patient.\n */\n race?: string\n /**\n * The ethnicity of the patient.\n */\n ethnicity?: string\n /**\n * The id of the user that usually handles this patient.\n */\n preferredUserId?: string\n /**\n * A picture usually saved in JPEG format.\n */\n picture?: ArrayBuffer\n /**\n * An external (from another source) id with no guarantee or requirement for unicity .\n */\n externalId?: string\n /**\n * List of insurance coverages (of class Insurability, see below).\n */\n insurabilities?: Array<Insurability>\n /**\n * List of partners, or persons of contact (of class Partnership, see below).\n */\n partnerships?: Array<Partnership>\n /**\n * Links (usually for therapeutic reasons) between this patient and healthcare parties (of class PatientHealthcareParty).\n */\n patientHealthCareParties?: Array<PatientHealthCareParty>\n /**\n * Financial information (Bank, bank account) used to reimburse the patient.\n */\n financialInstitutionInformation?: Array<FinancialInstitutionInformation>\n /**\n * Contracts between the patient and the healthcare entity.\n */\n medicalHouseContracts?: Array<MedicalHouseContract>\n /**\n * Codified list of professions exercised by this patient.\n */\n patientProfessions?: Array<CodeStub>\n /**\n * Extra parameters\n */\n parameters?: { [key: string]: Array<string> }\n /**\n * Extra properties\n */\n properties?: Array<PropertyStub>\n /**\n * 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.\n */\n hcPartyKeys?: { [key: string]: Array<string> }\n /**\n * Extra AES exchange keys, usually the ones we lost access to at some point. The structure is { publicKey: { delegateId: { myPubKey1: aesExKey_for_this, delegatePubKey1: aesExKey_for_delegate } } }\n */\n aesExchangeKeys?: { [key: string]: { [key: string]: { [key: string]: string } } }\n /**\n * Our private keys encrypted with our public keys. The structure is { publicKey1: { publicKey2: privateKey2_encrypted_with_publicKey1, publicKey3: privateKey3_encrypted_with_publicKey1 } }\n */\n transferKeys?: { [key: string]: { [key: string]: string } }\n /**\n * The privateKeyShamirPartitions are used to share this hcp's private RSA key with a series of other hcParties using Shamir's algorithm. The key of the map is the hcp Id with whom this partition has been shared. The value is \\\"threshold⎮partition in hex\\\" encrypted using the the partition's holder's public RSA key\n */\n privateKeyShamirPartitions?: { [key: string]: string }\n /**\n * The public key of this hcp\n */\n publicKey?: string\n /**\n * The public keys of this actor that are generates using the OAEP Sha-256 standard\n */\n publicKeysForOaepWithSha256?: Array<string>\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find all contacts for a specific patient. These keys are in clear. You can have several to partition the medical document space.\n */\n secretForeignKeys?: Array<string>\n /**\n * The secretForeignKeys are filled at the to many end of a one to many relationship (for example inside Contact for the Patient -> Contacts relationship). Used when we want to find the patient for a specific contact. These keys are the encrypted id (using the hcParty key for the delegate) that can be found in clear inside the patient. ids encrypted using the hcParty keys.\n */\n cryptedForeignKeys?: { [key: string]: Array<Delegation> }\n /**\n * When a document is created, the responsible generates a cryptographically random master key (never to be used for something else than referencing from other entities). He/she encrypts it using his own AES exchange key and stores it as a delegation. The responsible is thus always in the delegations as well\n */\n delegations?: { [key: string]: Array<Delegation> }\n /**\n * When a document needs to be encrypted, the responsible generates a cryptographically random master key (different from the delegation key, never to appear in clear anywhere in the db. He/she encrypts it using his own AES exchange key and stores it as a delegation\n */\n encryptionKeys?: { [key: string]: Array<Delegation> }\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n /**\n * The id of the medical location where this entity was created.\n */\n medicalLocationId?: string\n nonDuplicateIds?: Array<string>\n encryptedAdministrativesDocuments?: Array<string>\n comment?: string\n warning?: string\n fatherBirthCountry?: CodeStub\n birthCountry?: CodeStub\n nativeCountry?: CodeStub\n socialStatus?: CodeStub\n mainSourceOfIncome?: CodeStub\n schoolingInfos?: Array<SchoolingInfo>\n employementInfos?: Array<EmploymentInfo>\n securityMetadata?: SecurityMetadata\n parentId?: never\n}\nexport namespace Patient {\n export type GenderEnum = 'male' | 'female' | 'indeterminate' | 'changed' | 'changedToMale' | 'changedToFemale' | 'unknown'\n export const GenderEnum = {\n Male: 'male' as GenderEnum,\n Female: 'female' as GenderEnum,\n Indeterminate: 'indeterminate' as GenderEnum,\n Changed: 'changed' as GenderEnum,\n ChangedToMale: 'changedToMale' as GenderEnum,\n ChangedToFemale: 'changedToFemale' as GenderEnum,\n Unknown: 'unknown' as GenderEnum,\n }\n export type BirthSexEnum = 'male' | 'female' | 'indeterminate' | 'changed' | 'changedToMale' | 'changedToFemale' | 'unknown'\n export const BirthSexEnum = {\n Male: 'male' as BirthSexEnum,\n Female: 'female' as BirthSexEnum,\n Indeterminate: 'indeterminate' as BirthSexEnum,\n Changed: 'changed' as BirthSexEnum,\n ChangedToMale: 'changedToMale' as BirthSexEnum,\n ChangedToFemale: 'changedToFemale' as BirthSexEnum,\n Unknown: 'unknown' as BirthSexEnum,\n }\n export type DeactivationReasonEnum = 'deceased' | 'moved' | 'other_doctor' | 'retired' | 'no_contact' | 'unknown' | 'none'\n export const DeactivationReasonEnum = {\n Deceased: 'deceased' as DeactivationReasonEnum,\n Moved: 'moved' as DeactivationReasonEnum,\n OtherDoctor: 'other_doctor' as DeactivationReasonEnum,\n Retired: 'retired' as DeactivationReasonEnum,\n NoContact: 'no_contact' as DeactivationReasonEnum,\n Unknown: 'unknown' as DeactivationReasonEnum,\n None: 'none' as DeactivationReasonEnum,\n }\n export type PersonalStatusEnum =\n | 'single'\n | 'in_couple'\n | 'married'\n | 'separated'\n | 'divorced'\n | 'divorcing'\n | 'widowed'\n | 'widower'\n | 'complicated'\n | 'unknown'\n | 'contract'\n | 'other'\n | 'annulled'\n | 'polygamous'\n export const PersonalStatusEnum = {\n Single: 'single' as PersonalStatusEnum,\n InCouple: 'in_couple' as PersonalStatusEnum,\n Married: 'married' as PersonalStatusEnum,\n Separated: 'separated' as PersonalStatusEnum,\n Divorced: 'divorced' as PersonalStatusEnum,\n Divorcing: 'divorcing' as PersonalStatusEnum,\n Widowed: 'widowed' as PersonalStatusEnum,\n Widower: 'widower' as PersonalStatusEnum,\n Complicated: 'complicated' as PersonalStatusEnum,\n Unknown: 'unknown' as PersonalStatusEnum,\n Contract: 'contract' as PersonalStatusEnum,\n Other: 'other' as PersonalStatusEnum,\n Annulled: 'annulled' as PersonalStatusEnum,\n Polygamous: 'polygamous' as PersonalStatusEnum,\n }\n}\n"]}
@@ -28,5 +28,5 @@ exports.PatientByHcPartyGenderEducationProfession = PatientByHcPartyGenderEducat
28
28
  X: 'X',
29
29
  U: 'U',
30
30
  };
31
- })(PatientByHcPartyGenderEducationProfession = exports.PatientByHcPartyGenderEducationProfession || (exports.PatientByHcPartyGenderEducationProfession = {}));
31
+ })(PatientByHcPartyGenderEducationProfession || (exports.PatientByHcPartyGenderEducationProfession = PatientByHcPartyGenderEducationProfession = {}));
32
32
  //# sourceMappingURL=PatientByHcPartyGenderEducationProfession.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PatientByHcPartyGenderEducationProfession.js","sourceRoot":"","sources":["../../../icc-api/model/PatientByHcPartyGenderEducationProfession.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,yCAAyC;IACpD,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAiD,EAAE,IAAI,CAAC,CAAA;IACxE,CAAC;CAOF;AAVD,8FAUC;AACD,WAAiB,yCAAyC;IAE3C,oDAAU,GAAG;QACxB,CAAC,EAAE,GAAiB;QACpB,CAAC,EAAE,GAAiB;QACpB,CAAC,EAAE,GAAiB;QACpB,CAAC,EAAE,GAAiB;QACpB,CAAC,EAAE,GAAiB;QACpB,CAAC,EAAE,GAAiB;QACpB,CAAC,EAAE,GAAiB;KACrB,CAAA;AACH,CAAC,EAXgB,yCAAyC,GAAzC,iDAAyC,KAAzC,iDAAyC,QAWzD","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport class PatientByHcPartyGenderEducationProfession {\n constructor(json: JSON | any) {\n Object.assign(this as PatientByHcPartyGenderEducationProfession, json)\n }\n\n desc?: string\n healthcarePartyId?: string\n gender?: PatientByHcPartyGenderEducationProfession.GenderEnum\n education?: string\n profession?: string\n}\nexport namespace PatientByHcPartyGenderEducationProfession {\n export type GenderEnum = 'M' | 'F' | 'I' | 'C' | 'Y' | 'X' | 'U'\n export const GenderEnum = {\n M: 'M' as GenderEnum,\n F: 'F' as GenderEnum,\n I: 'I' as GenderEnum,\n C: 'C' as GenderEnum,\n Y: 'Y' as GenderEnum,\n X: 'X' as GenderEnum,\n U: 'U' as GenderEnum,\n }\n}\n"]}
1
+ {"version":3,"file":"PatientByHcPartyGenderEducationProfession.js","sourceRoot":"","sources":["../../../icc-api/model/PatientByHcPartyGenderEducationProfession.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,yCAAyC;IACpD,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAiD,EAAE,IAAI,CAAC,CAAA;IACxE,CAAC;CAOF;AAVD,8FAUC;AACD,WAAiB,yCAAyC;IAE3C,oDAAU,GAAG;QACxB,CAAC,EAAE,GAAiB;QACpB,CAAC,EAAE,GAAiB;QACpB,CAAC,EAAE,GAAiB;QACpB,CAAC,EAAE,GAAiB;QACpB,CAAC,EAAE,GAAiB;QACpB,CAAC,EAAE,GAAiB;QACpB,CAAC,EAAE,GAAiB;KACrB,CAAA;AACH,CAAC,EAXgB,yCAAyC,yDAAzC,yCAAyC,QAWzD","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport class PatientByHcPartyGenderEducationProfession {\n constructor(json: JSON | any) {\n Object.assign(this as PatientByHcPartyGenderEducationProfession, json)\n }\n\n desc?: string\n healthcarePartyId?: string\n gender?: PatientByHcPartyGenderEducationProfession.GenderEnum\n education?: string\n profession?: string\n}\nexport namespace PatientByHcPartyGenderEducationProfession {\n export type GenderEnum = 'M' | 'F' | 'I' | 'C' | 'Y' | 'X' | 'U'\n export const GenderEnum = {\n M: 'M' as GenderEnum,\n F: 'F' as GenderEnum,\n I: 'I' as GenderEnum,\n C: 'C' as GenderEnum,\n Y: 'Y' as GenderEnum,\n X: 'X' as GenderEnum,\n U: 'U' as GenderEnum,\n }\n}\n"]}
@@ -21,5 +21,5 @@ exports.PatientHealthCareParty = PatientHealthCareParty;
21
21
  Referringphysician: 'referringphysician',
22
22
  Managingorganization: 'managingorganization',
23
23
  };
24
- })(PatientHealthCareParty = exports.PatientHealthCareParty || (exports.PatientHealthCareParty = {}));
24
+ })(PatientHealthCareParty || (exports.PatientHealthCareParty = PatientHealthCareParty = {}));
25
25
  //# sourceMappingURL=PatientHealthCareParty.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PatientHealthCareParty.js","sourceRoot":"","sources":["../../../icc-api/model/PatientHealthCareParty.ts"],"names":[],"mappings":";;;AAaA;;GAEG;AACH,MAAa,sBAAsB;IACjC,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAA8B,EAAE,IAAI,CAAC,CAAA;IACrD,CAAC;CAuBF;AA1BD,wDA0BC;AACD,WAAiB,sBAAsB;IAUxB,+BAAQ,GAAG;QACtB,MAAM,EAAE,QAAoB;QAC5B,QAAQ,EAAE,UAAsB;QAChC,YAAY,EAAE,cAA0B;QACxC,cAAc,EAAE,gBAA4B;QAC5C,QAAQ,EAAE,UAAsB;QAChC,KAAK,EAAE,OAAmB;QAC1B,kBAAkB,EAAE,oBAAgC;QACpD,oBAAoB,EAAE,sBAAkC;KACzD,CAAA;AACH,CAAC,EApBgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAoBtC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { ReferralPeriod } from './ReferralPeriod'\n\n/**\n * One or several periods of care by an hcp for this patient\n */\nexport class PatientHealthCareParty {\n constructor(json: JSON | any) {\n Object.assign(this as PatientHealthCareParty, json)\n }\n\n /**\n * Type of care/relationship.\n */\n type?: PatientHealthCareParty.TypeEnum\n /**\n * UUID of the hcp.\n */\n healthcarePartyId?: string\n /**\n * Preferred format of exchange for diverse means of communication\n */\n sendFormats?: { [key: string]: string }\n /**\n * Time periods\n */\n referralPeriods?: Array<ReferralPeriod>\n referral?: boolean\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n}\nexport namespace PatientHealthCareParty {\n export type TypeEnum =\n | 'doctor'\n | 'referral'\n | 'medicalhouse'\n | 'retirementhome'\n | 'hospital'\n | 'other'\n | 'referringphysician'\n | 'managingorganization'\n export const TypeEnum = {\n Doctor: 'doctor' as TypeEnum,\n Referral: 'referral' as TypeEnum,\n Medicalhouse: 'medicalhouse' as TypeEnum,\n Retirementhome: 'retirementhome' as TypeEnum,\n Hospital: 'hospital' as TypeEnum,\n Other: 'other' as TypeEnum,\n Referringphysician: 'referringphysician' as TypeEnum,\n Managingorganization: 'managingorganization' as TypeEnum,\n }\n}\n"]}
1
+ {"version":3,"file":"PatientHealthCareParty.js","sourceRoot":"","sources":["../../../icc-api/model/PatientHealthCareParty.ts"],"names":[],"mappings":";;;AAaA;;GAEG;AACH,MAAa,sBAAsB;IACjC,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAA8B,EAAE,IAAI,CAAC,CAAA;IACrD,CAAC;CAuBF;AA1BD,wDA0BC;AACD,WAAiB,sBAAsB;IAUxB,+BAAQ,GAAG;QACtB,MAAM,EAAE,QAAoB;QAC5B,QAAQ,EAAE,UAAsB;QAChC,YAAY,EAAE,cAA0B;QACxC,cAAc,EAAE,gBAA4B;QAC5C,QAAQ,EAAE,UAAsB;QAChC,KAAK,EAAE,OAAmB;QAC1B,kBAAkB,EAAE,oBAAgC;QACpD,oBAAoB,EAAE,sBAAkC;KACzD,CAAA;AACH,CAAC,EApBgB,sBAAsB,sCAAtB,sBAAsB,QAoBtC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { ReferralPeriod } from './ReferralPeriod'\n\n/**\n * One or several periods of care by an hcp for this patient\n */\nexport class PatientHealthCareParty {\n constructor(json: JSON | any) {\n Object.assign(this as PatientHealthCareParty, json)\n }\n\n /**\n * Type of care/relationship.\n */\n type?: PatientHealthCareParty.TypeEnum\n /**\n * UUID of the hcp.\n */\n healthcarePartyId?: string\n /**\n * Preferred format of exchange for diverse means of communication\n */\n sendFormats?: { [key: string]: string }\n /**\n * Time periods\n */\n referralPeriods?: Array<ReferralPeriod>\n referral?: boolean\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n}\nexport namespace PatientHealthCareParty {\n export type TypeEnum =\n | 'doctor'\n | 'referral'\n | 'medicalhouse'\n | 'retirementhome'\n | 'hospital'\n | 'other'\n | 'referringphysician'\n | 'managingorganization'\n export const TypeEnum = {\n Doctor: 'doctor' as TypeEnum,\n Referral: 'referral' as TypeEnum,\n Medicalhouse: 'medicalhouse' as TypeEnum,\n Retirementhome: 'retirementhome' as TypeEnum,\n Hospital: 'hospital' as TypeEnum,\n Other: 'other' as TypeEnum,\n Referringphysician: 'referringphysician' as TypeEnum,\n Managingorganization: 'managingorganization' as TypeEnum,\n }\n}\n"]}
@@ -29,5 +29,5 @@ exports.Payment = Payment;
29
29
  Bitcoin: 'bitcoin',
30
30
  Other: 'other',
31
31
  };
32
- })(Payment = exports.Payment || (exports.Payment = {}));
32
+ })(Payment || (exports.Payment = Payment = {}));
33
33
  //# sourceMappingURL=Payment.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../icc-api/model/Payment.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,OAAO;IAClB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,IAAI,CAAC,CAAA;IACtC,CAAC;CAKF;AARD,0BAQC;AACD,WAAiB,OAAO;IAET,uBAAe,GAAG;QAC7B,IAAI,EAAE,MAAyB;QAC/B,KAAK,EAAE,OAA0B;QACjC,SAAS,EAAE,WAA8B;QACzC,UAAU,EAAE,YAA+B;QAC3C,SAAS,EAAE,WAA8B;QACzC,MAAM,EAAE,QAA2B;QACnC,OAAO,EAAE,SAA4B;QACrC,KAAK,EAAE,OAA0B;KAClC,CAAA;AACH,CAAC,EAZgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAYvB","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport class Payment {\n constructor(json: JSON | any) {\n Object.assign(this as Payment, json)\n }\n\n paymentDate?: number\n paymentType?: Payment.PaymentTypeEnum\n paid?: number\n}\nexport namespace Payment {\n export type PaymentTypeEnum = 'cash' | 'wired' | 'insurance' | 'creditcard' | 'debitcard' | 'paypal' | 'bitcoin' | 'other'\n export const PaymentTypeEnum = {\n Cash: 'cash' as PaymentTypeEnum,\n Wired: 'wired' as PaymentTypeEnum,\n Insurance: 'insurance' as PaymentTypeEnum,\n Creditcard: 'creditcard' as PaymentTypeEnum,\n Debitcard: 'debitcard' as PaymentTypeEnum,\n Paypal: 'paypal' as PaymentTypeEnum,\n Bitcoin: 'bitcoin' as PaymentTypeEnum,\n Other: 'other' as PaymentTypeEnum,\n }\n}\n"]}
1
+ {"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../icc-api/model/Payment.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,OAAO;IAClB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,IAAI,CAAC,CAAA;IACtC,CAAC;CAKF;AARD,0BAQC;AACD,WAAiB,OAAO;IAET,uBAAe,GAAG;QAC7B,IAAI,EAAE,MAAyB;QAC/B,KAAK,EAAE,OAA0B;QACjC,SAAS,EAAE,WAA8B;QACzC,UAAU,EAAE,YAA+B;QAC3C,SAAS,EAAE,WAA8B;QACzC,MAAM,EAAE,QAA2B;QACnC,OAAO,EAAE,SAA4B;QACrC,KAAK,EAAE,OAA0B;KAClC,CAAA;AACH,CAAC,EAZgB,OAAO,uBAAP,OAAO,QAYvB","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport class Payment {\n constructor(json: JSON | any) {\n Object.assign(this as Payment, json)\n }\n\n paymentDate?: number\n paymentType?: Payment.PaymentTypeEnum\n paid?: number\n}\nexport namespace Payment {\n export type PaymentTypeEnum = 'cash' | 'wired' | 'insurance' | 'creditcard' | 'debitcard' | 'paypal' | 'bitcoin' | 'other'\n export const PaymentTypeEnum = {\n Cash: 'cash' as PaymentTypeEnum,\n Wired: 'wired' as PaymentTypeEnum,\n Insurance: 'insurance' as PaymentTypeEnum,\n Creditcard: 'creditcard' as PaymentTypeEnum,\n Debitcard: 'debitcard' as PaymentTypeEnum,\n Paypal: 'paypal' as PaymentTypeEnum,\n Bitcoin: 'bitcoin' as PaymentTypeEnum,\n Other: 'other' as PaymentTypeEnum,\n }\n}\n"]}
@@ -33,5 +33,5 @@ exports.PermissionCriterion = PermissionCriterion;
33
33
  SENSITIVE: 'SENSITIVE',
34
34
  CONFIDENTIAL: 'CONFIDENTIAL',
35
35
  };
36
- })(PermissionCriterion = exports.PermissionCriterion || (exports.PermissionCriterion = {}));
36
+ })(PermissionCriterion || (exports.PermissionCriterion = PermissionCriterion = {}));
37
37
  //# sourceMappingURL=PermissionCriterion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PermissionCriterion.js","sourceRoot":"","sources":["../../../icc-api/model/PermissionCriterion.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,mBAAmB;IAC9B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAA2B,EAAE,IAAI,CAAC,CAAA;IAClD,CAAC;CAMF;AATD,kDASC;AACD,WAAiB,mBAAmB;IAQrB,mCAAe,GAAG;QAC7B,gBAAgB,EAAE,oBAAuC;QACzD,oBAAoB,EAAE,wBAA2C;QACjE,mBAAmB,EAAE,uBAA0C;QAC/D,uBAAuB,EAAE,2BAA8C;QACvE,sBAAsB,EAAE,2BAA8C;QACtE,iBAAiB,EAAE,sBAAyC;KAC7D,CAAA;IAEY,gCAAY,GAAG;QAC1B,cAAc,EAAE,gBAAgC;QAChD,MAAM,EAAE,QAAwB;QAChC,SAAS,EAAE,WAA2B;QACtC,YAAY,EAAE,cAA8B;KAC7C,CAAA;AACH,CAAC,EAvBgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAuBnC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport class PermissionCriterion {\n constructor(json: JSON | any) {\n Object.assign(this as PermissionCriterion, json)\n }\n\n negative?: boolean\n currentUser?: PermissionCriterion.CurrentUserEnum\n dataType?: PermissionCriterion.DataTypeEnum\n patientStatus?: string\n}\nexport namespace PermissionCriterion {\n export type CurrentUserEnum =\n | 'DATA_CREATION_USER'\n | 'DATA_MODIFICATION_USER'\n | 'PATIENT_CREATION_USER'\n | 'PATIENT_MODIFICATION_USER'\n | 'PATIENT_REFERENCE_HC_USER'\n | 'PATIENT_HC_TEAM_USER'\n export const CurrentUserEnum = {\n DATACREATIONUSER: 'DATA_CREATION_USER' as CurrentUserEnum,\n DATAMODIFICATIONUSER: 'DATA_MODIFICATION_USER' as CurrentUserEnum,\n PATIENTCREATIONUSER: 'PATIENT_CREATION_USER' as CurrentUserEnum,\n PATIENTMODIFICATIONUSER: 'PATIENT_MODIFICATION_USER' as CurrentUserEnum,\n PATIENTREFERENCEHCUSER: 'PATIENT_REFERENCE_HC_USER' as CurrentUserEnum,\n PATIENTHCTEAMUSER: 'PATIENT_HC_TEAM_USER' as CurrentUserEnum,\n }\n export type DataTypeEnum = 'ADMINISTRATIVE' | 'HEALTH' | 'SENSITIVE' | 'CONFIDENTIAL'\n export const DataTypeEnum = {\n ADMINISTRATIVE: 'ADMINISTRATIVE' as DataTypeEnum,\n HEALTH: 'HEALTH' as DataTypeEnum,\n SENSITIVE: 'SENSITIVE' as DataTypeEnum,\n CONFIDENTIAL: 'CONFIDENTIAL' as DataTypeEnum,\n }\n}\n"]}
1
+ {"version":3,"file":"PermissionCriterion.js","sourceRoot":"","sources":["../../../icc-api/model/PermissionCriterion.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,mBAAmB;IAC9B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAA2B,EAAE,IAAI,CAAC,CAAA;IAClD,CAAC;CAMF;AATD,kDASC;AACD,WAAiB,mBAAmB;IAQrB,mCAAe,GAAG;QAC7B,gBAAgB,EAAE,oBAAuC;QACzD,oBAAoB,EAAE,wBAA2C;QACjE,mBAAmB,EAAE,uBAA0C;QAC/D,uBAAuB,EAAE,2BAA8C;QACvE,sBAAsB,EAAE,2BAA8C;QACtE,iBAAiB,EAAE,sBAAyC;KAC7D,CAAA;IAEY,gCAAY,GAAG;QAC1B,cAAc,EAAE,gBAAgC;QAChD,MAAM,EAAE,QAAwB;QAChC,SAAS,EAAE,WAA2B;QACtC,YAAY,EAAE,cAA8B;KAC7C,CAAA;AACH,CAAC,EAvBgB,mBAAmB,mCAAnB,mBAAmB,QAuBnC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport class PermissionCriterion {\n constructor(json: JSON | any) {\n Object.assign(this as PermissionCriterion, json)\n }\n\n negative?: boolean\n currentUser?: PermissionCriterion.CurrentUserEnum\n dataType?: PermissionCriterion.DataTypeEnum\n patientStatus?: string\n}\nexport namespace PermissionCriterion {\n export type CurrentUserEnum =\n | 'DATA_CREATION_USER'\n | 'DATA_MODIFICATION_USER'\n | 'PATIENT_CREATION_USER'\n | 'PATIENT_MODIFICATION_USER'\n | 'PATIENT_REFERENCE_HC_USER'\n | 'PATIENT_HC_TEAM_USER'\n export const CurrentUserEnum = {\n DATACREATIONUSER: 'DATA_CREATION_USER' as CurrentUserEnum,\n DATAMODIFICATIONUSER: 'DATA_MODIFICATION_USER' as CurrentUserEnum,\n PATIENTCREATIONUSER: 'PATIENT_CREATION_USER' as CurrentUserEnum,\n PATIENTMODIFICATIONUSER: 'PATIENT_MODIFICATION_USER' as CurrentUserEnum,\n PATIENTREFERENCEHCUSER: 'PATIENT_REFERENCE_HC_USER' as CurrentUserEnum,\n PATIENTHCTEAMUSER: 'PATIENT_HC_TEAM_USER' as CurrentUserEnum,\n }\n export type DataTypeEnum = 'ADMINISTRATIVE' | 'HEALTH' | 'SENSITIVE' | 'CONFIDENTIAL'\n export const DataTypeEnum = {\n ADMINISTRATIVE: 'ADMINISTRATIVE' as DataTypeEnum,\n HEALTH: 'HEALTH' as DataTypeEnum,\n SENSITIVE: 'SENSITIVE' as DataTypeEnum,\n CONFIDENTIAL: 'CONFIDENTIAL' as DataTypeEnum,\n }\n}\n"]}
@@ -26,5 +26,5 @@ exports.PermissionItem = PermissionItem;
26
26
  FINANCIALDATACREATE: 'FINANCIAL_DATA_CREATE',
27
27
  FINANCIALCHANGEDELETE: 'FINANCIAL_CHANGE_DELETE',
28
28
  };
29
- })(PermissionItem = exports.PermissionItem || (exports.PermissionItem = {}));
29
+ })(PermissionItem || (exports.PermissionItem = PermissionItem = {}));
30
30
  //# sourceMappingURL=PermissionItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PermissionItem.js","sourceRoot":"","sources":["../../../icc-api/model/PermissionItem.ts"],"names":[],"mappings":";;;AAaA;;GAEG;AACH,MAAa,cAAc;IACzB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAsB,EAAE,IAAI,CAAC,CAAA;IAC7C,CAAC;CAKF;AARD,wCAQC;AACD,WAAiB,cAAc;IAehB,uBAAQ,GAAG;QACtB,YAAY,EAAE,cAA0B;QACxC,GAAG,EAAE,KAAiB;QACtB,SAAS,EAAE,WAAuB;QAClC,KAAK,EAAE,OAAmB;QAC1B,WAAW,EAAE,cAA0B;QACvC,aAAa,EAAE,gBAA4B;QAC3C,mBAAmB,EAAE,uBAAmC;QACxD,eAAe,EAAE,mBAA+B;QAChD,iBAAiB,EAAE,qBAAiC;QACpD,mBAAmB,EAAE,uBAAmC;QACxD,iBAAiB,EAAE,qBAAiC;QACpD,mBAAmB,EAAE,uBAAmC;QACxD,qBAAqB,EAAE,yBAAqC;KAC7D,CAAA;AACH,CAAC,EA9BgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QA8B9B","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { Predicate } from './Predicate'\n\n/**\n * Revoked permissions.\n */\nexport class PermissionItem {\n constructor(json: JSON | any) {\n Object.assign(this as PermissionItem, json)\n }\n\n itemType?: string\n type?: PermissionItem.TypeEnum\n predicate?: Predicate\n}\nexport namespace PermissionItem {\n export type TypeEnum =\n | 'AUTHENTICATE'\n | 'HCP'\n | 'PHYSICIAN'\n | 'ADMIN'\n | 'PATIENT_VIEW'\n | 'PATIENT_CREATE'\n | 'PATIENT_CHANGE_DELETE'\n | 'MEDICAL_DATA_VIEW'\n | 'MEDICAL_DATA_CREATE'\n | 'MEDICAL_CHANGE_DELETE'\n | 'FINANCIAL_DATA_VIEW'\n | 'FINANCIAL_DATA_CREATE'\n | 'FINANCIAL_CHANGE_DELETE'\n export const TypeEnum = {\n AUTHENTICATE: 'AUTHENTICATE' as TypeEnum,\n HCP: 'HCP' as TypeEnum,\n PHYSICIAN: 'PHYSICIAN' as TypeEnum,\n ADMIN: 'ADMIN' as TypeEnum,\n PATIENTVIEW: 'PATIENT_VIEW' as TypeEnum,\n PATIENTCREATE: 'PATIENT_CREATE' as TypeEnum,\n PATIENTCHANGEDELETE: 'PATIENT_CHANGE_DELETE' as TypeEnum,\n MEDICALDATAVIEW: 'MEDICAL_DATA_VIEW' as TypeEnum,\n MEDICALDATACREATE: 'MEDICAL_DATA_CREATE' as TypeEnum,\n MEDICALCHANGEDELETE: 'MEDICAL_CHANGE_DELETE' as TypeEnum,\n FINANCIALDATAVIEW: 'FINANCIAL_DATA_VIEW' as TypeEnum,\n FINANCIALDATACREATE: 'FINANCIAL_DATA_CREATE' as TypeEnum,\n FINANCIALCHANGEDELETE: 'FINANCIAL_CHANGE_DELETE' as TypeEnum,\n }\n}\n"]}
1
+ {"version":3,"file":"PermissionItem.js","sourceRoot":"","sources":["../../../icc-api/model/PermissionItem.ts"],"names":[],"mappings":";;;AAaA;;GAEG;AACH,MAAa,cAAc;IACzB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAsB,EAAE,IAAI,CAAC,CAAA;IAC7C,CAAC;CAKF;AARD,wCAQC;AACD,WAAiB,cAAc;IAehB,uBAAQ,GAAG;QACtB,YAAY,EAAE,cAA0B;QACxC,GAAG,EAAE,KAAiB;QACtB,SAAS,EAAE,WAAuB;QAClC,KAAK,EAAE,OAAmB;QAC1B,WAAW,EAAE,cAA0B;QACvC,aAAa,EAAE,gBAA4B;QAC3C,mBAAmB,EAAE,uBAAmC;QACxD,eAAe,EAAE,mBAA+B;QAChD,iBAAiB,EAAE,qBAAiC;QACpD,mBAAmB,EAAE,uBAAmC;QACxD,iBAAiB,EAAE,qBAAiC;QACpD,mBAAmB,EAAE,uBAAmC;QACxD,qBAAqB,EAAE,yBAAqC;KAC7D,CAAA;AACH,CAAC,EA9BgB,cAAc,8BAAd,cAAc,QA8B9B","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { Predicate } from './Predicate'\n\n/**\n * Revoked permissions.\n */\nexport class PermissionItem {\n constructor(json: JSON | any) {\n Object.assign(this as PermissionItem, json)\n }\n\n itemType?: string\n type?: PermissionItem.TypeEnum\n predicate?: Predicate\n}\nexport namespace PermissionItem {\n export type TypeEnum =\n | 'AUTHENTICATE'\n | 'HCP'\n | 'PHYSICIAN'\n | 'ADMIN'\n | 'PATIENT_VIEW'\n | 'PATIENT_CREATE'\n | 'PATIENT_CHANGE_DELETE'\n | 'MEDICAL_DATA_VIEW'\n | 'MEDICAL_DATA_CREATE'\n | 'MEDICAL_CHANGE_DELETE'\n | 'FINANCIAL_DATA_VIEW'\n | 'FINANCIAL_DATA_CREATE'\n | 'FINANCIAL_CHANGE_DELETE'\n export const TypeEnum = {\n AUTHENTICATE: 'AUTHENTICATE' as TypeEnum,\n HCP: 'HCP' as TypeEnum,\n PHYSICIAN: 'PHYSICIAN' as TypeEnum,\n ADMIN: 'ADMIN' as TypeEnum,\n PATIENTVIEW: 'PATIENT_VIEW' as TypeEnum,\n PATIENTCREATE: 'PATIENT_CREATE' as TypeEnum,\n PATIENTCHANGEDELETE: 'PATIENT_CHANGE_DELETE' as TypeEnum,\n MEDICALDATAVIEW: 'MEDICAL_DATA_VIEW' as TypeEnum,\n MEDICALDATACREATE: 'MEDICAL_DATA_CREATE' as TypeEnum,\n MEDICALCHANGEDELETE: 'MEDICAL_CHANGE_DELETE' as TypeEnum,\n FINANCIALDATAVIEW: 'FINANCIAL_DATA_VIEW' as TypeEnum,\n FINANCIALDATACREATE: 'FINANCIAL_DATA_CREATE' as TypeEnum,\n FINANCIALCHANGEDELETE: 'FINANCIAL_CHANGE_DELETE' as TypeEnum,\n }\n}\n"]}
@@ -32,5 +32,5 @@ exports.PersonName = PersonName;
32
32
  Old: 'old',
33
33
  Other: 'other',
34
34
  };
35
- })(PersonName = exports.PersonName || (exports.PersonName = {}));
35
+ })(PersonName || (exports.PersonName = PersonName = {}));
36
36
  //# sourceMappingURL=PersonName.js.map
@@ -1 +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","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\n/**\n * Non preferred name information of a person\n */\nexport class PersonName {\n constructor(json: JSON | any) {\n Object.assign(this as PersonName, json)\n }\n\n /**\n * Family name (often called 'Surname')\n */\n lastName?: string\n /**\n * Given names (not always 'first'). Includes middle names. This repeating element order: Given Names appear in the correct order for presenting the name\n */\n firstNames?: Array<string>\n /**\n * Starting date of time period when name is/was valid for use. Date encoded as a fuzzy date on 8 positions (YYYYMMDD)\n */\n start?: number\n /**\n * Ending date of time period when name is/was valid for use. Date encoded as a fuzzy date on 8 positions (YYYYMMDD)\n */\n end?: number\n /**\n * Parts that come before the name. This repeating element order: Prefixes appear in the correct order for presenting the name\n */\n prefix?: Array<string>\n /**\n * Parts that come after the name. This repeating element order: Suffixes appear in the correct order for presenting the name\n */\n suffix?: Array<string>\n /**\n * Text representation of the full name\n */\n text?: string\n /**\n * What is the use of this name\n */\n use?: PersonName.UseEnum\n}\nexport namespace PersonName {\n export type UseEnum = 'usual' | 'official' | 'temp' | 'nickname' | 'anonymous' | 'maiden' | 'old' | 'other'\n export const UseEnum = {\n Usual: 'usual' as UseEnum,\n Official: 'official' as UseEnum,\n Temp: 'temp' as UseEnum,\n Nickname: 'nickname' as UseEnum,\n Anonymous: 'anonymous' as UseEnum,\n Maiden: 'maiden' as UseEnum,\n Old: 'old' as UseEnum,\n Other: 'other' as UseEnum,\n }\n}\n"]}
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,0BAAV,UAAU,QAY1B","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\n/**\n * Non preferred name information of a person\n */\nexport class PersonName {\n constructor(json: JSON | any) {\n Object.assign(this as PersonName, json)\n }\n\n /**\n * Family name (often called 'Surname')\n */\n lastName?: string\n /**\n * Given names (not always 'first'). Includes middle names. This repeating element order: Given Names appear in the correct order for presenting the name\n */\n firstNames?: Array<string>\n /**\n * Starting date of time period when name is/was valid for use. Date encoded as a fuzzy date on 8 positions (YYYYMMDD)\n */\n start?: number\n /**\n * Ending date of time period when name is/was valid for use. Date encoded as a fuzzy date on 8 positions (YYYYMMDD)\n */\n end?: number\n /**\n * Parts that come before the name. This repeating element order: Prefixes appear in the correct order for presenting the name\n */\n prefix?: Array<string>\n /**\n * Parts that come after the name. This repeating element order: Suffixes appear in the correct order for presenting the name\n */\n suffix?: Array<string>\n /**\n * Text representation of the full name\n */\n text?: string\n /**\n * What is the use of this name\n */\n use?: PersonName.UseEnum\n}\nexport namespace PersonName {\n export type UseEnum = 'usual' | 'official' | 'temp' | 'nickname' | 'anonymous' | 'maiden' | 'old' | 'other'\n export const UseEnum = {\n Usual: 'usual' as UseEnum,\n Official: 'official' as UseEnum,\n Temp: 'temp' as UseEnum,\n Nickname: 'nickname' as UseEnum,\n Anonymous: 'anonymous' as UseEnum,\n Maiden: 'maiden' as UseEnum,\n Old: 'old' as UseEnum,\n Other: 'other' as UseEnum,\n }\n}\n"]}
@@ -28,5 +28,5 @@ exports.PropertyTypeStub = PropertyTypeStub;
28
28
  CLOB: 'CLOB',
29
29
  JSON: 'JSON',
30
30
  };
31
- })(PropertyTypeStub = exports.PropertyTypeStub || (exports.PropertyTypeStub = {}));
31
+ })(PropertyTypeStub || (exports.PropertyTypeStub = PropertyTypeStub = {}));
32
32
  //# sourceMappingURL=PropertyTypeStub.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PropertyTypeStub.js","sourceRoot":"","sources":["../../../icc-api/model/PropertyTypeStub.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,gBAAgB;IAC3B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAwB,EAAE,IAAI,CAAC,CAAA;IAC/C,CAAC;CAIF;AAPD,4CAOC;AACD,WAAiB,gBAAgB;IAElB,yBAAQ,GAAG;QACtB,OAAO,EAAE,SAAqB;QAC9B,OAAO,EAAE,SAAqB;QAC9B,MAAM,EAAE,QAAoB;QAC5B,MAAM,EAAE,QAAoB;QAC5B,IAAI,EAAE,MAAkB;QACxB,IAAI,EAAE,MAAkB;QACxB,IAAI,EAAE,MAAkB;KACzB,CAAA;AACH,CAAC,EAXgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAWhC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport class PropertyTypeStub {\n constructor(json: JSON | any) {\n Object.assign(this as PropertyTypeStub, json)\n }\n\n identifier?: string\n type?: PropertyTypeStub.TypeEnum\n}\nexport namespace PropertyTypeStub {\n export type TypeEnum = 'BOOLEAN' | 'INTEGER' | 'DOUBLE' | 'STRING' | 'DATE' | 'CLOB' | 'JSON'\n export const TypeEnum = {\n BOOLEAN: 'BOOLEAN' as TypeEnum,\n INTEGER: 'INTEGER' as TypeEnum,\n DOUBLE: 'DOUBLE' as TypeEnum,\n STRING: 'STRING' as TypeEnum,\n DATE: 'DATE' as TypeEnum,\n CLOB: 'CLOB' as TypeEnum,\n JSON: 'JSON' as TypeEnum,\n }\n}\n"]}
1
+ {"version":3,"file":"PropertyTypeStub.js","sourceRoot":"","sources":["../../../icc-api/model/PropertyTypeStub.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,gBAAgB;IAC3B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAwB,EAAE,IAAI,CAAC,CAAA;IAC/C,CAAC;CAIF;AAPD,4CAOC;AACD,WAAiB,gBAAgB;IAElB,yBAAQ,GAAG;QACtB,OAAO,EAAE,SAAqB;QAC9B,OAAO,EAAE,SAAqB;QAC9B,MAAM,EAAE,QAAoB;QAC5B,MAAM,EAAE,QAAoB;QAC5B,IAAI,EAAE,MAAkB;QACxB,IAAI,EAAE,MAAkB;QACxB,IAAI,EAAE,MAAkB;KACzB,CAAA;AACH,CAAC,EAXgB,gBAAgB,gCAAhB,gBAAgB,QAWhC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport class PropertyTypeStub {\n constructor(json: JSON | any) {\n Object.assign(this as PropertyTypeStub, json)\n }\n\n identifier?: string\n type?: PropertyTypeStub.TypeEnum\n}\nexport namespace PropertyTypeStub {\n export type TypeEnum = 'BOOLEAN' | 'INTEGER' | 'DOUBLE' | 'STRING' | 'DATE' | 'CLOB' | 'JSON'\n export const TypeEnum = {\n BOOLEAN: 'BOOLEAN' as TypeEnum,\n INTEGER: 'INTEGER' as TypeEnum,\n DOUBLE: 'DOUBLE' as TypeEnum,\n STRING: 'STRING' as TypeEnum,\n DATE: 'DATE' as TypeEnum,\n CLOB: 'CLOB' as TypeEnum,\n JSON: 'JSON' as TypeEnum,\n }\n}\n"]}
@@ -22,5 +22,5 @@ exports.Reimbursement = Reimbursement;
22
22
  M: 'M',
23
23
  V: 'V',
24
24
  };
25
- })(Reimbursement = exports.Reimbursement || (exports.Reimbursement = {}));
25
+ })(Reimbursement || (exports.Reimbursement = Reimbursement = {}));
26
26
  //# sourceMappingURL=Reimbursement.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Reimbursement.js","sourceRoot":"","sources":["../../../icc-api/model/Reimbursement.ts"],"names":[],"mappings":";;;AAeA,MAAa,aAAa;IACxB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAqB,EAAE,IAAI,CAAC,CAAA;IAC5C,CAAC;CAmBF;AAtBD,sCAsBC;AACD,WAAiB,aAAa;IAEf,qCAAuB,GAAG;QACrC,CAAC,EAAE,GAA8B;QACjC,CAAC,EAAE,GAA8B;QACjC,CAAC,EAAE,GAA8B;QACjC,CAAC,EAAE,GAA8B;KAClC,CAAA;IAEY,0BAAY,GAAG;QAC1B,GAAG,EAAE,KAAqB;QAC1B,MAAM,EAAE,QAAwB;KACjC,CAAA;IAEY,0BAAY,GAAG;QAC1B,CAAC,EAAE,GAAmB;QACtB,CAAC,EAAE,GAAmB;KACvB,CAAA;AACH,CAAC,EAlBgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAkB7B","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { Copayment } from './Copayment'\nimport { Pricing } from './Pricing'\nimport { ReimbursementCriterion } from './ReimbursementCriterion'\n\nexport class Reimbursement {\n constructor(json: JSON | any) {\n Object.assign(this as Reimbursement, json)\n }\n\n from?: number\n to?: number\n deliveryEnvironment?: Reimbursement.DeliveryEnvironmentEnum\n code?: string\n codeType?: Reimbursement.CodeTypeEnum\n multiple?: Reimbursement.MultipleEnum\n temporary?: boolean\n reference?: boolean\n legalReferencePath?: string\n flatRateSystem?: boolean\n reimbursementBasePrice?: number\n referenceBasePrice?: number\n copaymentSupplement?: number\n pricingUnit?: Pricing\n pricingSlice?: Pricing\n reimbursementCriterion?: ReimbursementCriterion\n copayments?: Array<Copayment>\n}\nexport namespace Reimbursement {\n export type DeliveryEnvironmentEnum = 'P' | 'A' | 'H' | 'R'\n export const DeliveryEnvironmentEnum = {\n P: 'P' as DeliveryEnvironmentEnum,\n A: 'A' as DeliveryEnvironmentEnum,\n H: 'H' as DeliveryEnvironmentEnum,\n R: 'R' as DeliveryEnvironmentEnum,\n }\n export type CodeTypeEnum = 'CNK' | 'PSEUDO'\n export const CodeTypeEnum = {\n CNK: 'CNK' as CodeTypeEnum,\n PSEUDO: 'PSEUDO' as CodeTypeEnum,\n }\n export type MultipleEnum = 'M' | 'V'\n export const MultipleEnum = {\n M: 'M' as MultipleEnum,\n V: 'V' as MultipleEnum,\n }\n}\n"]}
1
+ {"version":3,"file":"Reimbursement.js","sourceRoot":"","sources":["../../../icc-api/model/Reimbursement.ts"],"names":[],"mappings":";;;AAeA,MAAa,aAAa;IACxB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAqB,EAAE,IAAI,CAAC,CAAA;IAC5C,CAAC;CAmBF;AAtBD,sCAsBC;AACD,WAAiB,aAAa;IAEf,qCAAuB,GAAG;QACrC,CAAC,EAAE,GAA8B;QACjC,CAAC,EAAE,GAA8B;QACjC,CAAC,EAAE,GAA8B;QACjC,CAAC,EAAE,GAA8B;KAClC,CAAA;IAEY,0BAAY,GAAG;QAC1B,GAAG,EAAE,KAAqB;QAC1B,MAAM,EAAE,QAAwB;KACjC,CAAA;IAEY,0BAAY,GAAG;QAC1B,CAAC,EAAE,GAAmB;QACtB,CAAC,EAAE,GAAmB;KACvB,CAAA;AACH,CAAC,EAlBgB,aAAa,6BAAb,aAAa,QAkB7B","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { Copayment } from './Copayment'\nimport { Pricing } from './Pricing'\nimport { ReimbursementCriterion } from './ReimbursementCriterion'\n\nexport class Reimbursement {\n constructor(json: JSON | any) {\n Object.assign(this as Reimbursement, json)\n }\n\n from?: number\n to?: number\n deliveryEnvironment?: Reimbursement.DeliveryEnvironmentEnum\n code?: string\n codeType?: Reimbursement.CodeTypeEnum\n multiple?: Reimbursement.MultipleEnum\n temporary?: boolean\n reference?: boolean\n legalReferencePath?: string\n flatRateSystem?: boolean\n reimbursementBasePrice?: number\n referenceBasePrice?: number\n copaymentSupplement?: number\n pricingUnit?: Pricing\n pricingSlice?: Pricing\n reimbursementCriterion?: ReimbursementCriterion\n copayments?: Array<Copayment>\n}\nexport namespace Reimbursement {\n export type DeliveryEnvironmentEnum = 'P' | 'A' | 'H' | 'R'\n export const DeliveryEnvironmentEnum = {\n P: 'P' as DeliveryEnvironmentEnum,\n A: 'A' as DeliveryEnvironmentEnum,\n H: 'H' as DeliveryEnvironmentEnum,\n R: 'R' as DeliveryEnvironmentEnum,\n }\n export type CodeTypeEnum = 'CNK' | 'PSEUDO'\n export const CodeTypeEnum = {\n CNK: 'CNK' as CodeTypeEnum,\n PSEUDO: 'PSEUDO' as CodeTypeEnum,\n }\n export type MultipleEnum = 'M' | 'V'\n export const MultipleEnum = {\n M: 'M' as MultipleEnum,\n V: 'V' as MultipleEnum,\n }\n}\n"]}
@@ -12,5 +12,5 @@ var RoleSourceEnum;
12
12
  RoleSourceEnum["Default"] = "DEFAULT";
13
13
  RoleSourceEnum["Inherited"] = "INHERITED";
14
14
  RoleSourceEnum["Configuration"] = "CONFIGURATION";
15
- })(RoleSourceEnum = exports.RoleSourceEnum || (exports.RoleSourceEnum = {}));
15
+ })(RoleSourceEnum || (exports.RoleSourceEnum = RoleSourceEnum = {}));
16
16
  //# sourceMappingURL=RoleSourceEnum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RoleSourceEnum.js","sourceRoot":"","sources":["../../../icc-api/model/RoleSourceEnum.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,yCAAuB,CAAA;IACvB,iDAA+B,CAAA;AACjC,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB","sourcesContent":["/**\n * Represent where the default roles for a certain type of user come from.\n * Default: the roles are the ones defined by iCure.\n * Inherited: the roles are defined in a supergroup of the current group.\n * Configuration: the roles are defined in the current group.\n */\nexport enum RoleSourceEnum {\n Default = 'DEFAULT',\n Inherited = 'INHERITED',\n Configuration = 'CONFIGURATION',\n}\n"]}
1
+ {"version":3,"file":"RoleSourceEnum.js","sourceRoot":"","sources":["../../../icc-api/model/RoleSourceEnum.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,yCAAuB,CAAA;IACvB,iDAA+B,CAAA;AACjC,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB","sourcesContent":["/**\n * Represent where the default roles for a certain type of user come from.\n * Default: the roles are the ones defined by iCure.\n * Inherited: the roles are defined in a supergroup of the current group.\n * Configuration: the roles are defined in the current group.\n */\nexport enum RoleSourceEnum {\n Default = 'DEFAULT',\n Inherited = 'INHERITED',\n Configuration = 'CONFIGURATION',\n}\n"]}
@@ -12,5 +12,5 @@ exports.SecureDelegation = SecureDelegation;
12
12
  READ: 'READ',
13
13
  WRITE: 'WRITE',
14
14
  };
15
- })(SecureDelegation = exports.SecureDelegation || (exports.SecureDelegation = {}));
15
+ })(SecureDelegation || (exports.SecureDelegation = SecureDelegation = {}));
16
16
  //# sourceMappingURL=SecureDelegation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SecureDelegation.js","sourceRoot":"","sources":["../../../icc-api/model/SecureDelegation.ts"],"names":[],"mappings":";;;AAAA,MAAa,gBAAgB;IAC3B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAwB,EAAE,IAAI,CAAC,CAAA;IAC/C,CAAC;CA4CF;AA/CD,4CA+CC;AACD,WAAiB,gBAAgB;IAElB,gCAAe,GAAG;QAC7B,IAAI,EAAE,MAAyB;QAC/B,KAAK,EAAE,OAA0B;KAClC,CAAA;AACH,CAAC,EANgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAMhC","sourcesContent":["export class SecureDelegation {\n constructor(json: JSON | any) {\n Object.assign(this as SecureDelegation, json)\n }\n\n /**\n * Optionally the id of the delegator data owner for this [SecureDelegation]. May be null if this information must\n * be hidden to prevent data leakages (see class documentation for more details).\n */\n delegator?: string\n /**\n * Optionally the id of the delegate data owner for this [SecureDelegation]. May be null if this information must\n * be hidden to prevent data leakages (see class documentation for more details).\n */\n delegate?: string\n /**\n * Secret id of the entity holding this [SecureDelegation] (formerly `delegation`). The id will appear in plaintext in the\n * `secretForeignKeys` field of children entities.\n */\n secretIds?: string[]\n /**\n * Encrypted aes key used for the encryption of the entity's data (data stored in `encryptedSelf`).\n */\n encryptionKeys?: string[]\n /**\n * Encrypted id of the entity which owns the entity holding this [SecureDelegation] (formerly `cryptedForeignKey`),\n * such as the id of the patient for a contact or healthcare element.\n */\n owningEntityIds?: string[]\n /**\n * Key of the parent delegations in the [SecurityMetadata.secureDelegations]. Users are allowed to modify/delete\n * only [SecureDelegation] that they can directly access or any children delegations.\n */\n parentDelegations?: string[]\n /**\n * If both the [delegator] and [delegate] are explicit in this secure delegation this field will hold the id of the exchange\n * data used for the encryption of this delegation. Otherwise, this will be null.\n */\n exchangeDataId?: string\n /**\n * Permissions of users with access to this [SecureDelegation] on the corresponding entity.\n * The permissions only refer to the actual content of the entity and not to any metadata (excluding the `encryptedSelf`):\n * any data owner will always be allowed to use the methods to share the with other data owners, even if these method\n * require to modify the entity and the data owner has read-only permissions.\n * Delegations without any parents will always have full read-write permissions.\n */\n permissions!: SecureDelegation.AccessLevelEnum\n}\nexport namespace SecureDelegation {\n export type AccessLevelEnum = 'READ' | 'WRITE'\n export const AccessLevelEnum = {\n READ: 'READ' as AccessLevelEnum,\n WRITE: 'WRITE' as AccessLevelEnum,\n }\n}\n"]}
1
+ {"version":3,"file":"SecureDelegation.js","sourceRoot":"","sources":["../../../icc-api/model/SecureDelegation.ts"],"names":[],"mappings":";;;AAAA,MAAa,gBAAgB;IAC3B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAwB,EAAE,IAAI,CAAC,CAAA;IAC/C,CAAC;CA4CF;AA/CD,4CA+CC;AACD,WAAiB,gBAAgB;IAElB,gCAAe,GAAG;QAC7B,IAAI,EAAE,MAAyB;QAC/B,KAAK,EAAE,OAA0B;KAClC,CAAA;AACH,CAAC,EANgB,gBAAgB,gCAAhB,gBAAgB,QAMhC","sourcesContent":["export class SecureDelegation {\n constructor(json: JSON | any) {\n Object.assign(this as SecureDelegation, json)\n }\n\n /**\n * Optionally the id of the delegator data owner for this [SecureDelegation]. May be null if this information must\n * be hidden to prevent data leakages (see class documentation for more details).\n */\n delegator?: string\n /**\n * Optionally the id of the delegate data owner for this [SecureDelegation]. May be null if this information must\n * be hidden to prevent data leakages (see class documentation for more details).\n */\n delegate?: string\n /**\n * Secret id of the entity holding this [SecureDelegation] (formerly `delegation`). The id will appear in plaintext in the\n * `secretForeignKeys` field of children entities.\n */\n secretIds?: string[]\n /**\n * Encrypted aes key used for the encryption of the entity's data (data stored in `encryptedSelf`).\n */\n encryptionKeys?: string[]\n /**\n * Encrypted id of the entity which owns the entity holding this [SecureDelegation] (formerly `cryptedForeignKey`),\n * such as the id of the patient for a contact or healthcare element.\n */\n owningEntityIds?: string[]\n /**\n * Key of the parent delegations in the [SecurityMetadata.secureDelegations]. Users are allowed to modify/delete\n * only [SecureDelegation] that they can directly access or any children delegations.\n */\n parentDelegations?: string[]\n /**\n * If both the [delegator] and [delegate] are explicit in this secure delegation this field will hold the id of the exchange\n * data used for the encryption of this delegation. Otherwise, this will be null.\n */\n exchangeDataId?: string\n /**\n * Permissions of users with access to this [SecureDelegation] on the corresponding entity.\n * The permissions only refer to the actual content of the entity and not to any metadata (excluding the `encryptedSelf`):\n * any data owner will always be allowed to use the methods to share the with other data owners, even if these method\n * require to modify the entity and the data owner has read-only permissions.\n * Delegations without any parents will always have full read-write permissions.\n */\n permissions!: SecureDelegation.AccessLevelEnum\n}\nexport namespace SecureDelegation {\n export type AccessLevelEnum = 'READ' | 'WRITE'\n export const AccessLevelEnum = {\n READ: 'READ' as AccessLevelEnum,\n WRITE: 'WRITE' as AccessLevelEnum,\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Service.js","sourceRoot":"","sources":["../../../icc-api/model/Service.ts"],"names":[],"mappings":";;;AAaA,uCAAmC;AAKnC;;GAEG;AACH,MAAa,OAAO;IAClB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CACX,IAAe,EACf,IAAI,CACL,CAAA;QAED,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE;YAClB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,WAAW,CAC/B,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,IAAI,iBAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAC9E,CAAA;SACF;IACH,CAAC;CAoIF;AAhJD,0BAgJC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { Annotation } from './Annotation'\nimport { CodeStub } from './CodeStub'\nimport { Content } from './Content'\nimport { Delegation } from './Delegation'\nimport { Identifier } from './Identifier'\nimport { SecurityMetadata } from './SecurityMetadata'\n\n/**\n * This entity represents a Service. A Service is created in the course a contact. Services include subjective information provided by the patient, such as complaints, reason for visit, feelings, etc. or objective information like bio-metric measures (blood pressure, temperature, heart beat, etc.), or physical exam description, diagnosis, prescription, integration of lab reports from another healthcare party, action plan, etc. Any action performed by the healthcare party which is relevant for the healthcare element of a patient is considered a service. The services can be linked to healthcare elements or other structuring elements of the medical record\n */\nexport class Service {\n constructor(json: JSON | any) {\n Object.assign(\n this as Service,\n json\n )\n\n if (!!this.content) {\n this.content = Object.fromEntries(\n Object.entries(this.content).map(([key, value]) => [key, new Content(value)])\n )\n }\n }\n\n /**\n * The Id of the Service. We encourage using either a v4 UUID or a HL7 Id.\n */\n id?: string\n /**\n * 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\n */\n transactionId?: string\n identifier?: Array<Identifier>\n /**\n * Id of the contact during which the service is provided\n */\n contactId?: string\n /**\n * List of IDs of all sub-contacts that link the service to structural elements. Only used when the Service is emitted outside of its contact\n */\n subContactIds?: Array<string>\n /**\n * List of IDs of all plans of actions (healthcare approaches) as a part of which the Service is provided. Only used when the Service is emitted outside of its contact\n */\n plansOfActionIds?: Array<string>\n /**\n * List of IDs of all healthcare elements for which the service is provided. Only used when the Service is emitted outside of its contact\n */\n healthElementsIds?: Array<string>\n /**\n * List of Ids of all forms linked to the Service. Only used when the Service is emitted outside of its contact.\n */\n formIds?: Array<string>\n /**\n * The secret patient key, encrypted in the patient document, in clear here.\n */\n secretForeignKeys?: Array<string>\n /**\n * The public patient key, encrypted here for separate Crypto Actors.\n */\n cryptedForeignKeys?: { [key: string]: Array<Delegation> }\n /**\n * The delegations giving access to connected healthcare information.\n */\n delegations?: { [key: string]: Array<Delegation> }\n /**\n * The contact secret encryption key used to encrypt the secured properties (like services for example), encrypted for separate Crypto Actors.\n */\n encryptionKeys?: { [key: string]: Array<Delegation> }\n /**\n * Description / Unambiguous qualification (LOINC code) of the type of information contained in the service. Could be a code to qualify temperature, complaint, diagnostic, ...\n */\n label?: string\n dataClassName?: string\n /**\n * Used for sorting services inside an upper object (A contact, a transaction, a FHIR bundle, ...)\n */\n index?: number\n /**\n * Information contained in the service. Content is localized, using ISO language code as key\n */\n content?: { [key: string]: Content }\n encryptedContent?: string\n textIndexes?: { [key: string]: string }\n /**\n * The date (YYYYMMDDhhmmss) when the Service is noted to have started and also closes on the same date\n */\n valueDate?: number\n /**\n * The date (YYYYMMDDhhmmss) of the start of the Service\n */\n openingDate?: number\n /**\n * The date (YYYYMMDDhhmmss) marking the end of the Service\n */\n closingDate?: number\n /**\n * Id of the form used during the Service\n */\n formId?: string\n /**\n * The timestamp (unix epoch in ms) of creation of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n created?: number\n /**\n * The date (unix epoch in ms) of the latest modification of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n modified?: number\n /**\n * Soft delete (unix epoch in ms) timestamp of the object.\n */\n endOfLife?: number\n /**\n * The id of the User that has created this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n author?: string\n /**\n * The id of the HealthcareParty that is responsible for this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n responsible?: string\n /**\n * The id of the medical location where this entity was created.\n */\n medicalLocationId?: string\n /**\n * Text, comments on the Service provided\n */\n comment?: string\n status?: number\n /**\n * List of invoicing codes\n */\n invoicingCodes?: Array<string>\n /**\n * Comments - Notes recorded by a HCP about this service\n */\n notes?: Array<Annotation>\n /**\n * Links towards related services (possibly in other contacts)\n */\n qualifiedLinks?: { [key: string]: { [key: string]: string } }\n /**\n * A code is an item from a codification system that qualifies the content of this entity. SNOMED-CT, ICPC-2 or ICD-10 codifications systems can be used for codes\n */\n codes?: Array<CodeStub>\n /**\n * A tag is an item from a codification system that qualifies an entity as being member of a certain class, whatever the value it might have taken. If the tag qualifies the content of a field, it means that whatever the content of the field, the tag will always apply. For example, the label of a field is qualified using a tag. LOINC is a codification system typically used for tags.\n */\n tags?: Array<CodeStub>\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n securityMetadata?: SecurityMetadata\n}\n"]}
1
+ {"version":3,"file":"Service.js","sourceRoot":"","sources":["../../../icc-api/model/Service.ts"],"names":[],"mappings":";;;AAaA,uCAAmC;AAKnC;;GAEG;AACH,MAAa,OAAO;IAClB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CACX,IAAe,EACf,IAAI,CACL,CAAA;QAED,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YACnB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,WAAW,CAC/B,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,IAAI,iBAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAC9E,CAAA;QACH,CAAC;IACH,CAAC;CAoIF;AAhJD,0BAgJC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { Annotation } from './Annotation'\nimport { CodeStub } from './CodeStub'\nimport { Content } from './Content'\nimport { Delegation } from './Delegation'\nimport { Identifier } from './Identifier'\nimport { SecurityMetadata } from './SecurityMetadata'\n\n/**\n * This entity represents a Service. A Service is created in the course a contact. Services include subjective information provided by the patient, such as complaints, reason for visit, feelings, etc. or objective information like bio-metric measures (blood pressure, temperature, heart beat, etc.), or physical exam description, diagnosis, prescription, integration of lab reports from another healthcare party, action plan, etc. Any action performed by the healthcare party which is relevant for the healthcare element of a patient is considered a service. The services can be linked to healthcare elements or other structuring elements of the medical record\n */\nexport class Service {\n constructor(json: JSON | any) {\n Object.assign(\n this as Service,\n json\n )\n\n if (!!this.content) {\n this.content = Object.fromEntries(\n Object.entries(this.content).map(([key, value]) => [key, new Content(value)])\n )\n }\n }\n\n /**\n * The Id of the Service. We encourage using either a v4 UUID or a HL7 Id.\n */\n id?: string\n /**\n * 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\n */\n transactionId?: string\n identifier?: Array<Identifier>\n /**\n * Id of the contact during which the service is provided\n */\n contactId?: string\n /**\n * List of IDs of all sub-contacts that link the service to structural elements. Only used when the Service is emitted outside of its contact\n */\n subContactIds?: Array<string>\n /**\n * List of IDs of all plans of actions (healthcare approaches) as a part of which the Service is provided. Only used when the Service is emitted outside of its contact\n */\n plansOfActionIds?: Array<string>\n /**\n * List of IDs of all healthcare elements for which the service is provided. Only used when the Service is emitted outside of its contact\n */\n healthElementsIds?: Array<string>\n /**\n * List of Ids of all forms linked to the Service. Only used when the Service is emitted outside of its contact.\n */\n formIds?: Array<string>\n /**\n * The secret patient key, encrypted in the patient document, in clear here.\n */\n secretForeignKeys?: Array<string>\n /**\n * The public patient key, encrypted here for separate Crypto Actors.\n */\n cryptedForeignKeys?: { [key: string]: Array<Delegation> }\n /**\n * The delegations giving access to connected healthcare information.\n */\n delegations?: { [key: string]: Array<Delegation> }\n /**\n * The contact secret encryption key used to encrypt the secured properties (like services for example), encrypted for separate Crypto Actors.\n */\n encryptionKeys?: { [key: string]: Array<Delegation> }\n /**\n * Description / Unambiguous qualification (LOINC code) of the type of information contained in the service. Could be a code to qualify temperature, complaint, diagnostic, ...\n */\n label?: string\n dataClassName?: string\n /**\n * Used for sorting services inside an upper object (A contact, a transaction, a FHIR bundle, ...)\n */\n index?: number\n /**\n * Information contained in the service. Content is localized, using ISO language code as key\n */\n content?: { [key: string]: Content }\n encryptedContent?: string\n textIndexes?: { [key: string]: string }\n /**\n * The date (YYYYMMDDhhmmss) when the Service is noted to have started and also closes on the same date\n */\n valueDate?: number\n /**\n * The date (YYYYMMDDhhmmss) of the start of the Service\n */\n openingDate?: number\n /**\n * The date (YYYYMMDDhhmmss) marking the end of the Service\n */\n closingDate?: number\n /**\n * Id of the form used during the Service\n */\n formId?: string\n /**\n * The timestamp (unix epoch in ms) of creation of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n created?: number\n /**\n * The date (unix epoch in ms) of the latest modification of this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n modified?: number\n /**\n * Soft delete (unix epoch in ms) timestamp of the object.\n */\n endOfLife?: number\n /**\n * The id of the User that has created this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n author?: string\n /**\n * The id of the HealthcareParty that is responsible for this entity, will be filled automatically if missing. Not enforced by the application server.\n */\n responsible?: string\n /**\n * The id of the medical location where this entity was created.\n */\n medicalLocationId?: string\n /**\n * Text, comments on the Service provided\n */\n comment?: string\n status?: number\n /**\n * List of invoicing codes\n */\n invoicingCodes?: Array<string>\n /**\n * Comments - Notes recorded by a HCP about this service\n */\n notes?: Array<Annotation>\n /**\n * Links towards related services (possibly in other contacts)\n */\n qualifiedLinks?: { [key: string]: { [key: string]: string } }\n /**\n * A code is an item from a codification system that qualifies the content of this entity. SNOMED-CT, ICPC-2 or ICD-10 codifications systems can be used for codes\n */\n codes?: Array<CodeStub>\n /**\n * A tag is an item from a codification system that qualifies an entity as being member of a certain class, whatever the value it might have taken. If the tag qualifies the content of a field, it means that whatever the content of the field, the tag will always apply. For example, the label of a field is qualified using a tag. LOINC is a codification system typically used for tags.\n */\n tags?: Array<CodeStub>\n /**\n * The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.\n */\n encryptedSelf?: string\n securityMetadata?: SecurityMetadata\n}\n"]}
@@ -14,5 +14,5 @@ exports.StandardSubstance = StandardSubstance;
14
14
  EDQM: 'EDQM',
15
15
  SNOMEDCT: 'SNOMED_CT',
16
16
  };
17
- })(StandardSubstance = exports.StandardSubstance || (exports.StandardSubstance = {}));
17
+ })(StandardSubstance || (exports.StandardSubstance = StandardSubstance = {}));
18
18
  //# sourceMappingURL=StandardSubstance.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StandardSubstance.js","sourceRoot":"","sources":["../../../icc-api/model/StandardSubstance.ts"],"names":[],"mappings":";;;AAaA,MAAa,iBAAiB;IAC5B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAyB,EAAE,IAAI,CAAC,CAAA;IAChD,CAAC;CAOF;AAVD,8CAUC;AACD,WAAiB,iBAAiB;IAEnB,0BAAQ,GAAG;QACtB,GAAG,EAAE,KAAiB;QACtB,GAAG,EAAE,MAAkB;QACvB,IAAI,EAAE,MAAkB;QACxB,QAAQ,EAAE,WAAuB;KAClC,CAAA;AACH,CAAC,EARgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAQjC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { SamText } from './SamText'\n\nexport class StandardSubstance {\n constructor(json: JSON | any) {\n Object.assign(this as StandardSubstance, json)\n }\n\n code?: string\n type?: StandardSubstance.TypeEnum\n name?: SamText\n definition?: SamText\n url?: string\n}\nexport namespace StandardSubstance {\n export type TypeEnum = 'CAS' | 'DM_D' | 'EDQM' | 'SNOMED_CT'\n export const TypeEnum = {\n CAS: 'CAS' as TypeEnum,\n DMD: 'DM_D' as TypeEnum,\n EDQM: 'EDQM' as TypeEnum,\n SNOMEDCT: 'SNOMED_CT' as TypeEnum,\n }\n}\n"]}
1
+ {"version":3,"file":"StandardSubstance.js","sourceRoot":"","sources":["../../../icc-api/model/StandardSubstance.ts"],"names":[],"mappings":";;;AAaA,MAAa,iBAAiB;IAC5B,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAyB,EAAE,IAAI,CAAC,CAAA;IAChD,CAAC;CAOF;AAVD,8CAUC;AACD,WAAiB,iBAAiB;IAEnB,0BAAQ,GAAG;QACtB,GAAG,EAAE,KAAiB;QACtB,GAAG,EAAE,MAAkB;QACvB,IAAI,EAAE,MAAkB;QACxB,QAAQ,EAAE,WAAuB;KAClC,CAAA;AACH,CAAC,EARgB,iBAAiB,iCAAjB,iBAAiB,QAQjC","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { SamText } from './SamText'\n\nexport class StandardSubstance {\n constructor(json: JSON | any) {\n Object.assign(this as StandardSubstance, json)\n }\n\n code?: string\n type?: StandardSubstance.TypeEnum\n name?: SamText\n definition?: SamText\n url?: string\n}\nexport namespace StandardSubstance {\n export type TypeEnum = 'CAS' | 'DM_D' | 'EDQM' | 'SNOMED_CT'\n export const TypeEnum = {\n CAS: 'CAS' as TypeEnum,\n DMD: 'DM_D' as TypeEnum,\n EDQM: 'EDQM' as TypeEnum,\n SNOMEDCT: 'SNOMED_CT' as TypeEnum,\n }\n}\n"]}
@@ -24,5 +24,5 @@ exports.SumehrValidity = SumehrValidity;
24
24
  Uptodate: 'uptodate',
25
25
  Outdated: 'outdated',
26
26
  };
27
- })(SumehrValidity = exports.SumehrValidity || (exports.SumehrValidity = {}));
27
+ })(SumehrValidity || (exports.SumehrValidity = SumehrValidity = {}));
28
28
  //# sourceMappingURL=SumehrValidity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SumehrValidity.js","sourceRoot":"","sources":["../../../icc-api/model/SumehrValidity.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,cAAc;IACzB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAsB,EAAE,IAAI,CAAC,CAAA;IAC7C,CAAC;CAGF;AAND,wCAMC;AACD,WAAiB,cAAc;IAEhB,8BAAe,GAAG;QAC7B,MAAM,EAAE,QAA2B;QACnC,QAAQ,EAAE,UAA6B;QACvC,QAAQ,EAAE,UAA6B;KACxC,CAAA;AACH,CAAC,EAPgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAO9B","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport class SumehrValidity {\n constructor(json: JSON | any) {\n Object.assign(this as SumehrValidity, json)\n }\n\n sumehrValid?: SumehrValidity.SumehrValidEnum\n}\nexport namespace SumehrValidity {\n export type SumehrValidEnum = 'absent' | 'uptodate' | 'outdated'\n export const SumehrValidEnum = {\n Absent: 'absent' as SumehrValidEnum,\n Uptodate: 'uptodate' as SumehrValidEnum,\n Outdated: 'outdated' as SumehrValidEnum,\n }\n}\n"]}
1
+ {"version":3,"file":"SumehrValidity.js","sourceRoot":"","sources":["../../../icc-api/model/SumehrValidity.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,cAAc;IACzB,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAsB,EAAE,IAAI,CAAC,CAAA;IAC7C,CAAC;CAGF;AAND,wCAMC;AACD,WAAiB,cAAc;IAEhB,8BAAe,GAAG;QAC7B,MAAM,EAAE,QAA2B;QACnC,QAAQ,EAAE,UAA6B;QACvC,QAAQ,EAAE,UAA6B;KACxC,CAAA;AACH,CAAC,EAPgB,cAAc,8BAAd,cAAc,QAO9B","sourcesContent":["/**\n * iCure Data Stack API Documentation\n * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.\n *\n * OpenAPI spec version: v1\n *\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport class SumehrValidity {\n constructor(json: JSON | any) {\n Object.assign(this as SumehrValidity, json)\n }\n\n sumehrValid?: SumehrValidity.SumehrValidEnum\n}\nexport namespace SumehrValidity {\n export type SumehrValidEnum = 'absent' | 'uptodate' | 'outdated'\n export const SumehrValidEnum = {\n Absent: 'absent' as SumehrValidEnum,\n Uptodate: 'uptodate' as SumehrValidEnum,\n Outdated: 'outdated' as SumehrValidEnum,\n }\n}\n"]}