candidhealth 1.14.4 → 1.14.6

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 (257) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +43 -38
  3. package/README.md +0 -18
  4. package/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +13 -0
  5. package/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +16 -0
  6. package/api/resources/commons/types/index.d.ts +1 -0
  7. package/api/resources/commons/types/index.js +1 -0
  8. package/api/resources/index.d.ts +1 -0
  9. package/api/resources/index.js +3 -2
  10. package/api/resources/insuranceAdjudications/client/Client.d.ts +14 -0
  11. package/api/resources/insuranceAdjudications/client/Client.js +15 -0
  12. package/api/resources/insuranceAdjudications/client/index.d.ts +1 -0
  13. package/api/resources/insuranceAdjudications/client/index.js +2 -0
  14. package/api/resources/insuranceAdjudications/index.d.ts +2 -0
  15. package/api/resources/insuranceAdjudications/index.js +18 -0
  16. package/api/resources/insuranceAdjudications/resources/index.d.ts +1 -0
  17. package/api/resources/insuranceAdjudications/resources/index.js +37 -0
  18. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +26 -0
  19. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +117 -0
  20. package/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +19 -0
  21. package/api/resources/insuranceAdjudications/resources/v1/client/get.js +55 -0
  22. package/api/resources/insuranceAdjudications/resources/v1/client/index.d.ts +1 -0
  23. package/api/resources/insuranceAdjudications/resources/v1/client/index.js +37 -0
  24. package/api/resources/insuranceAdjudications/resources/v1/index.d.ts +2 -0
  25. package/api/resources/insuranceAdjudications/resources/v1/index.js +18 -0
  26. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +10 -0
  27. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +3 -0
  28. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +10 -0
  29. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +3 -0
  30. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +5 -0
  31. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +7 -0
  32. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +13 -0
  33. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +3 -0
  34. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +5 -0
  35. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +7 -0
  36. package/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
  37. package/api/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
  38. package/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +1 -0
  39. package/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +3 -0
  40. package/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +1 -0
  41. package/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +3 -0
  42. package/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +3 -0
  43. package/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +3 -0
  44. package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  45. package/api/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +13 -0
  46. package/api/resources/patientPayments/resources/v4/types/PaymentMethod.js +3 -0
  47. package/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +5 -0
  48. package/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +3 -0
  49. package/api/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
  50. package/api/resources/patientPayments/resources/v4/types/index.js +5 -0
  51. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +3 -0
  52. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  53. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +2 -0
  54. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  55. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +2 -0
  56. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +2 -0
  57. package/api/resources/x12/resources/v1/types/Carc.d.ts +407 -0
  58. package/api/resources/x12/resources/v1/types/Carc.js +410 -0
  59. package/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +6 -0
  60. package/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +3 -0
  61. package/api/resources/x12/resources/v1/types/Rarc.d.ts +1190 -0
  62. package/api/resources/x12/resources/v1/types/Rarc.js +1193 -0
  63. package/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +4 -0
  64. package/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +3 -0
  65. package/api/resources/x12/resources/v1/types/index.d.ts +4 -0
  66. package/api/resources/x12/resources/v1/types/index.js +4 -0
  67. package/dist/Client.d.ts +3 -0
  68. package/dist/Client.js +43 -38
  69. package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +13 -0
  70. package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +16 -0
  71. package/dist/api/resources/commons/types/index.d.ts +1 -0
  72. package/dist/api/resources/commons/types/index.js +1 -0
  73. package/dist/api/resources/index.d.ts +1 -0
  74. package/dist/api/resources/index.js +3 -2
  75. package/dist/api/resources/insuranceAdjudications/client/Client.d.ts +14 -0
  76. package/dist/api/resources/insuranceAdjudications/client/Client.js +15 -0
  77. package/dist/api/resources/insuranceAdjudications/client/index.d.ts +1 -0
  78. package/dist/api/resources/insuranceAdjudications/client/index.js +2 -0
  79. package/dist/api/resources/insuranceAdjudications/index.d.ts +2 -0
  80. package/dist/api/resources/insuranceAdjudications/index.js +18 -0
  81. package/dist/api/resources/insuranceAdjudications/resources/index.d.ts +1 -0
  82. package/dist/api/resources/insuranceAdjudications/resources/index.js +37 -0
  83. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +26 -0
  84. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +117 -0
  85. package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +19 -0
  86. package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.js +55 -0
  87. package/dist/api/resources/insuranceAdjudications/resources/v1/client/index.d.ts +1 -0
  88. package/dist/api/resources/insuranceAdjudications/resources/v1/client/index.js +37 -0
  89. package/dist/api/resources/insuranceAdjudications/resources/v1/index.d.ts +2 -0
  90. package/dist/api/resources/insuranceAdjudications/resources/v1/index.js +18 -0
  91. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +10 -0
  92. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +3 -0
  93. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +10 -0
  94. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +3 -0
  95. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +5 -0
  96. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +7 -0
  97. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +13 -0
  98. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +3 -0
  99. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +5 -0
  100. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +7 -0
  101. package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
  102. package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
  103. package/dist/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +1 -0
  104. package/dist/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +3 -0
  105. package/dist/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +1 -0
  106. package/dist/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +3 -0
  107. package/dist/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +3 -0
  108. package/dist/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +3 -0
  109. package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  110. package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +13 -0
  111. package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethod.js +3 -0
  112. package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +5 -0
  113. package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +3 -0
  114. package/dist/api/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
  115. package/dist/api/resources/patientPayments/resources/v4/types/index.js +5 -0
  116. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +3 -0
  117. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  118. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +2 -0
  119. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  120. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +2 -0
  121. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +2 -0
  122. package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +407 -0
  123. package/dist/api/resources/x12/resources/v1/types/Carc.js +410 -0
  124. package/dist/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +6 -0
  125. package/dist/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +3 -0
  126. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +1190 -0
  127. package/dist/api/resources/x12/resources/v1/types/Rarc.js +1193 -0
  128. package/dist/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +4 -0
  129. package/dist/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +3 -0
  130. package/dist/api/resources/x12/resources/v1/types/index.d.ts +4 -0
  131. package/dist/api/resources/x12/resources/v1/types/index.js +4 -0
  132. package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +7 -0
  133. package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +39 -0
  134. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  135. package/dist/serialization/resources/commons/types/index.js +1 -0
  136. package/dist/serialization/resources/index.d.ts +1 -0
  137. package/dist/serialization/resources/index.js +3 -2
  138. package/dist/serialization/resources/insuranceAdjudications/index.d.ts +1 -0
  139. package/dist/serialization/resources/insuranceAdjudications/index.js +17 -0
  140. package/dist/serialization/resources/insuranceAdjudications/resources/index.d.ts +1 -0
  141. package/dist/serialization/resources/insuranceAdjudications/resources/index.js +37 -0
  142. package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
  143. package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.js +17 -0
  144. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +19 -0
  145. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +51 -0
  146. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +19 -0
  147. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +51 -0
  148. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +7 -0
  149. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +43 -0
  150. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +21 -0
  151. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +53 -0
  152. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +7 -0
  153. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +43 -0
  154. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
  155. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
  156. package/dist/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +7 -0
  157. package/dist/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +39 -0
  158. package/dist/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +7 -0
  159. package/dist/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +39 -0
  160. package/dist/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +9 -0
  161. package/dist/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +41 -0
  162. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -0
  163. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -0
  164. package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +19 -0
  165. package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.js +51 -0
  166. package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +12 -0
  167. package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +44 -0
  168. package/dist/serialization/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
  169. package/dist/serialization/resources/patientPayments/resources/v4/types/index.js +5 -0
  170. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +2 -0
  171. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +2 -0
  172. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
  173. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
  174. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +1 -0
  175. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +1 -0
  176. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  177. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
  178. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +1 -0
  179. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +1 -0
  180. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +1 -0
  181. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +1 -0
  182. package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +7 -0
  183. package/dist/serialization/resources/x12/resources/v1/types/Carc.js +444 -0
  184. package/dist/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +13 -0
  185. package/dist/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +45 -0
  186. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +7 -0
  187. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +1227 -0
  188. package/dist/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +10 -0
  189. package/dist/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +42 -0
  190. package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +4 -0
  191. package/dist/serialization/resources/x12/resources/v1/types/index.js +4 -0
  192. package/dist/version.d.ts +1 -1
  193. package/dist/version.js +1 -1
  194. package/package.json +1 -1
  195. package/reference.md +64 -0
  196. package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +7 -0
  197. package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +39 -0
  198. package/serialization/resources/commons/types/index.d.ts +1 -0
  199. package/serialization/resources/commons/types/index.js +1 -0
  200. package/serialization/resources/index.d.ts +1 -0
  201. package/serialization/resources/index.js +3 -2
  202. package/serialization/resources/insuranceAdjudications/index.d.ts +1 -0
  203. package/serialization/resources/insuranceAdjudications/index.js +17 -0
  204. package/serialization/resources/insuranceAdjudications/resources/index.d.ts +1 -0
  205. package/serialization/resources/insuranceAdjudications/resources/index.js +37 -0
  206. package/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
  207. package/serialization/resources/insuranceAdjudications/resources/v1/index.js +17 -0
  208. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +19 -0
  209. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +51 -0
  210. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +19 -0
  211. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +51 -0
  212. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +7 -0
  213. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +43 -0
  214. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +21 -0
  215. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +53 -0
  216. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +7 -0
  217. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +43 -0
  218. package/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
  219. package/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
  220. package/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +7 -0
  221. package/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +39 -0
  222. package/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +7 -0
  223. package/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +39 -0
  224. package/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +9 -0
  225. package/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +41 -0
  226. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -0
  227. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -0
  228. package/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +19 -0
  229. package/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.js +51 -0
  230. package/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +12 -0
  231. package/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +44 -0
  232. package/serialization/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
  233. package/serialization/resources/patientPayments/resources/v4/types/index.js +5 -0
  234. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +2 -0
  235. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +2 -0
  236. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
  237. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
  238. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +1 -0
  239. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +1 -0
  240. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  241. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
  242. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +1 -0
  243. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +1 -0
  244. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +1 -0
  245. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +1 -0
  246. package/serialization/resources/x12/resources/v1/types/Carc.d.ts +7 -0
  247. package/serialization/resources/x12/resources/v1/types/Carc.js +444 -0
  248. package/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +13 -0
  249. package/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +45 -0
  250. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +7 -0
  251. package/serialization/resources/x12/resources/v1/types/Rarc.js +1227 -0
  252. package/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +10 -0
  253. package/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +42 -0
  254. package/serialization/resources/x12/resources/v1/types/index.d.ts +4 -0
  255. package/serialization/resources/x12/resources/v1/types/index.js +4 -0
  256. package/version.d.ts +1 -1
  257. package/version.js +1 -1
