candidhealth 1.17.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 (284) hide show
  1. package/Client.d.ts +0 -3
  2. package/Client.js +36 -41
  3. package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +6 -0
  4. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +6 -0
  5. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +6 -0
  6. package/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +6 -0
  7. package/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +4 -0
  8. package/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +6 -0
  9. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +6 -0
  10. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +6 -0
  11. package/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  12. package/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
  13. package/api/resources/encounters/resources/v4/client/Client.d.ts +15 -0
  14. package/api/resources/encounters/resources/v4/client/Client.js +19 -0
  15. package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  16. package/api/resources/encounters/resources/v4/client/create.js +11 -0
  17. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +7 -1
  18. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +11 -0
  19. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +7 -1
  20. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +11 -0
  21. package/api/resources/encounters/resources/v4/client/createUniversal.d.ts +7 -1
  22. package/api/resources/encounters/resources/v4/client/createUniversal.js +11 -0
  23. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  24. package/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
  25. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
  26. package/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
  27. package/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +14 -1
  28. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +9 -1
  29. package/api/resources/feeSchedules/resources/v3/client/Client.js +9 -1
  30. package/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +6 -1
  31. package/api/resources/index.d.ts +1 -1
  32. package/api/resources/index.js +2 -2
  33. package/api/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
  34. package/api/resources/{insurancePayments → relatedCausesInformation}/resources/v1/index.js +0 -1
  35. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +21 -0
  36. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js +24 -0
  37. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +6 -0
  38. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +3 -0
  39. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +3 -0
  40. package/api/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
  41. package/api/resources/{insurancePayments → relatedCausesInformation}/resources/v1/types/index.js +4 -4
  42. package/dist/Client.d.ts +0 -3
  43. package/dist/Client.js +36 -41
  44. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +6 -0
  45. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +6 -0
  46. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +6 -0
  47. package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +6 -0
  48. package/dist/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +4 -0
  49. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +6 -0
  50. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +6 -0
  51. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +6 -0
  52. package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  53. package/dist/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
  54. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +15 -0
  55. package/dist/api/resources/encounters/resources/v4/client/Client.js +19 -0
  56. package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  57. package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
  58. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +7 -1
  59. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +11 -0
  60. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +7 -1
  61. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +11 -0
  62. package/dist/api/resources/encounters/resources/v4/client/createUniversal.d.ts +7 -1
  63. package/dist/api/resources/encounters/resources/v4/client/createUniversal.js +11 -0
  64. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  65. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
  66. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
  67. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
  68. package/dist/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +14 -1
  69. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +9 -1
  70. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +9 -1
  71. package/dist/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +6 -1
  72. package/dist/api/resources/index.d.ts +1 -1
  73. package/dist/api/resources/index.js +2 -2
  74. package/dist/api/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
  75. package/dist/api/resources/{insurancePayments → relatedCausesInformation}/resources/v1/index.js +0 -1
  76. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +21 -0
  77. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js +24 -0
  78. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +6 -0
  79. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +3 -0
  80. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +3 -0
  81. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +3 -0
  82. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +3 -0
  83. package/dist/api/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
  84. package/dist/api/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
  85. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
  86. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
  87. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
  88. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
  89. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +2 -0
  90. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +2 -0
  91. package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
  92. package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
  93. package/dist/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +9 -0
  94. package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentId.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js} +3 -5
  95. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +2 -0
  96. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.js +2 -0
  97. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +2 -0
  98. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.js +2 -0
  99. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +2 -0
  100. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +2 -0
  101. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  102. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
  103. package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  104. package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  105. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +6 -1
  106. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +6 -0
  107. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +6 -1
  108. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +6 -0
  109. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +6 -1
  110. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.js +6 -0
  111. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  112. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  113. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
  114. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +2 -0
  115. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
  116. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +2 -0
  117. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
  118. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +2 -0
  119. package/dist/serialization/resources/index.d.ts +1 -1
  120. package/dist/serialization/resources/index.js +2 -2
  121. package/{api/resources/insurancePayments → dist/serialization/resources/relatedCausesInformation}/index.d.ts +0 -1
  122. package/{api/resources/insurancePayments → dist/serialization/resources/relatedCausesInformation}/index.js +0 -1
  123. package/dist/serialization/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
  124. package/{serialization/resources/insurancePayments → dist/serialization/resources/relatedCausesInformation}/resources/v1/index.js +0 -1
  125. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +7 -0
  126. package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentSortField.js → relatedCausesInformation/resources/v1/types/RelatedCausesCode.js} +2 -2
  127. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +12 -0
  128. package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentsPage.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js} +7 -8
  129. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +9 -0
  130. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +40 -0
  131. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +9 -0
  132. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +40 -0
  133. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
  134. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
  135. package/dist/version.d.ts +1 -1
  136. package/dist/version.js +1 -1
  137. package/package.json +1 -1
  138. package/reference.md +48 -129
  139. package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
  140. package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
  141. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
  142. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
  143. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +2 -0
  144. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +2 -0
  145. package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
  146. package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
  147. package/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +9 -0
  148. package/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentId.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js} +3 -5
  149. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +2 -0
  150. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.js +2 -0
  151. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +2 -0
  152. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.js +2 -0
  153. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +2 -0
  154. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +2 -0
  155. package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  156. package/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
  157. package/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  158. package/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  159. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +6 -1
  160. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +6 -0
  161. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +6 -1
  162. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +6 -0
  163. package/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +6 -1
  164. package/serialization/resources/encounters/resources/v4/client/createUniversal.js +6 -0
  165. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  166. package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  167. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
  168. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +2 -0
  169. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
  170. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +2 -0
  171. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
  172. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +2 -0
  173. package/serialization/resources/index.d.ts +1 -1
  174. package/serialization/resources/index.js +2 -2
  175. package/{dist/api/resources/insurancePayments → serialization/resources/relatedCausesInformation}/index.d.ts +0 -1
  176. package/{dist/api/resources/insurancePayments → serialization/resources/relatedCausesInformation}/index.js +0 -1
  177. package/serialization/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
  178. package/{dist/serialization/resources/insurancePayments → serialization/resources/relatedCausesInformation}/resources/v1/index.js +0 -1
  179. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +7 -0
  180. package/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentSortField.js → relatedCausesInformation/resources/v1/types/RelatedCausesCode.js} +2 -2
  181. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +12 -0
  182. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js +44 -0
  183. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +9 -0
  184. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +40 -0
  185. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +9 -0
  186. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +40 -0
  187. package/serialization/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
  188. package/serialization/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
  189. package/version.d.ts +1 -1
  190. package/version.js +1 -1
  191. package/api/resources/insurancePayments/client/Client.d.ts +0 -14
  192. package/api/resources/insurancePayments/client/Client.js +0 -15
  193. package/api/resources/insurancePayments/client/index.d.ts +0 -1
  194. package/api/resources/insurancePayments/client/index.js +0 -2
  195. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -38
  196. package/api/resources/insurancePayments/resources/v1/client/Client.js +0 -237
  197. package/api/resources/insurancePayments/resources/v1/client/get.d.ts +0 -31
  198. package/api/resources/insurancePayments/resources/v1/client/get.js +0 -77
  199. package/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -31
  200. package/api/resources/insurancePayments/resources/v1/client/getMulti.js +0 -77
  201. package/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
  202. package/api/resources/insurancePayments/resources/v1/client/index.js +0 -42
  203. package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +0 -18
  204. package/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  205. package/api/resources/insurancePayments/resources/v1/client/requests/index.js +0 -2
  206. package/api/resources/insurancePayments/resources/v1/index.d.ts +0 -2
  207. package/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -9
  208. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -5
  209. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +0 -7
  210. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -6
  211. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +0 -9
  212. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -4
  213. package/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
  214. package/dist/api/resources/insurancePayments/client/Client.d.ts +0 -14
  215. package/dist/api/resources/insurancePayments/client/Client.js +0 -15
  216. package/dist/api/resources/insurancePayments/client/index.d.ts +0 -1
  217. package/dist/api/resources/insurancePayments/client/index.js +0 -2
  218. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -38
  219. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +0 -237
  220. package/dist/api/resources/insurancePayments/resources/v1/client/get.d.ts +0 -31
  221. package/dist/api/resources/insurancePayments/resources/v1/client/get.js +0 -77
  222. package/dist/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -31
  223. package/dist/api/resources/insurancePayments/resources/v1/client/getMulti.js +0 -77
  224. package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
  225. package/dist/api/resources/insurancePayments/resources/v1/client/index.js +0 -42
  226. package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +0 -18
  227. package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  228. package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.js +0 -2
  229. package/dist/api/resources/insurancePayments/resources/v1/index.d.ts +0 -2
  230. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -9
  231. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -5
  232. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +0 -7
  233. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -6
  234. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +0 -9
  235. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -4
  236. package/dist/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
  237. package/dist/api/resources/insurancePayments/resources/v1/types/index.js +0 -20
  238. package/dist/serialization/resources/insurancePayments/resources/v1/client/get.d.ts +0 -17
  239. package/dist/serialization/resources/insurancePayments/resources/v1/client/get.js +0 -75
  240. package/dist/serialization/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -17
  241. package/dist/serialization/resources/insurancePayments/resources/v1/client/getMulti.js +0 -75
  242. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -2
  243. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.js +0 -38
  244. package/dist/serialization/resources/insurancePayments/resources/v1/index.d.ts +0 -2
  245. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -17
  246. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.js +0 -49
  247. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -7
  248. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -7
  249. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -11
  250. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
  251. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -20
  252. package/serialization/resources/insurancePayments/resources/v1/client/get.d.ts +0 -17
  253. package/serialization/resources/insurancePayments/resources/v1/client/get.js +0 -75
  254. package/serialization/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -17
  255. package/serialization/resources/insurancePayments/resources/v1/client/getMulti.js +0 -75
  256. package/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -2
  257. package/serialization/resources/insurancePayments/resources/v1/client/index.js +0 -38
  258. package/serialization/resources/insurancePayments/resources/v1/index.d.ts +0 -2
  259. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -17
  260. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.js +0 -49
  261. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -7
  262. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -7
  263. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -11
  264. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js +0 -45
  265. package/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
  266. package/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -20
  267. /package/api/resources/{insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js} +0 -0
  268. /package/{dist/serialization/resources/insurancePayments → api/resources/relatedCausesInformation}/index.d.ts +0 -0
  269. /package/{dist/serialization/resources/insurancePayments → api/resources/relatedCausesInformation}/index.js +0 -0
  270. /package/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
  271. /package/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
  272. /package/api/resources/{insurancePayments/resources/v1/types/InsurancePayment.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js} +0 -0
  273. /package/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentsPage.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js} +0 -0
  274. /package/{dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js → api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js} +0 -0
  275. /package/dist/api/resources/{insurancePayments/resources/v1/types/InsurancePayment.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js} +0 -0
  276. /package/{serialization/resources/insurancePayments → dist/api/resources/relatedCausesInformation}/index.d.ts +0 -0
  277. /package/{serialization/resources/insurancePayments → dist/api/resources/relatedCausesInformation}/index.js +0 -0
  278. /package/dist/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
  279. /package/dist/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
  280. /package/dist/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentsPage.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js} +0 -0
  281. /package/dist/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
  282. /package/dist/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
  283. /package/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
  284. /package/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
