@icure/be-fhc-api 0.4.0

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 (1297) hide show
  1. package/.editorconfig +8 -0
  2. package/.swagger-codegen/VERSION +1 -0
  3. package/.swagger-codegen-ignore +23 -0
  4. package/LICENSE +201 -0
  5. package/api/XHR.ts +142 -0
  6. package/api/fhcAddressbookApi.ts +274 -0
  7. package/api/fhcAdminApi.ts +86 -0
  8. package/api/fhcChapter4Api.ts +516 -0
  9. package/api/fhcConsentApi.ts +196 -0
  10. package/api/fhcConsultrnApi.ts +177 -0
  11. package/api/fhcCryptoApi.ts +182 -0
  12. package/api/fhcDmgApi.ts +413 -0
  13. package/api/fhcEattestApi.ts +227 -0
  14. package/api/fhcEattestV2Api.ts +403 -0
  15. package/api/fhcEfactApi.ts +261 -0
  16. package/api/fhcEhboxApi.ts +329 -0
  17. package/api/fhcEhboxV3Api.ts +378 -0
  18. package/api/fhcGenInsApi.ts +141 -0
  19. package/api/fhcHubApi.ts +1400 -0
  20. package/api/fhcMemberDataApi.ts +445 -0
  21. package/api/fhcMhmApi.ts +231 -0
  22. package/api/fhcRecipeApi.ts +473 -0
  23. package/api/fhcStsApi.ts +252 -0
  24. package/api/fhcTarificationApi.ts +120 -0
  25. package/api/fhcTherLinkApi.ts +431 -0
  26. package/dist/api/XHR.d.ts +21 -0
  27. package/dist/api/XHR.js +110 -0
  28. package/dist/api/fhcAddressbookApi.d.ts +93 -0
  29. package/dist/api/fhcAddressbookApi.js +202 -0
  30. package/dist/api/fhcAdminApi.d.ts +38 -0
  31. package/dist/api/fhcAdminApi.js +72 -0
  32. package/dist/api/fhcChapter4Api.d.ts +165 -0
  33. package/dist/api/fhcChapter4Api.js +371 -0
  34. package/dist/api/fhcConsentApi.d.ts +69 -0
  35. package/dist/api/fhcConsentApi.js +144 -0
  36. package/dist/api/fhcConsultrnApi.d.ts +67 -0
  37. package/dist/api/fhcConsultrnApi.js +130 -0
  38. package/dist/api/fhcCryptoApi.d.ts +58 -0
  39. package/dist/api/fhcCryptoApi.js +139 -0
  40. package/dist/api/fhcDmgApi.d.ts +134 -0
  41. package/dist/api/fhcDmgApi.js +304 -0
  42. package/dist/api/fhcEattestApi.d.ts +75 -0
  43. package/dist/api/fhcEattestApi.js +169 -0
  44. package/dist/api/fhcEattestV2Api.d.ts +125 -0
  45. package/dist/api/fhcEattestV2Api.js +297 -0
  46. package/dist/api/fhcEfactApi.d.ts +91 -0
  47. package/dist/api/fhcEfactApi.js +203 -0
  48. package/dist/api/fhcEhboxApi.d.ts +107 -0
  49. package/dist/api/fhcEhboxApi.js +244 -0
  50. package/dist/api/fhcEhboxV3Api.d.ts +121 -0
  51. package/dist/api/fhcEhboxV3Api.js +282 -0
  52. package/dist/api/fhcGenInsApi.d.ts +54 -0
  53. package/dist/api/fhcGenInsApi.js +103 -0
  54. package/dist/api/fhcHubApi.d.ts +450 -0
  55. package/dist/api/fhcHubApi.js +986 -0
  56. package/dist/api/fhcMemberDataApi.d.ts +146 -0
  57. package/dist/api/fhcMemberDataApi.js +323 -0
  58. package/dist/api/fhcMhmApi.d.ts +81 -0
  59. package/dist/api/fhcMhmApi.js +169 -0
  60. package/dist/api/fhcRecipeApi.d.ts +158 -0
  61. package/dist/api/fhcRecipeApi.js +346 -0
  62. package/dist/api/fhcStsApi.d.ts +88 -0
  63. package/dist/api/fhcStsApi.js +201 -0
  64. package/dist/api/fhcTarificationApi.d.ts +44 -0
  65. package/dist/api/fhcTarificationApi.js +91 -0
  66. package/dist/api/fhcTherLinkApi.d.ts +140 -0
  67. package/dist/api/fhcTherLinkApi.js +309 -0
  68. package/dist/fhcApi.d.ts +20 -0
  69. package/dist/fhcApi.js +32 -0
  70. package/dist/index.d.ts +3 -0
  71. package/dist/index.js +17 -0
  72. package/dist/model/AccessRightListType.d.ts +16 -0
  73. package/dist/model/AccessRightListType.js +9 -0
  74. package/dist/model/AccessRightType.d.ts +20 -0
  75. package/dist/model/AccessRightType.js +9 -0
  76. package/dist/model/AcknowledgeType.d.ts +17 -0
  77. package/dist/model/AcknowledgeType.js +9 -0
  78. package/dist/model/AcknowledgmentType.d.ts +16 -0
  79. package/dist/model/AcknowledgmentType.js +9 -0
  80. package/dist/model/AddedDocumentPreview.d.ts +22 -0
  81. package/dist/model/AddedDocumentPreview.js +20 -0
  82. package/dist/model/Address.d.ts +35 -0
  83. package/dist/model/Address.js +20 -0
  84. package/dist/model/AddressType.d.ts +29 -0
  85. package/dist/model/AddressType.js +9 -0
  86. package/dist/model/AddressTypeBase.d.ts +29 -0
  87. package/dist/model/AddressTypeBase.js +9 -0
  88. package/dist/model/Addressee.d.ts +23 -0
  89. package/dist/model/Addressee.js +9 -0
  90. package/dist/model/AdministrationQuantity.d.ts +18 -0
  91. package/dist/model/AdministrationQuantity.js +9 -0
  92. package/dist/model/AdministrationunitType.d.ts +16 -0
  93. package/dist/model/AdministrationunitType.js +9 -0
  94. package/dist/model/AdviceType.d.ts +16 -0
  95. package/dist/model/AdviceType.js +9 -0
  96. package/dist/model/AgreementResponse.d.ts +25 -0
  97. package/dist/model/AgreementResponse.js +10 -0
  98. package/dist/model/AgreementTransaction.d.ts +37 -0
  99. package/dist/model/AgreementTransaction.js +21 -0
  100. package/dist/model/AltKeystore.d.ts +16 -0
  101. package/dist/model/AltKeystore.js +20 -0
  102. package/dist/model/AltKeystoresList.d.ts +16 -0
  103. package/dist/model/AltKeystoresList.js +9 -0
  104. package/dist/model/Appendix.d.ts +19 -0
  105. package/dist/model/Appendix.js +21 -0
  106. package/dist/model/Assertion.d.ts +30 -0
  107. package/dist/model/Assertion.js +9 -0
  108. package/dist/model/AuthorDto.d.ts +16 -0
  109. package/dist/model/AuthorDto.js +9 -0
  110. package/dist/model/AuthorType.d.ts +16 -0
  111. package/dist/model/AuthorType.js +9 -0
  112. package/dist/model/AuthorWithPatientDto.d.ts +18 -0
  113. package/dist/model/AuthorWithPatientDto.js +9 -0
  114. package/dist/model/Base64EncryptedDataType.d.ts +18 -0
  115. package/dist/model/Base64EncryptedDataType.js +9 -0
  116. package/dist/model/Base64EncryptedValueType.d.ts +16 -0
  117. package/dist/model/Base64EncryptedValueType.js +21 -0
  118. package/dist/model/BaseID.d.ts +16 -0
  119. package/dist/model/BaseID.js +20 -0
  120. package/dist/model/BearerToken.d.ts +15 -0
  121. package/dist/model/BearerToken.js +20 -0
  122. package/dist/model/BirthDeceaseType.d.ts +26 -0
  123. package/dist/model/BirthDeceaseType.js +15 -0
  124. package/dist/model/BirthPlace.d.ts +17 -0
  125. package/dist/model/BirthPlace.js +20 -0
  126. package/dist/model/BirthResponseType.d.ts +17 -0
  127. package/dist/model/BirthResponseType.js +9 -0
  128. package/dist/model/BoxInfo.d.ts +21 -0
  129. package/dist/model/BoxInfo.js +9 -0
  130. package/dist/model/BusinessAnomalyType.d.ts +17 -0
  131. package/dist/model/BusinessAnomalyType.js +20 -0
  132. package/dist/model/CDACCESSRIGHT.d.ts +32 -0
  133. package/dist/model/CDACCESSRIGHT.js +30 -0
  134. package/dist/model/CDACKNOWLEDGMENT.d.ts +28 -0
  135. package/dist/model/CDACKNOWLEDGMENT.js +28 -0
  136. package/dist/model/CDADDRESS.d.ts +27 -0
  137. package/dist/model/CDADDRESS.js +26 -0
  138. package/dist/model/CDADMINISTRATIONUNIT.d.ts +19 -0
  139. package/dist/model/CDADMINISTRATIONUNIT.js +20 -0
  140. package/dist/model/CDCARENETPERSONALPART.d.ts +27 -0
  141. package/dist/model/CDCARENETPERSONALPART.js +27 -0
  142. package/dist/model/CDCARENETTHIRDPAYERCONTRACT.d.ts +19 -0
  143. package/dist/model/CDCARENETTHIRDPAYERCONTRACT.js +20 -0
  144. package/dist/model/CDCERTAINTY.d.ts +29 -0
  145. package/dist/model/CDCERTAINTY.js +29 -0
  146. package/dist/model/CDCIVILSTATE.d.ts +20 -0
  147. package/dist/model/CDCIVILSTATE.js +20 -0
  148. package/dist/model/CDCONSENT.d.ts +33 -0
  149. package/dist/model/CDCONSENT.js +31 -0
  150. package/dist/model/CDCONTENT.d.ts +194 -0
  151. package/dist/model/CDCONTENT.js +192 -0
  152. package/dist/model/CDCOUNTRY.d.ts +27 -0
  153. package/dist/model/CDCOUNTRY.js +26 -0
  154. package/dist/model/CDDAYPERIOD.d.ts +43 -0
  155. package/dist/model/CDDAYPERIOD.js +43 -0
  156. package/dist/model/CDDRUGCNK.d.ts +26 -0
  157. package/dist/model/CDDRUGCNK.js +26 -0
  158. package/dist/model/CDDRUGPRESENTATION.d.ts +19 -0
  159. package/dist/model/CDDRUGPRESENTATION.js +20 -0
  160. package/dist/model/CDDRUGROUTE.d.ts +19 -0
  161. package/dist/model/CDDRUGROUTE.js +20 -0
  162. package/dist/model/CDEBIRTHPLACE.d.ts +27 -0
  163. package/dist/model/CDEBIRTHPLACE.js +27 -0
  164. package/dist/model/CDEMPLOYMENTSITUATION.d.ts +28 -0
  165. package/dist/model/CDEMPLOYMENTSITUATION.js +27 -0
  166. package/dist/model/CDENCRYPTIONMETHOD.d.ts +29 -0
  167. package/dist/model/CDENCRYPTIONMETHOD.js +28 -0
  168. package/dist/model/CDERROR.d.ts +27 -0
  169. package/dist/model/CDERROR.js +26 -0
  170. package/dist/model/CDEXTERNALSOURCE.d.ts +27 -0
  171. package/dist/model/CDEXTERNALSOURCE.js +26 -0
  172. package/dist/model/CDFORMULARY.d.ts +26 -0
  173. package/dist/model/CDFORMULARY.js +26 -0
  174. package/dist/model/CDGALENICFORM.d.ts +26 -0
  175. package/dist/model/CDGALENICFORM.js +26 -0
  176. package/dist/model/CDHCPARTY.d.ts +30 -0
  177. package/dist/model/CDHCPARTY.js +29 -0
  178. package/dist/model/CDHEADING.d.ts +30 -0
  179. package/dist/model/CDHEADING.js +29 -0
  180. package/dist/model/CDINCAPACITY.d.ts +32 -0
  181. package/dist/model/CDINCAPACITY.js +32 -0
  182. package/dist/model/CDINCAPACITYREASON.d.ts +35 -0
  183. package/dist/model/CDINCAPACITYREASON.js +35 -0
  184. package/dist/model/CDINNCLUSTER.d.ts +26 -0
  185. package/dist/model/CDINNCLUSTER.js +26 -0
  186. package/dist/model/CDITEM.d.ts +56 -0
  187. package/dist/model/CDITEM.js +54 -0
  188. package/dist/model/CDLIFECYCLE.d.ts +52 -0
  189. package/dist/model/CDLIFECYCLE.js +52 -0
  190. package/dist/model/CDMEDICATION.d.ts +28 -0
  191. package/dist/model/CDMEDICATION.js +27 -0
  192. package/dist/model/CDMESSAGE.d.ts +30 -0
  193. package/dist/model/CDMESSAGE.js +30 -0
  194. package/dist/model/CDPERIODICITY.d.ts +19 -0
  195. package/dist/model/CDPERIODICITY.js +20 -0
  196. package/dist/model/CDQUANTITYPREFIX.d.ts +28 -0
  197. package/dist/model/CDQUANTITYPREFIX.js +28 -0
  198. package/dist/model/CDREFSCOPE.d.ts +27 -0
  199. package/dist/model/CDREFSCOPE.js +27 -0
  200. package/dist/model/CDSEVERITY.d.ts +26 -0
  201. package/dist/model/CDSEVERITY.js +26 -0
  202. package/dist/model/CDSEX.d.ts +29 -0
  203. package/dist/model/CDSEX.js +29 -0
  204. package/dist/model/CDSITE.d.ts +26 -0
  205. package/dist/model/CDSITE.js +26 -0
  206. package/dist/model/CDSTANDARD.d.ts +19 -0
  207. package/dist/model/CDSTANDARD.js +20 -0
  208. package/dist/model/CDSUBSTANCE.d.ts +28 -0
  209. package/dist/model/CDSUBSTANCE.js +28 -0
  210. package/dist/model/CDTELECOM.d.ts +26 -0
  211. package/dist/model/CDTELECOM.js +26 -0
  212. package/dist/model/CDTEMPORALITY.d.ts +30 -0
  213. package/dist/model/CDTEMPORALITY.js +30 -0
  214. package/dist/model/CDTIMEUNIT.d.ts +27 -0
  215. package/dist/model/CDTIMEUNIT.js +26 -0
  216. package/dist/model/CDTRANSACTION.d.ts +35 -0
  217. package/dist/model/CDTRANSACTION.js +34 -0
  218. package/dist/model/CDUNIT.d.ts +28 -0
  219. package/dist/model/CDUNIT.js +28 -0
  220. package/dist/model/CDURGENCY.d.ts +19 -0
  221. package/dist/model/CDURGENCY.js +20 -0
  222. package/dist/model/CancelSubscriptionResultWithResponse.d.ts +26 -0
  223. package/dist/model/CancelSubscriptionResultWithResponse.js +10 -0
  224. package/dist/model/CanonicalizationMethod.d.ts +16 -0
  225. package/dist/model/CanonicalizationMethod.js +20 -0
  226. package/dist/model/CertaintyType.d.ts +16 -0
  227. package/dist/model/CertaintyType.js +9 -0
  228. package/dist/model/CertificateInfo.d.ts +19 -0
  229. package/dist/model/CertificateInfo.js +20 -0
  230. package/dist/model/CipherData.d.ts +17 -0
  231. package/dist/model/CipherData.js +10 -0
  232. package/dist/model/CipherReference.d.ts +17 -0
  233. package/dist/model/CipherReference.js +9 -0
  234. package/dist/model/CivilStateResponseType.d.ts +23 -0
  235. package/dist/model/CivilStateResponseType.js +9 -0
  236. package/dist/model/CivilStateType.d.ts +30 -0
  237. package/dist/model/CivilStateType.js +15 -0
  238. package/dist/model/CivilStatesResponseType.d.ts +16 -0
  239. package/dist/model/CivilStatesResponseType.js +9 -0
  240. package/dist/model/Civilstate.d.ts +16 -0
  241. package/dist/model/Civilstate.js +9 -0
  242. package/dist/model/Code.d.ts +27 -0
  243. package/dist/model/Code.js +20 -0
  244. package/dist/model/CodeResult.d.ts +21 -0
  245. package/dist/model/CodeResult.js +9 -0
  246. package/dist/model/CommonOutput.d.ts +17 -0
  247. package/dist/model/CommonOutput.js +20 -0
  248. package/dist/model/CommonOutputType.d.ts +17 -0
  249. package/dist/model/CommonOutputType.js +20 -0
  250. package/dist/model/CompoundPrescription.d.ts +18 -0
  251. package/dist/model/CompoundPrescription.js +9 -0
  252. package/dist/model/CompoundType.d.ts +24 -0
  253. package/dist/model/CompoundType.js +9 -0
  254. package/dist/model/CompoundprescriptionType.d.ts +26 -0
  255. package/dist/model/CompoundprescriptionType.js +9 -0
  256. package/dist/model/ConditionAbstractType.d.ts +14 -0
  257. package/dist/model/ConditionAbstractType.js +20 -0
  258. package/dist/model/Conditions.d.ts +19 -0
  259. package/dist/model/Conditions.js +9 -0
  260. package/dist/model/ConfidentialityType.d.ts +16 -0
  261. package/dist/model/ConfidentialityType.js +9 -0
  262. package/dist/model/Consent.d.ts +22 -0
  263. package/dist/model/Consent.js +9 -0
  264. package/dist/model/ConsentMessageDto.d.ts +19 -0
  265. package/dist/model/ConsentMessageDto.js +9 -0
  266. package/dist/model/ConsentTypeDto.d.ts +22 -0
  267. package/dist/model/ConsentTypeDto.js +9 -0
  268. package/dist/model/ConsultCurrentSsinResponse.d.ts +21 -0
  269. package/dist/model/ConsultCurrentSsinResponse.js +9 -0
  270. package/dist/model/ConsultRnAddressDto.d.ts +27 -0
  271. package/dist/model/ConsultRnAddressDto.js +15 -0
  272. package/dist/model/ConsultRnPersonDataDto.d.ts +27 -0
  273. package/dist/model/ConsultRnPersonDataDto.js +9 -0
  274. package/dist/model/ConsultRnPersonDto.d.ts +27 -0
  275. package/dist/model/ConsultRnPersonDto.js +15 -0
  276. package/dist/model/ConsultRnPlainAddressDto.d.ts +17 -0
  277. package/dist/model/ConsultRnPlainAddressDto.js +9 -0
  278. package/dist/model/Content.d.ts +24 -0
  279. package/dist/model/Content.js +10 -0
  280. package/dist/model/ContentType.d.ts +62 -0
  281. package/dist/model/ContentType.js +9 -0
  282. package/dist/model/ContentlocalitemattributeType.d.ts +31 -0
  283. package/dist/model/ContentlocalitemattributeType.js +9 -0
  284. package/dist/model/CostType.d.ts +17 -0
  285. package/dist/model/CostType.js +9 -0
  286. package/dist/model/CountryType.d.ts +16 -0
  287. package/dist/model/CountryType.js +9 -0
  288. package/dist/model/DateType.d.ts +21 -0
  289. package/dist/model/DateType.js +9 -0
  290. package/dist/model/DayperiodType.d.ts +16 -0
  291. package/dist/model/DayperiodType.js +9 -0
  292. package/dist/model/DeceaseResponseType.d.ts +17 -0
  293. package/dist/model/DeceaseResponseType.js +9 -0
  294. package/dist/model/Denominator.d.ts +16 -0
  295. package/dist/model/Denominator.js +9 -0
  296. package/dist/model/DetailType.d.ts +19 -0
  297. package/dist/model/DetailType.js +9 -0
  298. package/dist/model/DetailsType.d.ts +16 -0
  299. package/dist/model/DetailsType.js +9 -0
  300. package/dist/model/DigestMethod.d.ts +16 -0
  301. package/dist/model/DigestMethod.js +20 -0
  302. package/dist/model/DimensionDto.d.ts +16 -0
  303. package/dist/model/DimensionDto.js +20 -0
  304. package/dist/model/DiplomaticInformationType.d.ts +19 -0
  305. package/dist/model/DiplomaticInformationType.js +9 -0
  306. package/dist/model/DiplomaticPostType.d.ts +19 -0
  307. package/dist/model/DiplomaticPostType.js +9 -0
  308. package/dist/model/DmgAcknowledge.d.ts +29 -0
  309. package/dist/model/DmgAcknowledge.js +9 -0
  310. package/dist/model/DmgClosure.d.ts +39 -0
  311. package/dist/model/DmgClosure.js +9 -0
  312. package/dist/model/DmgConsultation.d.ts +38 -0
  313. package/dist/model/DmgConsultation.js +9 -0
  314. package/dist/model/DmgExtension.d.ts +37 -0
  315. package/dist/model/DmgExtension.js +9 -0
  316. package/dist/model/DmgInscription.d.ts +45 -0
  317. package/dist/model/DmgInscription.js +9 -0
  318. package/dist/model/DmgNotification.d.ts +29 -0
  319. package/dist/model/DmgNotification.js +9 -0
  320. package/dist/model/DmgRegistration.d.ts +27 -0
  321. package/dist/model/DmgRegistration.js +9 -0
  322. package/dist/model/DmgsList.d.ts +35 -0
  323. package/dist/model/DmgsList.js +9 -0
  324. package/dist/model/Document.d.ts +21 -0
  325. package/dist/model/Document.js +10 -0
  326. package/dist/model/DocumentMessage.d.ts +45 -0
  327. package/dist/model/DocumentMessage.js +9 -0
  328. package/dist/model/Duration.d.ts +17 -0
  329. package/dist/model/Duration.js +9 -0
  330. package/dist/model/DurationType.d.ts +17 -0
  331. package/dist/model/DurationType.js +9 -0
  332. package/dist/model/EHealthBoxType.d.ts +18 -0
  333. package/dist/model/EHealthBoxType.js +20 -0
  334. package/dist/model/EIDItem.d.ts +19 -0
  335. package/dist/model/EIDItem.js +20 -0
  336. package/dist/model/Eattest.d.ts +16 -0
  337. package/dist/model/Eattest.js +9 -0
  338. package/dist/model/EattestAcknowledgeType.d.ts +17 -0
  339. package/dist/model/EattestAcknowledgeType.js +9 -0
  340. package/dist/model/EattestCardReading.d.ts +21 -0
  341. package/dist/model/EattestCardReading.js +20 -0
  342. package/dist/model/EattestCode.d.ts +50 -0
  343. package/dist/model/EattestCode.js +21 -0
  344. package/dist/model/EattestHcParty.d.ts +19 -0
  345. package/dist/model/EattestHcParty.js +20 -0
  346. package/dist/model/EattestRequestor.d.ts +17 -0
  347. package/dist/model/EattestRequestor.js +9 -0
  348. package/dist/model/EfactMessage.d.ts +25 -0
  349. package/dist/model/EfactMessage.js +9 -0
  350. package/dist/model/EfactSendResponse.d.ts +25 -0
  351. package/dist/model/EfactSendResponse.js +9 -0
  352. package/dist/model/EncodedSSINType.d.ts +16 -0
  353. package/dist/model/EncodedSSINType.js +20 -0
  354. package/dist/model/EncryptedData.d.ts +26 -0
  355. package/dist/model/EncryptedData.js +9 -0
  356. package/dist/model/EncryptedElementType.d.ts +18 -0
  357. package/dist/model/EncryptedElementType.js +9 -0
  358. package/dist/model/EncryptedKey.d.ts +30 -0
  359. package/dist/model/EncryptedKey.js +9 -0
  360. package/dist/model/EncryptedType.d.ts +26 -0
  361. package/dist/model/EncryptedType.js +9 -0
  362. package/dist/model/EncryptionMethodType.d.ts +16 -0
  363. package/dist/model/EncryptionMethodType.js +20 -0
  364. package/dist/model/EncryptionProperties.d.ts +17 -0
  365. package/dist/model/EncryptionProperties.js +9 -0
  366. package/dist/model/EncryptionProperty.d.ts +20 -0
  367. package/dist/model/EncryptionProperty.js +20 -0
  368. package/dist/model/EndSubscriptionResultWithResponse.d.ts +26 -0
  369. package/dist/model/EndSubscriptionResultWithResponse.js +10 -0
  370. package/dist/model/EndpointDistributorStatusDto.d.ts +16 -0
  371. package/dist/model/EndpointDistributorStatusDto.js +20 -0
  372. package/dist/model/ErrorDetail.d.ts +39 -0
  373. package/dist/model/ErrorDetail.js +20 -0
  374. package/dist/model/ErrorDto.d.ts +21 -0
  375. package/dist/model/ErrorDto.js +20 -0
  376. package/dist/model/ErrorType.d.ts +21 -0
  377. package/dist/model/ErrorType.js +9 -0
  378. package/dist/model/ExistingPersonsType.d.ts +16 -0
  379. package/dist/model/ExistingPersonsType.js +9 -0
  380. package/dist/model/Externalsource.d.ts +16 -0
  381. package/dist/model/Externalsource.js +9 -0
  382. package/dist/model/FCMAXType.d.ts +16 -0
  383. package/dist/model/FCMAXType.js +20 -0
  384. package/dist/model/FCMINType.d.ts +16 -0
  385. package/dist/model/FCMINType.js +20 -0
  386. package/dist/model/FacetDto.d.ts +17 -0
  387. package/dist/model/FacetDto.js +9 -0
  388. package/dist/model/FaultType.d.ts +20 -0
  389. package/dist/model/FaultType.js +9 -0
  390. package/dist/model/Feedback.d.ts +18 -0
  391. package/dist/model/Feedback.js +20 -0
  392. package/dist/model/FinancialInstitutionInformation.d.ts +20 -0
  393. package/dist/model/FinancialInstitutionInformation.js +20 -0
  394. package/dist/model/FlatFileMetadata.d.ts +26 -0
  395. package/dist/model/FlatFileMetadata.js +20 -0
  396. package/dist/model/FlatFileWithMetadata.d.ts +17 -0
  397. package/dist/model/FlatFileWithMetadata.js +9 -0
  398. package/dist/model/FolderType.d.ts +26 -0
  399. package/dist/model/FolderType.js +9 -0
  400. package/dist/model/FormularyreferenceType.d.ts +17 -0
  401. package/dist/model/FormularyreferenceType.js +9 -0
  402. package/dist/model/FrequencyType.d.ts +25 -0
  403. package/dist/model/FrequencyType.js +9 -0
  404. package/dist/model/GalenicForm.d.ts +17 -0
  405. package/dist/model/GalenicForm.js +9 -0
  406. package/dist/model/GalenicformType.d.ts +18 -0
  407. package/dist/model/GalenicformType.js +9 -0
  408. package/dist/model/GenAsyncResponse.d.ts +21 -0
  409. package/dist/model/GenAsyncResponse.js +9 -0
  410. package/dist/model/GenderType.d.ts +32 -0
  411. package/dist/model/GenderType.js +31 -0
  412. package/dist/model/GetAccessRightResponse.d.ts +20 -0
  413. package/dist/model/GetAccessRightResponse.js +9 -0
  414. package/dist/model/GetPatientAuditTrailResponse.d.ts +20 -0
  415. package/dist/model/GetPatientAuditTrailResponse.js +9 -0
  416. package/dist/model/HasTherapeuticLinkMessage.d.ts +17 -0
  417. package/dist/model/HasTherapeuticLinkMessage.js +20 -0
  418. package/dist/model/HcPartyConsentDto.d.ts +21 -0
  419. package/dist/model/HcPartyConsentDto.js +9 -0
  420. package/dist/model/HcPartyDto.d.ts +28 -0
  421. package/dist/model/HcPartyDto.js +9 -0
  422. package/dist/model/HcPartyIdDto.d.ts +16 -0
  423. package/dist/model/HcPartyIdDto.js +9 -0
  424. package/dist/model/HcpartyType.d.ts +25 -0
  425. package/dist/model/HcpartyType.js +9 -0
  426. package/dist/model/HeaderType.d.ts +37 -0
  427. package/dist/model/HeaderType.js +9 -0
  428. package/dist/model/HeadingType.d.ts +27 -0
  429. package/dist/model/HeadingType.js +9 -0
  430. package/dist/model/HealthcareParty.d.ts +50 -0
  431. package/dist/model/HealthcareParty.js +20 -0
  432. package/dist/model/HolterType.d.ts +42 -0
  433. package/dist/model/HolterType.js +9 -0
  434. package/dist/model/HospitalizedInfoDto.d.ts +17 -0
  435. package/dist/model/HospitalizedInfoDto.js +20 -0
  436. package/dist/model/IDHCPARTY.d.ts +31 -0
  437. package/dist/model/IDHCPARTY.js +32 -0
  438. package/dist/model/IDINSURANCE.d.ts +25 -0
  439. package/dist/model/IDINSURANCE.js +26 -0
  440. package/dist/model/IDKMEHR.d.ts +28 -0
  441. package/dist/model/IDKMEHR.js +29 -0
  442. package/dist/model/IDPATIENT.d.ts +29 -0
  443. package/dist/model/IDPATIENT.js +30 -0
  444. package/dist/model/IDPROFESSION.d.ts +25 -0
  445. package/dist/model/IDPROFESSION.js +26 -0
  446. package/dist/model/IdentifierType.d.ts +15 -0
  447. package/dist/model/IdentifierType.js +20 -0
  448. package/dist/model/IncapacityType.d.ts +20 -0
  449. package/dist/model/IncapacityType.js +9 -0
  450. package/dist/model/IncapacityreasonType.d.ts +16 -0
  451. package/dist/model/IncapacityreasonType.js +9 -0
  452. package/dist/model/InformationType.d.ts +16 -0
  453. package/dist/model/InformationType.js +20 -0
  454. package/dist/model/InhabitantType.d.ts +20 -0
  455. package/dist/model/InhabitantType.js +9 -0
  456. package/dist/model/InputStream.d.ts +14 -0
  457. package/dist/model/InputStream.js +20 -0
  458. package/dist/model/Insurability.d.ts +26 -0
  459. package/dist/model/Insurability.js +20 -0
  460. package/dist/model/InsurabilityInfoDto.d.ts +40 -0
  461. package/dist/model/InsurabilityInfoDto.js +9 -0
  462. package/dist/model/InsurabilityItemDto.d.ts +22 -0
  463. package/dist/model/InsurabilityItemDto.js +9 -0
  464. package/dist/model/InsuranceType.d.ts +31 -0
  465. package/dist/model/InsuranceType.js +9 -0
  466. package/dist/model/Invoice.d.ts +42 -0
  467. package/dist/model/Invoice.js +18 -0
  468. package/dist/model/InvoiceItem.d.ts +90 -0
  469. package/dist/model/InvoiceItem.js +54 -0
  470. package/dist/model/InvoiceSender.d.ts +25 -0
  471. package/dist/model/InvoiceSender.js +20 -0
  472. package/dist/model/InvoicesBatch.d.ts +27 -0
  473. package/dist/model/InvoicesBatch.js +9 -0
  474. package/dist/model/ItemType.d.ts +77 -0
  475. package/dist/model/ItemType.js +9 -0
  476. package/dist/model/JAXBElementReferenceType.d.ts +21 -0
  477. package/dist/model/JAXBElementReferenceType.js +9 -0
  478. package/dist/model/JAXBElementSignature.d.ts +21 -0
  479. package/dist/model/JAXBElementSignature.js +9 -0
  480. package/dist/model/JAXBElementobject.d.ts +20 -0
  481. package/dist/model/JAXBElementobject.js +9 -0
  482. package/dist/model/KeyInfo.d.ts +16 -0
  483. package/dist/model/KeyInfo.js +20 -0
  484. package/dist/model/KmehrCd.d.ts +20 -0
  485. package/dist/model/KmehrCd.js +20 -0
  486. package/dist/model/KmehrId.d.ts +20 -0
  487. package/dist/model/KmehrId.js +20 -0
  488. package/dist/model/KmehrPatientDto.d.ts +26 -0
  489. package/dist/model/KmehrPatientDto.js +9 -0
  490. package/dist/model/KmehrQuantity.d.ts +17 -0
  491. package/dist/model/KmehrQuantity.js +9 -0
  492. package/dist/model/Kmehrmessage.d.ts +18 -0
  493. package/dist/model/Kmehrmessage.js +9 -0
  494. package/dist/model/LOCAL.d.ts +20 -0
  495. package/dist/model/LOCAL.js +20 -0
  496. package/dist/model/LifecycleType.d.ts +16 -0
  497. package/dist/model/LifecycleType.js +9 -0
  498. package/dist/model/LnkType.d.ts +61 -0
  499. package/dist/model/LnkType.js +61 -0
  500. package/dist/model/LocalisedString.d.ts +26 -0
  501. package/dist/model/LocalisedString.js +29 -0
  502. package/dist/model/LocalitemattributeType.d.ts +20 -0
  503. package/dist/model/LocalitemattributeType.js +9 -0
  504. package/dist/model/LocationBirthPlaceType.d.ts +20 -0
  505. package/dist/model/LocationBirthPlaceType.js +9 -0
  506. package/dist/model/MaxrefType.d.ts +17 -0
  507. package/dist/model/MaxrefType.js +9 -0
  508. package/dist/model/MdaStatus.d.ts +16 -0
  509. package/dist/model/MdaStatus.js +20 -0
  510. package/dist/model/Measure.d.ts +22 -0
  511. package/dist/model/Measure.js +9 -0
  512. package/dist/model/MedicalHouseInfoDto.d.ts +19 -0
  513. package/dist/model/MedicalHouseInfoDto.js +20 -0
  514. package/dist/model/Medication.d.ts +57 -0
  515. package/dist/model/Medication.js +21 -0
  516. package/dist/model/MedicationRenewal.d.ts +17 -0
  517. package/dist/model/MedicationRenewal.js +9 -0
  518. package/dist/model/MedicationType.d.ts +35 -0
  519. package/dist/model/MedicationType.js +9 -0
  520. package/dist/model/MedicinalProductType.d.ts +19 -0
  521. package/dist/model/MedicinalProductType.js +9 -0
  522. package/dist/model/Medicinalproduct.d.ts +20 -0
  523. package/dist/model/Medicinalproduct.js +9 -0
  524. package/dist/model/MemberDataAck.d.ts +18 -0
  525. package/dist/model/MemberDataAck.js +20 -0
  526. package/dist/model/MemberDataBatchRequestDto.d.ts +18 -0
  527. package/dist/model/MemberDataBatchRequestDto.js +9 -0
  528. package/dist/model/MemberDataBatchResponse.d.ts +25 -0
  529. package/dist/model/MemberDataBatchResponse.js +9 -0
  530. package/dist/model/MemberDataList.d.ts +23 -0
  531. package/dist/model/MemberDataList.js +9 -0
  532. package/dist/model/MemberDataMessage.d.ts +27 -0
  533. package/dist/model/MemberDataMessage.js +9 -0
  534. package/dist/model/MemberDataResponse.d.ts +26 -0
  535. package/dist/model/MemberDataResponse.js +9 -0
  536. package/dist/model/MemberInfoDto.d.ts +19 -0
  537. package/dist/model/MemberInfoDto.js +20 -0
  538. package/dist/model/MemberinsuranceType.d.ts +17 -0
  539. package/dist/model/MemberinsuranceType.js +9 -0
  540. package/dist/model/Message.d.ts +33 -0
  541. package/dist/model/Message.js +9 -0
  542. package/dist/model/MessageOperationResponse.d.ts +16 -0
  543. package/dist/model/MessageOperationResponse.js +20 -0
  544. package/dist/model/MessageResponse.d.ts +17 -0
  545. package/dist/model/MessageResponse.js +9 -0
  546. package/dist/model/MessagesResponse.d.ts +17 -0
  547. package/dist/model/MessagesResponse.js +9 -0
  548. package/dist/model/MiddleNameType.d.ts +16 -0
  549. package/dist/model/MiddleNameType.js +20 -0
  550. package/dist/model/MinrefType.d.ts +17 -0
  551. package/dist/model/MinrefType.js +9 -0
  552. package/dist/model/ModelError.d.ts +21 -0
  553. package/dist/model/ModelError.js +20 -0
  554. package/dist/model/ModelHelper.d.ts +1 -0
  555. package/dist/model/ModelHelper.js +21 -0
  556. package/dist/model/ModelObject.d.ts +18 -0
  557. package/dist/model/ModelObject.js +20 -0
  558. package/dist/model/MomentType.d.ts +21 -0
  559. package/dist/model/MomentType.js +9 -0
  560. package/dist/model/MppId.d.ts +16 -0
  561. package/dist/model/MppId.js +20 -0
  562. package/dist/model/MppPreview.d.ts +41 -0
  563. package/dist/model/MppPreview.js +9 -0
  564. package/dist/model/MunicipalityType.d.ts +18 -0
  565. package/dist/model/MunicipalityType.js +9 -0
  566. package/dist/model/MycarenetConversation.d.ts +18 -0
  567. package/dist/model/MycarenetConversation.js +20 -0
  568. package/dist/model/MycarenetError.d.ts +29 -0
  569. package/dist/model/MycarenetError.js +20 -0
  570. package/dist/model/NameIDType.d.ts +19 -0
  571. package/dist/model/NameIDType.js +20 -0
  572. package/dist/model/NameType.d.ts +28 -0
  573. package/dist/model/NameType.js +26 -0
  574. package/dist/model/NationalitiesType.d.ts +16 -0
  575. package/dist/model/NationalitiesType.js +9 -0
  576. package/dist/model/Nationality.d.ts +16 -0
  577. package/dist/model/Nationality.js +9 -0
  578. package/dist/model/NationalityType.d.ts +31 -0
  579. package/dist/model/NationalityType.js +15 -0
  580. package/dist/model/NobilityTitleType.d.ts +17 -0
  581. package/dist/model/NobilityTitleType.js +9 -0
  582. package/dist/model/Nominator.d.ts +16 -0
  583. package/dist/model/Nominator.js +9 -0
  584. package/dist/model/PackageType.d.ts +16 -0
  585. package/dist/model/PackageType.js +9 -0
  586. package/dist/model/Paginationrequestinfo.d.ts +15 -0
  587. package/dist/model/Paginationrequestinfo.js +20 -0
  588. package/dist/model/Paginationresponseinfo.d.ts +16 -0
  589. package/dist/model/Paginationresponseinfo.js +20 -0
  590. package/dist/model/ParagraphInfos.d.ts +34 -0
  591. package/dist/model/ParagraphInfos.js +9 -0
  592. package/dist/model/ParagraphPreview.d.ts +20 -0
  593. package/dist/model/ParagraphPreview.js +20 -0
  594. package/dist/model/PartnerType.d.ts +19 -0
  595. package/dist/model/PartnerType.js +9 -0
  596. package/dist/model/Patient.d.ts +70 -0
  597. package/dist/model/Patient.js +30 -0
  598. package/dist/model/PatientId.d.ts +16 -0
  599. package/dist/model/PatientId.js +9 -0
  600. package/dist/model/PatientIdType.d.ts +16 -0
  601. package/dist/model/PatientIdType.js +9 -0
  602. package/dist/model/Payment.d.ts +16 -0
  603. package/dist/model/Payment.js +20 -0
  604. package/dist/model/PeriodDto.d.ts +16 -0
  605. package/dist/model/PeriodDto.js +20 -0
  606. package/dist/model/PeriodicityType.d.ts +16 -0
  607. package/dist/model/PeriodicityType.js +9 -0
  608. package/dist/model/PersonMid.d.ts +23 -0
  609. package/dist/model/PersonMid.js +9 -0
  610. package/dist/model/PersonNameResponseType.d.ts +19 -0
  611. package/dist/model/PersonNameResponseType.js +9 -0
  612. package/dist/model/PersonResponseType.d.ts +32 -0
  613. package/dist/model/PersonResponseType.js +9 -0
  614. package/dist/model/PersonType.d.ts +44 -0
  615. package/dist/model/PersonType.js +9 -0
  616. package/dist/model/Personalpart.d.ts +21 -0
  617. package/dist/model/Personalpart.js +9 -0
  618. package/dist/model/Posology.d.ts +16 -0
  619. package/dist/model/Posology.js +9 -0
  620. package/dist/model/Prescription.d.ts +20 -0
  621. package/dist/model/Prescription.js +20 -0
  622. package/dist/model/PrescriptionFullWithFeedback.d.ts +28 -0
  623. package/dist/model/PrescriptionFullWithFeedback.js +9 -0
  624. package/dist/model/PrescriptionRequest.d.ts +33 -0
  625. package/dist/model/PrescriptionRequest.js +9 -0
  626. package/dist/model/PresentationType.d.ts +16 -0
  627. package/dist/model/PresentationType.js +9 -0
  628. package/dist/model/ProfessionCode.d.ts +17 -0
  629. package/dist/model/ProfessionCode.js +20 -0
  630. package/dist/model/ProfessionType.d.ts +18 -0
  631. package/dist/model/ProfessionType.js +9 -0
  632. package/dist/model/PutAccessRightResponse.d.ts +18 -0
  633. package/dist/model/PutAccessRightResponse.js +9 -0
  634. package/dist/model/PutPatientConsentResponse.d.ts +18 -0
  635. package/dist/model/PutPatientConsentResponse.js +9 -0
  636. package/dist/model/PutTherapeuticLinkResponse.d.ts +18 -0
  637. package/dist/model/PutTherapeuticLinkResponse.js +9 -0
  638. package/dist/model/PutTransactionResponseDto.d.ts +18 -0
  639. package/dist/model/PutTransactionResponseDto.js +9 -0
  640. package/dist/model/PutTransactionSetResponse.d.ts +20 -0
  641. package/dist/model/PutTransactionSetResponse.js +9 -0
  642. package/dist/model/QName.d.ts +17 -0
  643. package/dist/model/QName.js +20 -0
  644. package/dist/model/QuantityType.d.ts +17 -0
  645. package/dist/model/QuantityType.js +9 -0
  646. package/dist/model/Quantityprefix.d.ts +16 -0
  647. package/dist/model/Quantityprefix.js +9 -0
  648. package/dist/model/RRMAXType.d.ts +16 -0
  649. package/dist/model/RRMAXType.js +20 -0
  650. package/dist/model/RRMINType.d.ts +16 -0
  651. package/dist/model/RRMINType.js +20 -0
  652. package/dist/model/RecipeCDHEADING.d.ts +30 -0
  653. package/dist/model/RecipeCDHEADING.js +29 -0
  654. package/dist/model/RecipeCDINNCLUSTER.d.ts +26 -0
  655. package/dist/model/RecipeCDINNCLUSTER.js +26 -0
  656. package/dist/model/RecipeCDITEM.d.ts +56 -0
  657. package/dist/model/RecipeCDITEM.js +54 -0
  658. package/dist/model/RecipeCDTRANSACTION.d.ts +34 -0
  659. package/dist/model/RecipeCDTRANSACTION.js +33 -0
  660. package/dist/model/RecipeauthorType.d.ts +16 -0
  661. package/dist/model/RecipeauthorType.js +9 -0
  662. package/dist/model/RecipebasicIDKMEHR.d.ts +28 -0
  663. package/dist/model/RecipebasicIDKMEHR.js +29 -0
  664. package/dist/model/RecipecompoundprescriptionType.d.ts +16 -0
  665. package/dist/model/RecipecompoundprescriptionType.js +9 -0
  666. package/dist/model/RecipecontentType.d.ts +20 -0
  667. package/dist/model/RecipecontentType.js +9 -0
  668. package/dist/model/RecipedurationType.d.ts +17 -0
  669. package/dist/model/RecipedurationType.js +9 -0
  670. package/dist/model/RecipefolderType.d.ts +20 -0
  671. package/dist/model/RecipefolderType.js +9 -0
  672. package/dist/model/RecipefrequencyType.d.ts +25 -0
  673. package/dist/model/RecipefrequencyType.js +9 -0
  674. package/dist/model/RecipeheaderType.d.ts +35 -0
  675. package/dist/model/RecipeheaderType.js +9 -0
  676. package/dist/model/RecipeitemType.d.ts +47 -0
  677. package/dist/model/RecipeitemType.js +9 -0
  678. package/dist/model/RecipelifecycleType.d.ts +16 -0
  679. package/dist/model/RecipelifecycleType.js +9 -0
  680. package/dist/model/RecipemedicinalProductType.d.ts +19 -0
  681. package/dist/model/RecipemedicinalProductType.js +9 -0
  682. package/dist/model/RecipemomentType.d.ts +21 -0
  683. package/dist/model/RecipemomentType.js +9 -0
  684. package/dist/model/RecipepatientpersonType.d.ts +45 -0
  685. package/dist/model/RecipepatientpersonType.js +9 -0
  686. package/dist/model/RecipequantityType.d.ts +17 -0
  687. package/dist/model/RecipequantityType.js +9 -0
  688. package/dist/model/ReciperenewalType.d.ts +17 -0
  689. package/dist/model/ReciperenewalType.js +9 -0
  690. package/dist/model/ReciperouteType.d.ts +16 -0
  691. package/dist/model/ReciperouteType.js +9 -0
  692. package/dist/model/RecipetemporalityType.d.ts +16 -0
  693. package/dist/model/RecipetemporalityType.js +9 -0
  694. package/dist/model/RecipetransactionType.d.ts +27 -0
  695. package/dist/model/RecipetransactionType.js +9 -0
  696. package/dist/model/RecipetransactionheadingType.d.ts +20 -0
  697. package/dist/model/RecipetransactionheadingType.js +9 -0
  698. package/dist/model/RecipientType.d.ts +17 -0
  699. package/dist/model/RecipientType.js +9 -0
  700. package/dist/model/Record.d.ts +20 -0
  701. package/dist/model/Record.js +9 -0
  702. package/dist/model/RecordOrSegmentDescription.d.ts +16 -0
  703. package/dist/model/RecordOrSegmentDescription.js +9 -0
  704. package/dist/model/Reference.d.ts +22 -0
  705. package/dist/model/Reference.js +10 -0
  706. package/dist/model/ReferenceList.d.ts +16 -0
  707. package/dist/model/ReferenceList.js +9 -0
  708. package/dist/model/ReferenceType.d.ts +16 -0
  709. package/dist/model/ReferenceType.js +20 -0
  710. package/dist/model/RefscopeType.d.ts +18 -0
  711. package/dist/model/RefscopeType.js +9 -0
  712. package/dist/model/Refvalue.d.ts +20 -0
  713. package/dist/model/Refvalue.js +9 -0
  714. package/dist/model/Regimen.d.ts +15 -0
  715. package/dist/model/Regimen.js +20 -0
  716. package/dist/model/RegimenItem.d.ts +23 -0
  717. package/dist/model/RegimenItem.js +9 -0
  718. package/dist/model/RegisterPersonResponseDto.d.ts +23 -0
  719. package/dist/model/RegisterPersonResponseDto.js +9 -0
  720. package/dist/model/RenewalType.d.ts +19 -0
  721. package/dist/model/RenewalType.js +9 -0
  722. package/dist/model/RequestListType.d.ts +24 -0
  723. package/dist/model/RequestListType.js +9 -0
  724. package/dist/model/RequestType.d.ts +22 -0
  725. package/dist/model/RequestType.js +9 -0
  726. package/dist/model/ResidentialAddressResponseType.d.ts +25 -0
  727. package/dist/model/ResidentialAddressResponseType.js +9 -0
  728. package/dist/model/ResponseListType.d.ts +24 -0
  729. package/dist/model/ResponseListType.js +9 -0
  730. package/dist/model/ResponseType.d.ts +22 -0
  731. package/dist/model/ResponseType.js +9 -0
  732. package/dist/model/ResultType.d.ts +18 -0
  733. package/dist/model/ResultType.js +9 -0
  734. package/dist/model/RevokeAccessRightResponse.d.ts +18 -0
  735. package/dist/model/RevokeAccessRightResponse.js +9 -0
  736. package/dist/model/RevokePatientConsentResponse.d.ts +18 -0
  737. package/dist/model/RevokePatientConsentResponse.js +9 -0
  738. package/dist/model/RevokeTherapeuticLinkResponse.d.ts +18 -0
  739. package/dist/model/RevokeTherapeuticLinkResponse.js +9 -0
  740. package/dist/model/RouteType.d.ts +16 -0
  741. package/dist/model/RouteType.js +9 -0
  742. package/dist/model/SamlTokenResult.d.ts +19 -0
  743. package/dist/model/SamlTokenResult.js +20 -0
  744. package/dist/model/SearchBySSINReplyDto.d.ts +21 -0
  745. package/dist/model/SearchBySSINReplyDto.js +9 -0
  746. package/dist/model/SearchPhoneticReplyDto.d.ts +21 -0
  747. package/dist/model/SearchPhoneticReplyDto.js +9 -0
  748. package/dist/model/SendAttestResult.d.ts +23 -0
  749. package/dist/model/SendAttestResult.js +9 -0
  750. package/dist/model/SendAttestResultWithResponse.d.ts +25 -0
  751. package/dist/model/SendAttestResultWithResponse.js +10 -0
  752. package/dist/model/SenderType.d.ts +16 -0
  753. package/dist/model/SenderType.js +9 -0
  754. package/dist/model/Serializable.d.ts +14 -0
  755. package/dist/model/Serializable.js +20 -0
  756. package/dist/model/SeverityType.d.ts +16 -0
  757. package/dist/model/SeverityType.js +9 -0
  758. package/dist/model/SexType.d.ts +16 -0
  759. package/dist/model/SexType.js +9 -0
  760. package/dist/model/Signature.d.ts +22 -0
  761. package/dist/model/Signature.js +9 -0
  762. package/dist/model/SignatureMethod.d.ts +16 -0
  763. package/dist/model/SignatureMethod.js +20 -0
  764. package/dist/model/SignatureValue.d.ts +16 -0
  765. package/dist/model/SignatureValue.js +21 -0
  766. package/dist/model/SignedInfo.d.ts +21 -0
  767. package/dist/model/SignedInfo.js +9 -0
  768. package/dist/model/SigningValue.d.ts +17 -0
  769. package/dist/model/SigningValue.js +20 -0
  770. package/dist/model/SiteType.d.ts +18 -0
  771. package/dist/model/SiteType.js +9 -0
  772. package/dist/model/Source.d.ts +19 -0
  773. package/dist/model/Source.js +9 -0
  774. package/dist/model/Specialisation.d.ts +17 -0
  775. package/dist/model/Specialisation.js +9 -0
  776. package/dist/model/SsinStatusType.d.ts +17 -0
  777. package/dist/model/SsinStatusType.js +20 -0
  778. package/dist/model/StandardAddressType.d.ts +22 -0
  779. package/dist/model/StandardAddressType.js +9 -0
  780. package/dist/model/StandardType.d.ts +18 -0
  781. package/dist/model/StandardType.js +9 -0
  782. package/dist/model/StartSubscriptionResultWithResponse.d.ts +27 -0
  783. package/dist/model/StartSubscriptionResultWithResponse.js +10 -0
  784. package/dist/model/StatementAbstractType.d.ts +14 -0
  785. package/dist/model/StatementAbstractType.js +20 -0
  786. package/dist/model/Status.d.ts +19 -0
  787. package/dist/model/Status.js +9 -0
  788. package/dist/model/StatusCode.d.ts +16 -0
  789. package/dist/model/StatusCode.js +20 -0
  790. package/dist/model/StatusDetail.d.ts +15 -0
  791. package/dist/model/StatusDetail.js +20 -0
  792. package/dist/model/StatusDto.d.ts +17 -0
  793. package/dist/model/StatusDto.js +9 -0
  794. package/dist/model/StreetType.d.ts +16 -0
  795. package/dist/model/StreetType.js +9 -0
  796. package/dist/model/StrengthType.d.ts +17 -0
  797. package/dist/model/StrengthType.js +9 -0
  798. package/dist/model/StringLangType.d.ts +16 -0
  799. package/dist/model/StringLangType.js +20 -0
  800. package/dist/model/Subject.d.ts +22 -0
  801. package/dist/model/Subject.js +9 -0
  802. package/dist/model/SubjectConfirmation.d.ts +23 -0
  803. package/dist/model/SubjectConfirmation.js +9 -0
  804. package/dist/model/SubjectConfirmationDataType.d.ts +24 -0
  805. package/dist/model/SubjectConfirmationDataType.js +9 -0
  806. package/dist/model/SubstanceType.d.ts +17 -0
  807. package/dist/model/SubstanceType.js +9 -0
  808. package/dist/model/Substanceproduct.d.ts +22 -0
  809. package/dist/model/Substanceproduct.js +9 -0
  810. package/dist/model/TAck.d.ts +22 -0
  811. package/dist/model/TAck.js +21 -0
  812. package/dist/model/Takes.d.ts +16 -0
  813. package/dist/model/Takes.js +20 -0
  814. package/dist/model/TarificationConsultationResult.d.ts +40 -0
  815. package/dist/model/TarificationConsultationResult.js +15 -0
  816. package/dist/model/Telecom.d.ts +33 -0
  817. package/dist/model/Telecom.js +36 -0
  818. package/dist/model/TelecomType.d.ts +19 -0
  819. package/dist/model/TelecomType.js +9 -0
  820. package/dist/model/TemporalityType.d.ts +16 -0
  821. package/dist/model/TemporalityType.js +9 -0
  822. package/dist/model/TemporaryAddressType.d.ts +19 -0
  823. package/dist/model/TemporaryAddressType.js +9 -0
  824. package/dist/model/TextType.d.ts +16 -0
  825. package/dist/model/TextType.js +20 -0
  826. package/dist/model/TextWithLayoutType.d.ts +16 -0
  827. package/dist/model/TextWithLayoutType.js +20 -0
  828. package/dist/model/TherapeuticLinkDto.d.ts +23 -0
  829. package/dist/model/TherapeuticLinkDto.js +9 -0
  830. package/dist/model/TherapeuticLinkMessageDto.d.ts +19 -0
  831. package/dist/model/TherapeuticLinkMessageDto.js +9 -0
  832. package/dist/model/Thirdpayercontract.d.ts +16 -0
  833. package/dist/model/Thirdpayercontract.js +9 -0
  834. package/dist/model/TimequantityType.d.ts +17 -0
  835. package/dist/model/TimequantityType.js +9 -0
  836. package/dist/model/TimeunitType.d.ts +16 -0
  837. package/dist/model/TimeunitType.js +9 -0
  838. package/dist/model/TransactionAccessListType.d.ts +16 -0
  839. package/dist/model/TransactionAccessListType.js +9 -0
  840. package/dist/model/TransactionIdType.d.ts +16 -0
  841. package/dist/model/TransactionIdType.js +9 -0
  842. package/dist/model/TransactionSummaryDto.d.ts +27 -0
  843. package/dist/model/TransactionSummaryDto.js +9 -0
  844. package/dist/model/TransactionType.d.ts +40 -0
  845. package/dist/model/TransactionType.js +9 -0
  846. package/dist/model/TransactionWithSpecificTime.d.ts +22 -0
  847. package/dist/model/TransactionWithSpecificTime.js +9 -0
  848. package/dist/model/Transactionaccess.d.ts +22 -0
  849. package/dist/model/Transactionaccess.js +9 -0
  850. package/dist/model/TransferDto.d.ts +17 -0
  851. package/dist/model/TransferDto.js +20 -0
  852. package/dist/model/Transform.d.ts +16 -0
  853. package/dist/model/Transform.js +20 -0
  854. package/dist/model/Transforms.d.ts +16 -0
  855. package/dist/model/Transforms.js +9 -0
  856. package/dist/model/TransformsType.d.ts +16 -0
  857. package/dist/model/TransformsType.js +9 -0
  858. package/dist/model/UUIDType.d.ts +15 -0
  859. package/dist/model/UUIDType.js +20 -0
  860. package/dist/model/UnitType.d.ts +16 -0
  861. package/dist/model/UnitType.js +9 -0
  862. package/dist/model/UrgencyType.d.ts +16 -0
  863. package/dist/model/UrgencyType.js +9 -0
  864. package/dist/model/VerseInfos.d.ts +54 -0
  865. package/dist/model/VerseInfos.js +20 -0
  866. package/dist/model/Weekday.d.ts +17 -0
  867. package/dist/model/Weekday.js +9 -0
  868. package/dist/model/WhereResponseType.d.ts +19 -0
  869. package/dist/model/WhereResponseType.js +9 -0
  870. package/dist/model/WhereType.d.ts +20 -0
  871. package/dist/model/WhereType.js +9 -0
  872. package/dist/model/XMLGregorianCalendar.d.ts +28 -0
  873. package/dist/model/XMLGregorianCalendar.js +9 -0
  874. package/dist/model/Zone.d.ts +19 -0
  875. package/dist/model/Zone.js +9 -0
  876. package/dist/model/ZoneDescription.d.ts +29 -0
  877. package/dist/model/ZoneDescription.js +26 -0
  878. package/dist/model/models.d.ts +402 -0
  879. package/dist/model/models.js +414 -0
  880. package/fhcApi.ts +20 -0
  881. package/index.ts +3 -0
  882. package/model/AccessRightListType.ts +22 -0
  883. package/model/AccessRightType.ts +26 -0
  884. package/model/AcknowledgeType.ts +23 -0
  885. package/model/AcknowledgmentType.ts +22 -0
  886. package/model/AddedDocumentPreview.ts +28 -0
  887. package/model/Address.ts +48 -0
  888. package/model/AddressType.ts +35 -0
  889. package/model/AddressTypeBase.ts +35 -0
  890. package/model/Addressee.ts +29 -0
  891. package/model/AdministrationQuantity.ts +24 -0
  892. package/model/AdministrationunitType.ts +22 -0
  893. package/model/AdviceType.ts +22 -0
  894. package/model/AgreementResponse.ts +35 -0
  895. package/model/AgreementTransaction.ts +45 -0
  896. package/model/AltKeystore.ts +22 -0
  897. package/model/AltKeystoresList.ts +22 -0
  898. package/model/Appendix.ts +25 -0
  899. package/model/Assertion.ts +36 -0
  900. package/model/AuthorDto.ts +22 -0
  901. package/model/AuthorType.ts +22 -0
  902. package/model/AuthorWithPatientDto.ts +24 -0
  903. package/model/Base64EncryptedDataType.ts +24 -0
  904. package/model/Base64EncryptedValueType.ts +26 -0
  905. package/model/BaseID.ts +22 -0
  906. package/model/BearerToken.ts +21 -0
  907. package/model/BirthDeceaseType.ts +32 -0
  908. package/model/BirthPlace.ts +23 -0
  909. package/model/BirthResponseType.ts +23 -0
  910. package/model/BoxInfo.ts +27 -0
  911. package/model/BusinessAnomalyType.ts +23 -0
  912. package/model/CDACCESSRIGHT.ts +38 -0
  913. package/model/CDACKNOWLEDGMENT.ts +34 -0
  914. package/model/CDADDRESS.ts +33 -0
  915. package/model/CDADMINISTRATIONUNIT.ts +25 -0
  916. package/model/CDCARENETPERSONALPART.ts +33 -0
  917. package/model/CDCARENETTHIRDPAYERCONTRACT.ts +25 -0
  918. package/model/CDCERTAINTY.ts +35 -0
  919. package/model/CDCIVILSTATE.ts +26 -0
  920. package/model/CDCONSENT.ts +39 -0
  921. package/model/CDCONTENT.ts +368 -0
  922. package/model/CDCOUNTRY.ts +33 -0
  923. package/model/CDDAYPERIOD.ts +68 -0
  924. package/model/CDDRUGCNK.ts +32 -0
  925. package/model/CDDRUGPRESENTATION.ts +25 -0
  926. package/model/CDDRUGROUTE.ts +25 -0
  927. package/model/CDEBIRTHPLACE.ts +33 -0
  928. package/model/CDEMPLOYMENTSITUATION.ts +34 -0
  929. package/model/CDENCRYPTIONMETHOD.ts +35 -0
  930. package/model/CDERROR.ts +33 -0
  931. package/model/CDEXTERNALSOURCE.ts +33 -0
  932. package/model/CDFORMULARY.ts +32 -0
  933. package/model/CDGALENICFORM.ts +32 -0
  934. package/model/CDHCPARTY.ts +36 -0
  935. package/model/CDHEADING.ts +36 -0
  936. package/model/CDINCAPACITY.ts +46 -0
  937. package/model/CDINCAPACITYREASON.ts +52 -0
  938. package/model/CDINNCLUSTER.ts +32 -0
  939. package/model/CDITEM.ts +92 -0
  940. package/model/CDLIFECYCLE.ts +86 -0
  941. package/model/CDMEDICATION.ts +34 -0
  942. package/model/CDMESSAGE.ts +42 -0
  943. package/model/CDPERIODICITY.ts +25 -0
  944. package/model/CDQUANTITYPREFIX.ts +34 -0
  945. package/model/CDREFSCOPE.ts +33 -0
  946. package/model/CDSEVERITY.ts +32 -0
  947. package/model/CDSEX.ts +35 -0
  948. package/model/CDSITE.ts +32 -0
  949. package/model/CDSTANDARD.ts +25 -0
  950. package/model/CDSUBSTANCE.ts +34 -0
  951. package/model/CDTELECOM.ts +32 -0
  952. package/model/CDTEMPORALITY.ts +42 -0
  953. package/model/CDTIMEUNIT.ts +33 -0
  954. package/model/CDTRANSACTION.ts +51 -0
  955. package/model/CDUNIT.ts +34 -0
  956. package/model/CDURGENCY.ts +25 -0
  957. package/model/CancelSubscriptionResultWithResponse.ts +37 -0
  958. package/model/CanonicalizationMethod.ts +22 -0
  959. package/model/CertaintyType.ts +22 -0
  960. package/model/CertificateInfo.ts +25 -0
  961. package/model/CipherData.ts +27 -0
  962. package/model/CipherReference.ts +23 -0
  963. package/model/CivilStateResponseType.ts +29 -0
  964. package/model/CivilStateType.ts +36 -0
  965. package/model/CivilStatesResponseType.ts +22 -0
  966. package/model/Civilstate.ts +22 -0
  967. package/model/Code.ts +29 -0
  968. package/model/CodeResult.ts +27 -0
  969. package/model/CommonOutput.ts +23 -0
  970. package/model/CommonOutputType.ts +23 -0
  971. package/model/CompoundPrescription.ts +24 -0
  972. package/model/CompoundType.ts +30 -0
  973. package/model/CompoundprescriptionType.ts +32 -0
  974. package/model/ConditionAbstractType.ts +19 -0
  975. package/model/Conditions.ts +25 -0
  976. package/model/ConfidentialityType.ts +22 -0
  977. package/model/Consent.ts +28 -0
  978. package/model/ConsentMessageDto.ts +25 -0
  979. package/model/ConsentTypeDto.ts +28 -0
  980. package/model/ConsultCurrentSsinResponse.ts +27 -0
  981. package/model/ConsultRnAddressDto.ts +33 -0
  982. package/model/ConsultRnPersonDataDto.ts +33 -0
  983. package/model/ConsultRnPersonDto.ts +33 -0
  984. package/model/ConsultRnPlainAddressDto.ts +23 -0
  985. package/model/Content.ts +30 -0
  986. package/model/ContentType.ts +68 -0
  987. package/model/ContentlocalitemattributeType.ts +37 -0
  988. package/model/CostType.ts +23 -0
  989. package/model/CountryType.ts +22 -0
  990. package/model/DateType.ts +27 -0
  991. package/model/DayperiodType.ts +22 -0
  992. package/model/DeceaseResponseType.ts +23 -0
  993. package/model/Denominator.ts +22 -0
  994. package/model/DetailType.ts +25 -0
  995. package/model/DetailsType.ts +22 -0
  996. package/model/DigestMethod.ts +22 -0
  997. package/model/DimensionDto.ts +22 -0
  998. package/model/DiplomaticInformationType.ts +25 -0
  999. package/model/DiplomaticPostType.ts +25 -0
  1000. package/model/DmgAcknowledge.ts +35 -0
  1001. package/model/DmgClosure.ts +45 -0
  1002. package/model/DmgConsultation.ts +44 -0
  1003. package/model/DmgExtension.ts +43 -0
  1004. package/model/DmgInscription.ts +51 -0
  1005. package/model/DmgNotification.ts +35 -0
  1006. package/model/DmgRegistration.ts +33 -0
  1007. package/model/DmgsList.ts +41 -0
  1008. package/model/Document.ts +31 -0
  1009. package/model/DocumentMessage.ts +47 -0
  1010. package/model/Duration.ts +23 -0
  1011. package/model/DurationType.ts +23 -0
  1012. package/model/EHealthBoxType.ts +24 -0
  1013. package/model/EIDItem.ts +25 -0
  1014. package/model/Eattest.ts +22 -0
  1015. package/model/EattestAcknowledgeType.ts +23 -0
  1016. package/model/EattestCardReading.ts +27 -0
  1017. package/model/EattestCode.ts +56 -0
  1018. package/model/EattestHcParty.ts +25 -0
  1019. package/model/EattestRequestor.ts +23 -0
  1020. package/model/EfactMessage.ts +31 -0
  1021. package/model/EfactSendResponse.ts +31 -0
  1022. package/model/EncodedSSINType.ts +22 -0
  1023. package/model/EncryptedData.ts +32 -0
  1024. package/model/EncryptedElementType.ts +24 -0
  1025. package/model/EncryptedKey.ts +36 -0
  1026. package/model/EncryptedType.ts +32 -0
  1027. package/model/EncryptionMethodType.ts +22 -0
  1028. package/model/EncryptionProperties.ts +23 -0
  1029. package/model/EncryptionProperty.ts +24 -0
  1030. package/model/EndSubscriptionResultWithResponse.ts +37 -0
  1031. package/model/EndpointDistributorStatusDto.ts +22 -0
  1032. package/model/ErrorDetail.ts +45 -0
  1033. package/model/ErrorDto.ts +25 -0
  1034. package/model/ErrorType.ts +27 -0
  1035. package/model/ExistingPersonsType.ts +22 -0
  1036. package/model/Externalsource.ts +22 -0
  1037. package/model/FCMAXType.ts +22 -0
  1038. package/model/FCMINType.ts +22 -0
  1039. package/model/FacetDto.ts +23 -0
  1040. package/model/FaultType.ts +26 -0
  1041. package/model/Feedback.ts +24 -0
  1042. package/model/FinancialInstitutionInformation.ts +26 -0
  1043. package/model/FlatFileMetadata.ts +26 -0
  1044. package/model/FlatFileWithMetadata.ts +23 -0
  1045. package/model/FolderType.ts +32 -0
  1046. package/model/FormularyreferenceType.ts +23 -0
  1047. package/model/FrequencyType.ts +31 -0
  1048. package/model/GalenicForm.ts +23 -0
  1049. package/model/GalenicformType.ts +24 -0
  1050. package/model/GenAsyncResponse.ts +27 -0
  1051. package/model/GenderType.ts +38 -0
  1052. package/model/GetAccessRightResponse.ts +26 -0
  1053. package/model/GetPatientAuditTrailResponse.ts +26 -0
  1054. package/model/HasTherapeuticLinkMessage.ts +23 -0
  1055. package/model/HcPartyConsentDto.ts +27 -0
  1056. package/model/HcPartyDto.ts +34 -0
  1057. package/model/HcPartyIdDto.ts +22 -0
  1058. package/model/HcpartyType.ts +31 -0
  1059. package/model/HeaderType.ts +43 -0
  1060. package/model/HeadingType.ts +33 -0
  1061. package/model/HealthcareParty.ts +56 -0
  1062. package/model/HolterType.ts +48 -0
  1063. package/model/HospitalizedInfoDto.ts +23 -0
  1064. package/model/IDHCPARTY.ts +45 -0
  1065. package/model/IDINSURANCE.ts +31 -0
  1066. package/model/IDKMEHR.ts +34 -0
  1067. package/model/IDPATIENT.ts +35 -0
  1068. package/model/IDPROFESSION.ts +31 -0
  1069. package/model/IdentifierType.ts +21 -0
  1070. package/model/IncapacityType.ts +26 -0
  1071. package/model/IncapacityreasonType.ts +22 -0
  1072. package/model/InformationType.ts +22 -0
  1073. package/model/InhabitantType.ts +26 -0
  1074. package/model/InputStream.ts +19 -0
  1075. package/model/Insurability.ts +30 -0
  1076. package/model/InsurabilityInfoDto.ts +46 -0
  1077. package/model/InsurabilityItemDto.ts +28 -0
  1078. package/model/InsuranceType.ts +37 -0
  1079. package/model/Invoice.ts +53 -0
  1080. package/model/InvoiceItem.ts +116 -0
  1081. package/model/InvoiceSender.ts +31 -0
  1082. package/model/InvoicesBatch.ts +33 -0
  1083. package/model/ItemType.ts +83 -0
  1084. package/model/JAXBElementReferenceType.ts +27 -0
  1085. package/model/JAXBElementSignature.ts +27 -0
  1086. package/model/JAXBElementobject.ts +26 -0
  1087. package/model/KeyInfo.ts +22 -0
  1088. package/model/KmehrCd.ts +26 -0
  1089. package/model/KmehrId.ts +26 -0
  1090. package/model/KmehrPatientDto.ts +32 -0
  1091. package/model/KmehrQuantity.ts +23 -0
  1092. package/model/Kmehrmessage.ts +24 -0
  1093. package/model/LOCAL.ts +26 -0
  1094. package/model/LifecycleType.ts +22 -0
  1095. package/model/LnkType.ts +101 -0
  1096. package/model/LocalisedString.ts +32 -0
  1097. package/model/LocalitemattributeType.ts +26 -0
  1098. package/model/LocationBirthPlaceType.ts +26 -0
  1099. package/model/MaxrefType.ts +23 -0
  1100. package/model/MdaStatus.ts +22 -0
  1101. package/model/Measure.ts +28 -0
  1102. package/model/MedicalHouseInfoDto.ts +25 -0
  1103. package/model/Medication.ts +69 -0
  1104. package/model/MedicationRenewal.ts +23 -0
  1105. package/model/MedicationType.ts +41 -0
  1106. package/model/MedicinalProductType.ts +25 -0
  1107. package/model/Medicinalproduct.ts +26 -0
  1108. package/model/MemberDataAck.ts +24 -0
  1109. package/model/MemberDataBatchRequestDto.ts +24 -0
  1110. package/model/MemberDataBatchResponse.ts +31 -0
  1111. package/model/MemberDataList.ts +29 -0
  1112. package/model/MemberDataMessage.ts +33 -0
  1113. package/model/MemberDataResponse.ts +32 -0
  1114. package/model/MemberInfoDto.ts +25 -0
  1115. package/model/MemberinsuranceType.ts +23 -0
  1116. package/model/Message.ts +37 -0
  1117. package/model/MessageOperationResponse.ts +22 -0
  1118. package/model/MessageResponse.ts +23 -0
  1119. package/model/MessagesResponse.ts +23 -0
  1120. package/model/MiddleNameType.ts +22 -0
  1121. package/model/MinrefType.ts +23 -0
  1122. package/model/ModelError.ts +25 -0
  1123. package/model/ModelHelper.ts +17 -0
  1124. package/model/ModelObject.ts +24 -0
  1125. package/model/MomentType.ts +27 -0
  1126. package/model/MppId.ts +22 -0
  1127. package/model/MppPreview.ts +47 -0
  1128. package/model/MunicipalityType.ts +24 -0
  1129. package/model/MycarenetConversation.ts +24 -0
  1130. package/model/MycarenetError.ts +35 -0
  1131. package/model/NameIDType.ts +25 -0
  1132. package/model/NameType.ts +34 -0
  1133. package/model/NationalitiesType.ts +22 -0
  1134. package/model/Nationality.ts +22 -0
  1135. package/model/NationalityType.ts +37 -0
  1136. package/model/NobilityTitleType.ts +23 -0
  1137. package/model/Nominator.ts +22 -0
  1138. package/model/PackageType.ts +22 -0
  1139. package/model/Paginationrequestinfo.ts +21 -0
  1140. package/model/Paginationresponseinfo.ts +22 -0
  1141. package/model/ParagraphInfos.ts +40 -0
  1142. package/model/ParagraphPreview.ts +26 -0
  1143. package/model/PartnerType.ts +25 -0
  1144. package/model/Patient.ts +82 -0
  1145. package/model/PatientId.ts +22 -0
  1146. package/model/PatientIdType.ts +22 -0
  1147. package/model/Payment.ts +22 -0
  1148. package/model/PeriodDto.ts +22 -0
  1149. package/model/PeriodicityType.ts +22 -0
  1150. package/model/PersonMid.ts +29 -0
  1151. package/model/PersonNameResponseType.ts +25 -0
  1152. package/model/PersonResponseType.ts +38 -0
  1153. package/model/PersonType.ts +50 -0
  1154. package/model/Personalpart.ts +27 -0
  1155. package/model/Posology.ts +22 -0
  1156. package/model/Prescription.ts +26 -0
  1157. package/model/PrescriptionFullWithFeedback.ts +34 -0
  1158. package/model/PrescriptionRequest.ts +39 -0
  1159. package/model/PresentationType.ts +22 -0
  1160. package/model/ProfessionCode.ts +23 -0
  1161. package/model/ProfessionType.ts +24 -0
  1162. package/model/PutAccessRightResponse.ts +24 -0
  1163. package/model/PutPatientConsentResponse.ts +24 -0
  1164. package/model/PutTherapeuticLinkResponse.ts +24 -0
  1165. package/model/PutTransactionResponseDto.ts +24 -0
  1166. package/model/PutTransactionSetResponse.ts +26 -0
  1167. package/model/QName.ts +23 -0
  1168. package/model/QuantityType.ts +23 -0
  1169. package/model/Quantityprefix.ts +22 -0
  1170. package/model/RRMAXType.ts +22 -0
  1171. package/model/RRMINType.ts +22 -0
  1172. package/model/RecipeCDHEADING.ts +36 -0
  1173. package/model/RecipeCDINNCLUSTER.ts +32 -0
  1174. package/model/RecipeCDITEM.ts +92 -0
  1175. package/model/RecipeCDTRANSACTION.ts +49 -0
  1176. package/model/RecipeauthorType.ts +22 -0
  1177. package/model/RecipebasicIDKMEHR.ts +34 -0
  1178. package/model/RecipecompoundprescriptionType.ts +22 -0
  1179. package/model/RecipecontentType.ts +26 -0
  1180. package/model/RecipedurationType.ts +23 -0
  1181. package/model/RecipefolderType.ts +26 -0
  1182. package/model/RecipefrequencyType.ts +31 -0
  1183. package/model/RecipeheaderType.ts +41 -0
  1184. package/model/RecipeitemType.ts +53 -0
  1185. package/model/RecipelifecycleType.ts +22 -0
  1186. package/model/RecipemedicinalProductType.ts +25 -0
  1187. package/model/RecipemomentType.ts +27 -0
  1188. package/model/RecipepatientpersonType.ts +51 -0
  1189. package/model/RecipequantityType.ts +23 -0
  1190. package/model/ReciperenewalType.ts +23 -0
  1191. package/model/ReciperouteType.ts +22 -0
  1192. package/model/RecipetemporalityType.ts +22 -0
  1193. package/model/RecipetransactionType.ts +33 -0
  1194. package/model/RecipetransactionheadingType.ts +26 -0
  1195. package/model/RecipientType.ts +23 -0
  1196. package/model/Record.ts +26 -0
  1197. package/model/RecordOrSegmentDescription.ts +22 -0
  1198. package/model/Reference.ts +32 -0
  1199. package/model/ReferenceList.ts +22 -0
  1200. package/model/ReferenceType.ts +22 -0
  1201. package/model/RefscopeType.ts +24 -0
  1202. package/model/Refvalue.ts +26 -0
  1203. package/model/Regimen.ts +21 -0
  1204. package/model/RegimenItem.ts +29 -0
  1205. package/model/RegisterPersonResponseDto.ts +29 -0
  1206. package/model/RenewalType.ts +25 -0
  1207. package/model/RequestListType.ts +30 -0
  1208. package/model/RequestType.ts +28 -0
  1209. package/model/ResidentialAddressResponseType.ts +31 -0
  1210. package/model/ResponseListType.ts +30 -0
  1211. package/model/ResponseType.ts +28 -0
  1212. package/model/ResultType.ts +24 -0
  1213. package/model/RevokeAccessRightResponse.ts +24 -0
  1214. package/model/RevokePatientConsentResponse.ts +24 -0
  1215. package/model/RevokeTherapeuticLinkResponse.ts +24 -0
  1216. package/model/RouteType.ts +22 -0
  1217. package/model/SamlTokenResult.ts +25 -0
  1218. package/model/SearchBySSINReplyDto.ts +27 -0
  1219. package/model/SearchPhoneticReplyDto.ts +27 -0
  1220. package/model/SendAttestResult.ts +29 -0
  1221. package/model/SendAttestResultWithResponse.ts +36 -0
  1222. package/model/SenderType.ts +22 -0
  1223. package/model/Serializable.ts +19 -0
  1224. package/model/SeverityType.ts +22 -0
  1225. package/model/SexType.ts +22 -0
  1226. package/model/Signature.ts +28 -0
  1227. package/model/SignatureMethod.ts +22 -0
  1228. package/model/SignatureValue.ts +26 -0
  1229. package/model/SignedInfo.ts +27 -0
  1230. package/model/SigningValue.ts +23 -0
  1231. package/model/SiteType.ts +24 -0
  1232. package/model/Source.ts +25 -0
  1233. package/model/Specialisation.ts +23 -0
  1234. package/model/SsinStatusType.ts +23 -0
  1235. package/model/StandardAddressType.ts +28 -0
  1236. package/model/StandardType.ts +24 -0
  1237. package/model/StartSubscriptionResultWithResponse.ts +38 -0
  1238. package/model/StatementAbstractType.ts +19 -0
  1239. package/model/Status.ts +25 -0
  1240. package/model/StatusCode.ts +22 -0
  1241. package/model/StatusDetail.ts +21 -0
  1242. package/model/StatusDto.ts +23 -0
  1243. package/model/StreetType.ts +22 -0
  1244. package/model/StrengthType.ts +23 -0
  1245. package/model/StringLangType.ts +22 -0
  1246. package/model/Subject.ts +28 -0
  1247. package/model/SubjectConfirmation.ts +29 -0
  1248. package/model/SubjectConfirmationDataType.ts +28 -0
  1249. package/model/SubstanceType.ts +23 -0
  1250. package/model/Substanceproduct.ts +28 -0
  1251. package/model/TAck.ts +28 -0
  1252. package/model/Takes.ts +22 -0
  1253. package/model/TarificationConsultationResult.ts +46 -0
  1254. package/model/Telecom.ts +51 -0
  1255. package/model/TelecomType.ts +25 -0
  1256. package/model/TemporalityType.ts +22 -0
  1257. package/model/TemporaryAddressType.ts +25 -0
  1258. package/model/TextType.ts +22 -0
  1259. package/model/TextWithLayoutType.ts +22 -0
  1260. package/model/TherapeuticLinkDto.ts +29 -0
  1261. package/model/TherapeuticLinkMessageDto.ts +25 -0
  1262. package/model/Thirdpayercontract.ts +22 -0
  1263. package/model/TimequantityType.ts +23 -0
  1264. package/model/TimeunitType.ts +22 -0
  1265. package/model/TransactionAccessListType.ts +22 -0
  1266. package/model/TransactionIdType.ts +22 -0
  1267. package/model/TransactionSummaryDto.ts +33 -0
  1268. package/model/TransactionType.ts +46 -0
  1269. package/model/TransactionWithSpecificTime.ts +28 -0
  1270. package/model/Transactionaccess.ts +28 -0
  1271. package/model/TransferDto.ts +23 -0
  1272. package/model/Transform.ts +22 -0
  1273. package/model/Transforms.ts +22 -0
  1274. package/model/TransformsType.ts +22 -0
  1275. package/model/UUIDType.ts +21 -0
  1276. package/model/UnitType.ts +22 -0
  1277. package/model/UrgencyType.ts +22 -0
  1278. package/model/VerseInfos.ts +60 -0
  1279. package/model/Weekday.ts +23 -0
  1280. package/model/WhereResponseType.ts +25 -0
  1281. package/model/WhereType.ts +26 -0
  1282. package/model/XMLGregorianCalendar.ts +34 -0
  1283. package/model/Zone.ts +25 -0
  1284. package/model/ZoneDescription.ts +35 -0
  1285. package/model/models.ts +402 -0
  1286. package/package.json +50 -0
  1287. package/swagger-codegen-generators.jar +0 -0
  1288. package/tsconfig.json +21 -0
  1289. package/x-api/message-x-api.ts +1169 -0
  1290. package/x-api/utils/efact-parser.ts +1600 -0
  1291. package/x-api/utils/efact-util.ts +451 -0
  1292. package/x-api/utils/fhc-invoice-sender-util.ts +36 -0
  1293. package/x-api/utils/fhc-patient-util.ts +18 -0
  1294. package/x-api/utils/formatting-util.ts +220 -0
  1295. package/x-api/utils/hcp-util.ts +138 -0
  1296. package/x-api/utils/insurability-util.ts +57 -0
  1297. package/x-api/utils/uuid-encoder.ts +127 -0