@@ -0,0 +1,10 @@
1
+ import type * as CandidApi from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ import { Rarc } from "./Rarc";
5
+ export declare const RemittanceAdviceRemarkCode: core.serialization.ObjectSchema<serializers.x12.v1.RemittanceAdviceRemarkCode.Raw, CandidApi.x12.v1.RemittanceAdviceRemarkCode>;
6
+ export declare namespace RemittanceAdviceRemarkCode {
7
+ interface Raw {
8
+ reason_code: Rarc.Raw;
9
+ }
10
+ }
@@ -0,0 +1,42 @@
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.RemittanceAdviceRemarkCode = void 0;
38
+ const core = __importStar(require("../../../../../../core"));
39
+ const Rarc_1 = require("./Rarc");
40
+ exports.RemittanceAdviceRemarkCode = core.serialization.object({
41
+ reasonCode: core.serialization.property("reason_code", Rarc_1.Rarc),
42
+ });
@@ -1,5 +1,9 @@
1
+ export * from "./Carc";
2
+ export * from "./ClaimAdjustmentReasonCode";
1
3
  export * from "./PatientDischargeStatusCode";
2
4
  export * from "./PointOfOriginForAdmissionOrVisitCode";
5
+ export * from "./Rarc";
6
+ export * from "./RemittanceAdviceRemarkCode";
3
7
  export * from "./TypeOfAdmissionOrVisitCode";
