candidhealth 1.13.0 → 1.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (559) hide show
  1. package/Client.d.ts +0 -6
  2. package/Client.js +38 -48
  3. package/api/resources/commons/types/ProcedureModifier.d.ts +3 -0
  4. package/api/resources/commons/types/ProcedureModifier.js +3 -0
  5. package/api/resources/commons/types/index.d.ts +0 -2
  6. package/api/resources/commons/types/index.js +0 -2
  7. package/api/resources/encounters/resources/v4/client/Client.d.ts +97 -0
  8. package/api/resources/encounters/resources/v4/client/Client.js +312 -0
  9. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +67 -0
  10. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +143 -0
  11. package/api/resources/encounters/resources/v4/client/createUniversal.d.ts +91 -0
  12. package/api/resources/encounters/resources/v4/client/createUniversal.js +187 -0
  13. package/api/resources/encounters/resources/v4/client/index.d.ts +3 -0
  14. package/api/resources/encounters/resources/v4/client/index.js +4 -1
  15. package/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +67 -0
  16. package/api/resources/encounters/resources/v4/client/updateUniversal.js +143 -0
  17. package/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +46 -0
  18. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +44 -0
  19. package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +36 -0
  20. package/api/resources/encountersUniversal/types/index.d.ts +3 -0
  21. package/api/resources/encountersUniversal/types/index.js +3 -0
  22. package/api/resources/era/types/index.d.ts +0 -1
  23. package/api/resources/era/types/index.js +0 -1
  24. package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +8 -0
  25. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +8 -0
  26. package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +8 -0
  27. package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +9 -0
  28. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +27 -0
  29. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +15 -0
  30. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +9 -0
  31. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +9 -0
  32. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +15 -0
  33. package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +8 -0
  34. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +9 -0
  35. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +15 -0
  36. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +8 -0
  37. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +9 -0
  38. package/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  39. package/api/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  40. package/api/resources/index.d.ts +0 -5
  41. package/api/resources/index.js +2 -7
  42. package/api/resources/serviceFacility/index.d.ts +0 -1
  43. package/api/resources/serviceFacility/index.js +0 -1
  44. package/api/resources/serviceLines/resources/v2/client/Client.js +1 -0
  45. package/api/resources/serviceLines/resources/v2/client/delete.d.ts +7 -1
  46. package/api/resources/serviceLines/resources/v2/client/delete.js +11 -0
  47. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +8 -0
  48. package/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  49. package/api/resources/serviceLines/resources/v2/types/index.js +1 -0
  50. package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +27 -0
  51. package/api/resources/x12/resources/v1/types/index.d.ts +1 -4
  52. package/api/resources/x12/resources/v1/types/index.js +1 -4
  53. package/dist/Client.d.ts +0 -6
  54. package/dist/Client.js +38 -48
  55. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +3 -0
  56. package/dist/api/resources/commons/types/ProcedureModifier.js +3 -0
  57. package/dist/api/resources/commons/types/index.d.ts +0 -2
  58. package/dist/api/resources/commons/types/index.js +0 -2
  59. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +97 -0
  60. package/dist/api/resources/encounters/resources/v4/client/Client.js +312 -0
  61. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +67 -0
  62. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +143 -0
  63. package/dist/api/resources/encounters/resources/v4/client/createUniversal.d.ts +91 -0
  64. package/dist/api/resources/encounters/resources/v4/client/createUniversal.js +187 -0
  65. package/dist/api/resources/encounters/resources/v4/client/index.d.ts +3 -0
  66. package/dist/api/resources/encounters/resources/v4/client/index.js +4 -1
  67. package/dist/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +67 -0
  68. package/dist/api/resources/encounters/resources/v4/client/updateUniversal.js +143 -0
  69. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +46 -0
  70. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +44 -0
  71. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +36 -0
  72. package/dist/api/resources/encountersUniversal/types/index.d.ts +3 -0
  73. package/dist/api/resources/encountersUniversal/types/index.js +3 -0
  74. package/dist/api/resources/era/types/index.d.ts +0 -1
  75. package/dist/api/resources/era/types/index.js +0 -1
  76. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +8 -0
  77. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +3 -0
  78. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +8 -0
  79. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +3 -0
  80. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +8 -0
  81. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +3 -0
  82. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +9 -0
  83. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +3 -0
  84. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +27 -0
  85. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +3 -0
  86. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +15 -0
  87. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +3 -0
  88. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +9 -0
  89. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +3 -0
  90. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +9 -0
  91. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +3 -0
  92. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +15 -0
  93. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +3 -0
  94. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +8 -0
  95. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +3 -0
  96. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +9 -0
  97. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +3 -0
  98. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +15 -0
  99. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +3 -0
  100. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +8 -0
  101. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +3 -0
  102. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +9 -0
  103. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +3 -0
  104. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  105. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  106. package/dist/api/resources/index.d.ts +0 -5
  107. package/dist/api/resources/index.js +2 -7
  108. package/dist/api/resources/serviceFacility/index.d.ts +0 -1
  109. package/dist/api/resources/serviceFacility/index.js +0 -1
  110. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +1 -0
  111. package/dist/api/resources/serviceLines/resources/v2/client/delete.d.ts +7 -1
  112. package/dist/api/resources/serviceLines/resources/v2/client/delete.js +11 -0
  113. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +8 -0
  114. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +3 -0
  115. package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  116. package/dist/api/resources/serviceLines/resources/v2/types/index.js +1 -0
  117. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +27 -0
  118. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +3 -0
  119. package/dist/api/resources/x12/resources/v1/types/index.d.ts +1 -4
  120. package/dist/api/resources/x12/resources/v1/types/index.js +1 -4
  121. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  122. package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  123. package/dist/serialization/resources/commons/types/index.d.ts +0 -2
  124. package/dist/serialization/resources/commons/types/index.js +0 -2
  125. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +46 -0
  126. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +110 -0
  127. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +66 -0
  128. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.js +134 -0
  129. package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +3 -0
  130. package/dist/serialization/resources/encounters/resources/v4/client/index.js +4 -1
  131. package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +47 -0
  132. package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.js +111 -0
  133. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +36 -0
  134. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +70 -0
  135. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +34 -0
  136. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +68 -0
  137. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +29 -0
  138. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +63 -0
  139. package/dist/serialization/resources/encountersUniversal/types/index.d.ts +3 -0
  140. package/dist/serialization/resources/encountersUniversal/types/index.js +3 -0
  141. package/dist/serialization/resources/era/types/index.d.ts +0 -1
  142. package/dist/serialization/resources/era/types/index.js +0 -1
  143. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +13 -0
  144. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +47 -0
  145. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +13 -0
  146. package/dist/serialization/resources/{insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js → healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js} +10 -6
  147. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +13 -0
  148. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +47 -0
  149. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +15 -0
  150. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +49 -0
  151. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +34 -0
  152. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +66 -0
  153. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +15 -0
  154. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +49 -0
  155. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +15 -0
  156. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +49 -0
  157. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +15 -0
  158. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +49 -0
  159. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +15 -0
  160. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +49 -0
  161. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +13 -0
  162. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +47 -0
  163. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +15 -0
  164. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +49 -0
  165. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +15 -0
  166. package/dist/serialization/resources/{x12/resources/v1/types/RemittanceAdviceRemarkCode.js → healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js} +12 -5
  167. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +13 -0
  168. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +47 -0
  169. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +15 -0
  170. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +49 -0
  171. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  172. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  173. package/dist/serialization/resources/index.d.ts +0 -5
  174. package/dist/serialization/resources/index.js +2 -7
  175. package/dist/serialization/resources/serviceLines/resources/v2/client/delete.d.ts +6 -1
  176. package/dist/serialization/resources/serviceLines/resources/v2/client/delete.js +6 -0
  177. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +12 -0
  178. package/dist/serialization/resources/{remitDrafts/resources/v1/types/RemitDraftId.js → serviceLines/resources/v2/types/UniversalServiceLineCreate.js} +9 -6
  179. package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  180. package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
  181. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +15 -0
  182. package/{serialization/resources/remits/resources/v1/types/PayeeIdentifier.js → dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js} +5 -11
  183. package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +1 -4
  184. package/dist/serialization/resources/x12/resources/v1/types/index.js +1 -4
  185. package/dist/version.d.ts +1 -1
  186. package/dist/version.js +1 -1
  187. package/package.json +1 -1
  188. package/reference.md +236 -353
  189. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  190. package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  191. package/serialization/resources/commons/types/index.d.ts +0 -2
  192. package/serialization/resources/commons/types/index.js +0 -2
  193. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +46 -0
  194. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +110 -0
  195. package/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +66 -0
  196. package/serialization/resources/encounters/resources/v4/client/createUniversal.js +134 -0
  197. package/serialization/resources/encounters/resources/v4/client/index.d.ts +3 -0
  198. package/serialization/resources/encounters/resources/v4/client/index.js +4 -1
  199. package/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +47 -0
  200. package/serialization/resources/encounters/resources/v4/client/updateUniversal.js +111 -0
  201. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +36 -0
  202. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +70 -0
  203. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +34 -0
  204. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +68 -0
  205. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +29 -0
  206. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +63 -0
  207. package/serialization/resources/encountersUniversal/types/index.d.ts +3 -0
  208. package/serialization/resources/encountersUniversal/types/index.js +3 -0
  209. package/serialization/resources/era/types/index.d.ts +0 -1
  210. package/serialization/resources/era/types/index.js +0 -1
  211. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +13 -0
  212. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +47 -0
  213. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +13 -0
  214. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +47 -0
  215. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +13 -0
  216. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +47 -0
  217. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +15 -0
  218. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +49 -0
  219. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +34 -0
  220. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +66 -0
  221. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +15 -0
  222. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +49 -0
  223. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +15 -0
  224. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +49 -0
  225. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +15 -0
  226. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +49 -0
  227. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +15 -0
  228. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +49 -0
  229. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +13 -0
  230. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +47 -0
  231. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +15 -0
  232. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +49 -0
  233. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +15 -0
  234. package/serialization/resources/{x12/resources/v1/types/RemittanceAdviceRemarkCode.js → healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js} +12 -5
  235. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +13 -0
  236. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +47 -0
  237. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +15 -0
  238. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +49 -0
  239. package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  240. package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  241. package/serialization/resources/index.d.ts +0 -5
  242. package/serialization/resources/index.js +2 -7
  243. package/serialization/resources/serviceLines/resources/v2/client/delete.d.ts +6 -1
  244. package/serialization/resources/serviceLines/resources/v2/client/delete.js +6 -0
  245. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +12 -0
  246. package/{dist/serialization/resources/remits/resources/v1/types/Payee.js → serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js} +9 -6
  247. package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  248. package/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
  249. package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +15 -0
  250. package/{dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.js → serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js} +5 -11
  251. package/serialization/resources/x12/resources/v1/types/index.d.ts +1 -4
  252. package/serialization/resources/x12/resources/v1/types/index.js +1 -4
  253. package/version.d.ts +1 -1
  254. package/version.js +1 -1
  255. package/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +0 -13
  256. package/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +0 -16
  257. package/api/resources/commons/types/TaxId.d.ts +0 -5
  258. package/api/resources/commons/types/TaxId.js +0 -7
  259. package/api/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +0 -5
  260. package/api/resources/eraCommons/index.d.ts +0 -1
  261. package/api/resources/eraCommons/index.js +0 -17
  262. package/api/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +0 -13
  263. package/api/resources/eraCommons/types/ClaimStatusCodeCreate.js +0 -16
  264. package/api/resources/eraCommons/types/index.d.ts +0 -1
  265. package/api/resources/eraCommons/types/index.js +0 -17
  266. package/api/resources/insuranceAdjudications/client/Client.d.ts +0 -14
  267. package/api/resources/insuranceAdjudications/client/Client.js +0 -15
  268. package/api/resources/insuranceAdjudications/client/index.d.ts +0 -1
  269. package/api/resources/insuranceAdjudications/client/index.js +0 -2
  270. package/api/resources/insuranceAdjudications/index.d.ts +0 -2
  271. package/api/resources/insuranceAdjudications/index.js +0 -18
  272. package/api/resources/insuranceAdjudications/resources/index.d.ts +0 -1
  273. package/api/resources/insuranceAdjudications/resources/index.js +0 -37
  274. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -153
  275. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +0 -342
  276. package/api/resources/insuranceAdjudications/resources/v1/client/create.d.ts +0 -25
  277. package/api/resources/insuranceAdjudications/resources/v1/client/create.js +0 -66
  278. package/api/resources/insuranceAdjudications/resources/v1/client/delete.d.ts +0 -19
  279. package/api/resources/insuranceAdjudications/resources/v1/client/delete.js +0 -55
  280. package/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +0 -19
  281. package/api/resources/insuranceAdjudications/resources/v1/client/get.js +0 -55
  282. package/api/resources/insuranceAdjudications/resources/v1/client/index.d.ts +0 -3
  283. package/api/resources/insuranceAdjudications/resources/v1/client/index.js +0 -39
  284. package/api/resources/insuranceAdjudications/resources/v1/index.d.ts +0 -2
  285. package/api/resources/insuranceAdjudications/resources/v1/index.js +0 -18
  286. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +0 -10
  287. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +0 -9
  288. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -10
  289. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +0 -12
  290. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +0 -5
  291. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +0 -7
  292. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +0 -13
  293. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +0 -12
  294. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +0 -5
  295. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +0 -7
  296. package/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -8
  297. package/api/resources/insuranceAdjudications/resources/v1/types/index.js +0 -24
  298. package/api/resources/remitDrafts/index.d.ts +0 -1
  299. package/api/resources/remitDrafts/index.js +0 -17
  300. package/api/resources/remitDrafts/resources/index.d.ts +0 -1
  301. package/api/resources/remitDrafts/resources/index.js +0 -37
  302. package/api/resources/remitDrafts/resources/v1/index.d.ts +0 -1
  303. package/api/resources/remitDrafts/resources/v1/index.js +0 -17
  304. package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +0 -5
  305. package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +0 -7
  306. package/api/resources/remitDrafts/resources/v1/types/index.d.ts +0 -1
  307. package/api/resources/remitDrafts/resources/v1/types/index.js +0 -17
  308. package/api/resources/remits/index.d.ts +0 -1
  309. package/api/resources/remits/index.js +0 -17
  310. package/api/resources/remits/resources/index.d.ts +0 -1
  311. package/api/resources/remits/resources/index.js +0 -37
  312. package/api/resources/remits/resources/v1/index.d.ts +0 -1
  313. package/api/resources/remits/resources/v1/index.js +0 -17
  314. package/api/resources/remits/resources/v1/types/Payee.d.ts +0 -5
  315. package/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +0 -16
  316. package/api/resources/remits/resources/v1/types/index.d.ts +0 -2
  317. package/api/resources/remits/resources/v1/types/index.js +0 -18
  318. package/api/resources/serviceFacility/client/Client.d.ts +0 -25
  319. package/api/resources/serviceFacility/client/Client.js +0 -119
  320. package/api/resources/serviceFacility/client/index.d.ts +0 -1
  321. package/api/resources/serviceFacility/client/index.js +0 -37
  322. package/api/resources/serviceFacility/client/update.d.ts +0 -19
  323. package/api/resources/serviceFacility/client/update.js +0 -55
  324. package/api/resources/x12/resources/v1/types/Carc.d.ts +0 -407
  325. package/api/resources/x12/resources/v1/types/Carc.js +0 -410
  326. package/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -6
  327. package/api/resources/x12/resources/v1/types/Rarc.d.ts +0 -1190
  328. package/api/resources/x12/resources/v1/types/Rarc.js +0 -1193
  329. package/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -4
  330. package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +0 -13
  331. package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +0 -16
  332. package/dist/api/resources/commons/types/TaxId.d.ts +0 -5
  333. package/dist/api/resources/commons/types/TaxId.js +0 -7
  334. package/dist/api/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +0 -5
  335. package/dist/api/resources/eraCommons/index.d.ts +0 -1
  336. package/dist/api/resources/eraCommons/index.js +0 -17
  337. package/dist/api/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +0 -13
  338. package/dist/api/resources/eraCommons/types/ClaimStatusCodeCreate.js +0 -16
  339. package/dist/api/resources/eraCommons/types/index.d.ts +0 -1
  340. package/dist/api/resources/eraCommons/types/index.js +0 -17
  341. package/dist/api/resources/insuranceAdjudications/client/Client.d.ts +0 -14
  342. package/dist/api/resources/insuranceAdjudications/client/Client.js +0 -15
  343. package/dist/api/resources/insuranceAdjudications/client/index.d.ts +0 -1
  344. package/dist/api/resources/insuranceAdjudications/client/index.js +0 -2
  345. package/dist/api/resources/insuranceAdjudications/index.d.ts +0 -2
  346. package/dist/api/resources/insuranceAdjudications/index.js +0 -18
  347. package/dist/api/resources/insuranceAdjudications/resources/index.d.ts +0 -1
  348. package/dist/api/resources/insuranceAdjudications/resources/index.js +0 -37
  349. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -153
  350. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +0 -342
  351. package/dist/api/resources/insuranceAdjudications/resources/v1/client/create.d.ts +0 -25
  352. package/dist/api/resources/insuranceAdjudications/resources/v1/client/create.js +0 -66
  353. package/dist/api/resources/insuranceAdjudications/resources/v1/client/delete.d.ts +0 -19
  354. package/dist/api/resources/insuranceAdjudications/resources/v1/client/delete.js +0 -55
  355. package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +0 -19
  356. package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.js +0 -55
  357. package/dist/api/resources/insuranceAdjudications/resources/v1/client/index.d.ts +0 -3
  358. package/dist/api/resources/insuranceAdjudications/resources/v1/client/index.js +0 -39
  359. package/dist/api/resources/insuranceAdjudications/resources/v1/index.d.ts +0 -2
  360. package/dist/api/resources/insuranceAdjudications/resources/v1/index.js +0 -18
  361. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +0 -10
  362. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +0 -9
  363. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -10
  364. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +0 -12
  365. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +0 -5
  366. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +0 -7
  367. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +0 -13
  368. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +0 -12
  369. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +0 -5
  370. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +0 -7
  371. package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -8
  372. package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.js +0 -24
  373. package/dist/api/resources/remitDrafts/index.d.ts +0 -1
  374. package/dist/api/resources/remitDrafts/index.js +0 -17
  375. package/dist/api/resources/remitDrafts/resources/index.d.ts +0 -1
  376. package/dist/api/resources/remitDrafts/resources/index.js +0 -37
  377. package/dist/api/resources/remitDrafts/resources/v1/index.d.ts +0 -1
  378. package/dist/api/resources/remitDrafts/resources/v1/index.js +0 -17
  379. package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +0 -5
  380. package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +0 -7
  381. package/dist/api/resources/remitDrafts/resources/v1/types/index.d.ts +0 -1
  382. package/dist/api/resources/remitDrafts/resources/v1/types/index.js +0 -17
  383. package/dist/api/resources/remits/index.d.ts +0 -1
  384. package/dist/api/resources/remits/index.js +0 -17
  385. package/dist/api/resources/remits/resources/index.d.ts +0 -1
  386. package/dist/api/resources/remits/resources/index.js +0 -37
  387. package/dist/api/resources/remits/resources/v1/index.d.ts +0 -1
  388. package/dist/api/resources/remits/resources/v1/index.js +0 -17
  389. package/dist/api/resources/remits/resources/v1/types/Payee.d.ts +0 -5
  390. package/dist/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +0 -16
  391. package/dist/api/resources/remits/resources/v1/types/index.d.ts +0 -2
  392. package/dist/api/resources/remits/resources/v1/types/index.js +0 -18
  393. package/dist/api/resources/serviceFacility/client/Client.d.ts +0 -25
  394. package/dist/api/resources/serviceFacility/client/Client.js +0 -119
  395. package/dist/api/resources/serviceFacility/client/index.d.ts +0 -1
  396. package/dist/api/resources/serviceFacility/client/index.js +0 -37
  397. package/dist/api/resources/serviceFacility/client/update.d.ts +0 -19
  398. package/dist/api/resources/serviceFacility/client/update.js +0 -55
  399. package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +0 -407
  400. package/dist/api/resources/x12/resources/v1/types/Carc.js +0 -410
  401. package/dist/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -6
  402. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +0 -1190
  403. package/dist/api/resources/x12/resources/v1/types/Rarc.js +0 -1193
  404. package/dist/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -4
  405. package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +0 -7
  406. package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +0 -39
  407. package/dist/serialization/resources/commons/types/TaxId.d.ts +0 -7
  408. package/dist/serialization/resources/commons/types/TaxId.js +0 -45
  409. package/dist/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +0 -11
  410. package/dist/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.js +0 -43
  411. package/dist/serialization/resources/eraCommons/index.d.ts +0 -1
  412. package/dist/serialization/resources/eraCommons/index.js +0 -17
  413. package/dist/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +0 -7
  414. package/dist/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.js +0 -39
  415. package/dist/serialization/resources/eraCommons/types/index.d.ts +0 -1
  416. package/dist/serialization/resources/eraCommons/types/index.js +0 -17
  417. package/dist/serialization/resources/insuranceAdjudications/index.d.ts +0 -1
  418. package/dist/serialization/resources/insuranceAdjudications/index.js +0 -17
  419. package/dist/serialization/resources/insuranceAdjudications/resources/index.d.ts +0 -1
  420. package/dist/serialization/resources/insuranceAdjudications/resources/index.js +0 -37
  421. package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/create.d.ts +0 -12
  422. package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/create.js +0 -69
  423. package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/index.d.ts +0 -1
  424. package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/index.js +0 -37
  425. package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +0 -2
  426. package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.js +0 -18
  427. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +0 -19
  428. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +0 -51
  429. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +0 -18
  430. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +0 -50
  431. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -19
  432. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -51
  433. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +0 -22
  434. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +0 -54
  435. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +0 -7
  436. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +0 -43
  437. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +0 -21
  438. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +0 -53
  439. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +0 -19
  440. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +0 -51
  441. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +0 -7
  442. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -8
  443. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +0 -24
  444. package/dist/serialization/resources/remitDrafts/index.d.ts +0 -1
  445. package/dist/serialization/resources/remitDrafts/index.js +0 -17
  446. package/dist/serialization/resources/remitDrafts/resources/index.d.ts +0 -1
  447. package/dist/serialization/resources/remitDrafts/resources/index.js +0 -37
  448. package/dist/serialization/resources/remitDrafts/resources/v1/index.d.ts +0 -1
  449. package/dist/serialization/resources/remitDrafts/resources/v1/index.js +0 -17
  450. package/dist/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +0 -7
  451. package/dist/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +0 -1
  452. package/dist/serialization/resources/remitDrafts/resources/v1/types/index.js +0 -17
  453. package/dist/serialization/resources/remits/index.d.ts +0 -1
  454. package/dist/serialization/resources/remits/index.js +0 -17
  455. package/dist/serialization/resources/remits/resources/index.d.ts +0 -1
  456. package/dist/serialization/resources/remits/resources/index.js +0 -37
  457. package/dist/serialization/resources/remits/resources/v1/index.d.ts +0 -1
  458. package/dist/serialization/resources/remits/resources/v1/index.js +0 -17
  459. package/dist/serialization/resources/remits/resources/v1/types/Payee.d.ts +0 -11
  460. package/dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +0 -21
  461. package/dist/serialization/resources/remits/resources/v1/types/index.d.ts +0 -2
  462. package/dist/serialization/resources/remits/resources/v1/types/index.js +0 -18
  463. package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +0 -7
  464. package/dist/serialization/resources/x12/resources/v1/types/Carc.js +0 -444
  465. package/dist/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -13
  466. package/dist/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -45
  467. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +0 -7
  468. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +0 -1227
  469. package/dist/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -10
  470. package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +0 -7
  471. package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +0 -39
  472. package/serialization/resources/commons/types/TaxId.d.ts +0 -7
  473. package/serialization/resources/commons/types/TaxId.js +0 -45
  474. package/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +0 -11
  475. package/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.js +0 -43
  476. package/serialization/resources/eraCommons/index.d.ts +0 -1
  477. package/serialization/resources/eraCommons/index.js +0 -17
  478. package/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +0 -7
  479. package/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.js +0 -39
  480. package/serialization/resources/eraCommons/types/index.d.ts +0 -1
  481. package/serialization/resources/eraCommons/types/index.js +0 -17
  482. package/serialization/resources/insuranceAdjudications/index.d.ts +0 -1
  483. package/serialization/resources/insuranceAdjudications/index.js +0 -17
  484. package/serialization/resources/insuranceAdjudications/resources/index.d.ts +0 -1
  485. package/serialization/resources/insuranceAdjudications/resources/index.js +0 -37
  486. package/serialization/resources/insuranceAdjudications/resources/v1/client/create.d.ts +0 -12
  487. package/serialization/resources/insuranceAdjudications/resources/v1/client/create.js +0 -69
  488. package/serialization/resources/insuranceAdjudications/resources/v1/client/index.d.ts +0 -1
  489. package/serialization/resources/insuranceAdjudications/resources/v1/client/index.js +0 -37
  490. package/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +0 -2
  491. package/serialization/resources/insuranceAdjudications/resources/v1/index.js +0 -18
  492. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +0 -19
  493. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +0 -51
  494. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +0 -18
  495. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +0 -50
  496. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -19
  497. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -51
  498. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +0 -22
  499. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +0 -54
  500. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +0 -7
  501. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +0 -43
  502. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +0 -21
  503. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +0 -53
  504. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +0 -19
  505. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +0 -51
  506. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +0 -7
  507. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +0 -43
  508. package/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -8
  509. package/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +0 -24
  510. package/serialization/resources/remitDrafts/index.d.ts +0 -1
  511. package/serialization/resources/remitDrafts/index.js +0 -17
  512. package/serialization/resources/remitDrafts/resources/index.d.ts +0 -1
  513. package/serialization/resources/remitDrafts/resources/index.js +0 -37
  514. package/serialization/resources/remitDrafts/resources/v1/index.d.ts +0 -1
  515. package/serialization/resources/remitDrafts/resources/v1/index.js +0 -17
  516. package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +0 -7
  517. package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.js +0 -43
  518. package/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +0 -1
  519. package/serialization/resources/remitDrafts/resources/v1/types/index.js +0 -17
  520. package/serialization/resources/remits/index.d.ts +0 -1
  521. package/serialization/resources/remits/index.js +0 -17
  522. package/serialization/resources/remits/resources/index.d.ts +0 -1
  523. package/serialization/resources/remits/resources/index.js +0 -37
  524. package/serialization/resources/remits/resources/v1/index.d.ts +0 -1
  525. package/serialization/resources/remits/resources/v1/index.js +0 -17
  526. package/serialization/resources/remits/resources/v1/types/Payee.d.ts +0 -11
  527. package/serialization/resources/remits/resources/v1/types/Payee.js +0 -43
  528. package/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +0 -21
  529. package/serialization/resources/remits/resources/v1/types/index.d.ts +0 -2
  530. package/serialization/resources/remits/resources/v1/types/index.js +0 -18
  531. package/serialization/resources/x12/resources/v1/types/Carc.d.ts +0 -7
  532. package/serialization/resources/x12/resources/v1/types/Carc.js +0 -444
  533. package/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -13
  534. package/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -45
  535. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +0 -7
  536. package/serialization/resources/x12/resources/v1/types/Rarc.js +0 -1227
  537. package/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -10
  538. /package/api/resources/{era/types/EraNotFullyProcessedErrorMessage.js → encountersUniversal/types/UniversalEncounterCreate.js} +0 -0
  539. /package/api/resources/{insuranceAdjudications/resources/v1/types/ClaimAdjudication.js → encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js} +0 -0
  540. /package/api/resources/{insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js → encountersUniversal/types/UniversalEncounterUpdate.js} +0 -0
  541. /package/api/resources/{insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js → healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js} +0 -0
  542. /package/api/resources/{insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js → healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js} +0 -0
  543. /package/api/resources/{insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js → healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js} +0 -0
  544. /package/api/resources/{insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js → healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js} +0 -0
  545. /package/api/resources/{remits/resources/v1/types/Payee.js → healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js} +0 -0
  546. /package/api/resources/{remits/resources/v1/types/PayeeIdentifier.js → healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js} +0 -0
  547. /package/api/resources/{x12/resources/v1/types/ClaimAdjustmentReasonCode.js → healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js} +0 -0
  548. /package/api/resources/{x12/resources/v1/types/RemittanceAdviceRemarkCode.js → healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js} +0 -0
  549. /package/{dist/api/resources/era/types/EraNotFullyProcessedErrorMessage.js → api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js} +0 -0
  550. /package/{dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js → api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js} +0 -0
  551. /package/{dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js → api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js} +0 -0
  552. /package/{dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js → api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js} +0 -0
  553. /package/{dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js → api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js} +0 -0
  554. /package/{dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js → api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js} +0 -0
  555. /package/{dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js → api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js} +0 -0
  556. /package/{dist/api/resources/remits/resources/v1/types/Payee.js → api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js} +0 -0
  557. /package/dist/api/resources/{remits/resources/v1/types/PayeeIdentifier.js → encountersUniversal/types/UniversalEncounterCreate.js} +0 -0
  558. /package/dist/api/resources/{x12/resources/v1/types/ClaimAdjustmentReasonCode.js → encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js} +0 -0
  559. /package/dist/api/resources/{x12/resources/v1/types/RemittanceAdviceRemarkCode.js → encountersUniversal/types/UniversalEncounterUpdate.js} +0 -0
