candidhealth 1.14.4 → 1.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) 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/ProcedureModifier.d.ts +3 -0
  7. package/api/resources/commons/types/ProcedureModifier.js +3 -0
  8. package/api/resources/commons/types/index.d.ts +1 -0
  9. package/api/resources/commons/types/index.js +1 -0
  10. package/api/resources/index.d.ts +1 -0
  11. package/api/resources/index.js +3 -2
  12. package/api/resources/insuranceAdjudications/client/Client.d.ts +14 -0
  13. package/api/resources/insuranceAdjudications/client/Client.js +15 -0
  14. package/api/resources/insuranceAdjudications/client/index.d.ts +1 -0
  15. package/api/resources/insuranceAdjudications/client/index.js +2 -0
  16. package/api/resources/insuranceAdjudications/index.d.ts +2 -0
  17. package/api/resources/insuranceAdjudications/index.js +18 -0
  18. package/api/resources/insuranceAdjudications/resources/index.d.ts +1 -0
  19. package/api/resources/insuranceAdjudications/resources/index.js +37 -0
  20. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +26 -0
  21. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +117 -0
  22. package/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +19 -0
  23. package/api/resources/insuranceAdjudications/resources/v1/client/get.js +55 -0
  24. package/api/resources/insuranceAdjudications/resources/v1/client/index.d.ts +1 -0
  25. package/api/resources/insuranceAdjudications/resources/v1/client/index.js +37 -0
  26. package/api/resources/insuranceAdjudications/resources/v1/index.d.ts +2 -0
  27. package/api/resources/insuranceAdjudications/resources/v1/index.js +18 -0
  28. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +10 -0
  29. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +3 -0
  30. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +10 -0
  31. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +3 -0
  32. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +5 -0
  33. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +7 -0
  34. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +13 -0
  35. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +3 -0
  36. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +5 -0
  37. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +7 -0
  38. package/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
  39. package/api/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
  40. package/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +1 -0
  41. package/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +3 -0
  42. package/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +1 -0
  43. package/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +3 -0
  44. package/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +3 -0
  45. package/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +3 -0
  46. package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  47. package/api/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +13 -0
  48. package/api/resources/patientPayments/resources/v4/types/PaymentMethod.js +3 -0
  49. package/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +5 -0
  50. package/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +3 -0
  51. package/api/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
  52. package/api/resources/patientPayments/resources/v4/types/index.js +5 -0
  53. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +3 -0
  54. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  55. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +2 -0
  56. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +2 -0
  57. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  58. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +2 -0
  59. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +2 -0
  60. package/api/resources/x12/resources/v1/types/Carc.d.ts +407 -0
  61. package/api/resources/x12/resources/v1/types/Carc.js +410 -0
  62. package/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +6 -0
  63. package/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +3 -0
  64. package/api/resources/x12/resources/v1/types/Rarc.d.ts +1190 -0
  65. package/api/resources/x12/resources/v1/types/Rarc.js +1193 -0
  66. package/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +4 -0
  67. package/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +3 -0
  68. package/api/resources/x12/resources/v1/types/index.d.ts +4 -0
  69. package/api/resources/x12/resources/v1/types/index.js +4 -0
  70. package/dist/Client.d.ts +3 -0
  71. package/dist/Client.js +43 -38
  72. package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +13 -0
  73. package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +16 -0
  74. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +3 -0
  75. package/dist/api/resources/commons/types/ProcedureModifier.js +3 -0
  76. package/dist/api/resources/commons/types/index.d.ts +1 -0
  77. package/dist/api/resources/commons/types/index.js +1 -0
  78. package/dist/api/resources/index.d.ts +1 -0
  79. package/dist/api/resources/index.js +3 -2
  80. package/dist/api/resources/insuranceAdjudications/client/Client.d.ts +14 -0
  81. package/dist/api/resources/insuranceAdjudications/client/Client.js +15 -0
  82. package/dist/api/resources/insuranceAdjudications/client/index.d.ts +1 -0
  83. package/dist/api/resources/insuranceAdjudications/client/index.js +2 -0
  84. package/dist/api/resources/insuranceAdjudications/index.d.ts +2 -0
  85. package/dist/api/resources/insuranceAdjudications/index.js +18 -0
  86. package/dist/api/resources/insuranceAdjudications/resources/index.d.ts +1 -0
  87. package/dist/api/resources/insuranceAdjudications/resources/index.js +37 -0
  88. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +26 -0
  89. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +117 -0
  90. package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +19 -0
  91. package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.js +55 -0
  92. package/dist/api/resources/insuranceAdjudications/resources/v1/client/index.d.ts +1 -0
  93. package/dist/api/resources/insuranceAdjudications/resources/v1/client/index.js +37 -0
  94. package/dist/api/resources/insuranceAdjudications/resources/v1/index.d.ts +2 -0
  95. package/dist/api/resources/insuranceAdjudications/resources/v1/index.js +18 -0
  96. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +10 -0
  97. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +3 -0
  98. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +10 -0
  99. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +3 -0
  100. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +5 -0
  101. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +7 -0
  102. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +13 -0
  103. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +3 -0
  104. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +5 -0
  105. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +7 -0
  106. package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
  107. package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
  108. package/dist/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +1 -0
  109. package/dist/api/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +3 -0
  110. package/dist/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +1 -0
  111. package/dist/api/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +3 -0
  112. package/dist/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +3 -0
  113. package/dist/api/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +3 -0
  114. package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +1 -0
  115. package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +13 -0
  116. package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethod.js +3 -0
  117. package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +5 -0
  118. package/dist/api/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +3 -0
  119. package/dist/api/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
  120. package/dist/api/resources/patientPayments/resources/v4/types/index.js +5 -0
  121. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +3 -0
  122. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  123. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +2 -0
  124. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +2 -0
  125. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  126. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +2 -0
  127. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +2 -0
  128. package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +407 -0
  129. package/dist/api/resources/x12/resources/v1/types/Carc.js +410 -0
  130. package/dist/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +6 -0
  131. package/dist/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +3 -0
  132. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +1190 -0
  133. package/dist/api/resources/x12/resources/v1/types/Rarc.js +1193 -0
  134. package/dist/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +4 -0
  135. package/dist/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +3 -0
  136. package/dist/api/resources/x12/resources/v1/types/index.d.ts +4 -0
  137. package/dist/api/resources/x12/resources/v1/types/index.js +4 -0
  138. package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +7 -0
  139. package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +39 -0
  140. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  141. package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  142. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  143. package/dist/serialization/resources/commons/types/index.js +1 -0
  144. package/dist/serialization/resources/index.d.ts +1 -0
  145. package/dist/serialization/resources/index.js +3 -2
  146. package/dist/serialization/resources/insuranceAdjudications/index.d.ts +1 -0
  147. package/dist/serialization/resources/insuranceAdjudications/index.js +17 -0
  148. package/dist/serialization/resources/insuranceAdjudications/resources/index.d.ts +1 -0
  149. package/dist/serialization/resources/insuranceAdjudications/resources/index.js +37 -0
  150. package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
  151. package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.js +17 -0
  152. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +19 -0
  153. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +51 -0
  154. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +19 -0
  155. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +51 -0
  156. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +7 -0
  157. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +43 -0
  158. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +21 -0
  159. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +53 -0
  160. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +7 -0
  161. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +43 -0
  162. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
  163. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
  164. package/dist/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +7 -0
  165. package/dist/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +39 -0
  166. package/dist/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +7 -0
  167. package/dist/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +39 -0
  168. package/dist/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +9 -0
  169. package/dist/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +41 -0
  170. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -0
  171. package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -0
  172. package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +19 -0
  173. package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.js +51 -0
  174. package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +12 -0
  175. package/dist/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +44 -0
  176. package/dist/serialization/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
  177. package/dist/serialization/resources/patientPayments/resources/v4/types/index.js +5 -0
  178. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +2 -0
  179. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +2 -0
  180. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
  181. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
  182. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +1 -0
  183. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +1 -0
  184. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
  185. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
  186. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  187. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
  188. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +1 -0
  189. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +1 -0
  190. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +1 -0
  191. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +1 -0
  192. package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +7 -0
  193. package/dist/serialization/resources/x12/resources/v1/types/Carc.js +444 -0
  194. package/dist/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +13 -0
  195. package/dist/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +45 -0
  196. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +7 -0
  197. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +1227 -0
  198. package/dist/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +10 -0
  199. package/dist/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +42 -0
  200. package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +4 -0
  201. package/dist/serialization/resources/x12/resources/v1/types/index.js +4 -0
  202. package/dist/version.d.ts +1 -1
  203. package/dist/version.js +1 -1
  204. package/package.json +1 -1
  205. package/reference.md +64 -0
  206. package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +7 -0
  207. package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +39 -0
  208. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  209. package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  210. package/serialization/resources/commons/types/index.d.ts +1 -0
  211. package/serialization/resources/commons/types/index.js +1 -0
  212. package/serialization/resources/index.d.ts +1 -0
  213. package/serialization/resources/index.js +3 -2
  214. package/serialization/resources/insuranceAdjudications/index.d.ts +1 -0
  215. package/serialization/resources/insuranceAdjudications/index.js +17 -0
  216. package/serialization/resources/insuranceAdjudications/resources/index.d.ts +1 -0
  217. package/serialization/resources/insuranceAdjudications/resources/index.js +37 -0
  218. package/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
  219. package/serialization/resources/insuranceAdjudications/resources/v1/index.js +17 -0
  220. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +19 -0
  221. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +51 -0
  222. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +19 -0
  223. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +51 -0
  224. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +7 -0
  225. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +43 -0
  226. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +21 -0
  227. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +53 -0
  228. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +7 -0
  229. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +43 -0
  230. package/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +5 -0
  231. package/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +21 -0
  232. package/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.d.ts +7 -0
  233. package/serialization/resources/patientPayments/resources/v4/types/CardPaymentMethod.js +39 -0
  234. package/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.d.ts +7 -0
  235. package/serialization/resources/patientPayments/resources/v4/types/CashPaymentMethod.js +39 -0
  236. package/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.d.ts +9 -0
  237. package/serialization/resources/patientPayments/resources/v4/types/CheckPaymentMethod.js +41 -0
  238. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -0
  239. package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -0
  240. package/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.d.ts +19 -0
  241. package/serialization/resources/patientPayments/resources/v4/types/PaymentMethod.js +51 -0
  242. package/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.d.ts +12 -0
  243. package/serialization/resources/patientPayments/resources/v4/types/PaymentMethodDetail.js +44 -0
  244. package/serialization/resources/patientPayments/resources/v4/types/index.d.ts +5 -0
  245. package/serialization/resources/patientPayments/resources/v4/types/index.js +5 -0
  246. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +2 -0
  247. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +2 -0
  248. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
  249. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
  250. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +1 -0
  251. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +1 -0
  252. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
  253. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
  254. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  255. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
  256. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +1 -0
  257. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +1 -0
  258. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +1 -0
  259. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +1 -0
  260. package/serialization/resources/x12/resources/v1/types/Carc.d.ts +7 -0
  261. package/serialization/resources/x12/resources/v1/types/Carc.js +444 -0
  262. package/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +13 -0
  263. package/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +45 -0
  264. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +7 -0
  265. package/serialization/resources/x12/resources/v1/types/Rarc.js +1227 -0
  266. package/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +10 -0
  267. package/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +42 -0
  268. package/serialization/resources/x12/resources/v1/types/index.d.ts +4 -0
  269. package/serialization/resources/x12/resources/v1/types/index.js +4 -0
  270. package/version.d.ts +1 -1
  271. package/version.js +1 -1