@@ -47,6 +47,7 @@ const SupervisingProvider_1 = require("../../encounterProviders/resources/v2/typ
47
47
  const ClinicalNoteCategoryCreate_1 = require("../../encounters/resources/v4/types/ClinicalNoteCategoryCreate");
48
48
  const EncounterBase_1 = require("../../encounters/resources/v4/types/EncounterBase");
49
49
  const PatientHistoryCategory_1 = require("../../encounters/resources/v4/types/PatientHistoryCategory");
50
+ const RelatedCausesInformationCreate_1 = require("../../relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate");
50
51
  const EncounterServiceFacilityBase_1 = require("../../serviceFacility/types/EncounterServiceFacilityBase");
51
52
  const TagId_1 = require("../../tags/types/TagId");
52
53
  exports.UniversalEncounterCreateFromPreEncounterBase = core.serialization
@@ -63,5 +64,6 @@ exports.UniversalEncounterCreateFromPreEncounterBase = core.serialization
63
64
  externalClaimSubmission: core.serialization.property("external_claim_submission", ExternalClaimSubmissionCreate_1.ExternalClaimSubmissionCreate.optional()),
64
65
  tagIds: core.serialization.property("tag_ids", core.serialization.list(TagId_1.TagId).optional()),
65
66
  schemaInstances: core.serialization.property("schema_instances", core.serialization.list(SchemaInstance_1.SchemaInstance).optional()),
67
+ relatedCausesInformation: core.serialization.property("related_causes_information", RelatedCausesInformationCreate_1.RelatedCausesInformationCreate.optional()),
66
68
  })