package/dist/Client.js CHANGED
@@ -65,26 +65,24 @@ const Client_18 = require("./api/resources/feeSchedules/client/Client");
65
65
  const Client_19 = require("./api/resources/guarantor/client/Client");
66
66
  const Client_20 = require("./api/resources/healthCareCodeInformation/client/Client");
67
67
  const Client_21 = require("./api/resources/importInvoice/client/Client");
68
- const Client_22 = require("./api/resources/insuranceAdjudications/client/Client");
69
- const Client_23 = require("./api/resources/insurancePayments/client/Client");
70
- const Client_24 = require("./api/resources/insuranceRefunds/client/Client");
71
- const Client_25 = require("./api/resources/medicationDispense/client/Client");
72
- const Client_26 = require("./api/resources/nonInsurancePayerPayments/client/Client");
73
- const Client_27 = require("./api/resources/nonInsurancePayerRefunds/client/Client");
74
- const Client_28 = require("./api/resources/nonInsurancePayers/client/Client");
75
- const Client_29 = require("./api/resources/organizationProviders/client/Client");
76
- const Client_30 = require("./api/resources/organizationServiceFacilities/client/Client");
77
- const Client_31 = require("./api/resources/patientAr/client/Client");
78
- const Client_32 = require("./api/resources/patientPayments/client/Client");
79
- const Client_33 = require("./api/resources/patientRefunds/client/Client");
80
- const Client_34 = require("./api/resources/payerPlanGroups/client/Client");
81
- const Client_35 = require("./api/resources/payers/client/Client");
82
- const Client_36 = require("./api/resources/preEncounter/client/Client");
83
- const Client_37 = require("./api/resources/serviceFacility/client/Client");
84
- const Client_38 = require("./api/resources/serviceLines/client/Client");
85
- const Client_39 = require("./api/resources/superbills/client/Client");
86
- const Client_40 = require("./api/resources/tasks/client/Client");
87
- const Client_41 = require("./api/resources/writeOffs/client/Client");
68
+ const Client_22 = require("./api/resources/insurancePayments/client/Client");
69
+ const Client_23 = require("./api/resources/insuranceRefunds/client/Client");
70
+ const Client_24 = require("./api/resources/medicationDispense/client/Client");
71
+ const Client_25 = require("./api/resources/nonInsurancePayerPayments/client/Client");
72
+ const Client_26 = require("./api/resources/nonInsurancePayerRefunds/client/Client");
73
+ const Client_27 = require("./api/resources/nonInsurancePayers/client/Client");
74
+ const Client_28 = require("./api/resources/organizationProviders/client/Client");
75
+ const Client_29 = require("./api/resources/organizationServiceFacilities/client/Client");
76
+ const Client_30 = require("./api/resources/patientAr/client/Client");
77
+ const Client_31 = require("./api/resources/patientPayments/client/Client");
78
+ const Client_32 = require("./api/resources/patientRefunds/client/Client");
79
+ const Client_33 = require("./api/resources/payerPlanGroups/client/Client");
80
+ const Client_34 = require("./api/resources/payers/client/Client");
81
+ const Client_35 = require("./api/resources/preEncounter/client/Client");
82
+ const Client_36 = require("./api/resources/serviceLines/client/Client");
83
+ const Client_37 = require("./api/resources/superbills/client/Client");
84
+ const Client_38 = require("./api/resources/tasks/client/Client");
85
+ const Client_39 = require("./api/resources/writeOffs/client/Client");
88
86
  const core = __importStar(require("./core"));