@@ -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
+ }
@@ -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.ServiceLineAdjudicationId = void 0;
38
+ const CandidApi = __importStar(require("../../../../../../api/index"));
39
+ const core = __importStar(require("../../../../../../core"));
40
+ exports.ServiceLineAdjudicationId = core.serialization.string().transform({
41
+ transform: CandidApi.insuranceAdjudications.v1.ServiceLineAdjudicationId,
42
+ untransform: (value) => value,
43
+ });
@@ -0,0 +1,5 @@
1
+ export * from "./ClaimAdjudication";
2
+ export * from "./InsuranceAdjudication";
3
+ export * from "./InsuranceAdjudicationId";
4
+ export * from "./ServiceLineAdjudication";
5
+ export * from "./ServiceLineAdjudicationId";
@@ -0,0 +1,21 @@
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("./ClaimAdjudication"), exports);
18
+ __exportStar(require("./InsuranceAdjudication"), exports);
19
+ __exportStar(require("./InsuranceAdjudicationId"), exports);
20
+ __exportStar(require("./ServiceLineAdjudication"), exports);
21
+ __exportStar(require("./ServiceLineAdjudicationId"), 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 CardPaymentMethod: core.serialization.ObjectSchema<serializers.patientPayments.v4.CardPaymentMethod.Raw, CandidApi.patientPayments.v4.CardPaymentMethod>;
5
+ export declare namespace CardPaymentMethod {
6
+ type Raw = {};
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.CardPaymentMethod = void 0;
38
+ const core = __importStar(require("../../../../../../core"));
39
+ exports.CardPaymentMethod = core.serialization.object({});
@@ -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 CashPaymentMethod: core.serialization.ObjectSchema<serializers.patientPayments.v4.CashPaymentMethod.Raw, CandidApi.patientPayments.v4.CashPaymentMethod>;
5
+ export declare namespace CashPaymentMethod {
6
+ type Raw = {};
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.CashPaymentMethod = void 0;
38
+ const core = __importStar(require("../../../../../../core"));
39
+ exports.CashPaymentMethod = core.serialization.object({});
@@ -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
+ export declare const CheckPaymentMethod: core.serialization.ObjectSchema<serializers.patientPayments.v4.CheckPaymentMethod.Raw, CandidApi.patientPayments.v4.CheckPaymentMethod>;
5
+ export declare namespace CheckPaymentMethod {
6
+ interface Raw {
7
+ check_number: string;
8
+ }
9
+ }
@@ -0,0 +1,41 @@
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.CheckPaymentMethod = void 0;
38
+ const core = __importStar(require("../../../../../../core"));
39
+ exports.CheckPaymentMethod = core.serialization.object({
40
+ checkNumber: core.serialization.property("check_number", core.serialization.string()),
41
+ });
@@ -7,6 +7,7 @@ import { PatientExternalId } from "../../../../commons/types/PatientExternalId";
7
7
  import { Allocation } from "../../../../financials/types/Allocation";
8
8
  import { PatientTransactionSource } from "../../../../financials/types/PatientTransactionSource";
9
9
  import { PatientPaymentId } from "./PatientPaymentId";
10
+ import { PaymentMethodDetail } from "./PaymentMethodDetail";
10
11
  export declare const PatientPayment: core.serialization.ObjectSchema<serializers.patientPayments.v4.PatientPayment.Raw, CandidApi.patientPayments.v4.PatientPayment>;
11
12
  export declare namespace PatientPayment {
12
13
  interface Raw {
@@ -20,5 +21,6 @@ export declare namespace PatientPayment {
20
21
  payment_note?: string | null;
21
22
  allocations: Allocation.Raw[];
22
23
  invoice?: InvoiceId.Raw | null;
24
+ payment_method_detail?: PaymentMethodDetail.Raw | null;
23
25
  }
24
26
  }
@@ -42,6 +42,7 @@ const PatientExternalId_1 = require("../../../../commons/types/PatientExternalId
42
42
  const Allocation_1 = require("../../../../financials/types/Allocation");
43
43
  const PatientTransactionSource_1 = require("../../../../financials/types/PatientTransactionSource");
44
44
  const PatientPaymentId_1 = require("./PatientPaymentId");
45
+ const PaymentMethodDetail_1 = require("./PaymentMethodDetail");
45
46
  exports.PatientPayment = core.serialization.object({
46
47
  patientPaymentId: core.serialization.property("patient_payment_id", PatientPaymentId_1.PatientPaymentId),
47
48
  organizationId: core.serialization.property("organization_id", OrganizationId_1.OrganizationId),
@@ -53,4 +54,5 @@ exports.PatientPayment = core.serialization.object({
53
54
  paymentNote: core.serialization.property("payment_note", core.serialization.string().optional()),
54
55
  allocations: core.serialization.list(Allocation_1.Allocation),
55
56
  invoice: InvoiceId_1.InvoiceId.optional(),
57
+ paymentMethodDetail: core.serialization.property("payment_method_detail", PaymentMethodDetail_1.PaymentMethodDetail.optional()),
56
58
  });
@@ -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 { CardPaymentMethod } from "./CardPaymentMethod";
5
+ import { CashPaymentMethod } from "./CashPaymentMethod";
6
+ import { CheckPaymentMethod } from "./CheckPaymentMethod";
7
+ export declare const PaymentMethod: core.serialization.Schema<serializers.patientPayments.v4.PaymentMethod.Raw, CandidApi.patientPayments.v4.PaymentMethod>;
8
+ export declare namespace PaymentMethod {
9
+ type Raw = PaymentMethod.Cash | PaymentMethod.Check | PaymentMethod.Card;
10
+ interface Cash extends CashPaymentMethod.Raw {
11
+ type: "cash";
12
+ }
13
+ interface Check extends CheckPaymentMethod.Raw {
14
+ type: "check";
15
+ }
16
+ interface Card extends CardPaymentMethod.Raw {
17
+ type: "card";
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.PaymentMethod = void 0;
38
+ const core = __importStar(require("../../../../../../core"));
39
+ const CardPaymentMethod_1 = require("./CardPaymentMethod");
40
+ const CashPaymentMethod_1 = require("./CashPaymentMethod");
41
+ const CheckPaymentMethod_1 = require("./CheckPaymentMethod");
42
+ exports.PaymentMethod = core.serialization
43
+ .union("type", {
44
+ cash: CashPaymentMethod_1.CashPaymentMethod,
45
+ check: CheckPaymentMethod_1.CheckPaymentMethod,
46
+ card: CardPaymentMethod_1.CardPaymentMethod,
47
+ })
48
+ .transform({
49
+ transform: (value) => value,
50
+ untransform: (value) => value,
51
+ });
@@ -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 { StreetAddressShortZip } from "../../../../commons/types/StreetAddressShortZip";
5
+ import { PaymentMethod } from "./PaymentMethod";
6
+ export declare const PaymentMethodDetail: core.serialization.ObjectSchema<serializers.patientPayments.v4.PaymentMethodDetail.Raw, CandidApi.patientPayments.v4.PaymentMethodDetail>;
7
+ export declare namespace PaymentMethodDetail {
8
+ interface Raw {
9
+ payment_method: PaymentMethod.Raw;
10
+ collected_at_address?: StreetAddressShortZip.Raw | null;
11
+ }
12
+ }
@@ -0,0 +1,44 @@
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.PaymentMethodDetail = void 0;
38
+ const core = __importStar(require("../../../../../../core"));
39
+ const StreetAddressShortZip_1 = require("../../../../commons/types/StreetAddressShortZip");
40
+ const PaymentMethod_1 = require("./PaymentMethod");
41
+ exports.PaymentMethodDetail = core.serialization.object({
42
+ paymentMethod: core.serialization.property("payment_method", PaymentMethod_1.PaymentMethod),
43
+ collectedAtAddress: core.serialization.property("collected_at_address", StreetAddressShortZip_1.StreetAddressShortZip.optional()),
44
+ });
@@ -1,4 +1,9 @@
1
+ export * from "./CardPaymentMethod";
2
+ export * from "./CashPaymentMethod";
3
+ export * from "./CheckPaymentMethod";
1
4
  export * from "./PatientPayment";
2
5
  export * from "./PatientPaymentId";
3
6
  export * from "./PatientPaymentSortField";
4
7
  export * from "./PatientPaymentsPage";
8
+ export * from "./PaymentMethod";
9
+ export * from "./PaymentMethodDetail";
@@ -14,7 +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("./CardPaymentMethod"), exports);
18
+ __exportStar(require("./CashPaymentMethod"), exports);
19
+ __exportStar(require("./CheckPaymentMethod"), exports);
17
20
  __exportStar(require("./PatientPayment"), exports);
18
21
  __exportStar(require("./PatientPaymentId"), exports);
19
22
  __exportStar(require("./PatientPaymentSortField"), exports);
20
23
  __exportStar(require("./PatientPaymentsPage"), exports);
24
+ __exportStar(require("./PaymentMethod"), exports);
25
+ __exportStar(require("./PaymentMethodDetail"), exports);
@@ -13,5 +13,7 @@ export declare namespace EligibilityRequest {
13
13
  subscriber: MemberInfo.Raw;
14
14
  dependent?: MemberInfo.Raw | null;
15
15
  encounter?: Encounter.Raw | null;
16
+ get_existing_check_initiated_after?: string | null;
17
+ source?: string | null;
16
18
  }
17
19
  }
@@ -46,4 +46,6 @@ exports.EligibilityRequest = core.serialization.object({
46
46
  subscriber: MemberInfo_1.MemberInfo,
47
47
  dependent: MemberInfo_1.MemberInfo.optional(),
48
48
  encounter: Encounter_1.Encounter.optional(),
49
+ getExistingCheckInitiatedAfter: core.serialization.property("get_existing_check_initiated_after", core.serialization.date().optional()),
50
+ source: core.serialization.string().optional(),
49
51
  });
@@ -61,5 +61,6 @@ export declare namespace ServiceLine {
61
61
  has_epsdt_indicator?: boolean | null;
62
62
  has_family_planning_indicator?: boolean | null;
63
63
  note?: string | null;
64
+ prior_authorization_number?: string | null;
64
65
  }
65
66
  }
@@ -94,4 +94,5 @@ exports.ServiceLine = core.serialization.object({
94
94
  hasEpsdtIndicator: core.serialization.property("has_epsdt_indicator", core.serialization.boolean().optional()),
95
95
  hasFamilyPlanningIndicator: core.serialization.property("has_family_planning_indicator", core.serialization.boolean().optional()),
96
96
  note: core.serialization.string().optional(),
97
+ priorAuthorizationNumber: core.serialization.property("prior_authorization_number", core.serialization.string().optional()),
97
98
  });
@@ -25,5 +25,6 @@ export declare namespace ServiceLineCreateBaseBase {
25
25
  ordering_provider?: OrderingProvider.Raw | null;
26
26
  test_results?: TestResult.Raw[] | null;
27
27
  note?: string | null;
28
+ prior_authorization_number?: string | null;
28
29
  }
29
30
  }
@@ -58,4 +58,5 @@ exports.ServiceLineCreateBaseBase = core.serialization.object({
58
58
  orderingProvider: core.serialization.property("ordering_provider", OrderingProvider_1.OrderingProvider.optional()),
59
59
  testResults: core.serialization.property("test_results", core.serialization.list(TestResult_1.TestResult).optional()),
60
60
  note: core.serialization.string().optional(),
61
+ priorAuthorizationNumber: core.serialization.property("prior_authorization_number", core.serialization.string().optional()),
61
62
  });
@@ -28,5 +28,6 @@ export declare namespace ServiceLineCreateOptional {
28
28
  test_results?: TestResultOptional.Raw[] | null;
29
29
  note?: string | null;
30
30
  revenue_code?: string | null;
31
+ prior_authorization_number?: string | null;
31
32
  }
32
33
  }
@@ -61,4 +61,5 @@ exports.ServiceLineCreateOptional = core.serialization.object({
61
61
  testResults: core.serialization.property("test_results", core.serialization.list(TestResultOptional_1.TestResultOptional).optional()),
62
62
  note: core.serialization.string().optional(),
63
63
  revenueCode: core.serialization.property("revenue_code", core.serialization.string().optional()),
64
+ priorAuthorizationNumber: core.serialization.property("prior_authorization_number", core.serialization.string().optional()),
64
65
  });
@@ -10,5 +10,6 @@ export declare namespace ServiceLineCreateStandalone {
10
10
  diagnosis_id_one?: DiagnosisId.Raw | null;
11
11
  diagnosis_id_two?: DiagnosisId.Raw | null;
12
12
  diagnosis_id_three?: DiagnosisId.Raw | null;
13
+ prior_authorization_number?: string | null;
13
14
  }
14
15
  }
@@ -44,5 +44,6 @@ exports.ServiceLineCreateStandalone = core.serialization
44
44
  diagnosisIdOne: core.serialization.property("diagnosis_id_one", DiagnosisId_1.DiagnosisId.optional()),
45
45
  diagnosisIdTwo: core.serialization.property("diagnosis_id_two", DiagnosisId_1.DiagnosisId.optional()),
46
46
  diagnosisIdThree: core.serialization.property("diagnosis_id_three", DiagnosisId_1.DiagnosisId.optional()),
47
+ priorAuthorizationNumber: core.serialization.property("prior_authorization_number", core.serialization.string().optional()),
47
48
  })
48
49
  .extend(ServiceLineCreateStandaloneBase_1.ServiceLineCreateStandaloneBase);
@@ -27,5 +27,6 @@ export declare namespace ServiceLineUpdateBase {
27
27
  has_epsdt_indicator?: boolean | null;
28
28
  has_family_planning_indicator?: boolean | null;
29
29
  note?: string | null;
30
+ prior_authorization_number?: string | null;
30
31
  }
31
32
  }