67
69
  .extend(EncounterBase_1.EncounterBase);
@@ -17,6 +17,7 @@ import { Medication } from "../../encounters/resources/v4/types/Medication";
17
17
  import { GuarantorUpdate } from "../../guarantor/resources/v1/types/GuarantorUpdate";
18
18
  import { PatientUpdate } from "../../individual/types/PatientUpdate";
19
19
  import { SubscriberCreate } from "../../individual/types/SubscriberCreate";
20
+ import { RelatedCausesInformationUpdate } from "../../relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate";
20
21
  import { EncounterServiceFacilityUpdate } from "../../serviceFacility/types/EncounterServiceFacilityUpdate";
21
22
  export declare const UniversalEncounterUpdateBase: core.serialization.ObjectSchema<serializers.encountersUniversal.UniversalEncounterUpdateBase.Raw, CandidApi.encountersUniversal.UniversalEncounterUpdateBase>;
22
23
  export declare namespace UniversalEncounterUpdateBase {
@@ -39,5 +40,6 @@ export declare namespace UniversalEncounterUpdateBase {
39
40
  supervising_provider?: SupervisingProviderUpdate.Raw | null;
40
41
  billing_provider?: BillingProviderUpdate.Raw | null;
41
42
  place_of_service_code_as_submitted?: FacilityTypeCode.Raw | null;
43
+ related_causes_information?: RelatedCausesInformationUpdate.Raw | null;
42
44
  }
43
45
  }