@@ -0,0 +1,986 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fhcHubApi = void 0;
4
+ /**
5
+ * Api Documentation
6
+ * Api Documentation
7
+ *
8
+ * OpenAPI spec version: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by the swagger code generator program.
12
+ * https://github.com/swagger-api/swagger-codegen.git
13
+ * Do not edit the class manually.
14
+ */
15
+ const XHR_1 = require("./XHR");
16
+ const Consent_1 = require("../model/Consent");
17
+ const GetAccessRightResponse_1 = require("../model/GetAccessRightResponse");
18
+ const GetPatientAuditTrailResponse_1 = require("../model/GetPatientAuditTrailResponse");
19
+ const HcPartyConsentDto_1 = require("../model/HcPartyConsentDto");
20
+ const Kmehrmessage_1 = require("../model/Kmehrmessage");
21
+ const Patient_1 = require("../model/Patient");
22
+ const PutAccessRightResponse_1 = require("../model/PutAccessRightResponse");
23
+ const PutPatientConsentResponse_1 = require("../model/PutPatientConsentResponse");
24
+ const PutTherapeuticLinkResponse_1 = require("../model/PutTherapeuticLinkResponse");
25
+ const PutTransactionResponseDto_1 = require("../model/PutTransactionResponseDto");
26
+ const PutTransactionSetResponse_1 = require("../model/PutTransactionSetResponse");
27
+ const RevokeAccessRightResponse_1 = require("../model/RevokeAccessRightResponse");
28
+ const RevokePatientConsentResponse_1 = require("../model/RevokePatientConsentResponse");
29
+ const RevokeTherapeuticLinkResponse_1 = require("../model/RevokeTherapeuticLinkResponse");
30
+ const TherapeuticLinkMessageDto_1 = require("../model/TherapeuticLinkMessageDto");
31
+ const TransactionSummaryDto_1 = require("../model/TransactionSummaryDto");
32
+ class fhcHubApi {
33
+ constructor(host, headers, fetchImpl) {
34
+ this.host = host;
35
+ this.headers = Object.keys(headers).map(k => new XHR_1.XHR.Header(k, headers[k]));
36
+ this.fetchImpl = fetchImpl;
37
+ }
38
+ setHeaders(h) {
39
+ this.headers = h;
40
+ }
41
+ handleError(e) {
42
+ throw e;
43
+ }
44
+ /**
45
+ *
46
+ * @summary convertKmehrXMLtoJSON
47
+ * @param body message
48
+ */
49
+ convertKmehrXMLtoJSONUsingPOST(body) {
50
+ let _body = null;
51
+ _body = body;
52
+ const _url = this.host + `/hub/convertKmehrXMLtoJSON` + "?ts=" + new Date().getTime();
53
+ let headers = this.headers;
54
+ headers = headers
55
+ .filter(h => h.header !== "Content-Type")
56
+ .concat(new XHR_1.XHR.Header("Content-Type", "application/xml"));
57
+ return XHR_1.XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
58
+ .then(doc => new Kmehrmessage_1.Kmehrmessage(doc.body))
59
+ .catch(err => this.handleError(err));
60
+ }
61
+ /**
62
+ *
63
+ * @summary getAccessRight
64
+ * @param endpoint endpoint
65
+ * @param xFHCKeystoreId X-FHC-keystoreId
66
+ * @param xFHCTokenId X-FHC-tokenId
67
+ * @param xFHCPassPhrase X-FHC-passPhrase
68
+ * @param hcpLastName hcpLastName
69
+ * @param hcpFirstName hcpFirstName
70
+ * @param hcpNihii hcpNihii
71
+ * @param hcpSsin hcpSsin
72
+ * @param hcpZip hcpZip
73
+ * @param sv sv
74
+ * @param sl sl
75
+ * @param value value
76
+ * @param hubPackageId hubPackageId
77
+ */
78
+ getAccessRightUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, sv, sl, value, hubPackageId) {
79
+ let _body = null;
80
+ const _url = this.host +
81
+ `/hub/access` +
82
+ "?ts=" +
83
+ new Date().getTime() +
84
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
85
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
86
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
87
+ (hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
88
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
89
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
90
+ (sv ? "&sv=" + encodeURIComponent(String(sv)) : "") +
91
+ (sl ? "&sl=" + encodeURIComponent(String(sl)) : "") +
92
+ (value ? "&value=" + encodeURIComponent(String(value)) : "") +
93
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "");
94
+ let headers = this.headers;
95
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
96
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
97
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
98
+ return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
99
+ .then(doc => new GetAccessRightResponse_1.GetAccessRightResponse(doc.body))
100
+ .catch(err => this.handleError(err));
101
+ }
102
+ /**
103
+ *
104
+ * @summary getHcpConsent
105
+ * @param endpoint endpoint
106
+ * @param xFHCKeystoreId X-FHC-keystoreId
107
+ * @param xFHCTokenId X-FHC-tokenId
108
+ * @param xFHCPassPhrase X-FHC-passPhrase
109
+ * @param hcpNihii hcpNihii
110
+ * @param hcpLastName hcpLastName
111
+ * @param hcpFirstName hcpFirstName
112
+ * @param hcpSsin hcpSsin
113
+ * @param hcpZip hcpZip
114
+ * @param hubPackageId hubPackageId
115
+ */
116
+ getHcpConsentUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpNihii, hcpLastName, hcpFirstName, hcpSsin, hcpZip, hubPackageId) {
117
+ let _body = null;
118
+ const _url = this.host +
119
+ `/hub/hcpconsent/${encodeURIComponent(String(hcpNihii))}` +
120
+ "?ts=" +
121
+ new Date().getTime() +
122
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
123
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
124
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
125
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
126
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
127
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "");
128
+ let headers = this.headers;
129
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
130
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
131
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
132
+ return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
133
+ .then(doc => new HcPartyConsentDto_1.HcPartyConsentDto(doc.body))
134
+ .catch(err => this.handleError(err));
135
+ }
136
+ /**
137
+ *
138
+ * @summary getPatientAuditTrail
139
+ * @param endpoint endpoint
140
+ * @param xFHCKeystoreId X-FHC-keystoreId
141
+ * @param xFHCTokenId X-FHC-tokenId
142
+ * @param xFHCPassPhrase X-FHC-passPhrase
143
+ * @param hcpLastName hcpLastName
144
+ * @param hcpFirstName hcpFirstName
145
+ * @param hcpNihii hcpNihii
146
+ * @param hcpSsin hcpSsin
147
+ * @param hcpZip hcpZip
148
+ * @param hubPackageId hubPackageId
149
+ * @param from from
150
+ * @param to to
151
+ * @param authorNihii authorNihii
152
+ * @param authorSsin authorSsin
153
+ * @param isGlobal isGlobal
154
+ * @param breakTheGlassReason breakTheGlassReason
155
+ * @param ssin ssin
156
+ * @param sv sv
157
+ * @param sl sl
158
+ * @param id id
159
+ */
160
+ getPatientAuditTrailUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, hubPackageId, from, to, authorNihii, authorSsin, isGlobal, breakTheGlassReason, ssin, sv, sl, id) {
161
+ let _body = null;
162
+ const _url = this.host +
163
+ `/hub/trail` +
164
+ "?ts=" +
165
+ new Date().getTime() +
166
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
167
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
168
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
169
+ (hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
170
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
171
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
172
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
173
+ (from ? "&from=" + encodeURIComponent(String(from)) : "") +
174
+ (to ? "&to=" + encodeURIComponent(String(to)) : "") +
175
+ (authorNihii ? "&authorNihii=" + encodeURIComponent(String(authorNihii)) : "") +
176
+ (authorSsin ? "&authorSsin=" + encodeURIComponent(String(authorSsin)) : "") +
177
+ (isGlobal ? "&isGlobal=" + encodeURIComponent(String(isGlobal)) : "") +
178
+ (breakTheGlassReason
179
+ ? "&breakTheGlassReason=" + encodeURIComponent(String(breakTheGlassReason))
180
+ : "") +
181
+ (ssin ? "&ssin=" + encodeURIComponent(String(ssin)) : "") +
182
+ (sv ? "&sv=" + encodeURIComponent(String(sv)) : "") +
183
+ (sl ? "&sl=" + encodeURIComponent(String(sl)) : "") +
184
+ (id ? "&id=" + encodeURIComponent(String(id)) : "");
185
+ let headers = this.headers;
186
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
187
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
188
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
189
+ return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
190
+ .then(doc => new GetPatientAuditTrailResponse_1.GetPatientAuditTrailResponse(doc.body))
191
+ .catch(err => this.handleError(err));
192
+ }
193
+ /**
194
+ *
195
+ * @summary getPatientConsent
196
+ * @param endpoint endpoint
197
+ * @param xFHCKeystoreId X-FHC-keystoreId
198
+ * @param xFHCTokenId X-FHC-tokenId
199
+ * @param xFHCPassPhrase X-FHC-passPhrase
200
+ * @param hcpLastName hcpLastName
201
+ * @param hcpFirstName hcpFirstName
202
+ * @param hcpNihii hcpNihii
203
+ * @param hcpSsin hcpSsin
204
+ * @param hcpZip hcpZip
205
+ * @param patientSsin patientSsin
206
+ * @param hubPackageId hubPackageId
207
+ */
208
+ getPatientConsentUsingGET1(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, hubPackageId) {
209
+ let _body = null;
210
+ const _url = this.host +
211
+ `/hub/consent/${encodeURIComponent(String(patientSsin))}` +
212
+ "?ts=" +
213
+ new Date().getTime() +
214
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
215
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
216
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
217
+ (hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
218
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
219
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
220
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "");
221
+ let headers = this.headers;
222
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
223
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
224
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
225
+ return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
226
+ .then(doc => new Consent_1.Consent(doc.body))
227
+ .catch(err => this.handleError(err));
228
+ }
229
+ /**
230
+ *
231
+ * @summary getPatient
232
+ * @param endpoint endpoint
233
+ * @param xFHCKeystoreId X-FHC-keystoreId
234
+ * @param xFHCTokenId X-FHC-tokenId
235
+ * @param xFHCPassPhrase X-FHC-passPhrase
236
+ * @param hcpLastName hcpLastName
237
+ * @param hcpFirstName hcpFirstName
238
+ * @param hcpNihii hcpNihii
239
+ * @param hcpSsin hcpSsin
240
+ * @param hcpZip hcpZip
241
+ * @param patientSsin patientSsin
242
+ * @param hubPackageId hubPackageId
243
+ */
244
+ getPatientUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, hubPackageId) {
245
+ let _body = null;
246
+ const _url = this.host +
247
+ `/hub/patient/${encodeURIComponent(String(patientSsin))}` +
248
+ "?ts=" +
249
+ new Date().getTime() +
250
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
251
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
252
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
253
+ (hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
254
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
255
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
256
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "");
257
+ let headers = this.headers;
258
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
259
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
260
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
261
+ return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
262
+ .then(doc => new Patient_1.Patient(doc.body))
263
+ .catch(err => this.handleError(err));
264
+ }
265
+ /**
266
+ *
267
+ * @summary getTherapeuticLinks
268
+ * @param endpoint endpoint
269
+ * @param xFHCKeystoreId X-FHC-keystoreId
270
+ * @param xFHCTokenId X-FHC-tokenId
271
+ * @param xFHCPassPhrase X-FHC-passPhrase
272
+ * @param hcpLastName hcpLastName
273
+ * @param hcpFirstName hcpFirstName
274
+ * @param hcpNihii hcpNihii
275
+ * @param hcpSsin hcpSsin
276
+ * @param hcpZip hcpZip
277
+ * @param patientSsin patientSsin
278
+ * @param hubPackageId hubPackageId
279
+ * @param therLinkType therLinkType
280
+ * @param from from
281
+ * @param to to
282
+ */
283
+ getTherapeuticLinksUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, hubPackageId, therLinkType, from, to) {
284
+ let _body = null;
285
+ const _url = this.host +
286
+ `/hub/therlink/${encodeURIComponent(String(hcpNihii))}/${encodeURIComponent(String(patientSsin))}` +
287
+ "?ts=" +
288
+ new Date().getTime() +
289
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
290
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
291
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
292
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
293
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
294
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
295
+ (therLinkType ? "&therLinkType=" + encodeURIComponent(String(therLinkType)) : "") +
296
+ (from ? "&from=" + encodeURIComponent(String(from)) : "") +
297
+ (to ? "&to=" + encodeURIComponent(String(to)) : "");
298
+ let headers = this.headers;
299
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
300
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
301
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
302
+ return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
303
+ .then(doc => new TherapeuticLinkMessageDto_1.TherapeuticLinkMessageDto(doc.body))
304
+ .catch(err => this.handleError(err));
305
+ }
306
+ /**
307
+ *
308
+ * @summary getTransactionMessage
309
+ * @param endpoint endpoint
310
+ * @param xFHCKeystoreId X-FHC-keystoreId
311
+ * @param xFHCTokenId X-FHC-tokenId
312
+ * @param xFHCPassPhrase X-FHC-passPhrase
313
+ * @param hcpLastName hcpLastName
314
+ * @param hcpFirstName hcpFirstName
315
+ * @param hcpNihii hcpNihii
316
+ * @param hcpSsin hcpSsin
317
+ * @param hcpZip hcpZip
318
+ * @param ssin ssin
319
+ * @param sv sv
320
+ * @param sl sl
321
+ * @param id id
322
+ * @param hubPackageId hubPackageId
323
+ * @param breakTheGlassReason breakTheGlassReason
324
+ * @param externalHubId externalHubId
325
+ * @param externalHubName externalHubName
326
+ */
327
+ getTransactionMessageUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, ssin, sv, sl, id, hubPackageId, breakTheGlassReason, externalHubId, externalHubName) {
328
+ let _body = null;
329
+ const _url = this.host +
330
+ `/hub/t/${encodeURIComponent(String(ssin))}/${encodeURIComponent(String(sv))}/${encodeURIComponent(String(sl))}/kmehr` +
331
+ "?ts=" +
332
+ new Date().getTime() +
333
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
334
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
335
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
336
+ (hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
337
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
338
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
339
+ (id ? "&id=" + encodeURIComponent(String(id)) : "") +
340
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
341
+ (breakTheGlassReason
342
+ ? "&breakTheGlassReason=" + encodeURIComponent(String(breakTheGlassReason))
343
+ : "") +
344
+ (externalHubId ? "&externalHubId=" + encodeURIComponent(String(externalHubId)) : "") +
345
+ (externalHubName ? "&externalHubName=" + encodeURIComponent(String(externalHubName)) : "");
346
+ let headers = this.headers;
347
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
348
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
349
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
350
+ return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
351
+ .then(doc => new Kmehrmessage_1.Kmehrmessage(doc.body))
352
+ .catch(err => this.handleError(err));
353
+ }
354
+ /**
355
+ *
356
+ * @summary getTransactionSetMessage
357
+ * @param endpoint endpoint
358
+ * @param xFHCKeystoreId X-FHC-keystoreId
359
+ * @param xFHCTokenId X-FHC-tokenId
360
+ * @param xFHCPassPhrase X-FHC-passPhrase
361
+ * @param hcpLastName hcpLastName
362
+ * @param hcpFirstName hcpFirstName
363
+ * @param hcpNihii hcpNihii
364
+ * @param hcpSsin hcpSsin
365
+ * @param hcpZip hcpZip
366
+ * @param ssin ssin
367
+ * @param sv sv
368
+ * @param sl sl
369
+ * @param id id
370
+ * @param hubPackageId hubPackageId
371
+ * @param breakTheGlassReason breakTheGlassReason
372
+ */
373
+ getTransactionSetMessageUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, ssin, sv, sl, id, hubPackageId, breakTheGlassReason) {
374
+ let _body = null;
375
+ const _url = this.host +
376
+ `/hub/ts/${encodeURIComponent(String(ssin))}/${encodeURIComponent(String(sv))}/${encodeURIComponent(String(sl))}/kmehr` +
377
+ "?ts=" +
378
+ new Date().getTime() +
379
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
380
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
381
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
382
+ (hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
383
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
384
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
385
+ (id ? "&id=" + encodeURIComponent(String(id)) : "") +
386
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
387
+ (breakTheGlassReason
388
+ ? "&breakTheGlassReason=" + encodeURIComponent(String(breakTheGlassReason))
389
+ : "");
390
+ let headers = this.headers;
391
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
392
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
393
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
394
+ return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
395
+ .then(doc => new Kmehrmessage_1.Kmehrmessage(doc.body))
396
+ .catch(err => this.handleError(err));
397
+ }
398
+ /**
399
+ *
400
+ * @summary getTransactionSet
401
+ * @param endpoint endpoint
402
+ * @param xFHCKeystoreId X-FHC-keystoreId
403
+ * @param xFHCTokenId X-FHC-tokenId
404
+ * @param xFHCPassPhrase X-FHC-passPhrase
405
+ * @param hcpLastName hcpLastName
406
+ * @param hcpFirstName hcpFirstName
407
+ * @param hcpNihii hcpNihii
408
+ * @param hcpSsin hcpSsin
409
+ * @param hcpZip hcpZip
410
+ * @param ssin ssin
411
+ * @param sv sv
412
+ * @param sl sl
413
+ * @param id id
414
+ * @param hubPackageId hubPackageId
415
+ * @param breakTheGlassReason breakTheGlassReason
416
+ */
417
+ getTransactionSetUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, ssin, sv, sl, id, hubPackageId, breakTheGlassReason) {
418
+ let _body = null;
419
+ const _url = this.host +
420
+ `/hub/ts/${encodeURIComponent(String(ssin))}/${encodeURIComponent(String(sv))}/${encodeURIComponent(String(sl))}` +
421
+ "?ts=" +
422
+ new Date().getTime() +
423
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
424
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
425
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
426
+ (hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
427
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
428
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
429
+ (id ? "&id=" + encodeURIComponent(String(id)) : "") +
430
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
431
+ (breakTheGlassReason
432
+ ? "&breakTheGlassReason=" + encodeURIComponent(String(breakTheGlassReason))
433
+ : "");
434
+ let headers = this.headers;
435
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
436
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
437
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
438
+ return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
439
+ .then(doc => new Kmehrmessage_1.Kmehrmessage(doc.body))
440
+ .catch(err => this.handleError(err));
441
+ }
442
+ /**
443
+ *
444
+ * @summary getTransaction
445
+ * @param endpoint endpoint
446
+ * @param xFHCKeystoreId X-FHC-keystoreId
447
+ * @param xFHCTokenId X-FHC-tokenId
448
+ * @param xFHCPassPhrase X-FHC-passPhrase
449
+ * @param hcpLastName hcpLastName
450
+ * @param hcpFirstName hcpFirstName
451
+ * @param hcpNihii hcpNihii
452
+ * @param hcpSsin hcpSsin
453
+ * @param hcpZip hcpZip
454
+ * @param ssin ssin
455
+ * @param sv sv
456
+ * @param sl sl
457
+ * @param id id
458
+ * @param hubPackageId hubPackageId
459
+ * @param breakTheGlassReason breakTheGlassReason
460
+ * @param externalHubId externalHubId
461
+ * @param externalHubName externalHubName
462
+ */
463
+ getTransactionUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, ssin, sv, sl, id, hubPackageId, breakTheGlassReason, externalHubId, externalHubName) {
464
+ let _body = null;
465
+ const _url = this.host +
466
+ `/hub/t/${encodeURIComponent(String(ssin))}/${encodeURIComponent(String(sv))}/${encodeURIComponent(String(sl))}` +
467
+ "?ts=" +
468
+ new Date().getTime() +
469
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
470
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
471
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
472
+ (hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
473
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
474
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
475
+ (id ? "&id=" + encodeURIComponent(String(id)) : "") +
476
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
477
+ (breakTheGlassReason
478
+ ? "&breakTheGlassReason=" + encodeURIComponent(String(breakTheGlassReason))
479
+ : "") +
480
+ (externalHubId ? "&externalHubId=" + encodeURIComponent(String(externalHubId)) : "") +
481
+ (externalHubName ? "&externalHubName=" + encodeURIComponent(String(externalHubName)) : "");
482
+ let headers = this.headers;
483
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
484
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
485
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
486
+ return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
487
+ .then(doc => new Kmehrmessage_1.Kmehrmessage(doc.body))
488
+ .catch(err => this.handleError(err));
489
+ }
490
+ /**
491
+ *
492
+ * @summary getTransactionsList
493
+ * @param endpoint endpoint
494
+ * @param xFHCKeystoreId X-FHC-keystoreId
495
+ * @param xFHCTokenId X-FHC-tokenId
496
+ * @param xFHCPassPhrase X-FHC-passPhrase
497
+ * @param hcpLastName hcpLastName
498
+ * @param hcpFirstName hcpFirstName
499
+ * @param hcpNihii hcpNihii
500
+ * @param hcpSsin hcpSsin
501
+ * @param hcpZip hcpZip
502
+ * @param patientSsin patientSsin
503
+ * @param hubPackageId hubPackageId
504
+ * @param from from
505
+ * @param to to
506
+ * @param authorNihii authorNihii
507
+ * @param authorSsin authorSsin
508
+ * @param isGlobal isGlobal
509
+ * @param breakTheGlassReason breakTheGlassReason
510
+ */
511
+ getTransactionsListUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, hubPackageId, from, to, authorNihii, authorSsin, isGlobal, breakTheGlassReason) {
512
+ let _body = null;
513
+ const _url = this.host +
514
+ `/hub/list/${encodeURIComponent(String(patientSsin))}` +
515
+ "?ts=" +
516
+ new Date().getTime() +
517
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
518
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
519
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
520
+ (hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
521
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
522
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
523
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
524
+ (from ? "&from=" + encodeURIComponent(String(from)) : "") +
525
+ (to ? "&to=" + encodeURIComponent(String(to)) : "") +
526
+ (authorNihii ? "&authorNihii=" + encodeURIComponent(String(authorNihii)) : "") +
527
+ (authorSsin ? "&authorSsin=" + encodeURIComponent(String(authorSsin)) : "") +
528
+ (isGlobal ? "&isGlobal=" + encodeURIComponent(String(isGlobal)) : "") +
529
+ (breakTheGlassReason
530
+ ? "&breakTheGlassReason=" + encodeURIComponent(String(breakTheGlassReason))
531
+ : "");
532
+ let headers = this.headers;
533
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
534
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
535
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
536
+ return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
537
+ .then(doc => doc.body.map(it => new TransactionSummaryDto_1.TransactionSummaryDto(it)))
538
+ .catch(err => this.handleError(err));
539
+ }
540
+ /**
541
+ *
542
+ * @summary putAccessRight
543
+ * @param endpoint endpoint
544
+ * @param xFHCKeystoreId X-FHC-keystoreId
545
+ * @param xFHCTokenId X-FHC-tokenId
546
+ * @param xFHCPassPhrase X-FHC-passPhrase
547
+ * @param hcpLastName hcpLastName
548
+ * @param hcpFirstName hcpFirstName
549
+ * @param hcpNihii hcpNihii
550
+ * @param hcpSsin hcpSsin
551
+ * @param hcpZip hcpZip
552
+ * @param sv sv
553
+ * @param sl sl
554
+ * @param value value
555
+ * @param accessRight accessRight
556
+ * @param accessNihii accessNihii
557
+ * @param accessSsin accessSsin
558
+ * @param hubPackageId hubPackageId
559
+ */
560
+ putAccessRightUsingPOST(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, sv, sl, value, accessRight, accessNihii, accessSsin, hubPackageId) {
561
+ let _body = null;
562
+ const _url = this.host +
563
+ `/hub/access` +
564
+ "?ts=" +
565
+ new Date().getTime() +
566
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
567
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
568
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
569
+ (hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
570
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
571
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
572
+ (sv ? "&sv=" + encodeURIComponent(String(sv)) : "") +
573
+ (sl ? "&sl=" + encodeURIComponent(String(sl)) : "") +
574
+ (value ? "&value=" + encodeURIComponent(String(value)) : "") +
575
+ (accessRight ? "&accessRight=" + encodeURIComponent(String(accessRight)) : "") +
576
+ (accessNihii ? "&accessNihii=" + encodeURIComponent(String(accessNihii)) : "") +
577
+ (accessSsin ? "&accessSsin=" + encodeURIComponent(String(accessSsin)) : "") +
578
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "");
579
+ let headers = this.headers;
580
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
581
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
582
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
583
+ return XHR_1.XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
584
+ .then(doc => new PutAccessRightResponse_1.PutAccessRightResponse(doc.body))
585
+ .catch(err => this.handleError(err));
586
+ }
587
+ /**
588
+ *
589
+ * @summary putPatient
590
+ * @param endpoint endpoint
591
+ * @param xFHCKeystoreId X-FHC-keystoreId
592
+ * @param xFHCTokenId X-FHC-tokenId
593
+ * @param xFHCPassPhrase X-FHC-passPhrase
594
+ * @param hcpLastName hcpLastName
595
+ * @param hcpFirstName hcpFirstName
596
+ * @param hcpNihii hcpNihii
597
+ * @param hcpSsin hcpSsin
598
+ * @param hcpZip hcpZip
599
+ * @param patientSsin patientSsin
600
+ * @param firstName firstName
601
+ * @param lastName lastName
602
+ * @param gender gender
603
+ * @param dateOfBirth dateOfBirth
604
+ * @param hubPackageId hubPackageId
605
+ */
606
+ putPatientUsingPOST(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, firstName, lastName, gender, dateOfBirth, hubPackageId) {
607
+ let _body = null;
608
+ const _url = this.host +
609
+ `/hub/patient/${encodeURIComponent(String(lastName))}/${encodeURIComponent(String(patientSsin))}` +
610
+ "?ts=" +
611
+ new Date().getTime() +
612
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
613
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
614
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
615
+ (hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
616
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
617
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
618
+ (firstName ? "&firstName=" + encodeURIComponent(String(firstName)) : "") +
619
+ (gender ? "&gender=" + encodeURIComponent(String(gender)) : "") +
620
+ (dateOfBirth ? "&dateOfBirth=" + encodeURIComponent(String(dateOfBirth)) : "") +
621
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "");
622
+ let headers = this.headers;
623
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
624
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
625
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
626
+ return XHR_1.XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
627
+ .then(doc => new Patient_1.Patient(doc.body))
628
+ .catch(err => this.handleError(err));
629
+ }
630
+ /**
631
+ *
632
+ * @summary putTransactionSet
633
+ * @param body message
634
+ * @param endpoint endpoint
635
+ * @param xFHCKeystoreId X-FHC-keystoreId
636
+ * @param xFHCTokenId X-FHC-tokenId
637
+ * @param xFHCPassPhrase X-FHC-passPhrase
638
+ * @param hcpLastName hcpLastName
639
+ * @param hcpFirstName hcpFirstName
640
+ * @param hcpNihii hcpNihii
641
+ * @param hcpSsin hcpSsin
642
+ * @param hcpZip hcpZip
643
+ * @param hubId hubId
644
+ * @param patientSsin patientSsin
645
+ * @param hubPackageId hubPackageId
646
+ * @param hubApplication hubApplication
647
+ */
648
+ putTransactionSetUsingPOST(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, hubId, patientSsin, hubPackageId, hubApplication, body) {
649
+ let _body = null;
650
+ _body = body;
651
+ const _url = this.host +
652
+ `/hub/ts/${encodeURIComponent(String(hubId))}/${encodeURIComponent(String(patientSsin))}` +
653
+ "?ts=" +
654
+ new Date().getTime() +
655
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
656
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
657
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
658
+ (hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
659
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
660
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
661
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
662
+ (hubApplication ? "&hubApplication=" + encodeURIComponent(String(hubApplication)) : "");
663
+ let headers = this.headers;
664
+ headers = headers
665
+ .filter(h => h.header !== "Content-Type")
666
+ .concat(new XHR_1.XHR.Header("Content-Type", "application/xml"));
667
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
668
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
669
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
670
+ return XHR_1.XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
671
+ .then(doc => new PutTransactionSetResponse_1.PutTransactionSetResponse(doc.body))
672
+ .catch(err => this.handleError(err));
673
+ }
674
+ /**
675
+ *
676
+ * @summary putTransaction
677
+ * @param body message
678
+ * @param endpoint endpoint
679
+ * @param xFHCKeystoreId X-FHC-keystoreId
680
+ * @param xFHCTokenId X-FHC-tokenId
681
+ * @param xFHCPassPhrase X-FHC-passPhrase
682
+ * @param hcpLastName hcpLastName
683
+ * @param hcpFirstName hcpFirstName
684
+ * @param hcpNihii hcpNihii
685
+ * @param hcpSsin hcpSsin
686
+ * @param hcpZip hcpZip
687
+ * @param hubId hubId
688
+ * @param patientSsin patientSsin
689
+ * @param hubPackageId hubPackageId
690
+ * @param hubApplication hubApplication
691
+ */
692
+ putTransactionUsingPOST(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, hubId, patientSsin, hubPackageId, hubApplication, body) {
693
+ let _body = null;
694
+ _body = body;
695
+ const _url = this.host +
696
+ `/hub/t/${encodeURIComponent(String(hubId))}/${encodeURIComponent(String(patientSsin))}` +
697
+ "?ts=" +
698
+ new Date().getTime() +
699
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
700
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
701
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
702
+ (hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
703
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
704
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
705
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
706
+ (hubApplication ? "&hubApplication=" + encodeURIComponent(String(hubApplication)) : "");
707
+ let headers = this.headers;
708
+ headers = headers
709
+ .filter(h => h.header !== "Content-Type")
710
+ .concat(new XHR_1.XHR.Header("Content-Type", "application/xml"));
711
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
712
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
713
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
714
+ return XHR_1.XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
715
+ .then(doc => new PutTransactionResponseDto_1.PutTransactionResponseDto(doc.body))
716
+ .catch(err => this.handleError(err));
717
+ }
718
+ /**
719
+ *
720
+ * @summary registerPatientConsent
721
+ * @param endpoint endpoint
722
+ * @param xFHCKeystoreId X-FHC-keystoreId
723
+ * @param xFHCTokenId X-FHC-tokenId
724
+ * @param xFHCPassPhrase X-FHC-passPhrase
725
+ * @param hcpLastName hcpLastName
726
+ * @param hcpFirstName hcpFirstName
727
+ * @param hcpNihii hcpNihii
728
+ * @param hcpSsin hcpSsin
729
+ * @param hcpZip hcpZip
730
+ * @param patientSsin patientSsin
731
+ * @param hubPackageId hubPackageId
732
+ * @param patientEidCardNumber patientEidCardNumber
733
+ * @param patientIsiCardNumber patientIsiCardNumber
734
+ */
735
+ registerPatientConsentUsingPOST1(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, hubPackageId, patientEidCardNumber, patientIsiCardNumber) {
736
+ let _body = null;
737
+ const _url = this.host +
738
+ `/hub/consent/${encodeURIComponent(String(patientSsin))}` +
739
+ "?ts=" +
740
+ new Date().getTime() +
741
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
742
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
743
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
744
+ (hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
745
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
746
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
747
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
748
+ (patientEidCardNumber
749
+ ? "&patientEidCardNumber=" + encodeURIComponent(String(patientEidCardNumber))
750
+ : "") +
751
+ (patientIsiCardNumber
752
+ ? "&patientIsiCardNumber=" + encodeURIComponent(String(patientIsiCardNumber))
753
+ : "");
754
+ let headers = this.headers;
755
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
756
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
757
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
758
+ return XHR_1.XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
759
+ .then(doc => new PutPatientConsentResponse_1.PutPatientConsentResponse(doc.body))
760
+ .catch(err => this.handleError(err));
761
+ }
762
+ /**
763
+ *
764
+ * @summary registerTherapeuticLink
765
+ * @param endpoint endpoint
766
+ * @param xFHCKeystoreId X-FHC-keystoreId
767
+ * @param xFHCTokenId X-FHC-tokenId
768
+ * @param xFHCPassPhrase X-FHC-passPhrase
769
+ * @param hcpLastName hcpLastName
770
+ * @param hcpFirstName hcpFirstName
771
+ * @param hcpNihii hcpNihii
772
+ * @param hcpSsin hcpSsin
773
+ * @param hcpZip hcpZip
774
+ * @param patientSsin patientSsin
775
+ * @param hubPackageId hubPackageId
776
+ * @param patientEidCardNumber patientEidCardNumber
777
+ * @param patientIsiCardNumber patientIsiCardNumber
778
+ * @param from from
779
+ * @param to to
780
+ */
781
+ registerTherapeuticLinkUsingPOST(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, hubPackageId, patientEidCardNumber, patientIsiCardNumber, from, to) {
782
+ let _body = null;
783
+ const _url = this.host +
784
+ `/hub/therlink/${encodeURIComponent(String(hcpNihii))}/${encodeURIComponent(String(patientSsin))}` +
785
+ "?ts=" +
786
+ new Date().getTime() +
787
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
788
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
789
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
790
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
791
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
792
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
793
+ (patientEidCardNumber
794
+ ? "&patientEidCardNumber=" + encodeURIComponent(String(patientEidCardNumber))
795
+ : "") +
796
+ (patientIsiCardNumber
797
+ ? "&patientIsiCardNumber=" + encodeURIComponent(String(patientIsiCardNumber))
798
+ : "") +
799
+ (from ? "&from=" + encodeURIComponent(String(from)) : "") +
800
+ (to ? "&to=" + encodeURIComponent(String(to)) : "");
801
+ let headers = this.headers;
802
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
803
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
804
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
805
+ return XHR_1.XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
806
+ .then(doc => new PutTherapeuticLinkResponse_1.PutTherapeuticLinkResponse(doc.body))
807
+ .catch(err => this.handleError(err));
808
+ }
809
+ /**
810
+ *
811
+ * @summary revokeAccessRight
812
+ * @param endpoint endpoint
813
+ * @param xFHCKeystoreId X-FHC-keystoreId
814
+ * @param xFHCTokenId X-FHC-tokenId
815
+ * @param xFHCPassPhrase X-FHC-passPhrase
816
+ * @param hcpLastName hcpLastName
817
+ * @param hcpFirstName hcpFirstName
818
+ * @param hcpNihii hcpNihii
819
+ * @param hcpSsin hcpSsin
820
+ * @param hcpZip hcpZip
821
+ * @param sv sv
822
+ * @param sl sl
823
+ * @param value value
824
+ * @param accessNihii accessNihii
825
+ * @param accessSsin accessSsin
826
+ * @param hubPackageId hubPackageId
827
+ */
828
+ revokeAccessRightUsingDELETE(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, sv, sl, value, accessNihii, accessSsin, hubPackageId) {
829
+ let _body = null;
830
+ const _url = this.host +
831
+ `/hub/access` +
832
+ "?ts=" +
833
+ new Date().getTime() +
834
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
835
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
836
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
837
+ (hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
838
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
839
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
840
+ (sv ? "&sv=" + encodeURIComponent(String(sv)) : "") +
841
+ (sl ? "&sl=" + encodeURIComponent(String(sl)) : "") +
842
+ (value ? "&value=" + encodeURIComponent(String(value)) : "") +
843
+ (accessNihii ? "&accessNihii=" + encodeURIComponent(String(accessNihii)) : "") +
844
+ (accessSsin ? "&accessSsin=" + encodeURIComponent(String(accessSsin)) : "") +
845
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "");
846
+ let headers = this.headers;
847
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
848
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
849
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
850
+ return XHR_1.XHR.sendCommand("DELETE", _url, headers, _body, this.fetchImpl)
851
+ .then(doc => new RevokeAccessRightResponse_1.RevokeAccessRightResponse(doc.body))
852
+ .catch(err => this.handleError(err));
853
+ }
854
+ /**
855
+ *
856
+ * @summary revokePatientConsent
857
+ * @param endpoint endpoint
858
+ * @param xFHCKeystoreId X-FHC-keystoreId
859
+ * @param xFHCTokenId X-FHC-tokenId
860
+ * @param xFHCPassPhrase X-FHC-passPhrase
861
+ * @param hcpLastName hcpLastName
862
+ * @param hcpFirstName hcpFirstName
863
+ * @param hcpNihii hcpNihii
864
+ * @param hcpSsin hcpSsin
865
+ * @param hcpZip hcpZip
866
+ * @param patientSsin patientSsin
867
+ * @param hubPackageId hubPackageId
868
+ * @param patientEidCardNumber patientEidCardNumber
869
+ * @param patientIsiCardNumber patientIsiCardNumber
870
+ */
871
+ revokePatientConsentUsingDELETE(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, hubPackageId, patientEidCardNumber, patientIsiCardNumber) {
872
+ let _body = null;
873
+ const _url = this.host +
874
+ `/hub/consent/${encodeURIComponent(String(patientSsin))}` +
875
+ "?ts=" +
876
+ new Date().getTime() +
877
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
878
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
879
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
880
+ (hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
881
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
882
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
883
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
884
+ (patientEidCardNumber
885
+ ? "&patientEidCardNumber=" + encodeURIComponent(String(patientEidCardNumber))
886
+ : "") +
887
+ (patientIsiCardNumber
888
+ ? "&patientIsiCardNumber=" + encodeURIComponent(String(patientIsiCardNumber))
889
+ : "");
890
+ let headers = this.headers;
891
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
892
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
893
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
894
+ return XHR_1.XHR.sendCommand("DELETE", _url, headers, _body, this.fetchImpl)
895
+ .then(doc => new RevokePatientConsentResponse_1.RevokePatientConsentResponse(doc.body))
896
+ .catch(err => this.handleError(err));
897
+ }
898
+ /**
899
+ *
900
+ * @summary revokeTherapeuticLink
901
+ * @param endpoint endpoint
902
+ * @param xFHCKeystoreId X-FHC-keystoreId
903
+ * @param xFHCTokenId X-FHC-tokenId
904
+ * @param xFHCPassPhrase X-FHC-passPhrase
905
+ * @param hcpLastName hcpLastName
906
+ * @param hcpFirstName hcpFirstName
907
+ * @param hcpNihii hcpNihii
908
+ * @param hcpSsin hcpSsin
909
+ * @param hcpZip hcpZip
910
+ * @param patientSsin patientSsin
911
+ * @param hubPackageId hubPackageId
912
+ * @param patientEidCardNumber patientEidCardNumber
913
+ * @param patientIsiCardNumber patientIsiCardNumber
914
+ */
915
+ revokeTherapeuticLinkUsingDELETE(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, hubPackageId, patientEidCardNumber, patientIsiCardNumber) {
916
+ let _body = null;
917
+ const _url = this.host +
918
+ `/hub/therlink/${encodeURIComponent(String(hcpNihii))}/${encodeURIComponent(String(patientSsin))}` +
919
+ "?ts=" +
920
+ new Date().getTime() +
921
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
922
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
923
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
924
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
925
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
926
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
927
+ (patientEidCardNumber
928
+ ? "&patientEidCardNumber=" + encodeURIComponent(String(patientEidCardNumber))
929
+ : "") +
930
+ (patientIsiCardNumber
931
+ ? "&patientIsiCardNumber=" + encodeURIComponent(String(patientIsiCardNumber))
932
+ : "");
933
+ let headers = this.headers;
934
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
935
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
936
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
937
+ return XHR_1.XHR.sendCommand("DELETE", _url, headers, _body, this.fetchImpl)
938
+ .then(doc => new RevokeTherapeuticLinkResponse_1.RevokeTherapeuticLinkResponse(doc.body))
939
+ .catch(err => this.handleError(err));
940
+ }
941
+ /**
942
+ *
943
+ * @summary revokeTransaction
944
+ * @param endpoint endpoint
945
+ * @param xFHCKeystoreId X-FHC-keystoreId
946
+ * @param xFHCTokenId X-FHC-tokenId
947
+ * @param xFHCPassPhrase X-FHC-passPhrase
948
+ * @param hcpLastName hcpLastName
949
+ * @param hcpFirstName hcpFirstName
950
+ * @param hcpNihii hcpNihii
951
+ * @param hcpSsin hcpSsin
952
+ * @param hcpZip hcpZip
953
+ * @param ssin ssin
954
+ * @param sv sv
955
+ * @param sl sl
956
+ * @param id id
957
+ * @param hubPackageId hubPackageId
958
+ * @param breakTheGlassReason breakTheGlassReason
959
+ */
960
+ revokeTransactionUsingDELETE(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, ssin, sv, sl, id, hubPackageId, breakTheGlassReason) {
961
+ let _body = null;
962
+ const _url = this.host +
963
+ `/hub/t/${encodeURIComponent(String(ssin))}/${encodeURIComponent(String(sv))}/${encodeURIComponent(String(sl))}` +
964
+ "?ts=" +
965
+ new Date().getTime() +
966
+ (endpoint ? "&endpoint=" + encodeURIComponent(String(endpoint)) : "") +
967
+ (hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
968
+ (hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
969
+ (hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
970
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
971
+ (hcpZip ? "&hcpZip=" + encodeURIComponent(String(hcpZip)) : "") +
972
+ (id ? "&id=" + encodeURIComponent(String(id)) : "") +
973
+ (hubPackageId ? "&hubPackageId=" + encodeURIComponent(String(hubPackageId)) : "") +
974
+ (breakTheGlassReason
975
+ ? "&breakTheGlassReason=" + encodeURIComponent(String(breakTheGlassReason))
976
+ : "");
977
+ let headers = this.headers;
978
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
979
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
980
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
981
+ return XHR_1.XHR.sendCommand("DELETE", _url, headers, _body, this.fetchImpl)
982
+ .then(doc => JSON.parse(JSON.stringify(doc.body)))
983
+ .catch(err => this.handleError(err));
984
+ }
985
+ }
986
+ exports.fhcHubApi = fhcHubApi;