candidhealth 1.16.0 → 1.17.1

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 (565) hide show
  1. package/Client.d.ts +0 -3
  2. package/Client.js +36 -41
  3. package/api/resources/contracts/client/Client.d.ts +3 -0
  4. package/api/resources/contracts/client/Client.js +5 -0
  5. package/api/resources/contracts/resources/index.d.ts +1 -0
  6. package/api/resources/contracts/resources/index.js +2 -1
  7. package/api/resources/contracts/resources/v2/client/Client.d.ts +4 -0
  8. package/api/resources/contracts/resources/v2/client/Client.js +4 -0
  9. package/api/resources/contracts/resources/v3/client/Client.d.ts +109 -0
  10. package/api/resources/contracts/resources/v3/client/Client.js +603 -0
  11. package/api/resources/contracts/resources/v3/client/create.d.ts +19 -0
  12. package/api/resources/contracts/resources/v3/client/create.js +55 -0
  13. package/api/resources/contracts/resources/v3/client/createContractServiceFacility.d.ts +25 -0
  14. package/api/resources/contracts/resources/v3/client/createContractServiceFacility.js +66 -0
  15. package/api/resources/contracts/resources/v3/client/delete.d.ts +25 -0
  16. package/api/resources/contracts/resources/v3/client/delete.js +66 -0
  17. package/api/resources/contracts/resources/v3/client/get.d.ts +25 -0
  18. package/{dist/api/resources/insurancePayments/resources/v1 → api/resources/contracts/resources/v3}/client/get.js +2 -13
  19. package/api/resources/contracts/resources/v3/client/getMulti.d.ts +19 -0
  20. package/api/resources/contracts/resources/v3/client/getMulti.js +55 -0
  21. package/api/resources/contracts/resources/v3/client/index.d.ts +8 -0
  22. package/{serialization/resources/insurancePayments/resources/v1 → api/resources/contracts/resources/v3}/client/index.js +10 -1
  23. package/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.d.ts +10 -0
  24. package/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.d.ts +10 -0
  25. package/api/resources/contracts/resources/v3/client/requests/GetMultiContractsRequest.d.ts +23 -0
  26. package/api/resources/contracts/resources/v3/client/requests/index.d.ts +3 -0
  27. package/api/resources/contracts/resources/v3/client/update.d.ts +31 -0
  28. package/api/resources/{insurancePayments/resources/v1/client/getMulti.js → contracts/resources/v3/client/update.js} +9 -9
  29. package/api/resources/contracts/resources/v3/client/updateContractServiceFacility.d.ts +25 -0
  30. package/api/resources/contracts/resources/v3/client/updateContractServiceFacility.js +66 -0
  31. package/api/resources/contracts/resources/v3/types/Contract.d.ts +10 -0
  32. package/api/resources/contracts/resources/v3/types/ContractBase.d.ts +20 -0
  33. package/api/resources/contracts/resources/v3/types/ContractCreate.d.ts +9 -0
  34. package/api/resources/contracts/resources/v3/types/ContractCreateUnion.d.ts +10 -0
  35. package/api/resources/contracts/resources/v3/types/ContractCreateUnion.js +3 -0
  36. package/api/resources/contracts/resources/v3/types/ContractId.d.ts +5 -0
  37. package/{dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js → api/resources/contracts/resources/v3/types/ContractId.js} +2 -2
  38. package/api/resources/contracts/resources/v3/types/ContractServiceFacility.d.ts +6 -0
  39. package/api/resources/contracts/resources/v3/types/ContractServiceFacility.js +3 -0
  40. package/api/resources/contracts/resources/v3/types/ContractServiceFacilityBase.d.ts +6 -0
  41. package/api/resources/contracts/resources/v3/types/ContractServiceFacilityBase.js +3 -0
  42. package/api/resources/contracts/resources/v3/types/ContractServiceFacilityId.d.ts +5 -0
  43. package/api/resources/contracts/resources/v3/types/ContractServiceFacilityId.js +7 -0
  44. package/api/resources/contracts/resources/v3/types/ContractType.d.ts +9 -0
  45. package/api/resources/contracts/resources/v3/types/ContractType.js +12 -0
  46. package/api/resources/contracts/resources/v3/types/ContractUnion.d.ts +10 -0
  47. package/api/resources/contracts/resources/v3/types/ContractUnion.js +3 -0
  48. package/api/resources/contracts/resources/v3/types/ContractUpdate.d.ts +17 -0
  49. package/api/resources/contracts/resources/v3/types/ContractUpdate.js +3 -0
  50. package/api/resources/contracts/resources/v3/types/ContractUpdateUnion.d.ts +10 -0
  51. package/api/resources/contracts/resources/v3/types/ContractUpdateUnion.js +3 -0
  52. package/api/resources/contracts/resources/v3/types/ContractWithProvidersUnion.d.ts +10 -0
  53. package/api/resources/contracts/resources/v3/types/ContractWithProvidersUnion.js +3 -0
  54. package/api/resources/contracts/resources/v3/types/ContractingProviderId.d.ts +5 -0
  55. package/api/resources/contracts/resources/v3/types/ContractingProviderId.js +7 -0
  56. package/api/resources/contracts/resources/v3/types/ContractsPage.d.ts +4 -0
  57. package/api/resources/contracts/resources/v3/types/ContractsPage.js +3 -0
  58. package/api/resources/contracts/resources/v3/types/InstitutionalContract.d.ts +5 -0
  59. package/api/resources/contracts/resources/v3/types/InstitutionalContract.js +3 -0
  60. package/api/resources/contracts/resources/v3/types/InstitutionalContractCreate.d.ts +4 -0
  61. package/api/resources/contracts/resources/v3/types/InstitutionalContractCreate.js +3 -0
  62. package/api/resources/contracts/resources/v3/types/InstitutionalContractUpdate.d.ts +4 -0
  63. package/api/resources/contracts/resources/v3/types/InstitutionalContractUpdate.js +3 -0
  64. package/api/resources/contracts/resources/v3/types/ProfessionalContract.d.ts +5 -0
  65. package/api/resources/contracts/resources/v3/types/ProfessionalContract.js +3 -0
  66. package/api/resources/contracts/resources/v3/types/ProfessionalContractCreate.d.ts +4 -0
  67. package/api/resources/contracts/resources/v3/types/ProfessionalContractCreate.js +3 -0
  68. package/api/resources/contracts/resources/v3/types/ProfessionalContractUpdate.d.ts +4 -0
  69. package/api/resources/contracts/resources/v3/types/ProfessionalContractUpdate.js +3 -0
  70. package/api/resources/contracts/resources/v3/types/RenderingProviderid.d.ts +5 -0
  71. package/api/resources/contracts/resources/v3/types/RenderingProviderid.js +7 -0
  72. package/api/resources/contracts/resources/v3/types/index.d.ts +22 -0
  73. package/api/resources/contracts/resources/v3/types/index.js +38 -0
  74. package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +6 -0
  75. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +6 -0
  76. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +6 -0
  77. package/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +6 -0
  78. package/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +4 -0
  79. package/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js +3 -0
  80. package/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +6 -0
  81. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +6 -0
  82. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +6 -0
  83. package/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  84. package/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
  85. package/api/resources/encounters/resources/v4/client/Client.d.ts +15 -0
  86. package/api/resources/encounters/resources/v4/client/Client.js +19 -0
  87. package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  88. package/api/resources/encounters/resources/v4/client/create.js +11 -0
  89. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +7 -1
  90. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +11 -0
  91. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +7 -1
  92. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +11 -0
  93. package/api/resources/encounters/resources/v4/client/createUniversal.d.ts +7 -1
  94. package/api/resources/encounters/resources/v4/client/createUniversal.js +11 -0
  95. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  96. package/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
  97. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
  98. package/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
  99. package/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +14 -1
  100. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +9 -1
  101. package/api/resources/feeSchedules/resources/v3/client/Client.js +9 -1
  102. package/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +6 -1
  103. package/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +5 -1
  104. package/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +4 -0
  105. package/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +2 -14
  106. package/api/resources/index.d.ts +1 -1
  107. package/api/resources/index.js +2 -2
  108. package/api/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
  109. package/api/resources/relatedCausesInformation/resources/v1/index.js +17 -0
  110. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +21 -0
  111. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js +24 -0
  112. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +6 -0
  113. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js +3 -0
  114. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +3 -0
  115. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +3 -0
  116. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +3 -0
  117. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +3 -0
  118. package/api/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
  119. package/api/resources/{insurancePayments → relatedCausesInformation}/resources/v1/types/index.js +4 -4
  120. package/dist/Client.d.ts +0 -3
  121. package/dist/Client.js +36 -41
  122. package/dist/api/resources/contracts/client/Client.d.ts +3 -0
  123. package/dist/api/resources/contracts/client/Client.js +5 -0
  124. package/dist/api/resources/contracts/resources/index.d.ts +1 -0
  125. package/dist/api/resources/contracts/resources/index.js +2 -1
  126. package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +4 -0
  127. package/dist/api/resources/contracts/resources/v2/client/Client.js +4 -0
  128. package/dist/api/resources/contracts/resources/v3/client/Client.d.ts +109 -0
  129. package/dist/api/resources/contracts/resources/v3/client/Client.js +603 -0
  130. package/dist/api/resources/contracts/resources/v3/client/create.d.ts +19 -0
  131. package/dist/api/resources/contracts/resources/v3/client/create.js +55 -0
  132. package/dist/api/resources/contracts/resources/v3/client/createContractServiceFacility.d.ts +25 -0
  133. package/dist/api/resources/contracts/resources/v3/client/createContractServiceFacility.js +66 -0
  134. package/dist/api/resources/contracts/resources/v3/client/delete.d.ts +25 -0
  135. package/dist/api/resources/contracts/resources/v3/client/delete.js +66 -0
  136. package/dist/api/resources/contracts/resources/v3/client/get.d.ts +25 -0
  137. package/{api/resources/insurancePayments/resources/v1 → dist/api/resources/contracts/resources/v3}/client/get.js +2 -13
  138. package/dist/api/resources/contracts/resources/v3/client/getMulti.d.ts +19 -0
  139. package/dist/api/resources/contracts/resources/v3/client/getMulti.js +55 -0
  140. package/dist/api/resources/contracts/resources/v3/client/index.d.ts +8 -0
  141. package/dist/api/resources/contracts/resources/v3/client/index.js +47 -0
  142. package/dist/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.d.ts +10 -0
  143. package/dist/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.js +3 -0
  144. package/dist/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.d.ts +10 -0
  145. package/dist/api/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.js +3 -0
  146. package/dist/api/resources/contracts/resources/v3/client/requests/GetMultiContractsRequest.d.ts +23 -0
  147. package/dist/api/resources/contracts/resources/v3/client/requests/GetMultiContractsRequest.js +3 -0
  148. package/dist/api/resources/contracts/resources/v3/client/requests/index.d.ts +3 -0
  149. package/dist/api/resources/contracts/resources/v3/client/update.d.ts +31 -0
  150. package/dist/api/resources/{insurancePayments/resources/v1/client/getMulti.js → contracts/resources/v3/client/update.js} +9 -9
  151. package/dist/api/resources/contracts/resources/v3/client/updateContractServiceFacility.d.ts +25 -0
  152. package/dist/api/resources/contracts/resources/v3/client/updateContractServiceFacility.js +66 -0
  153. package/dist/api/resources/contracts/resources/v3/types/Contract.d.ts +10 -0
  154. package/dist/api/resources/contracts/resources/v3/types/Contract.js +3 -0
  155. package/dist/api/resources/contracts/resources/v3/types/ContractBase.d.ts +20 -0
  156. package/dist/api/resources/contracts/resources/v3/types/ContractBase.js +3 -0
  157. package/dist/api/resources/contracts/resources/v3/types/ContractCreate.d.ts +9 -0
  158. package/dist/api/resources/contracts/resources/v3/types/ContractCreate.js +3 -0
  159. package/dist/api/resources/contracts/resources/v3/types/ContractCreateUnion.d.ts +10 -0
  160. package/dist/api/resources/contracts/resources/v3/types/ContractCreateUnion.js +3 -0
  161. package/dist/api/resources/contracts/resources/v3/types/ContractId.d.ts +5 -0
  162. package/{api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js → dist/api/resources/contracts/resources/v3/types/ContractId.js} +2 -2
  163. package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacility.d.ts +6 -0
  164. package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacility.js +3 -0
  165. package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacilityBase.d.ts +6 -0
  166. package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacilityBase.js +3 -0
  167. package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacilityId.d.ts +5 -0
  168. package/dist/api/resources/contracts/resources/v3/types/ContractServiceFacilityId.js +7 -0
  169. package/dist/api/resources/contracts/resources/v3/types/ContractType.d.ts +9 -0
  170. package/dist/api/resources/contracts/resources/v3/types/ContractType.js +12 -0
  171. package/dist/api/resources/contracts/resources/v3/types/ContractUnion.d.ts +10 -0
  172. package/dist/api/resources/contracts/resources/v3/types/ContractUnion.js +3 -0
  173. package/dist/api/resources/contracts/resources/v3/types/ContractUpdate.d.ts +17 -0
  174. package/dist/api/resources/contracts/resources/v3/types/ContractUpdate.js +3 -0
  175. package/dist/api/resources/contracts/resources/v3/types/ContractUpdateUnion.d.ts +10 -0
  176. package/dist/api/resources/contracts/resources/v3/types/ContractUpdateUnion.js +3 -0
  177. package/dist/api/resources/contracts/resources/v3/types/ContractWithProvidersUnion.d.ts +10 -0
  178. package/dist/api/resources/contracts/resources/v3/types/ContractWithProvidersUnion.js +3 -0
  179. package/dist/api/resources/contracts/resources/v3/types/ContractingProviderId.d.ts +5 -0
  180. package/dist/api/resources/contracts/resources/v3/types/ContractingProviderId.js +7 -0
  181. package/dist/api/resources/contracts/resources/v3/types/ContractsPage.d.ts +4 -0
  182. package/dist/api/resources/contracts/resources/v3/types/ContractsPage.js +3 -0
  183. package/dist/api/resources/contracts/resources/v3/types/InstitutionalContract.d.ts +5 -0
  184. package/dist/api/resources/contracts/resources/v3/types/InstitutionalContract.js +3 -0
  185. package/dist/api/resources/contracts/resources/v3/types/InstitutionalContractCreate.d.ts +4 -0
  186. package/dist/api/resources/contracts/resources/v3/types/InstitutionalContractCreate.js +3 -0
  187. package/dist/api/resources/contracts/resources/v3/types/InstitutionalContractUpdate.d.ts +4 -0
  188. package/dist/api/resources/contracts/resources/v3/types/InstitutionalContractUpdate.js +3 -0
  189. package/dist/api/resources/contracts/resources/v3/types/ProfessionalContract.d.ts +5 -0
  190. package/dist/api/resources/contracts/resources/v3/types/ProfessionalContract.js +3 -0
  191. package/dist/api/resources/contracts/resources/v3/types/ProfessionalContractCreate.d.ts +4 -0
  192. package/dist/api/resources/contracts/resources/v3/types/ProfessionalContractCreate.js +3 -0
  193. package/dist/api/resources/contracts/resources/v3/types/ProfessionalContractUpdate.d.ts +4 -0
  194. package/dist/api/resources/contracts/resources/v3/types/ProfessionalContractUpdate.js +3 -0
  195. package/dist/api/resources/contracts/resources/v3/types/RenderingProviderid.d.ts +5 -0
  196. package/dist/api/resources/contracts/resources/v3/types/RenderingProviderid.js +7 -0
  197. package/dist/api/resources/contracts/resources/v3/types/index.d.ts +22 -0
  198. package/dist/api/resources/contracts/resources/v3/types/index.js +38 -0
  199. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +6 -0
  200. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +6 -0
  201. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +6 -0
  202. package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +6 -0
  203. package/dist/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +4 -0
  204. package/dist/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js +3 -0
  205. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +6 -0
  206. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +6 -0
  207. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +6 -0
  208. package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  209. package/dist/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
  210. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +15 -0
  211. package/dist/api/resources/encounters/resources/v4/client/Client.js +19 -0
  212. package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  213. package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
  214. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +7 -1
  215. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +11 -0
  216. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +7 -1
  217. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +11 -0
  218. package/dist/api/resources/encounters/resources/v4/client/createUniversal.d.ts +7 -1
  219. package/dist/api/resources/encounters/resources/v4/client/createUniversal.js +11 -0
  220. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  221. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
  222. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
  223. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
  224. package/dist/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +14 -1
  225. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +9 -1
  226. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +9 -1
  227. package/dist/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +6 -1
  228. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +5 -1
  229. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +4 -0
  230. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +2 -14
  231. package/dist/api/resources/index.d.ts +1 -1
  232. package/dist/api/resources/index.js +2 -2
  233. package/dist/api/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
  234. package/dist/api/resources/relatedCausesInformation/resources/v1/index.js +17 -0
  235. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +21 -0
  236. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js +24 -0
  237. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +6 -0
  238. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js +3 -0
  239. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +3 -0
  240. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +3 -0
  241. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +3 -0
  242. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +3 -0
  243. package/dist/api/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
  244. package/dist/api/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
  245. package/dist/serialization/resources/contracts/resources/index.d.ts +1 -0
  246. package/dist/serialization/resources/contracts/resources/index.js +2 -1
  247. package/dist/serialization/resources/{insurancePayments/resources/v1/client/getMulti.d.ts → contracts/resources/v3/client/createContractServiceFacility.d.ts} +2 -7
  248. package/{serialization/resources/insurancePayments/resources/v1/client/getMulti.js → dist/serialization/resources/contracts/resources/v3/client/createContractServiceFacility.js} +1 -7
  249. package/dist/serialization/resources/contracts/resources/v3/client/delete.d.ts +12 -0
  250. package/dist/serialization/resources/contracts/resources/v3/client/delete.js +69 -0
  251. package/dist/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/client/get.d.ts +2 -7
  252. package/dist/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/client/get.js +1 -7
  253. package/dist/serialization/resources/contracts/resources/v3/client/index.d.ts +6 -0
  254. package/{api/resources/insurancePayments/resources/v1 → dist/serialization/resources/contracts/resources/v3}/client/index.js +5 -2
  255. package/dist/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.d.ts +9 -0
  256. package/dist/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.js +40 -0
  257. package/dist/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.d.ts +10 -0
  258. package/dist/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.js +42 -0
  259. package/dist/serialization/resources/contracts/resources/v3/client/requests/index.d.ts +2 -0
  260. package/dist/serialization/resources/contracts/resources/v3/client/requests/index.js +7 -0
  261. package/dist/serialization/resources/contracts/resources/v3/client/update.d.ts +17 -0
  262. package/dist/serialization/resources/contracts/resources/v3/client/update.js +75 -0
  263. package/{serialization/resources/insurancePayments/resources/v1/client/getMulti.d.ts → dist/serialization/resources/contracts/resources/v3/client/updateContractServiceFacility.d.ts} +2 -7
  264. package/dist/serialization/resources/{insurancePayments/resources/v1/client/getMulti.js → contracts/resources/v3/client/updateContractServiceFacility.js} +1 -7
  265. package/dist/serialization/resources/contracts/resources/v3/types/Contract.d.ts +16 -0
  266. package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePayment.js → contracts/resources/v3/types/Contract.js} +11 -10
  267. package/dist/serialization/resources/contracts/resources/v3/types/ContractBase.d.ts +21 -0
  268. package/dist/serialization/resources/contracts/resources/v3/types/ContractBase.js +53 -0
  269. package/dist/serialization/resources/contracts/resources/v3/types/ContractCreate.d.ts +14 -0
  270. package/dist/serialization/resources/contracts/resources/v3/types/ContractCreate.js +48 -0
  271. package/dist/serialization/resources/contracts/resources/v3/types/ContractCreateUnion.d.ts +15 -0
  272. package/dist/serialization/resources/contracts/resources/v3/types/ContractCreateUnion.js +49 -0
  273. package/dist/serialization/resources/contracts/resources/v3/types/ContractId.d.ts +7 -0
  274. package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentId.js → contracts/resources/v3/types/ContractId.js} +3 -3
  275. package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacility.d.ts +13 -0
  276. package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacility.js +47 -0
  277. package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityBase.d.ts +10 -0
  278. package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityBase.js +42 -0
  279. package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityId.d.ts +7 -0
  280. package/dist/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityId.js +43 -0
  281. package/dist/serialization/resources/contracts/resources/v3/types/ContractType.d.ts +7 -0
  282. package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentSortField.js → contracts/resources/v3/types/ContractType.js} +2 -2
  283. package/dist/serialization/resources/contracts/resources/v3/types/ContractUnion.d.ts +14 -0
  284. package/dist/serialization/resources/contracts/resources/v3/types/ContractUnion.js +48 -0
  285. package/dist/serialization/resources/contracts/resources/v3/types/ContractUpdate.d.ts +22 -0
  286. package/dist/serialization/resources/contracts/resources/v3/types/ContractUpdate.js +54 -0
  287. package/dist/serialization/resources/contracts/resources/v3/types/ContractUpdateUnion.d.ts +15 -0
  288. package/dist/serialization/resources/contracts/resources/v3/types/ContractUpdateUnion.js +49 -0
  289. package/dist/serialization/resources/contracts/resources/v3/types/ContractWithProvidersUnion.d.ts +15 -0
  290. package/dist/serialization/resources/contracts/resources/v3/types/ContractWithProvidersUnion.js +49 -0
  291. package/dist/serialization/resources/contracts/resources/v3/types/ContractingProviderId.d.ts +7 -0
  292. package/dist/serialization/resources/contracts/resources/v3/types/ContractingProviderId.js +43 -0
  293. package/dist/serialization/resources/contracts/resources/v3/types/ContractsPage.d.ts +11 -0
  294. package/{serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js → dist/serialization/resources/contracts/resources/v3/types/ContractsPage.js} +4 -4
  295. package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContract.d.ts +11 -0
  296. package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContract.js +45 -0
  297. package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractCreate.d.ts +11 -0
  298. package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractCreate.js +45 -0
  299. package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractUpdate.d.ts +11 -0
  300. package/dist/serialization/resources/contracts/resources/v3/types/InstitutionalContractUpdate.js +45 -0
  301. package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContract.d.ts +10 -0
  302. package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContract.js +44 -0
  303. package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractCreate.d.ts +11 -0
  304. package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractCreate.js +45 -0
  305. package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractUpdate.d.ts +11 -0
  306. package/dist/serialization/resources/contracts/resources/v3/types/ProfessionalContractUpdate.js +45 -0
  307. package/dist/serialization/resources/contracts/resources/v3/types/RenderingProviderid.d.ts +7 -0
  308. package/{serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js → dist/serialization/resources/contracts/resources/v3/types/RenderingProviderid.js} +3 -3
  309. package/dist/serialization/resources/contracts/resources/v3/types/index.d.ts +22 -0
  310. package/dist/serialization/resources/contracts/resources/v3/types/index.js +38 -0
  311. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
  312. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
  313. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
  314. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
  315. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +2 -0
  316. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +2 -0
  317. package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
  318. package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
  319. package/dist/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +9 -0
  320. package/dist/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js +41 -0
  321. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +2 -0
  322. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.js +2 -0
  323. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +2 -0
  324. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.js +2 -0
  325. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +2 -0
  326. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +2 -0
  327. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  328. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
  329. package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  330. package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  331. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +6 -1
  332. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +6 -0
  333. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +6 -1
  334. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +6 -0
  335. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +6 -1
  336. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.js +6 -0
  337. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  338. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  339. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
  340. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +2 -0
  341. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
  342. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +2 -0
  343. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
  344. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +2 -0
  345. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +1 -1
  346. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +5 -1
  347. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +2 -2
  348. package/dist/serialization/resources/index.d.ts +1 -1
  349. package/dist/serialization/resources/index.js +2 -2
  350. package/{api/resources/insurancePayments → dist/serialization/resources/relatedCausesInformation}/index.d.ts +0 -1
  351. package/{api/resources/insurancePayments → dist/serialization/resources/relatedCausesInformation}/index.js +0 -1
  352. package/dist/serialization/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
  353. package/dist/serialization/resources/relatedCausesInformation/resources/v1/index.js +17 -0
  354. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +7 -0
  355. package/{serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js → dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js} +2 -2
  356. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +12 -0
  357. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js +44 -0
  358. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +9 -0
  359. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +40 -0
  360. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +9 -0
  361. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +40 -0
  362. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
  363. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
  364. package/dist/version.d.ts +1 -1
  365. package/dist/version.js +1 -1
  366. package/package.json +1 -1
  367. package/reference.md +540 -178
  368. package/serialization/resources/contracts/resources/index.d.ts +1 -0
  369. package/serialization/resources/contracts/resources/index.js +2 -1
  370. package/serialization/resources/contracts/resources/v3/client/createContractServiceFacility.d.ts +12 -0
  371. package/serialization/resources/contracts/resources/v3/client/createContractServiceFacility.js +69 -0
  372. package/serialization/resources/contracts/resources/v3/client/delete.d.ts +12 -0
  373. package/serialization/resources/contracts/resources/v3/client/delete.js +69 -0
  374. package/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/client/get.d.ts +2 -7
  375. package/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/client/get.js +1 -7
  376. package/serialization/resources/contracts/resources/v3/client/index.d.ts +6 -0
  377. package/{dist/api/resources/insurancePayments/resources/v1 → serialization/resources/contracts/resources/v3}/client/index.js +5 -2
  378. package/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.d.ts +9 -0
  379. package/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityCreate.js +40 -0
  380. package/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.d.ts +10 -0
  381. package/serialization/resources/contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.js +42 -0
  382. package/serialization/resources/contracts/resources/v3/client/requests/index.d.ts +2 -0
  383. package/serialization/resources/contracts/resources/v3/client/requests/index.js +7 -0
  384. package/serialization/resources/contracts/resources/v3/client/update.d.ts +17 -0
  385. package/serialization/resources/contracts/resources/v3/client/update.js +75 -0
  386. package/serialization/resources/contracts/resources/v3/client/updateContractServiceFacility.d.ts +12 -0
  387. package/serialization/resources/contracts/resources/v3/client/updateContractServiceFacility.js +69 -0
  388. package/serialization/resources/contracts/resources/v3/types/Contract.d.ts +16 -0
  389. package/serialization/resources/{insurancePayments/resources/v1/types/InsurancePayment.js → contracts/resources/v3/types/Contract.js} +11 -10
  390. package/serialization/resources/contracts/resources/v3/types/ContractBase.d.ts +21 -0
  391. package/serialization/resources/contracts/resources/v3/types/ContractBase.js +53 -0
  392. package/serialization/resources/contracts/resources/v3/types/ContractCreate.d.ts +14 -0
  393. package/serialization/resources/contracts/resources/v3/types/ContractCreate.js +48 -0
  394. package/serialization/resources/contracts/resources/v3/types/ContractCreateUnion.d.ts +15 -0
  395. package/serialization/resources/contracts/resources/v3/types/ContractCreateUnion.js +49 -0
  396. package/serialization/resources/contracts/resources/v3/types/ContractId.d.ts +7 -0
  397. package/serialization/resources/contracts/resources/v3/types/ContractId.js +43 -0
  398. package/serialization/resources/contracts/resources/v3/types/ContractServiceFacility.d.ts +13 -0
  399. package/serialization/resources/contracts/resources/v3/types/ContractServiceFacility.js +47 -0
  400. package/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityBase.d.ts +10 -0
  401. package/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityBase.js +42 -0
  402. package/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityId.d.ts +7 -0
  403. package/serialization/resources/contracts/resources/v3/types/ContractServiceFacilityId.js +43 -0
  404. package/serialization/resources/contracts/resources/v3/types/ContractType.d.ts +7 -0
  405. package/{dist/serialization/resources/insurancePayments/resources/v1/client/index.js → serialization/resources/contracts/resources/v3/types/ContractType.js} +4 -3
  406. package/serialization/resources/contracts/resources/v3/types/ContractUnion.d.ts +14 -0
  407. package/serialization/resources/contracts/resources/v3/types/ContractUnion.js +48 -0
  408. package/serialization/resources/contracts/resources/v3/types/ContractUpdate.d.ts +22 -0
  409. package/serialization/resources/contracts/resources/v3/types/ContractUpdate.js +54 -0
  410. package/serialization/resources/contracts/resources/v3/types/ContractUpdateUnion.d.ts +15 -0
  411. package/serialization/resources/contracts/resources/v3/types/ContractUpdateUnion.js +49 -0
  412. package/serialization/resources/contracts/resources/v3/types/ContractWithProvidersUnion.d.ts +15 -0
  413. package/serialization/resources/contracts/resources/v3/types/ContractWithProvidersUnion.js +49 -0
  414. package/serialization/resources/contracts/resources/v3/types/ContractingProviderId.d.ts +7 -0
  415. package/serialization/resources/contracts/resources/v3/types/ContractingProviderId.js +43 -0
  416. package/serialization/resources/contracts/resources/v3/types/ContractsPage.d.ts +11 -0
  417. package/{dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js → serialization/resources/contracts/resources/v3/types/ContractsPage.js} +4 -4
  418. package/serialization/resources/contracts/resources/v3/types/InstitutionalContract.d.ts +11 -0
  419. package/serialization/resources/contracts/resources/v3/types/InstitutionalContract.js +45 -0
  420. package/serialization/resources/contracts/resources/v3/types/InstitutionalContractCreate.d.ts +11 -0
  421. package/serialization/resources/contracts/resources/v3/types/InstitutionalContractCreate.js +45 -0
  422. package/serialization/resources/contracts/resources/v3/types/InstitutionalContractUpdate.d.ts +11 -0
  423. package/serialization/resources/contracts/resources/v3/types/InstitutionalContractUpdate.js +45 -0
  424. package/serialization/resources/contracts/resources/v3/types/ProfessionalContract.d.ts +10 -0
  425. package/serialization/resources/contracts/resources/v3/types/ProfessionalContract.js +44 -0
  426. package/serialization/resources/contracts/resources/v3/types/ProfessionalContractCreate.d.ts +11 -0
  427. package/serialization/resources/contracts/resources/v3/types/ProfessionalContractCreate.js +45 -0
  428. package/serialization/resources/contracts/resources/v3/types/ProfessionalContractUpdate.d.ts +11 -0
  429. package/serialization/resources/contracts/resources/v3/types/ProfessionalContractUpdate.js +45 -0
  430. package/serialization/resources/contracts/resources/v3/types/RenderingProviderid.d.ts +7 -0
  431. package/serialization/resources/contracts/resources/v3/types/RenderingProviderid.js +43 -0
  432. package/serialization/resources/contracts/resources/v3/types/index.d.ts +22 -0
  433. package/serialization/resources/contracts/resources/v3/types/index.js +38 -0
  434. package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
  435. package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
  436. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
  437. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
  438. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +2 -0
  439. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +2 -0
  440. package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
  441. package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
  442. package/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +9 -0
  443. package/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js +41 -0
  444. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +2 -0
  445. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.js +2 -0
  446. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +2 -0
  447. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.js +2 -0
  448. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +2 -0
  449. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +2 -0
  450. package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  451. package/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
  452. package/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  453. package/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  454. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +6 -1
  455. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +6 -0
  456. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +6 -1
  457. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +6 -0
  458. package/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +6 -1
  459. package/serialization/resources/encounters/resources/v4/client/createUniversal.js +6 -0
  460. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  461. package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  462. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
  463. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +2 -0
  464. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
  465. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +2 -0
  466. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
  467. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +2 -0
  468. package/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +1 -1
  469. package/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +5 -1
  470. package/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +2 -2
  471. package/serialization/resources/index.d.ts +1 -1
  472. package/serialization/resources/index.js +2 -2
  473. package/{dist/api/resources/insurancePayments → serialization/resources/relatedCausesInformation}/index.d.ts +0 -1
  474. package/{dist/api/resources/insurancePayments → serialization/resources/relatedCausesInformation}/index.js +0 -1
  475. package/serialization/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
  476. package/serialization/resources/relatedCausesInformation/resources/v1/index.js +17 -0
  477. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +7 -0
  478. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js +39 -0
  479. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +12 -0
  480. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js +44 -0
  481. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +9 -0
  482. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +40 -0
  483. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +9 -0
  484. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +40 -0
  485. package/serialization/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
  486. package/serialization/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
  487. package/version.d.ts +1 -1
  488. package/version.js +1 -1
  489. package/api/resources/insurancePayments/client/Client.d.ts +0 -14
  490. package/api/resources/insurancePayments/client/Client.js +0 -15
  491. package/api/resources/insurancePayments/client/index.d.ts +0 -1
  492. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -38
  493. package/api/resources/insurancePayments/resources/v1/client/Client.js +0 -237
  494. package/api/resources/insurancePayments/resources/v1/client/get.d.ts +0 -31
  495. package/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -31
  496. package/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
  497. package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +0 -18
  498. package/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  499. package/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -9
  500. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -5
  501. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -6
  502. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +0 -9
  503. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -4
  504. package/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
  505. package/dist/api/resources/insurancePayments/client/Client.d.ts +0 -14
  506. package/dist/api/resources/insurancePayments/client/Client.js +0 -15
  507. package/dist/api/resources/insurancePayments/client/index.d.ts +0 -1
  508. package/dist/api/resources/insurancePayments/client/index.js +0 -2
  509. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -38
  510. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +0 -237
  511. package/dist/api/resources/insurancePayments/resources/v1/client/get.d.ts +0 -31
  512. package/dist/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -31
  513. package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
  514. package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +0 -18
  515. package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  516. package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.js +0 -2
  517. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -9
  518. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -5
  519. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -6
  520. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +0 -9
  521. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -4
  522. package/dist/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
  523. package/dist/api/resources/insurancePayments/resources/v1/types/index.js +0 -20
  524. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -2
  525. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -17
  526. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -7
  527. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -7
  528. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -11
  529. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
  530. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -20
  531. package/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -2
  532. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -17
  533. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -7
  534. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -7
  535. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -11
  536. package/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
  537. package/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -20
  538. /package/api/resources/{insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js → contracts/resources/v3/client/requests/ContractServiceFacilityCreate.js} +0 -0
  539. /package/api/resources/{insurancePayments/resources/v1/types/InsurancePayment.js → contracts/resources/v3/client/requests/ContractServiceFacilityUpdate.js} +0 -0
  540. /package/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentsPage.js → contracts/resources/v3/client/requests/GetMultiContractsRequest.js} +0 -0
  541. /package/api/resources/{insurancePayments/client → contracts/resources/v3/client/requests}/index.js +0 -0
  542. /package/api/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.d.ts +0 -0
  543. /package/api/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.js +0 -0
  544. /package/{dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js → api/resources/contracts/resources/v3/types/Contract.js} +0 -0
  545. /package/{dist/api/resources/insurancePayments/resources/v1/types/InsurancePayment.js → api/resources/contracts/resources/v3/types/ContractBase.js} +0 -0
  546. /package/{dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js → api/resources/contracts/resources/v3/types/ContractCreate.js} +0 -0
  547. /package/{dist/serialization/resources/insurancePayments → api/resources/relatedCausesInformation}/index.d.ts +0 -0
  548. /package/{dist/serialization/resources/insurancePayments → api/resources/relatedCausesInformation}/index.js +0 -0
  549. /package/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
  550. /package/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
  551. /package/{api/resources/insurancePayments/resources/v1 → dist/api/resources/contracts/resources/v3}/client/requests/index.js +0 -0
  552. /package/dist/api/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.d.ts +0 -0
  553. /package/dist/api/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.js +0 -0
  554. /package/{serialization/resources/insurancePayments → dist/api/resources/relatedCausesInformation}/index.d.ts +0 -0
  555. /package/{serialization/resources/insurancePayments → dist/api/resources/relatedCausesInformation}/index.js +0 -0
  556. /package/dist/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
  557. /package/dist/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
  558. /package/dist/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.d.ts +0 -0
  559. /package/dist/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.js +0 -0
  560. /package/dist/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
  561. /package/dist/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
  562. /package/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.d.ts +0 -0
  563. /package/serialization/resources/{insurancePayments/resources/v1 → contracts/resources/v3}/index.js +0 -0
  564. /package/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
  565. /package/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