@@ -52,6 +52,7 @@ const Medication_1 = require("../../encounters/resources/v4/types/Medication");
52
52
  const GuarantorUpdate_1 = require("../../guarantor/resources/v1/types/GuarantorUpdate");
53
53
  const PatientUpdate_1 = require("../../individual/types/PatientUpdate");
54
54
  const SubscriberCreate_1 = require("../../individual/types/SubscriberCreate");
55
+ const RelatedCausesInformationUpdate_1 = require("../../relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate");
55
56
  const EncounterServiceFacilityUpdate_1 = require("../../serviceFacility/types/EncounterServiceFacilityUpdate");
56
57
  exports.UniversalEncounterUpdateBase = core.serialization
57
58
  .object({
@@ -73,5 +74,6 @@ exports.UniversalEncounterUpdateBase = core.serialization
73
74
  supervisingProvider: core.serialization.property("supervising_provider", SupervisingProviderUpdate_1.SupervisingProviderUpdate.optional()),
74
75
  billingProvider: core.serialization.property("billing_provider", BillingProviderUpdate_1.BillingProviderUpdate.optional()),
75
76
  placeOfServiceCodeAsSubmitted: core.serialization.property("place_of_service_code_as_submitted", FacilityTypeCode_1.FacilityTypeCode.optional()),
77
+ relatedCausesInformation: core.serialization.property("related_causes_information", RelatedCausesInformationUpdate_1.RelatedCausesInformationUpdate.optional()),
76
78
  })
77
79
  .extend(EncounterOptional_1.EncounterOptional);
@@ -39,7 +39,6 @@ export * as individual from "./individual";
39
39
  export * from "./individual/types";
40
40
  export * as insuranceAdjudications from "./insuranceAdjudications";
41
41
  export * as insuranceCards from "./insuranceCards";
42
- export * as insurancePayments from "./insurancePayments";
43
42
  export * as insuranceRefunds from "./insuranceRefunds";
44
43
  export * as invoices from "./invoices";
45
44
  export * from "./invoices/types";
@@ -59,6 +58,7 @@ export * from "./paymentAccountConfigs/types";
59
58
  export * as pipelineCommons from "./pipelineCommons";
60
59
  export * from "./pipelineCommons/types";
61
60
  export * as preEncounter from "./preEncounter";
61
+ export * as relatedCausesInformation from "./relatedCausesInformation";
62
62
  export * as serviceFacility from "./serviceFacility";
63
63
  export * from "./serviceFacility/types";
64
64
  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"));
@@ -79,7 +79,6 @@ exports.individual = __importStar(require("./individual"));
79
79
  __exportStar(require("./individual/types"), exports);
80
80
  exports.insuranceAdjudications = __importStar(require("./insuranceAdjudications"));
81
81
  exports.insuranceCards = __importStar(require("./insuranceCards"));
82
- exports.insurancePayments = __importStar(require("./insurancePayments"));
83
82
  exports.insuranceRefunds = __importStar(require("./insuranceRefunds"));
84
83
  exports.invoices = __importStar(require("./invoices"));
85
84
  __exportStar(require("./invoices/types"), exports);
@@ -99,6 +98,7 @@ __exportStar(require("./paymentAccountConfigs/types"), exports);
99
98
  exports.pipelineCommons = __importStar(require("./pipelineCommons"));
100
99
  __exportStar(require("./pipelineCommons/types"), exports);
101
100
  exports.preEncounter = __importStar(require("./preEncounter"));
101
+ exports.relatedCausesInformation = __importStar(require("./relatedCausesInformation"));
102
102
  exports.serviceFacility = __importStar(require("./serviceFacility"));
103
103
  __exportStar(require("./serviceFacility/types"), exports);
104
104
  exports.serviceLines = __importStar(require("./serviceLines"));
@@ -1,2 +1 @@
1
- export * from "./client";
2
1
  export * from "./resources";
@@ -14,5 +14,4 @@ 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("./client"), exports);
18
17
  __exportStar(require("./resources"), exports);
@@ -14,5 +14,4 @@ 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("./client"), exports);
18
17
  __exportStar(require("./types"), exports);