@@ -60,4 +60,5 @@ exports.ServiceLineUpdateBase = core.serialization.object({
60
60
  hasEpsdtIndicator: core.serialization.property("has_epsdt_indicator", core.serialization.boolean().optional()),
61
61
  hasFamilyPlanningIndicator: core.serialization.property("has_family_planning_indicator", core.serialization.boolean().optional()),
62
62
  note: core.serialization.string().optional(),
63
+ priorAuthorizationNumber: core.serialization.property("prior_authorization_number", core.serialization.string().optional()),
63
64
  });
@@ -12,5 +12,6 @@ export declare namespace UniversalServiceLineCreateStandalone {
12
12
  diagnosis_id_three?: DiagnosisId.Raw | null;
13
13
  revenue_code?: string | null;
14
14
  procedure_code?: string | null;
15
+ prior_authorization_number?: string | null;
15
16
  }
16
17
  }
@@ -46,5 +46,6 @@ exports.UniversalServiceLineCreateStandalone = core.serialization
46
46
  diagnosisIdThree: core.serialization.property("diagnosis_id_three", DiagnosisId_1.DiagnosisId.optional()),
47
47
  revenueCode: core.serialization.property("revenue_code", core.serialization.string().optional()),
48
48
  procedureCode: core.serialization.property("procedure_code", core.serialization.string().optional()),