@@ -1,6 +1,6 @@
1
1
  import type * as core from "../../../../../../core";
2
2
  import * as CandidApi from "../../../../../index";
3
- export type Error = CandidApi.encounters.v4.create.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.create.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.create.Error.EntityNotFoundError | CandidApi.encounters.v4.create.Error.UnauthorizedError | CandidApi.encounters.v4.create.Error.EncounterGuarantorMissingContactInfoError | CandidApi.encounters.v4.create.Error.HttpRequestValidationsError | CandidApi.encounters.v4.create.Error.CashPayPayerError | CandidApi.encounters.v4.create.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.create.Error.InvalidTagNamesError | CandidApi.encounters.v4.create.Error.HttpRequestValidationError | CandidApi.encounters.v4.create.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.create.Error.EncounterRenderingOrAttendingProviderRequired | CandidApi.encounters.v4.create.Error._Unknown;
3
+ export type Error = CandidApi.encounters.v4.create.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.create.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.create.Error.EntityNotFoundError | CandidApi.encounters.v4.create.Error.UnauthorizedError | CandidApi.encounters.v4.create.Error.EncounterGuarantorMissingContactInfoError | CandidApi.encounters.v4.create.Error.HttpRequestValidationsError | CandidApi.encounters.v4.create.Error.CashPayPayerError | CandidApi.encounters.v4.create.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.create.Error.UnprocessableEntityError | CandidApi.encounters.v4.create.Error.InvalidTagNamesError | CandidApi.encounters.v4.create.Error.HttpRequestValidationError | CandidApi.encounters.v4.create.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.create.Error.EncounterRenderingOrAttendingProviderRequired | CandidApi.encounters.v4.create.Error._Unknown;
4
4
  export declare namespace Error {
5
5
  interface EncounterExternalIdUniquenessError extends _Utils {
6
6
  errorName: "EncounterExternalIdUniquenessError";
@@ -34,6 +34,10 @@ export declare namespace Error {
34
34
  errorName: "SchemaInstanceValidationHttpFailure";
35
35
  content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
36
36
  }
37
+ interface UnprocessableEntityError extends _Utils {
38
+ errorName: "UnprocessableEntityError";
39
+ content: CandidApi.UnprocessableEntityErrorMessage;
40
+ }
37
41
  interface InvalidTagNamesError extends _Utils {
38
42
  errorName: "InvalidTagNamesError";
39
43
  content: CandidApi.encounters.v4.InvalidTagNamesErrorType;
@@ -66,6 +70,7 @@ export declare namespace Error {
66
70
  httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
67
71
  cashPayPayerError: (value: CandidApi.encounters.v4.CashPayPayerErrorMessage) => _Result;
68
72
  schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
73
+ unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
69
74
  invalidTagNamesError: (value: CandidApi.encounters.v4.InvalidTagNamesErrorType) => _Result;
70
75
  httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
71
76
  payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => _Result;
@@ -82,6 +87,7 @@ export declare const Error: {
82
87
  readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.create.Error.HttpRequestValidationsError;
83
88
  readonly cashPayPayerError: (value: CandidApi.encounters.v4.CashPayPayerErrorMessage) => CandidApi.encounters.v4.create.Error.CashPayPayerError;
84
89
  readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.create.Error.SchemaInstanceValidationHttpFailure;
90
+ readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounters.v4.create.Error.UnprocessableEntityError;
85
91
  readonly invalidTagNamesError: (value: CandidApi.encounters.v4.InvalidTagNamesErrorType) => CandidApi.encounters.v4.create.Error.InvalidTagNamesError;
86
92
  readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.encounters.v4.create.Error.HttpRequestValidationError;
87
93
  readonly payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => CandidApi.encounters.v4.create.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
@@ -109,6 +109,15 @@ exports.Error = {
109
109
  },
110
110
  };
111
111
  },
112
+ unprocessableEntityError: (value) => {
113
+ return {
114
+ content: value,
115
+ errorName: "UnprocessableEntityError",
116
+ _visit: function (visitor) {
117
+ return CandidApi.encounters.v4.create.Error._visit(this, visitor);
118
+ },
119
+ };
120
+ },
112
121
  invalidTagNamesError: (value) => {
113
122
  return {
114
123
  content: value,
@@ -172,6 +181,8 @@ exports.Error = {
172
181
  return visitor.cashPayPayerError(value.content);
173
182
  case "SchemaInstanceValidationHttpFailure":
174
183
  return visitor.schemaInstanceValidationHttpFailure(value.content);
184
+ case "UnprocessableEntityError":
185
+ return visitor.unprocessableEntityError(value.content);
175
186
  case "InvalidTagNamesError":
176
187
  return visitor.invalidTagNamesError(value.content);
177
188
  case "HttpRequestValidationError":
@@ -1,6 +1,6 @@
1
1
  import type * as core from "../../../../../../core";
2
2
  import * as CandidApi from "../../../../../index";
3
- export type Error = CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.UnauthorizedError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Unknown;
3
+ export type Error = CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.UnauthorizedError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.UnprocessableEntityError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Unknown;
4
4
  export declare namespace Error {
5
5
  interface EncounterExternalIdUniquenessError extends _Utils {
6
6
  errorName: "EncounterExternalIdUniquenessError";
@@ -26,6 +26,10 @@ export declare namespace Error {
26
26
  errorName: "SchemaInstanceValidationHttpFailure";
27
27
  content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
28
28
  }
29
+ interface UnprocessableEntityError extends _Utils {
30
+ errorName: "UnprocessableEntityError";
31
+ content: CandidApi.UnprocessableEntityErrorMessage;
32
+ }
29
33
  interface HttpRequestValidationError extends _Utils {
30
34
  errorName: "HttpRequestValidationError";
31
35
  content: CandidApi.RequestValidationError;
@@ -48,6 +52,7 @@ export declare namespace Error {
48
52
  unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
49
53
  httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
50
54
  schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
55
+ unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
51
56
  httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
52
57
  payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => _Result;
53
58
  _other: (value: core.Fetcher.Error) => _Result;
@@ -60,6 +65,7 @@ export declare const Error: {
60
65
  readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.UnauthorizedError;
61
66
  readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError;
62
67
  readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure;
68
+ readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.UnprocessableEntityError;
63
69
  readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationError;
64
70
  readonly payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
65
71
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Unknown;
@@ -91,6 +91,15 @@ exports.Error = {
91
91
  },
92
92
  };
93
93
  },
94
+ unprocessableEntityError: (value) => {
95
+ return {
96
+ content: value,
97
+ errorName: "UnprocessableEntityError",
98
+ _visit: function (visitor) {
99
+ return CandidApi.encounters.v4.createFromPreEncounterPatient.Error._visit(this, visitor);
100
+ },
101
+ };
102
+ },
94
103
  httpRequestValidationError: (value) => {
95
104
  return {
96
105
  content: value,
@@ -132,6 +141,8 @@ exports.Error = {
132
141
  return visitor.httpRequestValidationsError(value.content);
133
142
  case "SchemaInstanceValidationHttpFailure":
134
143
  return visitor.schemaInstanceValidationHttpFailure(value.content);
144
+ case "UnprocessableEntityError":
145
+ return visitor.unprocessableEntityError(value.content);
135
146
  case "HttpRequestValidationError":
136
147
  return visitor.httpRequestValidationError(value.content);
137
148
  case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
@@ -1,6 +1,6 @@
1
1
  import type * as core from "../../../../../../core";
2
2
  import * as CandidApi from "../../../../../index";
3
- export type Error = CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.UnauthorizedError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.HttpRequestValidationError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error._Unknown;
3
+ export type Error = CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.UnauthorizedError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.UnprocessableEntityError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.HttpRequestValidationError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error._Unknown;
4
4
  export declare namespace Error {
5
5
  interface EncounterExternalIdUniquenessError extends _Utils {
6
6
  errorName: "EncounterExternalIdUniquenessError";
@@ -26,6 +26,10 @@ export declare namespace Error {
26
26
  errorName: "SchemaInstanceValidationHttpFailure";
27
27
  content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
28
28
  }
29
+ interface UnprocessableEntityError extends _Utils {
30
+ errorName: "UnprocessableEntityError";
31
+ content: CandidApi.UnprocessableEntityErrorMessage;
32
+ }
29
33
  interface HttpRequestValidationError extends _Utils {
30
34
  errorName: "HttpRequestValidationError";
31
35
  content: CandidApi.RequestValidationError;
@@ -48,6 +52,7 @@ export declare namespace Error {
48
52
  unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
49
53
  httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
50
54
  schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
55
+ unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
51
56
  httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
52
57
  payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => _Result;
53
58
  _other: (value: core.Fetcher.Error) => _Result;
@@ -60,6 +65,7 @@ export declare const Error: {
60
65
  readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.UnauthorizedError;
61
66
  readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.HttpRequestValidationsError;
62
67
  readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.SchemaInstanceValidationHttpFailure;
68
+ readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.UnprocessableEntityError;
63
69
  readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.HttpRequestValidationError;
64
70
  readonly payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
65
71
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error._Unknown;
@@ -91,6 +91,15 @@ exports.Error = {
91
91
  },
92
92
  };
93
93
  },
94
+ unprocessableEntityError: (value) => {
95
+ return {
96
+ content: value,
97
+ errorName: "UnprocessableEntityError",
98
+ _visit: function (visitor) {
99
+ return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error._visit(this, visitor);
100
+ },
101
+ };
102
+ },
94
103
  httpRequestValidationError: (value) => {
95
104
  return {
96
105
  content: value,
@@ -132,6 +141,8 @@ exports.Error = {
132
141
  return visitor.httpRequestValidationsError(value.content);
133
142
  case "SchemaInstanceValidationHttpFailure":
134
143
  return visitor.schemaInstanceValidationHttpFailure(value.content);
144
+ case "UnprocessableEntityError":
145
+ return visitor.unprocessableEntityError(value.content);
135
146
  case "HttpRequestValidationError":
136
147
  return visitor.httpRequestValidationError(value.content);
137
148
  case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
@@ -1,6 +1,6 @@
1
1
  import type * as core from "../../../../../../core";
2
2
  import * as CandidApi from "../../../../../index";
3
- export type Error = CandidApi.encounters.v4.createUniversal.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createUniversal.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createUniversal.Error.EntityNotFoundError | CandidApi.encounters.v4.createUniversal.Error.UnauthorizedError | CandidApi.encounters.v4.createUniversal.Error.EncounterGuarantorMissingContactInfoError | CandidApi.encounters.v4.createUniversal.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createUniversal.Error.CashPayPayerError | CandidApi.encounters.v4.createUniversal.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createUniversal.Error.InvalidTagNamesError | CandidApi.encounters.v4.createUniversal.Error.HttpRequestValidationError | CandidApi.encounters.v4.createUniversal.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.createUniversal.Error.EncounterRenderingOrAttendingProviderRequired | CandidApi.encounters.v4.createUniversal.Error._Unknown;
3
+ export type Error = CandidApi.encounters.v4.createUniversal.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createUniversal.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createUniversal.Error.EntityNotFoundError | CandidApi.encounters.v4.createUniversal.Error.UnauthorizedError | CandidApi.encounters.v4.createUniversal.Error.EncounterGuarantorMissingContactInfoError | CandidApi.encounters.v4.createUniversal.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createUniversal.Error.CashPayPayerError | CandidApi.encounters.v4.createUniversal.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createUniversal.Error.UnprocessableEntityError | CandidApi.encounters.v4.createUniversal.Error.InvalidTagNamesError | CandidApi.encounters.v4.createUniversal.Error.HttpRequestValidationError | CandidApi.encounters.v4.createUniversal.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | CandidApi.encounters.v4.createUniversal.Error.EncounterRenderingOrAttendingProviderRequired | CandidApi.encounters.v4.createUniversal.Error._Unknown;
4
4
  export declare namespace Error {
5
5
  interface EncounterExternalIdUniquenessError extends _Utils {
6
6
  errorName: "EncounterExternalIdUniquenessError";
@@ -34,6 +34,10 @@ export declare namespace Error {
34
34
  errorName: "SchemaInstanceValidationHttpFailure";
35
35
  content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
36
36
  }
37
+ interface UnprocessableEntityError extends _Utils {
38
+ errorName: "UnprocessableEntityError";
39
+ content: CandidApi.UnprocessableEntityErrorMessage;
40
+ }
37
41
  interface InvalidTagNamesError extends _Utils {
38
42
  errorName: "InvalidTagNamesError";
39
43
  content: CandidApi.encounters.v4.InvalidTagNamesErrorType;
@@ -66,6 +70,7 @@ export declare namespace Error {
66
70
  httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
67
71
  cashPayPayerError: (value: CandidApi.encounters.v4.CashPayPayerErrorMessage) => _Result;
68
72
  schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
73
+ unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
69
74
  invalidTagNamesError: (value: CandidApi.encounters.v4.InvalidTagNamesErrorType) => _Result;
70
75
  httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
71
76
  payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => _Result;
@@ -82,6 +87,7 @@ export declare const Error: {
82
87
  readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.createUniversal.Error.HttpRequestValidationsError;
83
88
  readonly cashPayPayerError: (value: CandidApi.encounters.v4.CashPayPayerErrorMessage) => CandidApi.encounters.v4.createUniversal.Error.CashPayPayerError;
84
89
  readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.createUniversal.Error.SchemaInstanceValidationHttpFailure;
90
+ readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounters.v4.createUniversal.Error.UnprocessableEntityError;
85
91
  readonly invalidTagNamesError: (value: CandidApi.encounters.v4.InvalidTagNamesErrorType) => CandidApi.encounters.v4.createUniversal.Error.InvalidTagNamesError;
86
92
  readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.encounters.v4.createUniversal.Error.HttpRequestValidationError;
87
93
  readonly payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: (value: CandidApi.encounters.v4.PayerPlanGroupPayerDoesNotMatchInsuranceCardError) => CandidApi.encounters.v4.createUniversal.Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
@@ -109,6 +109,15 @@ exports.Error = {
109
109
  },
110
110
  };
111
111
  },
112
+ unprocessableEntityError: (value) => {
113
+ return {
114
+ content: value,
115
+ errorName: "UnprocessableEntityError",
116
+ _visit: function (visitor) {
117
+ return CandidApi.encounters.v4.createUniversal.Error._visit(this, visitor);
118
+ },
119
+ };
120
+ },
112
121
  invalidTagNamesError: (value) => {
113
122
  return {
114
123
  content: value,
@@ -172,6 +181,8 @@ exports.Error = {
172
181
  return visitor.cashPayPayerError(value.content);
173
182
  case "SchemaInstanceValidationHttpFailure":
174
183
  return visitor.schemaInstanceValidationHttpFailure(value.content);
184
+ case "UnprocessableEntityError":
185
+ return visitor.unprocessableEntityError(value.content);
175
186
  case "InvalidTagNamesError":
176
187
  return visitor.invalidTagNamesError(value.content);
177
188
  case "HttpRequestValidationError":
@@ -469,6 +469,7 @@ export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
469
469
  operatingProvider?: CandidApi.encounterProviders.v2.EncounterProvider;
470
470
  /** 837i NM1 2500 variant for Loop ID-2310. Used to indicate the individual whom has secondary responsibility for surgical procedures in institutional claims processing. Only used when operating_provider is also set. */
471
471
  otherOperatingProvider?: CandidApi.encounterProviders.v2.EncounterProvider;
472
+ relatedCausesInformation?: CandidApi.relatedCausesInformation.v1.RelatedCausesInformation;
472
473
  /** Describes the currently expected target form for this encounter. This effects what validations and queues the form is processed under. When this value is not set, it should be assumed to be TARGET_PROFESSIONAL. */
473
474
  submissionExpectation?: CandidApi.encounters.v4.EncounterSubmissionExpectation;
474
475
  /** Four digit code used in institutional forms to indicate the type of bill (e.g., hospital inpatient, hospital outpatient). First digit is a leading 0, followed by the type_of_facility, type_of_care, then frequency_code. Professional forms are not required to submit this attribute. You may send the 4 digit code via raw_code, or each individual digit separately via composite_codes. */
@@ -63,4 +63,6 @@ export interface UniversalEncounterCreateBase extends CandidApi.encounters.v4.En
63
63
  claimSupplementalInformation?: CandidApi.encounters.v4.ClaimSupplementalInformation[];
64
64
  /** When Medicaid is billed as the secondary payer the Carrier Code is used to identify the primary payer. This is required for certain states. */
65
65
  secondaryPayerCarrierCode?: string;
66
+ /** Corresponds to box 10a on the CMS-1500 (Loop 2300 on 837) */
67
+ relatedCausesInformation?: CandidApi.relatedCausesInformation.v1.RelatedCausesInformationCreate;
66
68
  }
@@ -34,4 +34,6 @@ export interface UniversalEncounterCreateFromPreEncounterBase extends CandidApi.
34
34
  * instances cannot be created for the same schema on an encounter.
35
35
  */
36
36
  schemaInstances?: CandidApi.customSchemas.v1.SchemaInstance[];
37
+ /** Corresponds to box 10a on the CMS-1500 (Loop 2300 on 837) */
38
+ relatedCausesInformation?: CandidApi.relatedCausesInformation.v1.RelatedCausesInformationCreate;
37
39
  }
@@ -55,4 +55,6 @@ export interface UniversalEncounterUpdateBase extends CandidApi.encounters.v4.En
55
55
  billingProvider?: CandidApi.encounterProviders.v2.BillingProviderUpdate;
56
56
  /** Box 24B on the CMS-1500 claim form. 837p Loop2300, CLM-05-1. This box is not used on a UB-04 or 837i claim form. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
57
57
  placeOfServiceCodeAsSubmitted?: CandidApi.FacilityTypeCode;
58
+ /** Corresponds to box 10a on the CMS-1500 (Loop 2300 on 837) */
59
+ relatedCausesInformation?: CandidApi.relatedCausesInformation.v1.RelatedCausesInformationUpdate;
58
60
  }
@@ -7,7 +7,20 @@ export interface GetEventScanRequest {
7
7
  pageToken?: CandidApi.PageToken;
8
8
  /** Number of events to return. Minimum value is 1, maximum is 100. Defaults to 10. */
9
9
  limit?: number;
10
- /** Event types to filter on. Defaults to showing all event types. */
10
+ /**
11
+ * Event types to filter on. Defaults to showing all event types.
12
+ *
13
+ * | Event Type | Description |
14
+ * |------------|-------------|
15
+ * | `CandidApi.Encounter.Created` | When a new claim is created |
16
+ * | `CandidApi.Encounter.StatusUpdated` | When a claim's status has been updated |
17
+ * | `PreEncounter.Patient.Created` | When a new patient has been created |
18
+ * | `PreEncounter.Patient.Updated` | When a patient's information has been updated |
19
+ * | `PreEncounter.Coverage.Created` | When a new coverage has been created for a patient |
20
+ * | `PreEncounter.Coverage.Updated` | When a patient's coverage has been updated |
21
+ * | `PreEncounter.Tag.Created` | When a new tag has been created for a patient |
22
+ * | `PreEncounter.Tag.Updated` | When a patient's tag has been updated |
23
+ */
11
24
  eventTypes?: string | string[];
12
25
  /** Filters for only events created before this time (inclusive). */
13
26
  createdBefore?: Date;
@@ -70,7 +70,15 @@ export declare class V3 {
70
70
  getRateHistory(rateId: CandidApi.RateId, requestOptions?: V3.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.feeSchedules.v3.Rate[], CandidApi.feeSchedules.v3.getRateHistory.Error>>;
71
71
  private __getRateHistory;
72
72
  /**
73
- * Uploads a new fee schedule.\n Each rate may either be totally new as qualified by it's dimensions or a new version for an existing rate.\n If adding a new version to an existing rate, the rate must be posted with the next version number (previous version + 1) or a EntityConflictError will be returned.\n Use the dry run flag to discover already existing rates and to run validations. If validations for any rate fail, no rates will be saved to the system.
73
+ * Uploads a new fee schedule.
74
+ *
75
+ * Each rate may either be totally new as qualified by it's dimensions or a new version for an existing rate.
76
+ *
77
+ * If adding a new version to an existing rate, the rate must be posted with the next version number (previous version + 1) or a EntityConflictError will
78
+ * be returned.
79
+ *
80
+ * Use the dry run flag to discover already existing rates and to run validations. If validations for any rate fail, no rates will
81
+ * be saved to the system.
74
82
  *
75
83
  * @param {CandidApi.feeSchedules.v3.FeeScheduleUploadRequest} request
76
84
  * @param {V3.RequestOptions} requestOptions - Request-specific configuration.
@@ -536,7 +536,15 @@ class V3 {
536
536
  });
537
537
  }
538
538
  /**
539
- * Uploads a new fee schedule.\n Each rate may either be totally new as qualified by it's dimensions or a new version for an existing rate.\n If adding a new version to an existing rate, the rate must be posted with the next version number (previous version + 1) or a EntityConflictError will be returned.\n Use the dry run flag to discover already existing rates and to run validations. If validations for any rate fail, no rates will be saved to the system.
539
+ * Uploads a new fee schedule.
540
+ *
541
+ * Each rate may either be totally new as qualified by it's dimensions or a new version for an existing rate.
542
+ *
543
+ * If adding a new version to an existing rate, the rate must be posted with the next version number (previous version + 1) or a EntityConflictError will
544
+ * be returned.
545
+ *
546
+ * Use the dry run flag to discover already existing rates and to run validations. If validations for any rate fail, no rates will
547
+ * be saved to the system.
540
548
  *
541
549
  * @param {CandidApi.feeSchedules.v3.FeeScheduleUploadRequest} request
542
550
  * @param {V3.RequestOptions} requestOptions - Request-specific configuration.
@@ -1,5 +1,10 @@
1
1
  /**
2
- * Rate thresholds that determine fee schedule rate matching behavior. When a service line is adjudicated by a payer Candid determines if the payer's allowed amount "matches" the rate value. If the allowed amount doesn't equal the rate value, Candid moves the claim to a PAID_INCORRECTLY state. These optional thresholds allow a user to set wiggle room to avoid claims moving to PAID_INCORRECTLY and instead have them move directly to FINALIZED_PAID when the payer's allowed amount is greater than [rate_cents - lower_threshold_cents] and less than [rate_cents + upper_threshold_cents].\n Additionally, a client can set disable_paid_incorrectly to avoid the PAID_INCORRECTLY claim status entirely.
2
+ * Rate thresholds that determine fee schedule rate matching behavior. When a service line is adjudicated by a payer Candid determines if the payer's
3
+ * allowed amount "matches" the rate value. If the allowed amount doesn't equal the rate value, Candid moves the claim to a PAID_INCORRECTLY state. These
4
+ * optional thresholds allow a user to set wiggle room to avoid claims moving to PAID_INCORRECTLY and instead have them move directly to FINALIZED_PAID
5
+ * when the payer's allowed amount is greater than [rate_cents - lower_threshold_cents] and less than [rate_cents + upper_threshold_cents].
6
+ *
7
+ * Additionally, a client can set disable_paid_incorrectly to avoid the PAID_INCORRECTLY claim status entirely.
3
8
  */
4
9
  export interface PayerThreshold {
5
10
  upperThresholdCents?: number;
@@ -1 +1,5 @@
1
- export type D8Date = Date;
1
+ import type * as CandidApi from "../../../../../index";
2
+ export type D8Date = string & {
3
+ healthCareCodeInformation_v1_D8Date: void;
4
+ };
5
+ export declare function D8Date(value: string): CandidApi.healthCareCodeInformation.v1.D8Date;
@@ -1,3 +1,7 @@
1
1
  "use strict";
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.D8Date = D8Date;
5
+ function D8Date(value) {
6
+ return value;
7
+ }
@@ -1,16 +1,4 @@
1
1
  export interface Rd8Date {
2
- /**
3
- * An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/).
4
- * For example, 2017-07-21T17:32:28Z.
5
- * In practice, only the date portion of this is used for claim submission, so
6
- * midnight time is fine.
7
- */
8
- start: Date;
9
- /**
10
- * An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/).
11
- * For example, 2017-07-21T17:32:28Z.
12
- * In practice, only the date portion of this is used for claim submission, so
13
- * midnight time is fine.
14
- */
15
- end: Date;
2
+ start: string;
3
+ end: string;
16
4
  }
@@ -38,7 +38,6 @@ export * as individual from "./individual";
38
38
  export * from "./individual/types";
39
39
  export * as insuranceAdjudications from "./insuranceAdjudications";
40
40
  export * as insuranceCards from "./insuranceCards";
41
- export * as insurancePayments from "./insurancePayments";
42
41
  export * as insuranceRefunds from "./insuranceRefunds";
43
42
  export * as invoices from "./invoices";
44
43
  export * from "./invoices/types";
@@ -58,6 +57,7 @@ export * from "./paymentAccountConfigs/types";
58
57
  export * as pipelineCommons from "./pipelineCommons";
59
58
  export * from "./pipelineCommons/types";
60
59
  export * as preEncounter from "./preEncounter";
60
+ export * as relatedCausesInformation from "./relatedCausesInformation";
61
61
  export * as serviceFacility from "./serviceFacility";
62
62
  export * from "./serviceFacility/types";
63
63
  export * as serviceLines from "./serviceLines";
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.serviceFacility = exports.preEncounter = exports.pipelineCommons = exports.paymentAccountConfigs = exports.payers = exports.payerPlanGroups = exports.patientRefunds = exports.patientPayments = exports.patientAr = exports.organizationServiceFacilities = exports.organizationProviders = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.individual = exports.importInvoice = exports.identifiers = exports.healthCareCodeInformation = exports.guarantor = exports.financials = exports.feeSchedules = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.events = exports.era = exports.encountersUniversal = exports.encounters = exports.encounterSupplementalInformation = exports.encounterProviders = exports.encounterAttachments = exports.eligibility = exports.diagnoses = exports.customSchemas = exports.credentialing = exports.contracts = exports.commons = exports.clinicalTrials = exports.claims = exports.claimSubmission = exports.chargeCaptureBundles = exports.chargeCapture = exports.billingNotes = exports.auth = void 0;
39
+ exports.serviceFacility = exports.relatedCausesInformation = exports.preEncounter = exports.pipelineCommons = exports.paymentAccountConfigs = exports.payers = exports.payerPlanGroups = exports.patientRefunds = exports.patientPayments = exports.patientAr = exports.organizationServiceFacilities = exports.organizationProviders = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insuranceCards = exports.insuranceAdjudications = exports.individual = exports.importInvoice = exports.identifiers = exports.healthCareCodeInformation = exports.guarantor = exports.financials = exports.feeSchedules = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.events = exports.era = exports.encountersUniversal = exports.encounters = exports.encounterSupplementalInformation = exports.encounterProviders = exports.encounterAttachments = exports.eligibility = exports.diagnoses = exports.customSchemas = exports.credentialing = exports.contracts = exports.commons = exports.clinicalTrials = exports.claims = exports.claimSubmission = exports.chargeCaptureBundles = exports.chargeCapture = exports.billingNotes = exports.auth = void 0;
40
40
  exports.yesNoIndicator = exports.x12 = exports.writeOffs = exports.users = exports.tasks = exports.tags = exports.superbills = exports.serviceLines = void 0;
41
41
  exports.auth = __importStar(require("./auth"));
42
42
  exports.billingNotes = __importStar(require("./billingNotes"));
@@ -78,7 +78,6 @@ exports.individual = __importStar(require("./individual"));
78
78
  __exportStar(require("./individual/types"), exports);
79
79
  exports.insuranceAdjudications = __importStar(require("./insuranceAdjudications"));
80
80
  exports.insuranceCards = __importStar(require("./insuranceCards"));
81
- exports.insurancePayments = __importStar(require("./insurancePayments"));
82
81
  exports.insuranceRefunds = __importStar(require("./insuranceRefunds"));
83
82
  exports.invoices = __importStar(require("./invoices"));
84
83
  __exportStar(require("./invoices/types"), exports);
@@ -98,6 +97,7 @@ __exportStar(require("./paymentAccountConfigs/types"), exports);
98
97
  exports.pipelineCommons = __importStar(require("./pipelineCommons"));
99
98
  __exportStar(require("./pipelineCommons/types"), exports);
100
99
  exports.preEncounter = __importStar(require("./preEncounter"));
100
+ exports.relatedCausesInformation = __importStar(require("./relatedCausesInformation"));
101
101
  exports.serviceFacility = __importStar(require("./serviceFacility"));
102
102
  __exportStar(require("./serviceFacility/types"), exports);
103
103
  exports.serviceLines = __importStar(require("./serviceLines"));
@@ -0,0 +1 @@
1
+ export * from "./types";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,21 @@
1
+ export declare const RelatedCausesCode: {
2
+ /**
3
+ * Auto Accident */
4
+ readonly Caa: "AA";
5
+ /**
6
+ * Abuse */
7
+ readonly Cab: "AB";
8
+ /**
9
+ * Another Party Responsible */
10
+ readonly Cap: "AP";
11
+ /**
12
+ * Employment */
13
+ readonly Cem: "EM";
14
+ /**
15
+ * Other Accident */
16
+ readonly Coa: "OA";
17
+ /**
18
+ * Mutually Defined */
19
+ readonly Czz: "ZZ";
20
+ };
21
+ export type RelatedCausesCode = (typeof RelatedCausesCode)[keyof typeof RelatedCausesCode];
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.RelatedCausesCode = void 0;
5
+ exports.RelatedCausesCode = {
6
+ /**
7
+ * Auto Accident */
8
+ Caa: "AA",
9
+ /**
10
+ * Abuse */
11
+ Cab: "AB",
12
+ /**
13
+ * Another Party Responsible */
14
+ Cap: "AP",
15
+ /**
16
+ * Employment */
17
+ Cem: "EM",
18
+ /**
19
+ * Other Accident */
20
+ Coa: "OA",
21
+ /**
22
+ * Mutually Defined */
23
+ Czz: "ZZ",
24
+ };
@@ -0,0 +1,6 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface RelatedCausesInformation {
3
+ relatedCausesCode1: CandidApi.relatedCausesInformation.v1.RelatedCausesCode;
4
+ relatedCausesCode2?: CandidApi.relatedCausesInformation.v1.RelatedCausesCode;
5
+ stateOrProvinceCode?: string;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface RelatedCausesInformationCreate extends CandidApi.relatedCausesInformation.v1.RelatedCausesInformation {
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface RelatedCausesInformationUpdate extends CandidApi.relatedCausesInformation.v1.RelatedCausesInformation {
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export * from "./RelatedCausesCode";
2
+ export * from "./RelatedCausesInformation";
3
+ export * from "./RelatedCausesInformationCreate";
4
+ export * from "./RelatedCausesInformationUpdate";
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./InsurancePayment"), exports);
18
- __exportStar(require("./InsurancePaymentId"), exports);
19
- __exportStar(require("./InsurancePaymentSortField"), exports);
20
- __exportStar(require("./InsurancePaymentsPage"), exports);
17
+ __exportStar(require("./RelatedCausesCode"), exports);
18
+ __exportStar(require("./RelatedCausesInformation"), exports);
19
+ __exportStar(require("./RelatedCausesInformationCreate"), exports);
20
+ __exportStar(require("./RelatedCausesInformationUpdate"), exports);
package/dist/Client.d.ts CHANGED
@@ -20,7 +20,6 @@ import { Guarantor } from "./api/resources/guarantor/client/Client";
20
20
  import { HealthCareCodeInformation } from "./api/resources/healthCareCodeInformation/client/Client";
21
21
  import { ImportInvoice } from "./api/resources/importInvoice/client/Client";
22
22
  import { InsuranceAdjudications } from "./api/resources/insuranceAdjudications/client/Client";
23
- import { InsurancePayments } from "./api/resources/insurancePayments/client/Client";
24
23
  import { InsuranceRefunds } from "./api/resources/insuranceRefunds/client/Client";
25
24
  import { MedicationDispense } from "./api/resources/medicationDispense/client/Client";
26
25
  import { NonInsurancePayerPayments } from "./api/resources/nonInsurancePayerPayments/client/Client";
@@ -72,7 +71,6 @@ export declare class CandidApiClient {
72
71
  protected _healthCareCodeInformation: HealthCareCodeInformation | undefined;
73
72
  protected _importInvoice: ImportInvoice | undefined;
74
73
  protected _insuranceAdjudications: InsuranceAdjudications | undefined;
75
- protected _insurancePayments: InsurancePayments | undefined;
76
74
  protected _insuranceRefunds: InsuranceRefunds | undefined;
77
75
  protected _medicationDispense: MedicationDispense | undefined;
78
76
  protected _nonInsurancePayerPayments: NonInsurancePayerPayments | undefined;
@@ -113,7 +111,6 @@ export declare class CandidApiClient {
113
111
  get healthCareCodeInformation(): HealthCareCodeInformation;
114
112
  get importInvoice(): ImportInvoice;
115
113
  get insuranceAdjudications(): InsuranceAdjudications;
116
- get insurancePayments(): InsurancePayments;
117
114
  get insuranceRefunds(): InsuranceRefunds;
118
115
  get medicationDispense(): MedicationDispense;
119
116
  get nonInsurancePayerPayments(): NonInsurancePayerPayments;