@@ -0,0 +1,7 @@
1
+ import type * as CandidApi from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ export declare const RelatedCausesCode: core.serialization.Schema<serializers.relatedCausesInformation.v1.RelatedCausesCode.Raw, CandidApi.relatedCausesInformation.v1.RelatedCausesCode>;
5
+ export declare namespace RelatedCausesCode {
6
+ type Raw = "AA" | "AB" | "AP" | "EM" | "OA" | "ZZ";
7
+ }
@@ -34,6 +34,6 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.InsurancePaymentSortField = void 0;
37
+ exports.RelatedCausesCode = void 0;
38
38
  const core = __importStar(require("../../../../../../core"));
39
- exports.InsurancePaymentSortField = core.serialization.enum_(["amount_cents", "payment_timestamp", "payment_note"]);
39
+ exports.RelatedCausesCode = core.serialization.enum_(["AA", "AB", "AP", "EM", "OA", "ZZ"]);
@@ -0,0 +1,12 @@
1
+ import type * as CandidApi from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ import { RelatedCausesCode } from "./RelatedCausesCode";
5
+ export declare const RelatedCausesInformation: core.serialization.ObjectSchema<serializers.relatedCausesInformation.v1.RelatedCausesInformation.Raw, CandidApi.relatedCausesInformation.v1.RelatedCausesInformation>;
6
+ export declare namespace RelatedCausesInformation {
7
+ interface Raw {
8
+ related_causes_code_1: RelatedCausesCode.Raw;
9
+ related_causes_code_2?: RelatedCausesCode.Raw | null;
10
+ state_or_province_code?: string | null;
11
+ }
12
+ }
@@ -34,12 +34,11 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.InsurancePaymentsPage = void 0;
37
+ exports.RelatedCausesInformation = void 0;
38
38
  const core = __importStar(require("../../../../../../core"));