49
+ priorAuthorizationNumber: core.serialization.property("prior_authorization_number", core.serialization.string().optional()),
49
50
  })
50
51
  .extend(ServiceLineCreateStandaloneBaseBase_1.ServiceLineCreateStandaloneBaseBase);
@@ -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 Carc: core.serialization.Schema<serializers.x12.v1.Carc.Raw, CandidApi.x12.v1.Carc>;
5
+ export declare namespace Carc {
6
+ type Raw = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "16" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "26" | "27" | "29" | "31" | "32" | "33" | "34" | "35" | "39" | "40" | "44" | "45" | "49" | "50" | "51" | "53" | "54" | "55" | "56" | "58" | "59" | "60" | "61" | "66" | "69" | "70" | "74" | "75" | "76" | "78" | "85" | "89" | "90" | "91" | "94" | "95" | "96" | "97" | "100" | "101" | "102" | "103" | "104" | "105" | "106" | "107" | "108" | "109" | "110" | "111" | "112" | "114" | "115" | "116" | "117" | "118" | "119" | "121" | "122" | "125" | "128" | "129" | "130" | "131" | "132" | "133" | "134" | "135" | "136" | "137" | "139" | "140" | "142" | "143" | "144" | "146" | "147" | "148" | "149" | "150" | "151" | "152" | "153" | "154" | "155" | "157" | "158" | "159" | "160" | "161" | "163" | "164" | "166" | "167" | "169" | "170" | "171" | "172" | "173" | "174" | "175" | "176" | "177" | "178" | "179" | "180" | "181" | "182" | "183" | "184" | "185" | "186" | "187" | "188" | "189" | "190" | "192" | "193" | "194" | "195" | "197" | "198" | "199" | "200" | "201" | "202" | "203" | "204" | "205" | "206" | "207" | "208" | "209" | "210" | "211" | "212" | "213" | "215" | "216" | "219" | "222" | "223" | "224" | "225" | "226" | "227" | "228" | "229" | "231" | "232" | "233" | "234" | "235" | "236" | "237" | "238" | "239" | "240" | "241" | "242" | "243" | "245" | "246" | "247" | "248" | "249" | "250" | "251" | "252" | "253" | "254" | "256" | "257" | "258" | "259" | "260" | "261" | "262" | "263" | "264" | "265" | "266" | "267" | "268" | "269" | "270" | "271" | "272" | "273" | "274" | "275" | "276" | "277" | "278" | "279" | "280" | "281" | "282" | "283" | "284" | "285" | "286" | "287" | "288" | "289" | "290" | "291" | "292" | "293" | "294" | "295" | "296" | "297" | "298" | "299" | "300" | "301" | "302" | "303" | "304" | "305" | "A0" | "A1" | "A5" | "A6" | "A8" | "B1" | "B4" | "B7" | "B8" | "B9" | "B10" | "B11" | "B12" | "B13" | "B14" | "B15" | "B16" | "B20" | "B22" | "B23" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "P7" | "P8" | "P9" | "P10" | "P11" | "P12" | "P13" | "P14" | "P15" | "P16" | "P17" | "P18" | "P19" | "P20" | "P21" | "P22" | "P23" | "P24" | "P25" | "P26" | "P27" | "P28" | "P29" | "P30" | "P31" | "P32" | "15" | "17" | "25" | "28" | "30" | "36" | "37" | "38" | "41" | "42" | "43" | "46" | "47" | "48" | "52" | "57" | "62" | "63" | "64" | "65" | "67" | "68" | "71" | "72" | "73" | "77" | "79" | "80" | "81" | "82" | "83" | "84" | "86" | "87" | "88" | "92" | "93" | "98" | "99" | "113" | "120" | "123" | "124" | "126" | "127" | "138" | "141" | "145" | "156" | "162" | "165" | "168" | "191" | "196" | "214" | "217" | "218" | "220" | "221" | "230" | "244" | "255" | "A2" | "A3" | "A4" | "A7" | "B2" | "B3" | "B5" | "B6" | "B17" | "B18" | "B19" | "B21" | "D1" | "D2" | "D3" | "D4" | "D5" | "D6" | "D7" | "D8" | "D9" | "D10" | "D11" | "D12" | "D14" | "D15" | "D16" | "D17" | "D18" | "D19" | "D20" | "D21" | "D22" | "D23" | "W1" | "W2" | "W3" | "W4" | "W5" | "W6" | "W7" | "W8" | "W9" | "Y1" | "Y2" | "Y3" | "UNKNOWN";
7
+ }