89
87
  const headers_1 = require("./core/headers");
90
88
  class CandidApiClient {
@@ -92,8 +90,8 @@ class CandidApiClient {
92
90
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_1.mergeHeaders)({
93
91
  "X-Fern-Language": "JavaScript",
94
92
  "X-Fern-SDK-Name": "candidhealth",
95
- "X-Fern-SDK-Version": "1.13.0",
96
- "User-Agent": "candidhealth/1.13.0",
93
+ "X-Fern-SDK-Version": "1.14.1",
94
+ "User-Agent": "candidhealth/1.14.1",
97
95
  "X-Fern-Runtime": core.RUNTIME.type,
98
96
  "X-Fern-Runtime-Version": core.RUNTIME.version,
99
97
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -179,89 +177,81 @@ class CandidApiClient {
179
177
  var _a;
180
178
  return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new Client_21.ImportInvoice(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
181
179
  }
182
- get insuranceAdjudications() {
183
- var _a;
184
- return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new Client_22.InsuranceAdjudications(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
185
- }
186
180
  get insurancePayments() {
187
181
  var _a;
188
- return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new Client_23.InsurancePayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
182
+ return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new Client_22.InsurancePayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
189
183
  }
190
184
  get insuranceRefunds() {
191
185
  var _a;
192
- return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_24.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
186
+ return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_23.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
193
187
  }
194
188
  get medicationDispense() {
195
189
  var _a;
196
- return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new Client_25.MedicationDispense(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
190
+ return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new Client_24.MedicationDispense(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
197
191
  }
198
192
  get nonInsurancePayerPayments() {
199
193
  var _a;
200
- return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new Client_26.NonInsurancePayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
194
+ return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new Client_25.NonInsurancePayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
201
195
  }
202
196
  get nonInsurancePayerRefunds() {
203
197
  var _a;
204
- return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new Client_27.NonInsurancePayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
198
+ return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new Client_26.NonInsurancePayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
205
199
  }
206
200
  get nonInsurancePayers() {
207
201
  var _a;
208
- return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new Client_28.NonInsurancePayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
202
+ return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new Client_27.NonInsurancePayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
209
203
  }
210
204
  get organizationProviders() {
211
205
  var _a;
212
- return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_29.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
206
+ return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_28.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
213
207
  }
214
208
  get organizationServiceFacilities() {
215
209
  var _a;
216
- return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_30.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
210
+ return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_29.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
217
211
  }
218
212
  get patientAr() {
219
213
  var _a;
220
- return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new Client_31.PatientAr(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
214
+ return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new Client_30.PatientAr(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
221
215
  }
222
216
  get patientPayments() {
223
217
  var _a;
224
- return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_32.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
218
+ return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_31.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
225
219
  }
226
220
  get patientRefunds() {
227
221
  var _a;
228
- return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_33.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
222
+ return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_32.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
229
223
  }
230
224
  get payerPlanGroups() {
231
225
  var _a;
232
- return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new Client_34.PayerPlanGroups(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
226
+ return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new Client_33.PayerPlanGroups(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
233
227
  }
234
228
  get payers() {
235
229
  var _a;
236
- return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_35.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
230
+ return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_34.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
237
231
  }
238
232
  get serviceLines() {
239
233
  var _a;
240
- return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new Client_38.ServiceLines(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
234
+ return ((_a = this._serviceLines) !== null && _a !== void 0 ? _a : (this._serviceLines = new Client_36.ServiceLines(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
241
235
  }
242
236
  get superbills() {
243
237
  var _a;
244
- return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new Client_39.Superbills(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
238
+ return ((_a = this._superbills) !== null && _a !== void 0 ? _a : (this._superbills = new Client_37.Superbills(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
245
239
  }
246
240
  get tasks() {
247
241
  var _a;
248
- return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_40.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
242
+ return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_38.Tasks(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
249
243
  }
250
244
  get writeOffs() {
251
245
  var _a;
252
- return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_41.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
246
+ return ((_a = this._writeOffs) !== null && _a !== void 0 ? _a : (this._writeOffs = new Client_39.WriteOffs(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
253
247
  }
254
248
  get preEncounter() {
255
249
  var _a;
256
- return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_36.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
250
+ return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_35.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
257
251
  }
258
252
  get diagnoses() {
259
253
  var _a;
260
254
  return ((_a = this._diagnoses) !== null && _a !== void 0 ? _a : (this._diagnoses = new Client_9.Diagnoses(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
261
255
  }
262
- get serviceFacility() {
263
- var _a;
264
- return ((_a = this._serviceFacility) !== null && _a !== void 0 ? _a : (this._serviceFacility = new Client_37.ServiceFacility(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
265
- }
266
256
  }
267
257
  exports.CandidApiClient = CandidApiClient;
@@ -334,6 +334,9 @@ export declare const ProcedureModifier: {
334
334
  /**
335
335
  * Emergency services */
336
336
  readonly Et: "ET";
337
+ /**
338
+ * Electronic visit verification */
339
+ readonly Ev: "EV";
337
340
  /**
338
341
  * Expatriate beneficiary */
339
342
  readonly Ex: "EX";
@@ -338,6 +338,9 @@ exports.ProcedureModifier = {
338
338
  /**
339
339
  * Emergency services */
340
340
  Et: "ET",
341
+ /**
342
+ * Electronic visit verification */
343
+ Ev: "EV",
341
344
  /**
342
345
  * Expatriate beneficiary */
343
346
  Ex: "EX",
@@ -4,7 +4,6 @@ export * from "./BillingProviderCommercialLicenseType";
4
4
  export * from "./ChargeCaptureClaimCreationId";
5
5
  export * from "./ChargeCaptureId";
6
6
  export * from "./ChargeCapturePostBilledChangeId";
7
- export * from "./ClaimAdjustmentGroupCodes";
8
7
  export * from "./ClaimId";
9
8
  export * from "./ClaimSubmissionPayerResponsibilityType";
10
9
  export * from "./Clearinghouse";
@@ -70,7 +69,6 @@ export * from "./StreetAddressShortZipOptional";
70
69
  export * from "./TaskAssignmentId";
71
70
  export * from "./TaskId";
72
71
  export * from "./TaskNoteId";
73
- export * from "./TaxId";
74
72
  export * from "./UnauthorizedErrorMessage";
75
73
  export * from "./UnprocessableEntityErrorMessage";
76
74
  export * from "./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage";
@@ -20,7 +20,6 @@ __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);
24
23
  __exportStar(require("./ClaimId"), exports);
25
24
  __exportStar(require("./ClaimSubmissionPayerResponsibilityType"), exports);
26
25
  __exportStar(require("./Clearinghouse"), exports);
@@ -86,7 +85,6 @@ __exportStar(require("./StreetAddressShortZipOptional"), exports);
86
85
  __exportStar(require("./TaskAssignmentId"), exports);
87
86
  __exportStar(require("./TaskId"), exports);
88
87
  __exportStar(require("./TaskNoteId"), exports);
89
- __exportStar(require("./TaxId"), exports);
90
88
  __exportStar(require("./UnauthorizedErrorMessage"), exports);
91
89
  __exportStar(require("./UnprocessableEntityErrorMessage"), exports);
92
90
  __exportStar(require("./UpdatesDisabledDueToExternalSystemIntegrationErrorMessage"), exports);
@@ -40,6 +40,47 @@ export declare class V4 {
40
40
  */
41
41
  get(encounterId: CandidApi.EncounterId, requestOptions?: V4.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.get.Error>>;
42
42
  private __get;
43
+ /**
44
+ * @param {CandidApi.encountersUniversal.UniversalEncounterCreate} request
45
+ * @param {V4.RequestOptions} requestOptions - Request-specific configuration.
46
+ *
47
+ * @example
48
+ * await client.encounters.v4.createUniversal({
49
+ * billingProvider: {
50
+ * address: {
51
+ * zipPlusFourCode: "zip_plus_four_code",
52
+ * address1: "address1",
53
+ * city: "city",
54
+ * state: "AA",
55
+ * zipCode: "zip_code"
56
+ * },
57
+ * taxId: "tax_id",
58
+ * npi: "npi"
59
+ * },
60
+ * submissionExpectation: "TARGET_PROFESSIONAL",
61
+ * patient: {
62
+ * externalId: "external_id",
63
+ * dateOfBirth: "2023-01-15",
64
+ * address: {
65
+ * address1: "address1",
66
+ * city: "city",
67
+ * state: "AA",
68
+ * zipCode: "zip_code"
69
+ * },
70
+ * firstName: "first_name",
71
+ * lastName: "last_name",
72
+ * gender: "male"
73
+ * },
74
+ * responsibleParty: "INSURANCE_PAY",
75
+ * externalId: CandidApi.EncounterExternalId("external_id"),
76
+ * patientAuthorizedRelease: true,
77
+ * benefitsAssignedToProvider: true,
78
+ * providerAcceptsAssignment: true,
79
+ * billableStatus: "BILLABLE"
80
+ * })
81
+ */
82
+ createUniversal(request: CandidApi.encountersUniversal.UniversalEncounterCreate, requestOptions?: V4.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.createUniversal.Error>>;
83
+ private __createUniversal;
43
84
  /**
44
85
  * @param {CandidApi.encounters.v4.EncounterCreate} request
45
86
  * @param {V4.RequestOptions} requestOptions - Request-specific configuration.
@@ -91,6 +132,52 @@ export declare class V4 {
91
132
  */
92
133
  create(request: CandidApi.encounters.v4.EncounterCreate, requestOptions?: V4.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.create.Error>>;
93
134
  private __create;
135
+ /**
136
+ * Create an encounter from a pre-encounter patient and appointment. This endpoint is intended to be used by consumers who are managing
137
+ * patients and appointments in the pre-encounter service and is currently under development. Consumers who are not taking advantage
138
+ * of the pre-encounter service should use the standard create endpoint.
139
+ *
140
+ * The endpoint will create an encounter from the provided fields, pulling information from the provided patient and appointment objects
141
+ * where applicable. In particular, the following fields are populated from the patient and appointment objects:
142
+ * - Patient
143
+ * - Referring Provider
144
+ * - Subscriber Primary
145
+ * - Subscriber Secondary
146
+ * - Referral Number
147
+ * - Responsible Party
148
+ * - Guarantor
149
+ *
150
+ * Utilizing this endpoint opts you into automatic updating of the encounter when the patient or appointment is updated, assuming the
151
+ * encounter has not already been submitted or adjudicated.
152
+ *
153
+ * @param {CandidApi.encountersUniversal.UniversalEncounterCreateFromPreEncounter} request
154
+ * @param {V4.RequestOptions} requestOptions - Request-specific configuration.
155
+ *
156
+ * @example
157
+ * await client.encounters.v4.createFromPreEncounterPatientUniversal({
158
+ * submissionExpectation: "TARGET_PROFESSIONAL",
159
+ * preEncounterPatientId: CandidApi.PreEncounterPatientId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
160
+ * preEncounterAppointmentIds: [CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
161
+ * billingProvider: {
162
+ * address: {
163
+ * zipPlusFourCode: "zip_plus_four_code",
164
+ * address1: "address1",
165
+ * city: "city",
166
+ * state: "AA",
167
+ * zipCode: "zip_code"
168
+ * },
169
+ * taxId: "tax_id",
170
+ * npi: "npi"
171
+ * },
172
+ * externalId: CandidApi.EncounterExternalId("external_id"),
173
+ * patientAuthorizedRelease: true,
174
+ * benefitsAssignedToProvider: true,
175
+ * providerAcceptsAssignment: true,
176
+ * billableStatus: "BILLABLE"
177
+ * })
178
+ */
179
+ createFromPreEncounterPatientUniversal(request: CandidApi.encountersUniversal.UniversalEncounterCreateFromPreEncounter, requestOptions?: V4.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error>>;
180
+ private __createFromPreEncounterPatientUniversal;
94
181
  /**
95
182
  * Create an encounter from a pre-encounter patient and appointment. This endpoint is intended to be used by consumers who are managing
96
183
  * patients and appointments in the pre-encounter service and is currently under development. Consumers who are not taking advantage
@@ -147,6 +234,16 @@ export declare class V4 {
147
234
  */
148
235
  createFromPreEncounterPatient(request: CandidApi.encounters.v4.EncounterCreateFromPreEncounter, requestOptions?: V4.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.createFromPreEncounterPatient.Error>>;
149
236
  private __createFromPreEncounterPatient;
237
+ /**
238
+ * @param {CandidApi.EncounterId} encounterId
239
+ * @param {CandidApi.encountersUniversal.UniversalEncounterUpdate} request
240
+ * @param {V4.RequestOptions} requestOptions - Request-specific configuration.
241
+ *
242
+ * @example
243
+ * await client.encounters.v4.updateUniversal(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
244
+ */
245
+ updateUniversal(encounterId: CandidApi.EncounterId, request: CandidApi.encountersUniversal.UniversalEncounterUpdate, requestOptions?: V4.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.updateUniversal.Error>>;
246
+ private __updateUniversal;
150
247
  /**
151
248
  * @param {CandidApi.EncounterId} encounterId
152
249
  * @param {CandidApi.encounters.v4.EncounterUpdate} request