39
- const ResourcePage_1 = require("../../../../commons/types/ResourcePage");
40
- const InsurancePayment_1 = require("./InsurancePayment");
41
- exports.InsurancePaymentsPage = core.serialization
42
- .object({
43
- items: core.serialization.list(InsurancePayment_1.InsurancePayment),
44
- })
45
- .extend(ResourcePage_1.ResourcePage);
39
+ const RelatedCausesCode_1 = require("./RelatedCausesCode");
40
+ exports.RelatedCausesInformation = core.serialization.object({
41
+ relatedCausesCode1: core.serialization.property("related_causes_code_1", RelatedCausesCode_1.RelatedCausesCode),
42
+ relatedCausesCode2: core.serialization.property("related_causes_code_2", RelatedCausesCode_1.RelatedCausesCode.optional()),
43
+ stateOrProvinceCode: core.serialization.property("state_or_province_code", core.serialization.string().optional()),
44
+ });
@@ -0,0 +1,9 @@
1
+ import type * as CandidApi from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ import { RelatedCausesInformation } from "./RelatedCausesInformation";
5
+ export declare const RelatedCausesInformationCreate: core.serialization.ObjectSchema<serializers.relatedCausesInformation.v1.RelatedCausesInformationCreate.Raw, CandidApi.relatedCausesInformation.v1.RelatedCausesInformationCreate>;
6
+ export declare namespace RelatedCausesInformationCreate {
7
+ interface Raw extends RelatedCausesInformation.Raw {
8
+ }
9
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.RelatedCausesInformationCreate = void 0;
38
+ const core = __importStar(require("../../../../../../core"));
39
+ const RelatedCausesInformation_1 = require("./RelatedCausesInformation");
40
+ exports.RelatedCausesInformationCreate = core.serialization.object({}).extend(RelatedCausesInformation_1.RelatedCausesInformation);
@@ -0,0 +1,9 @@
1
+ import type * as CandidApi from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ import { RelatedCausesInformation } from "./RelatedCausesInformation";
5
+ export declare const RelatedCausesInformationUpdate: core.serialization.ObjectSchema<serializers.relatedCausesInformation.v1.RelatedCausesInformationUpdate.Raw, CandidApi.relatedCausesInformation.v1.RelatedCausesInformationUpdate>;
6
+ export declare namespace RelatedCausesInformationUpdate {
7
+ interface Raw extends RelatedCausesInformation.Raw {
8
+ }
9
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.RelatedCausesInformationUpdate = void 0;
38
+ const core = __importStar(require("../../../../../../core"));
39
+ const RelatedCausesInformation_1 = require("./RelatedCausesInformation");
40
+ exports.RelatedCausesInformationUpdate = core.serialization.object({}).extend(RelatedCausesInformation_1.RelatedCausesInformation);
@@ -0,0 +1,4 @@
1
+ export * from "./RelatedCausesCode";
2
+ export * from "./RelatedCausesInformation";
3
+ export * from "./RelatedCausesInformationCreate";
4
+ export * from "./RelatedCausesInformationUpdate";
@@ -0,0 +1,20 @@
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("./RelatedCausesCode"), exports);
18
+ __exportStar(require("./RelatedCausesInformation"), exports);
19
+ __exportStar(require("./RelatedCausesInformationCreate"), exports);
20
+ __exportStar(require("./RelatedCausesInformationUpdate"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.17.0";
1
+ export declare const SDK_VERSION = "1.17.1";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.17.0";
4
+ exports.SDK_VERSION = "1.17.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "1.17.0",
3
+ "version": "1.17.1",
4
4
  "private": false,
5
5
  "repository": "github:candidhealth/candid-node",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -3708,6 +3708,23 @@ await client.encounters.v4.get(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7f
3708
3708
  <dl>
3709
3709
  <dd>
3710
3710
 
3711
+ #### 📝 Description
3712
+
3713
+ <dl>
3714
+ <dd>
3715
+
3716
+ <dl>
3717
+ <dd>
3718
+
3719
+ Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
3720
+ No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
3721
+ in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
3722
+ express, written consent of AHA.
3723
+ </dd>
3724
+ </dl>
3725
+ </dd>
3726
+ </dl>
3727
+
3711
3728
  #### 🔌 Usage
3712
3729
 
3713
3730
  <dl>
@@ -3904,6 +3921,11 @@ where applicable. In particular, the following fields are populated from the pat
3904
3921
 
3905
3922
  Utilizing this endpoint opts you into automatic updating of the encounter when the patient or appointment is updated, assuming the
3906
3923
  encounter has not already been submitted or adjudicated.
3924
+
3925
+ Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
3926
+ No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
3927
+ in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
3928
+ express, written consent of AHA.
3907
3929
  </dd>
3908
3930
  </dl>
3909
3931
  </dd>
@@ -4086,6 +4108,23 @@ await client.encounters.v4.createFromPreEncounterPatient({
4086
4108
  <dl>
4087
4109
  <dd>
4088
4110
 
4111
+ #### 📝 Description
4112
+
4113
+ <dl>
4114
+ <dd>
4115
+
4116
+ <dl>
4117
+ <dd>
4118
+
4119
+ Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
4120
+ No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
4121
+ in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
4122
+ express, written consent of AHA.
4123
+ </dd>
4124
+ </dl>
4125
+ </dd>
4126
+ </dl>
4127
+
4089
4128
  #### 🔌 Usage
4090
4129
 
4091
4130
  <dl>
@@ -5038,7 +5077,15 @@ await client.feeSchedules.v3.getRateHistory(CandidApi.RateId("d5e9c84f-c2b2-4bf4
5038
5077
  <dl>
5039
5078
  <dd>
5040
5079
 
5041
- 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.
5080
+ Uploads a new fee schedule.
5081
+
5082
+ Each rate may either be totally new as qualified by it's dimensions or a new version for an existing rate.
5083
+
5084
+ 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
5085
+ be returned.
5086
+
5087
+ Use the dry run flag to discover already existing rates and to run validations. If validations for any rate fail, no rates will
5088
+ be saved to the system.
5042
5089
  </dd>
5043
5090
  </dl>
5044
5091
  </dd>
@@ -6201,134 +6248,6 @@ await client.insuranceAdjudications.v1.get(CandidApi.InsuranceAdjudicationId("d5
6201
6248
  </dl>
6202
6249
 
6203
6250
 
6204
- </dd>
6205
- </dl>
6206
- </details>
6207
-
6208
- ## InsurancePayments V1
6209
- <details><summary><code>client.insurancePayments.v1.<a href="/src/api/resources/insurancePayments/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse<CandidApi.InsurancePaymentsPage, CandidApi.insurancePayments.v1.getMulti.Error></code></summary>
6210
- <dl>
6211
- <dd>
6212
-
6213
- #### 📝 Description
6214
-
6215
- <dl>
6216
- <dd>
6217
-
6218
- <dl>
6219
- <dd>
6220
-
6221
- Returns all non-ERA originated insurance payments satisfying the search criteria
6222
- </dd>
6223
- </dl>
6224
- </dd>
6225
- </dl>
6226
-
6227
- #### 🔌 Usage
6228
-
6229
- <dl>
6230
- <dd>
6231
-
6232
- <dl>
6233
- <dd>
6234
-
6235
- ```typescript
6236
- await client.insurancePayments.v1.getMulti();
6237
-
6238
- ```
6239
- </dd>
6240
- </dl>
6241
- </dd>
6242
- </dl>
6243
-
6244
- #### ⚙️ Parameters
6245
-
6246
- <dl>
6247
- <dd>
6248
-
6249
- <dl>
6250
- <dd>
6251
-
6252
- **request:** `CandidApi.insurancePayments.v1.GetMultiInsurancePaymentRequest`
6253
-
6254
- </dd>
6255
- </dl>
6256
-
6257
- <dl>
6258
- <dd>
6259
-
6260
- **requestOptions:** `V1.RequestOptions`
6261
-
6262
- </dd>
6263
- </dl>
6264
- </dd>
6265
- </dl>
6266
-
6267
-
6268
- </dd>
6269
- </dl>
6270
- </details>
6271
-
6272
- <details><summary><code>client.insurancePayments.v1.<a href="/src/api/resources/insurancePayments/resources/v1/client/Client.ts">get</a>(insurancePaymentId) -> core.APIResponse<CandidApi.InsurancePayment, CandidApi.insurancePayments.v1.get.Error></code></summary>
6273
- <dl>
6274
- <dd>
6275
-
6276
- #### 📝 Description
6277
-
6278
- <dl>
6279
- <dd>
6280
-
6281
- <dl>
6282
- <dd>
6283
-
6284
- Retrieves a previously created insurance payment by its `insurance_payment_id`.
6285
- If the payment does not exist, a `403` will be thrown.
6286
- </dd>
6287
- </dl>
6288
- </dd>
6289
- </dl>
6290
-
6291
- #### 🔌 Usage
6292
-
6293
- <dl>
6294
- <dd>
6295
-
6296
- <dl>
6297
- <dd>
6298
-
6299
- ```typescript
6300
- await client.insurancePayments.v1.get(CandidApi.InsurancePaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
6301
-
6302
- ```
6303
- </dd>
6304
- </dl>
6305
- </dd>
6306
- </dl>
6307
-
6308
- #### ⚙️ Parameters
6309
-
6310
- <dl>
6311
- <dd>
6312
-
6313
- <dl>
6314
- <dd>
6315
-
6316
- **insurancePaymentId:** `CandidApi.InsurancePaymentId`
6317
-
6318
- </dd>
6319
- </dl>
6320
-
6321
- <dl>
6322
- <dd>
6323
-
6324
- **requestOptions:** `V1.RequestOptions`
6325
-
6326
- </dd>
6327
- </dl>
6328
- </dd>
6329
- </dl>
6330
-
6331
-
6332
6251
  </dd>
6333
6252
  </dl>
6334
6253
  </details>
@@ -4,6 +4,7 @@ import type * as serializers from "../../../../../index";
4
4
  import { BillingProviderCommercialLicenseType } from "../../../../commons/types/BillingProviderCommercialLicenseType";
5
5
  import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
6
6
  import { EncounterProviderBase } from "./EncounterProviderBase";
7
+ import { ProviderSecondaryIdentification } from "./ProviderSecondaryIdentification";
7
8
  export declare const BillingProvider: core.serialization.ObjectSchema<serializers.encounterProviders.v2.BillingProvider.Raw, CandidApi.encounterProviders.v2.BillingProvider>;
8
9
  export declare namespace BillingProvider {
9
10
  interface Raw extends EncounterProviderBase.Raw {
@@ -12,5 +13,6 @@ export declare namespace BillingProvider {
12
13
  npi: string;
13
14
  taxonomy_code?: string | null;
14
15
  provider_commercial_license_type?: BillingProviderCommercialLicenseType.Raw | null;
16
+ secondary_identification?: ProviderSecondaryIdentification.Raw | null;
15
17
  }
16
18
  }
@@ -39,6 +39,7 @@ const core = __importStar(require("../../../../../../core"));
39
39
  const BillingProviderCommercialLicenseType_1 = require("../../../../commons/types/BillingProviderCommercialLicenseType");
40
40
  const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
41
41
  const EncounterProviderBase_1 = require("./EncounterProviderBase");
42
+ const ProviderSecondaryIdentification_1 = require("./ProviderSecondaryIdentification");
42
43
  exports.BillingProvider = core.serialization
43
44
  .object({
44
45
  address: StreetAddressLongZip_1.StreetAddressLongZip,
@@ -46,5 +47,6 @@ exports.BillingProvider = core.serialization
46
47
  npi: core.serialization.string(),
47
48
  taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
48
49
  providerCommercialLicenseType: core.serialization.property("provider_commercial_license_type", BillingProviderCommercialLicenseType_1.BillingProviderCommercialLicenseType.optional()),
50
+ secondaryIdentification: core.serialization.property("secondary_identification", ProviderSecondaryIdentification_1.ProviderSecondaryIdentification.optional()),
49
51
  })
50
52
  .extend(EncounterProviderBase_1.EncounterProviderBase);
@@ -4,6 +4,7 @@ import type * as serializers from "../../../../../index";
4
4
  import { BillingProviderCommercialLicenseType } from "../../../../commons/types/BillingProviderCommercialLicenseType";
5
5
  import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
6
6
  import { EncounterProviderBase } from "./EncounterProviderBase";
7
+ import { ProviderSecondaryIdentification } from "./ProviderSecondaryIdentification";
7
8
  export declare const BillingProviderUpdate: core.serialization.ObjectSchema<serializers.encounterProviders.v2.BillingProviderUpdate.Raw, CandidApi.encounterProviders.v2.BillingProviderUpdate>;
8
9
  export declare namespace BillingProviderUpdate {
9
10
  interface Raw extends EncounterProviderBase.Raw {
@@ -12,5 +13,6 @@ export declare namespace BillingProviderUpdate {
12
13
  npi?: string | null;
13
14
  taxonomy_code?: string | null;
14
15
  provider_commercial_license_type?: BillingProviderCommercialLicenseType.Raw | null;
16
+ secondary_identification?: ProviderSecondaryIdentification.Raw | null;
15
17
  }
16
18
  }
@@ -39,6 +39,7 @@ const core = __importStar(require("../../../../../../core"));
39
39
  const BillingProviderCommercialLicenseType_1 = require("../../../../commons/types/BillingProviderCommercialLicenseType");
40
40
  const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
41
41
  const EncounterProviderBase_1 = require("./EncounterProviderBase");
42
+ const ProviderSecondaryIdentification_1 = require("./ProviderSecondaryIdentification");
42
43
  exports.BillingProviderUpdate = core.serialization
43
44
  .object({
44
45
  address: StreetAddressLongZip_1.StreetAddressLongZip.optional(),
@@ -46,5 +47,6 @@ exports.BillingProviderUpdate = core.serialization
46
47
  npi: core.serialization.string().optional(),
47
48
  taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
48
49
  providerCommercialLicenseType: core.serialization.property("provider_commercial_license_type", BillingProviderCommercialLicenseType_1.BillingProviderCommercialLicenseType.optional()),
50
+ secondaryIdentification: core.serialization.property("secondary_identification", ProviderSecondaryIdentification_1.ProviderSecondaryIdentification.optional()),
49
51
  })
50
52
  .extend(EncounterProviderBase_1.EncounterProviderBase);
@@ -4,6 +4,7 @@ import type * as serializers from "../../../../../index";
4
4
  import { BillingProviderCommercialLicenseType } from "../../../../commons/types/BillingProviderCommercialLicenseType";
5
5
  import { StreetAddressShortZipOptional } from "../../../../commons/types/StreetAddressShortZipOptional";
6
6
  import { EncounterProviderBase } from "./EncounterProviderBase";
7
+ import { ProviderSecondaryIdentification } from "./ProviderSecondaryIdentification";
7
8
  export declare const BillingProviderUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.encounterProviders.v2.BillingProviderUpdateWithOptionalAddress.Raw, CandidApi.encounterProviders.v2.BillingProviderUpdateWithOptionalAddress>;
8
9
  export declare namespace BillingProviderUpdateWithOptionalAddress {
9
10
  interface Raw extends EncounterProviderBase.Raw {
@@ -12,5 +13,6 @@ export declare namespace BillingProviderUpdateWithOptionalAddress {
12
13
  npi?: string | null;
13
14
  taxonomy_code?: string | null;
14
15
  provider_commercial_license_type?: BillingProviderCommercialLicenseType.Raw | null;
16
+ secondary_identification?: ProviderSecondaryIdentification.Raw | null;
15
17
  }
16
18
  }
@@ -39,6 +39,7 @@ const core = __importStar(require("../../../../../../core"));
39
39
  const BillingProviderCommercialLicenseType_1 = require("../../../../commons/types/BillingProviderCommercialLicenseType");
40
40
  const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
41
41
  const EncounterProviderBase_1 = require("./EncounterProviderBase");
42
+ const ProviderSecondaryIdentification_1 = require("./ProviderSecondaryIdentification");
42
43
  exports.BillingProviderUpdateWithOptionalAddress = core.serialization
43
44
  .object({
44
45
  address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
@@ -46,5 +47,6 @@ exports.BillingProviderUpdateWithOptionalAddress = core.serialization
46
47
  npi: core.serialization.string().optional(),
47
48
  taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
48
49
  providerCommercialLicenseType: core.serialization.property("provider_commercial_license_type", BillingProviderCommercialLicenseType_1.BillingProviderCommercialLicenseType.optional()),
50
+ secondaryIdentification: core.serialization.property("secondary_identification", ProviderSecondaryIdentification_1.ProviderSecondaryIdentification.optional()),
49
51
  })
50
52
  .extend(EncounterProviderBase_1.EncounterProviderBase);