4
8
  export * from "./TypeOfBillComposite";
5
9
  export * from "./TypeOfBillCompositeBase";
@@ -14,8 +14,12 @@ 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("./Carc"), exports);
18
+ __exportStar(require("./ClaimAdjustmentReasonCode"), exports);
17
19
  __exportStar(require("./PatientDischargeStatusCode"), exports);
18
20
  __exportStar(require("./PointOfOriginForAdmissionOrVisitCode"), exports);
21
+ __exportStar(require("./Rarc"), exports);
22
+ __exportStar(require("./RemittanceAdviceRemarkCode"), exports);
19
23
  __exportStar(require("./TypeOfAdmissionOrVisitCode"), exports);
20
24
  __exportStar(require("./TypeOfBillComposite"), exports);
21
25
  __exportStar(require("./TypeOfBillCompositeBase"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.14.4";
1
+ export declare const SDK_VERSION = "1.14.6";
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.14.4";
4
+ exports.SDK_VERSION = "1.14.6";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "1.14.4",
3
+ "version": "1.14.6",
4
4
  "private": false,
5
5
  "repository": "github:candidhealth/candid-node",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -5581,6 +5581,70 @@ await client.importInvoice.v1.update(CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b
5581
5581
  </dl>
5582
5582
 
5583
5583
 
5584
+ </dd>
5585
+ </dl>
5586
+ </details>
5587
+
5588
+ ## InsuranceAdjudications V1
5589
+ <details><summary><code>client.insuranceAdjudications.v1.<a href="/src/api/resources/insuranceAdjudications/resources/v1/client/Client.ts">get</a>(insuranceAdjudicationId) -> core.APIResponse<CandidApi.InsuranceAdjudication, CandidApi.insuranceAdjudications.v1.get.Error></code></summary>
5590
+ <dl>
5591
+ <dd>
5592
+
5593
+ #### 📝 Description
5594
+
5595
+ <dl>
5596
+ <dd>
5597
+
5598
+ <dl>
5599
+ <dd>
5600
+
5601
+ Retrieves a previously created insurance adjudication by its `insurance_adjudication_id`.
5602
+ </dd>
5603
+ </dl>
5604
+ </dd>
5605
+ </dl>
5606
+
5607
+ #### 🔌 Usage
5608
+
5609
+ <dl>
5610
+ <dd>
5611
+
5612
+ <dl>
5613
+ <dd>
5614
+
5615
+ ```typescript
5616
+ await client.insuranceAdjudications.v1.get(CandidApi.InsuranceAdjudicationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
5617
+
5618
+ ```
5619
+ </dd>
5620
+ </dl>
5621
+ </dd>
5622
+ </dl>
5623
+
5624
+ #### ⚙️ Parameters
5625
+
5626
+ <dl>
5627
+ <dd>
5628
+
5629
+ <dl>
5630
+ <dd>
5631
+
5632
+ **insuranceAdjudicationId:** `CandidApi.InsuranceAdjudicationId`
5633
+
5634
+ </dd>
5635
+ </dl>
5636
+
5637
+ <dl>
5638
+ <dd>
5639
+
5640
+ **requestOptions:** `V1.RequestOptions`
5641
+
5642
+ </dd>
5643
+ </dl>
5644
+ </dd>
5645
+ </dl>
5646
+
5647
+
5584
5648
  </dd>
5585
5649
  </dl>
5586
5650
  </details>
@@ -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 ClaimAdjustmentGroupCodes: core.serialization.Schema<serializers.ClaimAdjustmentGroupCodes.Raw, CandidApi.ClaimAdjustmentGroupCodes>;
5
+ export declare namespace ClaimAdjustmentGroupCodes {
6
+ type Raw = "CO" | "CR" | "DE" | "MA" | "OA" | "PI" | "PR" | "RR" | "NC" | "UNKNOWN";
7
+ }
@@ -0,0 +1,39 @@
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.ClaimAdjustmentGroupCodes = void 0;
38
+ const core = __importStar(require("../../../../core"));
39
+ exports.ClaimAdjustmentGroupCodes = core.serialization.enum_(["CO", "CR", "DE", "MA", "OA", "PI", "PR", "RR", "NC", "UNKNOWN"]);
@@ -4,6 +4,7 @@ export * from "./BillingProviderCommercialLicenseType";
4
4
  export * from "./ChargeCaptureClaimCreationId";
5
5
  export * from "./ChargeCaptureId";
6
6
  export * from "./ChargeCapturePostBilledChangeId";
7
+ export * from "./ClaimAdjustmentGroupCodes";
7
8
  export * from "./ClaimId";
8
9
  export * from "./ClaimSubmissionPayerResponsibilityType";
9
10
  export * from "./Clearinghouse";
@@ -20,6 +20,7 @@ __exportStar(require("./BillingProviderCommercialLicenseType"), exports);
20
20
  __exportStar(require("./ChargeCaptureClaimCreationId"), exports);
21
21
  __exportStar(require("./ChargeCaptureId"), exports);
22
22
  __exportStar(require("./ChargeCapturePostBilledChangeId"), exports);
23
+ __exportStar(require("./ClaimAdjustmentGroupCodes"), exports);
23
24
  __exportStar(require("./ClaimId"), exports);
24
25
  __exportStar(require("./ClaimSubmissionPayerResponsibilityType"), exports);
25
26
  __exportStar(require("./Clearinghouse"), exports);
@@ -36,6 +36,7 @@ export * from "./identifiers/types";
36
36
  export * as importInvoice from "./importInvoice";
37
37
  export * as individual from "./individual";
38
38
  export * from "./individual/types";
39
+ export * as insuranceAdjudications from "./insuranceAdjudications";
39
40
  export * as insuranceCards from "./insuranceCards";
40
41
  export * as insurancePayments from "./insurancePayments";
41
42
  export * as insuranceRefunds from "./insuranceRefunds";
@@ -36,8 +36,8 @@ 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.superbills = exports.serviceLines = 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.individual = exports.importInvoice = exports.identifiers = exports.healthCareCodeInformation = exports.guarantor = exports.financials = exports.feeSchedules = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = 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
- exports.yesNoIndicator = exports.x12 = exports.writeOffs = exports.users = exports.tasks = exports.tags = void 0;
39
+ exports.serviceLines = 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.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
+ exports.yesNoIndicator = exports.x12 = exports.writeOffs = exports.users = exports.tasks = exports.tags = exports.superbills = void 0;
41
41
  exports.auth = __importStar(require("./auth"));
42
42
  exports.billingNotes = __importStar(require("./billingNotes"));
43
43
  exports.chargeCapture = __importStar(require("./chargeCapture"));
@@ -76,6 +76,7 @@ __exportStar(require("./identifiers/types"), exports);
76
76
  exports.importInvoice = __importStar(require("./importInvoice"));
77
77
  exports.individual = __importStar(require("./individual"));
78
78
  __exportStar(require("./individual/types"), exports);
79
+ exports.insuranceAdjudications = __importStar(require("./insuranceAdjudications"));
79
80
  exports.insuranceCards = __importStar(require("./insuranceCards"));
80
81
  exports.insurancePayments = __importStar(require("./insurancePayments"));
81
82
  exports.insuranceRefunds = __importStar(require("./insuranceRefunds"));
@@ -0,0 +1 @@
1
+ export * from "./resources";
@@ -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("./resources"), exports);
@@ -0,0 +1 @@
1
+ export * as v1 from "./v1";
@@ -0,0 +1,37 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.v1 = void 0;
37
+ exports.v1 = __importStar(require("./v1"));
@@ -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,19 @@
1
+ import type * as CandidApi from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ import { ClaimId } from "../../../../commons/types/ClaimId";
5
+ import { ServiceLineId } from "../../../../commons/types/ServiceLineId";
6
+ import { ClaimAdjustmentReasonCode } from "../../../../x12/resources/v1/types/ClaimAdjustmentReasonCode";
7
+ import { ServiceLineAdjudication } from "./ServiceLineAdjudication";
8
+ export declare const ClaimAdjudication: core.serialization.ObjectSchema<serializers.insuranceAdjudications.v1.ClaimAdjudication.Raw, CandidApi.insuranceAdjudications.v1.ClaimAdjudication>;
9
+ export declare namespace ClaimAdjudication {
10
+ interface Raw {
11
+ claim_id: ClaimId.Raw;
12
+ insurance_allowed_amount_cents?: number | null;
13
+ insurance_paid_amount_cents?: number | null;
14
+ charge_amount_cents?: number | null;
15
+ service_lines: Record<ServiceLineId.Raw, ServiceLineAdjudication.Raw[]>;
16
+ payer_claim_number?: string | null;
17
+ carcs: ClaimAdjustmentReasonCode.Raw[];
18
+ }
19
+ }
@@ -0,0 +1,51 @@
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.ClaimAdjudication = void 0;
38
+ const core = __importStar(require("../../../../../../core"));
39
+ const ClaimId_1 = require("../../../../commons/types/ClaimId");
40
+ const ServiceLineId_1 = require("../../../../commons/types/ServiceLineId");
41
+ const ClaimAdjustmentReasonCode_1 = require("../../../../x12/resources/v1/types/ClaimAdjustmentReasonCode");
42
+ const ServiceLineAdjudication_1 = require("./ServiceLineAdjudication");
43
+ exports.ClaimAdjudication = core.serialization.object({
44
+ claimId: core.serialization.property("claim_id", ClaimId_1.ClaimId),
45
+ insuranceAllowedAmountCents: core.serialization.property("insurance_allowed_amount_cents", core.serialization.number().optional()),
46
+ insurancePaidAmountCents: core.serialization.property("insurance_paid_amount_cents", core.serialization.number().optional()),
47
+ chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
48
+ serviceLines: core.serialization.property("service_lines", core.serialization.record(ServiceLineId_1.ServiceLineId, core.serialization.list(ServiceLineAdjudication_1.ServiceLineAdjudication))),
49
+ payerClaimNumber: core.serialization.property("payer_claim_number", core.serialization.string().optional()),
50
+ carcs: core.serialization.list(ClaimAdjustmentReasonCode_1.ClaimAdjustmentReasonCode),
51
+ });
@@ -0,0 +1,19 @@
1
+ import type * as CandidApi from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ import { ClaimId } from "../../../../commons/types/ClaimId";
5
+ import { PayerUuid } from "../../../../payers/resources/v3/types/PayerUuid";
6
+ import { ClaimAdjudication } from "./ClaimAdjudication";
7
+ import { InsuranceAdjudicationId } from "./InsuranceAdjudicationId";
8
+ export declare const InsuranceAdjudication: core.serialization.ObjectSchema<serializers.insuranceAdjudications.v1.InsuranceAdjudication.Raw, CandidApi.insuranceAdjudications.v1.InsuranceAdjudication>;
9
+ export declare namespace InsuranceAdjudication {
10
+ interface Raw {
11
+ insurance_adjudication_id: InsuranceAdjudicationId.Raw;
12
+ payer_uuid: PayerUuid.Raw;
13
+ post_date?: string | null;
14
+ check_number?: string | null;
15
+ check_date: string;
16
+ note?: string | null;
17
+ claims: Record<ClaimId.Raw, ClaimAdjudication.Raw[]>;
18
+ }
19
+ }
@@ -0,0 +1,51 @@
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.InsuranceAdjudication = void 0;
38
+ const core = __importStar(require("../../../../../../core"));
39
+ const ClaimId_1 = require("../../../../commons/types/ClaimId");
40
+ const PayerUuid_1 = require("../../../../payers/resources/v3/types/PayerUuid");
41
+ const ClaimAdjudication_1 = require("./ClaimAdjudication");
42
+ const InsuranceAdjudicationId_1 = require("./InsuranceAdjudicationId");
43
+ exports.InsuranceAdjudication = core.serialization.object({
44
+ insuranceAdjudicationId: core.serialization.property("insurance_adjudication_id", InsuranceAdjudicationId_1.InsuranceAdjudicationId),
45
+ payerUuid: core.serialization.property("payer_uuid", PayerUuid_1.PayerUuid),
46
+ postDate: core.serialization.property("post_date", core.serialization.string().optional()),
47
+ checkNumber: core.serialization.property("check_number", core.serialization.string().optional()),
48
+ checkDate: core.serialization.property("check_date", core.serialization.string()),
49
+ note: core.serialization.string().optional(),
50
+ claims: core.serialization.record(ClaimId_1.ClaimId, core.serialization.list(ClaimAdjudication_1.ClaimAdjudication)),
51
+ });
@@ -0,0 +1,7 @@
1
+ import * as CandidApi from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ export declare const InsuranceAdjudicationId: core.serialization.Schema<serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.Raw, CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId>;
5
+ export declare namespace InsuranceAdjudicationId {
6
+ type Raw = string;
7
+ }
@@ -0,0 +1,43 @@
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.InsuranceAdjudicationId = void 0;
38
+ const CandidApi = __importStar(require("../../../../../../api/index"));
39
+ const core = __importStar(require("../../../../../../core"));
40
+ exports.InsuranceAdjudicationId = core.serialization.string().transform({
41
+ transform: CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId,
42
+ untransform: (value) => value,
43
+ });
@@ -0,0 +1,21 @@
1
+ import type * as CandidApi from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ import { DenialReasonContent } from "../../../../serviceLines/resources/v2/types/DenialReasonContent";
5
+ import { ClaimAdjustmentReasonCode } from "../../../../x12/resources/v1/types/ClaimAdjustmentReasonCode";
6
+ import { RemittanceAdviceRemarkCode } from "../../../../x12/resources/v1/types/RemittanceAdviceRemarkCode";
7
+ import { ServiceLineAdjudicationId } from "./ServiceLineAdjudicationId";
8
+ export declare const ServiceLineAdjudication: core.serialization.ObjectSchema<serializers.insuranceAdjudications.v1.ServiceLineAdjudication.Raw, CandidApi.insuranceAdjudications.v1.ServiceLineAdjudication>;
9
+ export declare namespace ServiceLineAdjudication {
10
+ interface Raw {
11
+ service_line_adjudication_id: ServiceLineAdjudicationId.Raw;
12
+ denial_reason?: DenialReasonContent.Raw | null;
13
+ insurance_allowed_amount_cents?: number | null;
14
+ insurance_paid_amount_cents?: number | null;
15
+ deductible_amount_cents?: number | null;
16
+ coinsurance_amount_cents?: number | null;
17
+ copay_amount_cents?: number | null;
18
+ carcs: ClaimAdjustmentReasonCode.Raw[];
19
+ rarcs: RemittanceAdviceRemarkCode.Raw[];
20
+ }
21
+ }
@@ -0,0 +1,53 @@
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.ServiceLineAdjudication = void 0;
38
+ const core = __importStar(require("../../../../../../core"));
39
+ const DenialReasonContent_1 = require("../../../../serviceLines/resources/v2/types/DenialReasonContent");
40
+ const ClaimAdjustmentReasonCode_1 = require("../../../../x12/resources/v1/types/ClaimAdjustmentReasonCode");
41
+ const RemittanceAdviceRemarkCode_1 = require("../../../../x12/resources/v1/types/RemittanceAdviceRemarkCode");
42
+ const ServiceLineAdjudicationId_1 = require("./ServiceLineAdjudicationId");
43
+ exports.ServiceLineAdjudication = core.serialization.object({
44
+ serviceLineAdjudicationId: core.serialization.property("service_line_adjudication_id", ServiceLineAdjudicationId_1.ServiceLineAdjudicationId),
45
+ denialReason: core.serialization.property("denial_reason", DenialReasonContent_1.DenialReasonContent.optional()),
46
+ insuranceAllowedAmountCents: core.serialization.property("insurance_allowed_amount_cents", core.serialization.number().optional()),
47
+ insurancePaidAmountCents: core.serialization.property("insurance_paid_amount_cents", core.serialization.number().optional()),
48
+ deductibleAmountCents: core.serialization.property("deductible_amount_cents", core.serialization.number().optional()),
49
+ coinsuranceAmountCents: core.serialization.property("coinsurance_amount_cents", core.serialization.number().optional()),
50
+ copayAmountCents: core.serialization.property("copay_amount_cents", core.serialization.number().optional()),
51
+ carcs: core.serialization.list(ClaimAdjustmentReasonCode_1.ClaimAdjustmentReasonCode),
52
+ rarcs: core.serialization.list(RemittanceAdviceRemarkCode_1.RemittanceAdviceRemarkCode),
53
+ });
@@ -0,0 +1,7 @@
1
+ import * as CandidApi from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ export declare const ServiceLineAdjudicationId: core.serialization.Schema<serializers.insuranceAdjudications.v1.ServiceLineAdjudicationId.Raw, CandidApi.insuranceAdjudications.v1.ServiceLineAdjudicationId>;
5
+ export declare namespace ServiceLineAdjudicationId {
6
+ type Raw = string;
7
+ }