candidhealth 1.7.0 → 1.8.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 (882) hide show
  1. package/api/resources/auth/resources/default/client/Client.d.ts +3 -1
  2. package/api/resources/auth/resources/default/client/Client.js +5 -3
  3. package/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +9 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  5. package/api/resources/chargeCapture/resources/v1/client/Client.js +76 -7
  6. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +36 -0
  7. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +42 -5
  8. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +20 -0
  9. package/api/resources/commons/types/Clearinghouse.d.ts +14 -0
  10. package/api/resources/commons/types/Clearinghouse.js +16 -0
  11. package/api/resources/commons/types/ProcedureModifier.d.ts +13 -2
  12. package/api/resources/commons/types/ProcedureModifier.js +11 -0
  13. package/api/resources/commons/types/index.d.ts +1 -0
  14. package/api/resources/commons/types/index.js +1 -0
  15. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  16. package/api/resources/credentialing/resources/v2/client/Client.js +10 -10
  17. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  18. package/api/resources/diagnoses/client/Client.js +3 -3
  19. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  20. package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  21. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  22. package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +1 -1
  23. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +1 -1
  24. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +1 -1
  25. package/api/resources/encounters/resources/v4/client/Client.d.ts +108 -9
  26. package/api/resources/encounters/resources/v4/client/Client.js +279 -15
  27. package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  28. package/api/resources/encounters/resources/v4/client/create.js +11 -0
  29. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +70 -0
  30. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +145 -0
  31. package/api/resources/encounters/resources/v4/client/createUniversal.d.ts +94 -0
  32. package/api/resources/encounters/resources/v4/client/createUniversal.js +189 -0
  33. package/api/resources/encounters/resources/v4/client/index.d.ts +3 -0
  34. package/api/resources/encounters/resources/v4/client/index.js +4 -1
  35. package/api/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
  36. package/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +70 -0
  37. package/api/resources/encounters/resources/v4/client/updateUniversal.js +145 -0
  38. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -29
  39. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +10 -11
  40. package/api/resources/encounters/resources/v4/types/EncounterCreate.d.ts +27 -0
  41. package/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +3 -36
  42. package/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +9 -4
  43. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +10 -16
  44. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -9
  45. package/api/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +5 -0
  46. package/api/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +17 -0
  47. package/api/resources/encounters/resources/v4/types/index.d.ts +7 -4
  48. package/api/resources/encounters/resources/v4/types/index.js +7 -4
  49. package/api/resources/encountersUniversal/index.d.ts +1 -0
  50. package/api/resources/encountersUniversal/index.js +17 -0
  51. package/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +49 -0
  52. package/api/resources/{encounters/resources/v4/client/requests/EncounterCreate.d.ts → encountersUniversal/types/UniversalEncounterCreateBase.d.ts} +9 -70
  53. package/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +5 -0
  54. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +47 -0
  55. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +5 -0
  56. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +40 -0
  57. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +5 -0
  58. package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +39 -0
  59. package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.js +5 -0
  60. package/api/resources/{encounters/resources/v4/client/requests/EncounterUpdate.d.ts → encountersUniversal/types/UniversalEncounterUpdateBase.d.ts} +9 -18
  61. package/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +5 -0
  62. package/api/resources/encountersUniversal/types/index.d.ts +6 -0
  63. package/api/resources/encountersUniversal/types/index.js +22 -0
  64. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  65. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  66. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  67. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  68. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +12 -0
  69. package/api/resources/feeSchedules/resources/v3/client/Client.js +55 -11
  70. package/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +22 -0
  71. package/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +57 -0
  72. package/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
  73. package/api/resources/feeSchedules/resources/v3/client/index.js +2 -1
  74. package/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
  75. package/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +5 -0
  76. package/api/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
  77. package/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
  78. package/api/resources/financials/types/PatientTransactionSource.d.ts +2 -1
  79. package/api/resources/financials/types/PatientTransactionSource.js +1 -0
  80. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  81. package/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +2 -0
  82. package/api/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +2 -0
  83. package/api/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
  84. package/api/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
  85. package/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +2 -2
  86. package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +11 -0
  87. package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +5 -0
  88. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +11 -0
  89. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +5 -0
  90. package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +11 -0
  91. package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +5 -0
  92. package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +12 -0
  93. package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +5 -0
  94. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +19 -0
  95. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +5 -0
  96. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +12 -0
  97. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +5 -0
  98. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +12 -0
  99. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +5 -0
  100. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +12 -0
  101. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +5 -0
  102. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +12 -0
  103. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +5 -0
  104. package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +11 -0
  105. package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +5 -0
  106. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +12 -0
  107. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +5 -0
  108. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +12 -0
  109. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +5 -0
  110. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +11 -0
  111. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +5 -0
  112. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +12 -0
  113. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +5 -0
  114. package/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  115. package/api/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  116. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  117. package/api/resources/index.d.ts +1 -0
  118. package/api/resources/index.js +3 -2
  119. package/api/resources/individual/types/Patient.d.ts +2 -0
  120. package/api/resources/individual/types/PatientBase.d.ts +2 -2
  121. package/api/resources/individual/types/PatientCreate.d.ts +2 -0
  122. package/api/resources/individual/types/PatientUpdate.d.ts +3 -2
  123. package/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +3 -2
  124. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  125. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  126. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  127. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  128. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  129. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  130. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +7 -7
  131. package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +3 -1
  132. package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
  133. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  134. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  135. package/api/resources/patientAr/resources/v1/client/Client.js +2 -2
  136. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  137. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  138. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  139. package/api/resources/payers/client/Client.d.ts +3 -0
  140. package/api/resources/payers/client/Client.js +5 -0
  141. package/api/resources/payers/resources/index.d.ts +1 -0
  142. package/api/resources/payers/resources/index.js +2 -1
  143. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  144. package/api/resources/payers/resources/v4/client/Client.d.ts +45 -0
  145. package/api/resources/payers/resources/v4/client/Client.js +157 -0
  146. package/api/resources/payers/resources/v4/client/get.d.ts +22 -0
  147. package/api/resources/payers/resources/v4/client/get.js +57 -0
  148. package/api/resources/payers/resources/v4/client/getAll.d.ts +22 -0
  149. package/api/resources/payers/resources/v4/client/getAll.js +57 -0
  150. package/api/resources/payers/resources/v4/client/index.d.ts +3 -0
  151. package/api/resources/payers/resources/v4/client/index.js +42 -0
  152. package/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.d.ts +16 -0
  153. package/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.js +5 -0
  154. package/api/resources/payers/resources/v4/client/requests/index.d.ts +1 -0
  155. package/api/resources/payers/resources/v4/client/requests/index.js +2 -0
  156. package/api/resources/payers/resources/v4/index.d.ts +2 -0
  157. package/api/resources/payers/resources/v4/index.js +18 -0
  158. package/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
  159. package/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +5 -0
  160. package/api/resources/payers/resources/v4/types/Payer.d.ts +14 -0
  161. package/api/resources/payers/resources/v4/types/Payer.js +5 -0
  162. package/api/resources/payers/resources/v4/types/PayerIds.d.ts +11 -0
  163. package/api/resources/payers/resources/v4/types/PayerIds.js +5 -0
  164. package/api/resources/payers/resources/v4/types/PayerPage.d.ts +7 -0
  165. package/api/resources/payers/resources/v4/types/PayerPage.js +5 -0
  166. package/api/resources/payers/resources/v4/types/PayerUuid.d.ts +8 -0
  167. package/api/resources/payers/resources/v4/types/PayerUuid.js +9 -0
  168. package/api/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +11 -0
  169. package/api/resources/payers/resources/v4/types/PrimaryPayerIds.js +5 -0
  170. package/api/resources/payers/resources/v4/types/SupportState.d.ts +9 -0
  171. package/api/resources/payers/resources/v4/types/SupportState.js +11 -0
  172. package/api/resources/payers/resources/v4/types/index.d.ts +7 -0
  173. package/api/resources/payers/resources/v4/types/index.js +23 -0
  174. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  175. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +0 -2
  176. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -12
  177. package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  178. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +6 -6
  179. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  180. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  181. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  182. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +10 -12
  183. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +64 -23
  184. package/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +28 -0
  185. package/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +68 -0
  186. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  187. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  188. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +0 -4
  189. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +0 -4
  190. package/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  191. package/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +7 -0
  192. package/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +5 -0
  193. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -1
  194. package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +2 -1
  195. package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -0
  196. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
  197. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
  198. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  199. package/api/resources/serviceFacility/client/Client.js +1 -1
  200. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +23 -2
  201. package/api/resources/serviceLines/resources/v2/client/Client.js +120 -5
  202. package/api/resources/serviceLines/resources/v2/client/createUniversal.d.ts +28 -0
  203. package/api/resources/serviceLines/resources/v2/client/createUniversal.js +68 -0
  204. package/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  205. package/api/resources/serviceLines/resources/v2/client/index.js +3 -1
  206. package/api/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +40 -0
  207. package/api/resources/serviceLines/resources/v2/client/updateUniversal.js +90 -0
  208. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -4
  209. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -45
  210. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +7 -0
  211. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +5 -0
  212. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +47 -0
  213. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +5 -0
  214. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +9 -9
  215. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -47
  216. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +7 -0
  217. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +5 -0
  218. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +49 -0
  219. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +5 -0
  220. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -45
  221. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +45 -0
  222. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +5 -0
  223. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +11 -0
  224. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +5 -0
  225. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +13 -0
  226. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +5 -0
  227. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +12 -0
  228. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +5 -0
  229. package/api/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
  230. package/api/resources/serviceLines/resources/v2/types/index.js +8 -0
  231. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  232. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  233. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  234. package/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +1 -7
  235. package/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +12 -0
  236. package/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +5 -0
  237. package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +30 -0
  238. package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +5 -0
  239. package/api/resources/x12/resources/v1/types/index.d.ts +2 -0
  240. package/api/resources/x12/resources/v1/types/index.js +2 -0
  241. package/dist/api/resources/auth/resources/default/client/Client.d.ts +3 -1
  242. package/dist/api/resources/auth/resources/default/client/Client.js +5 -3
  243. package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +9 -1
  244. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  245. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +76 -7
  246. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +36 -0
  247. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +42 -5
  248. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +20 -0
  249. package/dist/api/resources/commons/types/Clearinghouse.d.ts +14 -0
  250. package/dist/api/resources/commons/types/Clearinghouse.js +16 -0
  251. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +13 -2
  252. package/dist/api/resources/commons/types/ProcedureModifier.js +11 -0
  253. package/dist/api/resources/commons/types/index.d.ts +1 -0
  254. package/dist/api/resources/commons/types/index.js +1 -0
  255. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  256. package/dist/api/resources/credentialing/resources/v2/client/Client.js +10 -10
  257. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  258. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  259. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  260. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  261. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  262. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +1 -1
  263. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +1 -1
  264. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +1 -1
  265. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +108 -9
  266. package/dist/api/resources/encounters/resources/v4/client/Client.js +279 -15
  267. package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  268. package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
  269. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +70 -0
  270. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +145 -0
  271. package/dist/api/resources/encounters/resources/v4/client/createUniversal.d.ts +94 -0
  272. package/dist/api/resources/encounters/resources/v4/client/createUniversal.js +189 -0
  273. package/dist/api/resources/encounters/resources/v4/client/index.d.ts +3 -0
  274. package/dist/api/resources/encounters/resources/v4/client/index.js +4 -1
  275. package/dist/api/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
  276. package/dist/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +70 -0
  277. package/dist/api/resources/encounters/resources/v4/client/updateUniversal.js +145 -0
  278. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -29
  279. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +10 -11
  280. package/dist/api/resources/encounters/resources/v4/types/EncounterCreate.d.ts +27 -0
  281. package/dist/api/resources/encounters/resources/v4/types/EncounterCreate.js +5 -0
  282. package/dist/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +3 -36
  283. package/dist/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +9 -4
  284. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +10 -16
  285. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -9
  286. package/dist/api/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +5 -0
  287. package/dist/api/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js +5 -0
  288. package/dist/api/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +17 -0
  289. package/dist/api/resources/encounters/resources/v4/types/EncounterUpdate.js +5 -0
  290. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +7 -4
  291. package/dist/api/resources/encounters/resources/v4/types/index.js +7 -4
  292. package/dist/api/resources/encountersUniversal/index.d.ts +1 -0
  293. package/dist/api/resources/encountersUniversal/index.js +17 -0
  294. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +49 -0
  295. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.js +5 -0
  296. package/dist/api/resources/{encounters/resources/v4/client/requests/EncounterCreate.d.ts → encountersUniversal/types/UniversalEncounterCreateBase.d.ts} +9 -70
  297. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +5 -0
  298. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +47 -0
  299. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +5 -0
  300. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +40 -0
  301. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +5 -0
  302. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +39 -0
  303. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.js +5 -0
  304. package/dist/api/resources/{encounters/resources/v4/client/requests/EncounterUpdate.d.ts → encountersUniversal/types/UniversalEncounterUpdateBase.d.ts} +9 -18
  305. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +5 -0
  306. package/dist/api/resources/encountersUniversal/types/index.d.ts +6 -0
  307. package/dist/api/resources/encountersUniversal/types/index.js +22 -0
  308. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  309. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  310. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  311. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  312. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +12 -0
  313. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +55 -11
  314. package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +22 -0
  315. package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +57 -0
  316. package/dist/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
  317. package/dist/api/resources/feeSchedules/resources/v3/client/index.js +2 -1
  318. package/dist/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
  319. package/dist/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +5 -0
  320. package/dist/api/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
  321. package/dist/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
  322. package/dist/api/resources/financials/types/PatientTransactionSource.d.ts +2 -1
  323. package/dist/api/resources/financials/types/PatientTransactionSource.js +1 -0
  324. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  325. package/dist/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +2 -0
  326. package/dist/api/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +2 -0
  327. package/dist/api/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
  328. package/dist/api/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
  329. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +2 -2
  330. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +11 -0
  331. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +5 -0
  332. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +11 -0
  333. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +5 -0
  334. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +11 -0
  335. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +5 -0
  336. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +12 -0
  337. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +5 -0
  338. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +19 -0
  339. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +5 -0
  340. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +12 -0
  341. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +5 -0
  342. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +12 -0
  343. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +5 -0
  344. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +12 -0
  345. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +5 -0
  346. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +12 -0
  347. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +5 -0
  348. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +11 -0
  349. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +5 -0
  350. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +12 -0
  351. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +5 -0
  352. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +12 -0
  353. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +5 -0
  354. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +11 -0
  355. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +5 -0
  356. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +12 -0
  357. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +5 -0
  358. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  359. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  360. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  361. package/dist/api/resources/index.d.ts +1 -0
  362. package/dist/api/resources/index.js +3 -2
  363. package/dist/api/resources/individual/types/Patient.d.ts +2 -0
  364. package/dist/api/resources/individual/types/PatientBase.d.ts +2 -2
  365. package/dist/api/resources/individual/types/PatientCreate.d.ts +2 -0
  366. package/dist/api/resources/individual/types/PatientUpdate.d.ts +3 -2
  367. package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +3 -2
  368. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  369. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  370. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  371. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  372. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  373. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  374. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +7 -7
  375. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +3 -1
  376. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
  377. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  378. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  379. package/dist/api/resources/patientAr/resources/v1/client/Client.js +2 -2
  380. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  381. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  382. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  383. package/dist/api/resources/payers/client/Client.d.ts +3 -0
  384. package/dist/api/resources/payers/client/Client.js +5 -0
  385. package/dist/api/resources/payers/resources/index.d.ts +1 -0
  386. package/dist/api/resources/payers/resources/index.js +2 -1
  387. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  388. package/dist/api/resources/payers/resources/v4/client/Client.d.ts +45 -0
  389. package/dist/api/resources/payers/resources/v4/client/Client.js +157 -0
  390. package/dist/api/resources/payers/resources/v4/client/get.d.ts +22 -0
  391. package/dist/api/resources/payers/resources/v4/client/get.js +57 -0
  392. package/dist/api/resources/payers/resources/v4/client/getAll.d.ts +22 -0
  393. package/dist/api/resources/payers/resources/v4/client/getAll.js +57 -0
  394. package/dist/api/resources/payers/resources/v4/client/index.d.ts +3 -0
  395. package/dist/api/resources/payers/resources/v4/client/index.js +42 -0
  396. package/dist/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.d.ts +16 -0
  397. package/dist/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.js +5 -0
  398. package/dist/api/resources/payers/resources/v4/client/requests/index.d.ts +1 -0
  399. package/dist/api/resources/payers/resources/v4/client/requests/index.js +2 -0
  400. package/dist/api/resources/payers/resources/v4/index.d.ts +2 -0
  401. package/dist/api/resources/payers/resources/v4/index.js +18 -0
  402. package/dist/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
  403. package/dist/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +5 -0
  404. package/dist/api/resources/payers/resources/v4/types/Payer.d.ts +14 -0
  405. package/dist/api/resources/payers/resources/v4/types/Payer.js +5 -0
  406. package/dist/api/resources/payers/resources/v4/types/PayerIds.d.ts +11 -0
  407. package/dist/api/resources/payers/resources/v4/types/PayerIds.js +5 -0
  408. package/dist/api/resources/payers/resources/v4/types/PayerPage.d.ts +7 -0
  409. package/dist/api/resources/payers/resources/v4/types/PayerPage.js +5 -0
  410. package/dist/api/resources/payers/resources/v4/types/PayerUuid.d.ts +8 -0
  411. package/dist/api/resources/payers/resources/v4/types/PayerUuid.js +9 -0
  412. package/dist/api/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +11 -0
  413. package/dist/api/resources/payers/resources/v4/types/PrimaryPayerIds.js +5 -0
  414. package/dist/api/resources/payers/resources/v4/types/SupportState.d.ts +9 -0
  415. package/dist/api/resources/payers/resources/v4/types/SupportState.js +11 -0
  416. package/dist/api/resources/payers/resources/v4/types/index.d.ts +7 -0
  417. package/dist/api/resources/payers/resources/v4/types/index.js +23 -0
  418. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  419. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +0 -2
  420. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -12
  421. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  422. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +6 -6
  423. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  424. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  425. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  426. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +10 -12
  427. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +64 -23
  428. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +28 -0
  429. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +68 -0
  430. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  431. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  432. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +0 -4
  433. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +0 -4
  434. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  435. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +7 -0
  436. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +5 -0
  437. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -1
  438. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +2 -1
  439. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -0
  440. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
  441. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
  442. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  443. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  444. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +23 -2
  445. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +120 -5
  446. package/dist/api/resources/serviceLines/resources/v2/client/createUniversal.d.ts +28 -0
  447. package/dist/api/resources/serviceLines/resources/v2/client/createUniversal.js +68 -0
  448. package/dist/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  449. package/dist/api/resources/serviceLines/resources/v2/client/index.js +3 -1
  450. package/dist/api/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +40 -0
  451. package/dist/api/resources/serviceLines/resources/v2/client/updateUniversal.js +90 -0
  452. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -4
  453. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -45
  454. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +7 -0
  455. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +5 -0
  456. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +47 -0
  457. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +5 -0
  458. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +9 -9
  459. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -47
  460. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +7 -0
  461. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +5 -0
  462. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +49 -0
  463. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +5 -0
  464. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -45
  465. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +45 -0
  466. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +5 -0
  467. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +11 -0
  468. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +5 -0
  469. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +13 -0
  470. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +5 -0
  471. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +12 -0
  472. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +5 -0
  473. package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
  474. package/dist/api/resources/serviceLines/resources/v2/types/index.js +8 -0
  475. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  476. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  477. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  478. package/dist/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +1 -7
  479. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +12 -0
  480. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +5 -0
  481. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +30 -0
  482. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +5 -0
  483. package/dist/api/resources/x12/resources/v1/types/index.d.ts +2 -0
  484. package/dist/api/resources/x12/resources/v1/types/index.js +2 -0
  485. package/dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +3 -0
  486. package/dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +3 -0
  487. package/dist/serialization/resources/commons/types/Clearinghouse.d.ts +10 -0
  488. package/dist/serialization/resources/commons/types/Clearinghouse.js +50 -0
  489. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  490. package/dist/serialization/resources/commons/types/ProcedureModifier.js +11 -0
  491. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  492. package/dist/serialization/resources/commons/types/index.js +1 -0
  493. package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  494. package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  495. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +49 -0
  496. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +112 -0
  497. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +69 -0
  498. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.js +136 -0
  499. package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +3 -1
  500. package/dist/serialization/resources/encounters/resources/v4/client/index.js +4 -5
  501. package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +50 -0
  502. package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.js +113 -0
  503. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -4
  504. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -4
  505. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -2
  506. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +2 -2
  507. package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreate.d.ts +22 -0
  508. package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreate.js +55 -0
  509. package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +4 -28
  510. package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.js +4 -28
  511. package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
  512. package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +2 -0
  513. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -2
  514. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -2
  515. package/dist/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +11 -0
  516. package/dist/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js +41 -0
  517. package/dist/serialization/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +16 -0
  518. package/dist/serialization/resources/encounters/resources/v4/types/EncounterUpdate.js +49 -0
  519. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -4
  520. package/dist/serialization/resources/encounters/resources/v4/types/index.js +7 -4
  521. package/dist/serialization/resources/encountersUniversal/index.d.ts +1 -0
  522. package/dist/serialization/resources/encountersUniversal/index.js +17 -0
  523. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +39 -0
  524. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +72 -0
  525. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +50 -0
  526. package/{serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js → dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js} +21 -31
  527. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +37 -0
  528. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +70 -0
  529. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +36 -0
  530. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +69 -0
  531. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +32 -0
  532. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +65 -0
  533. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +46 -0
  534. package/{serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js → dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js} +20 -22
  535. package/dist/serialization/resources/encountersUniversal/types/index.d.ts +6 -0
  536. package/dist/serialization/resources/encountersUniversal/types/index.js +22 -0
  537. package/dist/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +9 -0
  538. package/dist/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +41 -0
  539. package/dist/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
  540. package/dist/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
  541. package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
  542. package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +44 -0
  543. package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
  544. package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/index.js +3 -1
  545. package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
  546. package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +1 -0
  547. package/dist/serialization/resources/financials/types/PatientTransactionSource.d.ts +1 -1
  548. package/dist/serialization/resources/financials/types/PatientTransactionSource.js +10 -1
  549. package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -0
  550. package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.js +1 -0
  551. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +1 -0
  552. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.js +1 -0
  553. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
  554. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +1 -0
  555. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
  556. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.js +1 -0
  557. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +16 -0
  558. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +49 -0
  559. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +16 -0
  560. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +49 -0
  561. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +16 -0
  562. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +49 -0
  563. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +18 -0
  564. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +51 -0
  565. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +37 -0
  566. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +68 -0
  567. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +18 -0
  568. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +51 -0
  569. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +18 -0
  570. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +51 -0
  571. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +18 -0
  572. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +51 -0
  573. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +18 -0
  574. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +51 -0
  575. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +16 -0
  576. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +49 -0
  577. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +18 -0
  578. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +51 -0
  579. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +18 -0
  580. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +51 -0
  581. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +16 -0
  582. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +49 -0
  583. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +18 -0
  584. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +51 -0
  585. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  586. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  587. package/dist/serialization/resources/index.d.ts +1 -0
  588. package/dist/serialization/resources/index.js +3 -2
  589. package/dist/serialization/resources/individual/types/Patient.d.ts +1 -0
  590. package/dist/serialization/resources/individual/types/Patient.js +1 -0
  591. package/dist/serialization/resources/individual/types/PatientCreate.d.ts +1 -0
  592. package/dist/serialization/resources/individual/types/PatientCreate.js +1 -0
  593. package/dist/serialization/resources/individual/types/PatientUpdate.d.ts +1 -0
  594. package/dist/serialization/resources/individual/types/PatientUpdate.js +1 -0
  595. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +1 -0
  596. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +1 -0
  597. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  598. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
  599. package/dist/serialization/resources/payers/resources/index.d.ts +1 -0
  600. package/dist/serialization/resources/payers/resources/index.js +2 -1
  601. package/dist/serialization/resources/payers/resources/v4/index.d.ts +1 -0
  602. package/dist/serialization/resources/payers/resources/v4/index.js +17 -0
  603. package/dist/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
  604. package/dist/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +51 -0
  605. package/dist/serialization/resources/payers/resources/v4/types/Payer.d.ts +21 -0
  606. package/dist/serialization/resources/payers/resources/v4/types/Payer.js +52 -0
  607. package/dist/serialization/resources/payers/resources/v4/types/PayerIds.d.ts +14 -0
  608. package/dist/serialization/resources/payers/resources/v4/types/PayerIds.js +45 -0
  609. package/dist/serialization/resources/payers/resources/v4/types/PayerPage.d.ts +14 -0
  610. package/dist/serialization/resources/payers/resources/v4/types/PayerPage.js +47 -0
  611. package/dist/serialization/resources/payers/resources/v4/types/PayerUuid.d.ts +10 -0
  612. package/dist/serialization/resources/payers/resources/v4/types/PayerUuid.js +45 -0
  613. package/dist/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +14 -0
  614. package/dist/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.js +45 -0
  615. package/dist/serialization/resources/payers/resources/v4/types/SupportState.d.ts +10 -0
  616. package/dist/serialization/resources/payers/resources/v4/types/SupportState.js +41 -0
  617. package/dist/serialization/resources/payers/resources/v4/types/index.d.ts +7 -0
  618. package/dist/serialization/resources/payers/resources/v4/types/index.js +23 -0
  619. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  620. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +1 -1
  621. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +15 -0
  622. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +71 -0
  623. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  624. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  625. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  626. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
  627. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +13 -0
  628. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +44 -0
  629. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -1
  630. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -1
  631. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +1 -1
  632. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -1
  633. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
  634. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
  635. package/dist/serialization/resources/serviceLines/resources/v2/client/createUniversal.d.ts +15 -0
  636. package/dist/serialization/resources/serviceLines/resources/v2/client/createUniversal.js +71 -0
  637. package/dist/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  638. package/dist/serialization/resources/serviceLines/resources/v2/client/index.js +3 -1
  639. package/dist/serialization/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +25 -0
  640. package/dist/serialization/resources/serviceLines/resources/v2/client/updateUniversal.js +83 -0
  641. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -23
  642. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +5 -24
  643. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +13 -0
  644. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +46 -0
  645. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +32 -0
  646. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +63 -0
  647. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
  648. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
  649. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -27
  650. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -28
  651. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +13 -0
  652. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +46 -0
  653. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +36 -0
  654. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +67 -0
  655. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -24
  656. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -25
  657. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +34 -0
  658. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +65 -0
  659. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +15 -0
  660. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +48 -0
  661. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +19 -0
  662. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +52 -0
  663. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +18 -0
  664. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +51 -0
  665. package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
  666. package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +8 -0
  667. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +2 -7
  668. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -8
  669. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +17 -0
  670. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +48 -0
  671. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +18 -0
  672. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +52 -0
  673. package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
  674. package/dist/serialization/resources/x12/resources/v1/types/index.js +2 -0
  675. package/dist/version.d.ts +1 -1
  676. package/dist/version.js +1 -1
  677. package/package.json +1 -1
  678. package/reference.md +682 -114
  679. package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +3 -0
  680. package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +3 -0
  681. package/serialization/resources/commons/types/Clearinghouse.d.ts +10 -0
  682. package/serialization/resources/commons/types/Clearinghouse.js +50 -0
  683. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  684. package/serialization/resources/commons/types/ProcedureModifier.js +11 -0
  685. package/serialization/resources/commons/types/index.d.ts +1 -0
  686. package/serialization/resources/commons/types/index.js +1 -0
  687. package/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  688. package/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  689. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +49 -0
  690. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +112 -0
  691. package/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +69 -0
  692. package/serialization/resources/encounters/resources/v4/client/createUniversal.js +136 -0
  693. package/serialization/resources/encounters/resources/v4/client/index.d.ts +3 -1
  694. package/serialization/resources/encounters/resources/v4/client/index.js +4 -5
  695. package/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +50 -0
  696. package/serialization/resources/encounters/resources/v4/client/updateUniversal.js +113 -0
  697. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -4
  698. package/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -4
  699. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -2
  700. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +2 -2
  701. package/serialization/resources/encounters/resources/v4/types/EncounterCreate.d.ts +22 -0
  702. package/serialization/resources/encounters/resources/v4/types/EncounterCreate.js +55 -0
  703. package/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +4 -28
  704. package/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.js +4 -28
  705. package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
  706. package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +2 -0
  707. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -2
  708. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -2
  709. package/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +11 -0
  710. package/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js +41 -0
  711. package/serialization/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +16 -0
  712. package/serialization/resources/encounters/resources/v4/types/EncounterUpdate.js +49 -0
  713. package/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -4
  714. package/serialization/resources/encounters/resources/v4/types/index.js +7 -4
  715. package/serialization/resources/encountersUniversal/index.d.ts +1 -0
  716. package/serialization/resources/encountersUniversal/index.js +17 -0
  717. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +39 -0
  718. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +72 -0
  719. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +50 -0
  720. package/{dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js → serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js} +21 -31
  721. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +37 -0
  722. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +70 -0
  723. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +36 -0
  724. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +69 -0
  725. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +32 -0
  726. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +65 -0
  727. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +46 -0
  728. package/{dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js → serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js} +20 -22
  729. package/serialization/resources/encountersUniversal/types/index.d.ts +6 -0
  730. package/serialization/resources/encountersUniversal/types/index.js +22 -0
  731. package/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +9 -0
  732. package/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +41 -0
  733. package/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
  734. package/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
  735. package/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
  736. package/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +44 -0
  737. package/serialization/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
  738. package/serialization/resources/feeSchedules/resources/v3/client/requests/index.js +3 -1
  739. package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
  740. package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +1 -0
  741. package/serialization/resources/financials/types/PatientTransactionSource.d.ts +1 -1
  742. package/serialization/resources/financials/types/PatientTransactionSource.js +10 -1
  743. package/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -0
  744. package/serialization/resources/guarantor/resources/v1/types/Guarantor.js +1 -0
  745. package/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +1 -0
  746. package/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.js +1 -0
  747. package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
  748. package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +1 -0
  749. package/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
  750. package/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.js +1 -0
  751. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +16 -0
  752. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +49 -0
  753. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +16 -0
  754. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +49 -0
  755. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +16 -0
  756. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +49 -0
  757. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +18 -0
  758. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +51 -0
  759. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +37 -0
  760. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +68 -0
  761. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +18 -0
  762. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +51 -0
  763. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +18 -0
  764. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +51 -0
  765. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +18 -0
  766. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +51 -0
  767. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +18 -0
  768. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +51 -0
  769. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +16 -0
  770. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +49 -0
  771. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +18 -0
  772. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +51 -0
  773. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +18 -0
  774. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +51 -0
  775. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +16 -0
  776. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +49 -0
  777. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +18 -0
  778. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +51 -0
  779. package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  780. package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  781. package/serialization/resources/index.d.ts +1 -0
  782. package/serialization/resources/index.js +3 -2
  783. package/serialization/resources/individual/types/Patient.d.ts +1 -0
  784. package/serialization/resources/individual/types/Patient.js +1 -0
  785. package/serialization/resources/individual/types/PatientCreate.d.ts +1 -0
  786. package/serialization/resources/individual/types/PatientCreate.js +1 -0
  787. package/serialization/resources/individual/types/PatientUpdate.d.ts +1 -0
  788. package/serialization/resources/individual/types/PatientUpdate.js +1 -0
  789. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +1 -0
  790. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +1 -0
  791. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  792. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
  793. package/serialization/resources/payers/resources/index.d.ts +1 -0
  794. package/serialization/resources/payers/resources/index.js +2 -1
  795. package/serialization/resources/payers/resources/v4/index.d.ts +1 -0
  796. package/serialization/resources/payers/resources/v4/index.js +17 -0
  797. package/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
  798. package/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +51 -0
  799. package/serialization/resources/payers/resources/v4/types/Payer.d.ts +21 -0
  800. package/serialization/resources/payers/resources/v4/types/Payer.js +52 -0
  801. package/serialization/resources/payers/resources/v4/types/PayerIds.d.ts +14 -0
  802. package/serialization/resources/payers/resources/v4/types/PayerIds.js +45 -0
  803. package/serialization/resources/payers/resources/v4/types/PayerPage.d.ts +14 -0
  804. package/serialization/resources/payers/resources/v4/types/PayerPage.js +47 -0
  805. package/serialization/resources/payers/resources/v4/types/PayerUuid.d.ts +10 -0
  806. package/serialization/resources/payers/resources/v4/types/PayerUuid.js +45 -0
  807. package/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +14 -0
  808. package/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.js +45 -0
  809. package/serialization/resources/payers/resources/v4/types/SupportState.d.ts +10 -0
  810. package/serialization/resources/payers/resources/v4/types/SupportState.js +41 -0
  811. package/serialization/resources/payers/resources/v4/types/index.d.ts +7 -0
  812. package/serialization/resources/payers/resources/v4/types/index.js +23 -0
  813. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  814. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +1 -1
  815. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +15 -0
  816. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +71 -0
  817. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  818. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  819. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  820. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
  821. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +13 -0
  822. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +44 -0
  823. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -1
  824. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -1
  825. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +1 -1
  826. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -1
  827. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
  828. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
  829. package/serialization/resources/serviceLines/resources/v2/client/createUniversal.d.ts +15 -0
  830. package/serialization/resources/serviceLines/resources/v2/client/createUniversal.js +71 -0
  831. package/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  832. package/serialization/resources/serviceLines/resources/v2/client/index.js +3 -1
  833. package/serialization/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +25 -0
  834. package/serialization/resources/serviceLines/resources/v2/client/updateUniversal.js +83 -0
  835. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -23
  836. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +5 -24
  837. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +13 -0
  838. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +46 -0
  839. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +32 -0
  840. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +63 -0
  841. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
  842. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
  843. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -27
  844. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -28
  845. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +13 -0
  846. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +46 -0
  847. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +36 -0
  848. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +67 -0
  849. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -24
  850. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -25
  851. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +34 -0
  852. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +65 -0
  853. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +15 -0
  854. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +48 -0
  855. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +19 -0
  856. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +52 -0
  857. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +18 -0
  858. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +51 -0
  859. package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
  860. package/serialization/resources/serviceLines/resources/v2/types/index.js +8 -0
  861. package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +2 -7
  862. package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -8
  863. package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +17 -0
  864. package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +48 -0
  865. package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +18 -0
  866. package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +52 -0
  867. package/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
  868. package/serialization/resources/x12/resources/v1/types/index.js +2 -0
  869. package/version.d.ts +1 -1
  870. package/version.js +1 -1
  871. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -60
  872. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +0 -48
  873. package/dist/serialization/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
  874. package/dist/serialization/resources/encounters/resources/v4/client/requests/index.js +0 -7
  875. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -60
  876. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +0 -48
  877. package/serialization/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
  878. package/serialization/resources/encounters/resources/v4/client/requests/index.js +0 -7
  879. /package/api/resources/encounters/resources/v4/{client/requests → types}/EncounterCreate.js +0 -0
  880. /package/api/resources/encounters/resources/v4/{client/requests/EncounterUpdate.js → types/EncounterRenderingOrAttendingProviderRequiredError.js} +0 -0
  881. /package/{dist/api/resources/encounters/resources/v4/client/requests → api/resources/encounters/resources/v4/types}/EncounterUpdate.js +0 -0
  882. /package/{dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.js → api/resources/encountersUniversal/types/UniversalEncounterCreate.js} +0 -0
package/reference.md CHANGED
@@ -113,6 +113,8 @@ await client.auth.default.getToken({
113
113
  ```typescript
114
114
  await client.auth.default.getMachineTokenForOrgId({
115
115
  orgId: "org_id",
116
+ clientId: "client_id",
117
+ clientSecret: "client_secret",
116
118
  });
117
119
  ```
118
120
 
@@ -3092,7 +3094,7 @@ await client.encounters.v4.get(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7f
3092
3094
  </dl>
3093
3095
  </details>
3094
3096
 
3095
- <details><summary><code>client.encounters.v4.<a href="/src/api/resources/encounters/resources/v4/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Encounter, CandidApi.encounters.v4.create.Error></code></summary>
3097
+ <details><summary><code>client.encounters.v4.<a href="/src/api/resources/encounters/resources/v4/client/Client.ts">createUniversal</a>({ ...params }) -> core.APIResponse<CandidApi.Encounter, CandidApi.encounters.v4.createUniversal.Error></code></summary>
3096
3098
  <dl>
3097
3099
  <dd>
3098
3100
 
@@ -3105,7 +3107,12 @@ await client.encounters.v4.get(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7f
3105
3107
  <dd>
3106
3108
 
3107
3109
  ```typescript
3108
- await client.encounters.v4.create({
3110
+ await client.encounters.v4.createUniversal({
3111
+ externalId: CandidApi.EncounterExternalId("external_id"),
3112
+ patientAuthorizedRelease: true,
3113
+ benefitsAssignedToProvider: true,
3114
+ providerAcceptsAssignment: true,
3115
+ billableStatus: "BILLABLE",
3109
3116
  patient: {
3110
3117
  firstName: "first_name",
3111
3118
  lastName: "last_name",
@@ -3119,6 +3126,7 @@ await client.encounters.v4.create({
3119
3126
  zipCode: "zip_code",
3120
3127
  },
3121
3128
  },
3129
+ responsibleParty: "INSURANCE_PAY",
3122
3130
  billingProvider: {
3123
3131
  address: {
3124
3132
  address1: "address1",
@@ -3130,10 +3138,86 @@ await client.encounters.v4.create({
3130
3138
  taxId: "tax_id",
3131
3139
  npi: "npi",
3132
3140
  },
3133
- renderingProvider: {
3134
- npi: "npi",
3141
+ submissionExpectation: "TARGET_PROFESSIONAL",
3142
+ });
3143
+ ```
3144
+
3145
+ </dd>
3146
+ </dl>
3147
+ </dd>
3148
+ </dl>
3149
+
3150
+ #### ⚙️ Parameters
3151
+
3152
+ <dl>
3153
+ <dd>
3154
+
3155
+ <dl>
3156
+ <dd>
3157
+
3158
+ **request:** `CandidApi.UniversalEncounterCreate`
3159
+
3160
+ </dd>
3161
+ </dl>
3162
+
3163
+ <dl>
3164
+ <dd>
3165
+
3166
+ **requestOptions:** `V4.RequestOptions`
3167
+
3168
+ </dd>
3169
+ </dl>
3170
+ </dd>
3171
+ </dl>
3172
+
3173
+ </dd>
3174
+ </dl>
3175
+ </details>
3176
+
3177
+ <details><summary><code>client.encounters.v4.<a href="/src/api/resources/encounters/resources/v4/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Encounter, CandidApi.encounters.v4.create.Error></code></summary>
3178
+ <dl>
3179
+ <dd>
3180
+
3181
+ #### 🔌 Usage
3182
+
3183
+ <dl>
3184
+ <dd>
3185
+
3186
+ <dl>
3187
+ <dd>
3188
+
3189
+ ```typescript
3190
+ await client.encounters.v4.create({
3191
+ externalId: CandidApi.EncounterExternalId("external_id"),
3192
+ patientAuthorizedRelease: true,
3193
+ benefitsAssignedToProvider: true,
3194
+ providerAcceptsAssignment: true,
3195
+ billableStatus: "BILLABLE",
3196
+ patient: {
3197
+ firstName: "first_name",
3198
+ lastName: "last_name",
3199
+ gender: "male",
3200
+ externalId: "external_id",
3201
+ dateOfBirth: "2023-01-15",
3202
+ address: {
3203
+ address1: "address1",
3204
+ city: "city",
3205
+ state: "AA",
3206
+ zipCode: "zip_code",
3207
+ },
3135
3208
  },
3136
3209
  responsibleParty: "INSURANCE_PAY",
3210
+ billingProvider: {
3211
+ address: {
3212
+ address1: "address1",
3213
+ city: "city",
3214
+ state: "AA",
3215
+ zipCode: "zip_code",
3216
+ zipPlusFourCode: "zip_plus_four_code",
3217
+ },
3218
+ taxId: "tax_id",
3219
+ npi: "npi",
3220
+ },
3137
3221
  diagnoses: [
3138
3222
  {
3139
3223
  codeType: "ABF",
@@ -3145,6 +3229,9 @@ await client.encounters.v4.create({
3145
3229
  },
3146
3230
  ],
3147
3231
  placeOfServiceCode: "01",
3232
+ renderingProvider: {
3233
+ npi: "npi",
3234
+ },
3148
3235
  });
3149
3236
  ```
3150
3237
 
@@ -3161,7 +3248,109 @@ await client.encounters.v4.create({
3161
3248
  <dl>
3162
3249
  <dd>
3163
3250
 
3164
- **request:** `CandidApi.encounters.v4.EncounterCreate`
3251
+ **request:** `CandidApi.EncounterCreate`
3252
+
3253
+ </dd>
3254
+ </dl>
3255
+
3256
+ <dl>
3257
+ <dd>
3258
+
3259
+ **requestOptions:** `V4.RequestOptions`
3260
+
3261
+ </dd>
3262
+ </dl>
3263
+ </dd>
3264
+ </dl>
3265
+
3266
+ </dd>
3267
+ </dl>
3268
+ </details>
3269
+
3270
+ <details><summary><code>client.encounters.v4.<a href="/src/api/resources/encounters/resources/v4/client/Client.ts">createFromPreEncounterPatientUniversal</a>({ ...params }) -> core.APIResponse<CandidApi.Encounter, CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error></code></summary>
3271
+ <dl>
3272
+ <dd>
3273
+
3274
+ #### 📝 Description
3275
+
3276
+ <dl>
3277
+ <dd>
3278
+
3279
+ <dl>
3280
+ <dd>
3281
+
3282
+ Create an encounter from a pre-encounter patient and appointment. This endpoint is intended to be used by consumers who are managing
3283
+ patients and appointments in the pre-encounter service and is currently under development. Consumers who are not taking advantage
3284
+ of the pre-encounter service should use the standard create endpoint.
3285
+
3286
+ The endpoint will create an encounter from the provided fields, pulling information from the provided patient and appointment objects
3287
+ where applicable. In particular, the following fields are populated from the patient and appointment objects:
3288
+
3289
+ - Patient
3290
+ - Referring Provider
3291
+ - Subscriber Primary
3292
+ - Subscriber Secondary
3293
+ - Referral Number
3294
+ - Responsible Party
3295
+ - Guarantor
3296
+
3297
+ Utilizing this endpoint opts you into automatic updating of the encounter when the patient or appointment is updated, assuming the
3298
+ encounter has not already been submitted or adjudicated.
3299
+
3300
+ </dd>
3301
+ </dl>
3302
+ </dd>
3303
+ </dl>
3304
+
3305
+ #### 🔌 Usage
3306
+
3307
+ <dl>
3308
+ <dd>
3309
+
3310
+ <dl>
3311
+ <dd>
3312
+
3313
+ ```typescript
3314
+ await client.encounters.v4.createFromPreEncounterPatientUniversal({
3315
+ externalId: CandidApi.EncounterExternalId("external_id"),
3316
+ patientAuthorizedRelease: true,
3317
+ benefitsAssignedToProvider: true,
3318
+ providerAcceptsAssignment: true,
3319
+ billableStatus: "BILLABLE",
3320
+ preEncounterPatientId: CandidApi.PreEncounterPatientId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
3321
+ preEncounterAppointmentIds: [
3322
+ CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
3323
+ CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
3324
+ ],
3325
+ billingProvider: {
3326
+ address: {
3327
+ address1: "address1",
3328
+ city: "city",
3329
+ state: "AA",
3330
+ zipCode: "zip_code",
3331
+ zipPlusFourCode: "zip_plus_four_code",
3332
+ },
3333
+ taxId: "tax_id",
3334
+ npi: "npi",
3335
+ },
3336
+ submissionExpectation: "TARGET_PROFESSIONAL",
3337
+ });
3338
+ ```
3339
+
3340
+ </dd>
3341
+ </dl>
3342
+ </dd>
3343
+ </dl>
3344
+
3345
+ #### ⚙️ Parameters
3346
+
3347
+ <dl>
3348
+ <dd>
3349
+
3350
+ <dl>
3351
+ <dd>
3352
+
3353
+ **request:** `CandidApi.UniversalEncounterCreateFromPreEncounter`
3165
3354
 
3166
3355
  </dd>
3167
3356
  </dl>
@@ -3249,6 +3438,7 @@ await client.encounters.v4.createFromPreEncounterPatient({
3249
3438
  renderingProvider: {
3250
3439
  npi: "npi",
3251
3440
  },
3441
+ placeOfServiceCode: "01",
3252
3442
  diagnoses: [
3253
3443
  {
3254
3444
  codeType: "ABF",
@@ -3259,7 +3449,6 @@ await client.encounters.v4.createFromPreEncounterPatient({
3259
3449
  code: "code",
3260
3450
  },
3261
3451
  ],
3262
- placeOfServiceCode: "01",
3263
3452
  });
3264
3453
  ```
3265
3454
 
@@ -3295,6 +3484,62 @@ await client.encounters.v4.createFromPreEncounterPatient({
3295
3484
  </dl>
3296
3485
  </details>
3297
3486
 
3487
+ <details><summary><code>client.encounters.v4.<a href="/src/api/resources/encounters/resources/v4/client/Client.ts">updateUniversal</a>(encounterId, { ...params }) -> core.APIResponse<CandidApi.Encounter, CandidApi.encounters.v4.updateUniversal.Error></code></summary>
3488
+ <dl>
3489
+ <dd>
3490
+
3491
+ #### 🔌 Usage
3492
+
3493
+ <dl>
3494
+ <dd>
3495
+
3496
+ <dl>
3497
+ <dd>
3498
+
3499
+ ```typescript
3500
+ await client.encounters.v4.updateUniversal(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});
3501
+ ```
3502
+
3503
+ </dd>
3504
+ </dl>
3505
+ </dd>
3506
+ </dl>
3507
+
3508
+ #### ⚙️ Parameters
3509
+
3510
+ <dl>
3511
+ <dd>
3512
+
3513
+ <dl>
3514
+ <dd>
3515
+
3516
+ **encounterId:** `CandidApi.EncounterId`
3517
+
3518
+ </dd>
3519
+ </dl>
3520
+
3521
+ <dl>
3522
+ <dd>
3523
+
3524
+ **request:** `CandidApi.UniversalEncounterUpdate`
3525
+
3526
+ </dd>
3527
+ </dl>
3528
+
3529
+ <dl>
3530
+ <dd>
3531
+
3532
+ **requestOptions:** `V4.RequestOptions`
3533
+
3534
+ </dd>
3535
+ </dl>
3536
+ </dd>
3537
+ </dl>
3538
+
3539
+ </dd>
3540
+ </dl>
3541
+ </details>
3542
+
3298
3543
  <details><summary><code>client.encounters.v4.<a href="/src/api/resources/encounters/resources/v4/client/Client.ts">update</a>(encounterId, { ...params }) -> core.APIResponse<CandidApi.Encounter, CandidApi.encounters.v4.update.Error></code></summary>
3299
3544
  <dl>
3300
3545
  <dd>
@@ -3308,7 +3553,7 @@ await client.encounters.v4.createFromPreEncounterPatient({
3308
3553
  <dd>
3309
3554
 
3310
3555
  ```typescript
3311
- await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
3556
+ await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});
3312
3557
  ```
3313
3558
 
3314
3559
  </dd>
@@ -3332,7 +3577,7 @@ await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0
3332
3577
  <dl>
3333
3578
  <dd>
3334
3579
 
3335
- **request:** `CandidApi.encounters.v4.EncounterUpdate`
3580
+ **request:** `CandidApi.EncounterUpdate`
3336
3581
 
3337
3582
  </dd>
3338
3583
  </dl>
@@ -4534,6 +4779,74 @@ await client.feeSchedules.v3.hardDeleteRates({
4534
4779
  </dl>
4535
4780
  </details>
4536
4781
 
4782
+ <details><summary><code>client.feeSchedules.v3.<a href="/src/api/resources/feeSchedules/resources/v3/client/Client.ts">hardDeleteRatesByIds</a>({ ...params }) -> core.APIResponse<number, CandidApi.feeSchedules.v3.hardDeleteRatesByIds.Error></code></summary>
4783
+ <dl>
4784
+ <dd>
4785
+
4786
+ #### 📝 Description
4787
+
4788
+ <dl>
4789
+ <dd>
4790
+
4791
+ <dl>
4792
+ <dd>
4793
+
4794
+ Hard deletes specific rates from the system by their IDs. This is a destructive operation and cannot be undone. Limited to 100 rate IDs maximum per request. For bulk deletion of more than 100 rates, use the hard_delete_rates endpoint with dimension filters. Returns the number of rates deleted.
4795
+
4796
+ </dd>
4797
+ </dl>
4798
+ </dd>
4799
+ </dl>
4800
+
4801
+ #### 🔌 Usage
4802
+
4803
+ <dl>
4804
+ <dd>
4805
+
4806
+ <dl>
4807
+ <dd>
4808
+
4809
+ ```typescript
4810
+ await client.feeSchedules.v3.hardDeleteRatesByIds({
4811
+ rateIds: [
4812
+ CandidApi.RateId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
4813
+ CandidApi.RateId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
4814
+ ],
4815
+ });
4816
+ ```
4817
+
4818
+ </dd>
4819
+ </dl>
4820
+ </dd>
4821
+ </dl>
4822
+
4823
+ #### ⚙️ Parameters
4824
+
4825
+ <dl>
4826
+ <dd>
4827
+
4828
+ <dl>
4829
+ <dd>
4830
+
4831
+ **request:** `CandidApi.feeSchedules.v3.HardDeleteRatesByIdsRequest`
4832
+
4833
+ </dd>
4834
+ </dl>
4835
+
4836
+ <dl>
4837
+ <dd>
4838
+
4839
+ **requestOptions:** `V3.RequestOptions`
4840
+
4841
+ </dd>
4842
+ </dl>
4843
+ </dd>
4844
+ </dl>
4845
+
4846
+ </dd>
4847
+ </dl>
4848
+ </details>
4849
+
4537
4850
  ## Guarantor V1
4538
4851
 
4539
4852
  <details><summary><code>client.guarantor.v1.<a href="/src/api/resources/guarantor/resources/v1/client/Client.ts">create</a>(encounterId, { ...params }) -> core.APIResponse<CandidApi.Guarantor, CandidApi.guarantor.v1.create.Error></code></summary>
@@ -8348,13 +8661,204 @@ await client.patientRefunds.v1.update(CandidApi.PatientRefundId("d5e9c84f-c2b2-4
8348
8661
 
8349
8662
  **patientRefundId:** `CandidApi.PatientRefundId`
8350
8663
 
8351
- </dd>
8352
- </dl>
8664
+ </dd>
8665
+ </dl>
8666
+
8667
+ <dl>
8668
+ <dd>
8669
+
8670
+ **request:** `CandidApi.patientRefunds.v1.PatientRefundUpdate`
8671
+
8672
+ </dd>
8673
+ </dl>
8674
+
8675
+ <dl>
8676
+ <dd>
8677
+
8678
+ **requestOptions:** `V1.RequestOptions`
8679
+
8680
+ </dd>
8681
+ </dl>
8682
+ </dd>
8683
+ </dl>
8684
+
8685
+ </dd>
8686
+ </dl>
8687
+ </details>
8688
+
8689
+ <details><summary><code>client.patientRefunds.v1.<a href="/src/api/resources/patientRefunds/resources/v1/client/Client.ts">delete</a>(patientRefundId) -> core.APIResponse<void, CandidApi.patientRefunds.v1.delete.Error></code></summary>
8690
+ <dl>
8691
+ <dd>
8692
+
8693
+ #### 📝 Description
8694
+
8695
+ <dl>
8696
+ <dd>
8697
+
8698
+ <dl>
8699
+ <dd>
8700
+
8701
+ Deletes the patient refund record matching the provided patient_refund_id.
8702
+
8703
+ </dd>
8704
+ </dl>
8705
+ </dd>
8706
+ </dl>
8707
+
8708
+ #### 🔌 Usage
8709
+
8710
+ <dl>
8711
+ <dd>
8712
+
8713
+ <dl>
8714
+ <dd>
8715
+
8716
+ ```typescript
8717
+ await client.patientRefunds.v1.delete(CandidApi.PatientRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
8718
+ ```
8719
+
8720
+ </dd>
8721
+ </dl>
8722
+ </dd>
8723
+ </dl>
8724
+
8725
+ #### ⚙️ Parameters
8726
+
8727
+ <dl>
8728
+ <dd>
8729
+
8730
+ <dl>
8731
+ <dd>
8732
+
8733
+ **patientRefundId:** `CandidApi.PatientRefundId`
8734
+
8735
+ </dd>
8736
+ </dl>
8737
+
8738
+ <dl>
8739
+ <dd>
8740
+
8741
+ **requestOptions:** `V1.RequestOptions`
8742
+
8743
+ </dd>
8744
+ </dl>
8745
+ </dd>
8746
+ </dl>
8747
+
8748
+ </dd>
8749
+ </dl>
8750
+ </details>
8751
+
8752
+ ## PayerPlanGroups V1
8753
+
8754
+ <details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse<CandidApi.PayerPlanGroupPage, CandidApi.payerPlanGroups.v1.getMulti.Error></code></summary>
8755
+ <dl>
8756
+ <dd>
8757
+
8758
+ #### 📝 Description
8759
+
8760
+ <dl>
8761
+ <dd>
8762
+
8763
+ <dl>
8764
+ <dd>
8765
+
8766
+ Returns all payer plan groups matching filter criteria.
8767
+
8768
+ </dd>
8769
+ </dl>
8770
+ </dd>
8771
+ </dl>
8772
+
8773
+ #### 🔌 Usage
8774
+
8775
+ <dl>
8776
+ <dd>
8777
+
8778
+ <dl>
8779
+ <dd>
8780
+
8781
+ ```typescript
8782
+ await client.payerPlanGroups.v1.getMulti();
8783
+ ```
8784
+
8785
+ </dd>
8786
+ </dl>
8787
+ </dd>
8788
+ </dl>
8789
+
8790
+ #### ⚙️ Parameters
8791
+
8792
+ <dl>
8793
+ <dd>
8794
+
8795
+ <dl>
8796
+ <dd>
8797
+
8798
+ **request:** `CandidApi.payerPlanGroups.v1.PayerPlanGroupGetMultiRequest`
8799
+
8800
+ </dd>
8801
+ </dl>
8802
+
8803
+ <dl>
8804
+ <dd>
8805
+
8806
+ **requestOptions:** `V1.RequestOptions`
8807
+
8808
+ </dd>
8809
+ </dl>
8810
+ </dd>
8811
+ </dl>
8812
+
8813
+ </dd>
8814
+ </dl>
8815
+ </details>
8816
+
8817
+ <details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">get</a>(payerPlanGroupId) -> core.APIResponse<CandidApi.PayerPlanGroup, CandidApi.payerPlanGroups.v1.get.Error></code></summary>
8818
+ <dl>
8819
+ <dd>
8820
+
8821
+ #### 📝 Description
8822
+
8823
+ <dl>
8824
+ <dd>
8825
+
8826
+ <dl>
8827
+ <dd>
8828
+
8829
+ Return a plan group with a given ID.
8830
+
8831
+ </dd>
8832
+ </dl>
8833
+ </dd>
8834
+ </dl>
8835
+
8836
+ #### 🔌 Usage
8837
+
8838
+ <dl>
8839
+ <dd>
8840
+
8841
+ <dl>
8842
+ <dd>
8843
+
8844
+ ```typescript
8845
+ await client.payerPlanGroups.v1.get(CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
8846
+ ```
8847
+
8848
+ </dd>
8849
+ </dl>
8850
+ </dd>
8851
+ </dl>
8852
+
8853
+ #### ⚙️ Parameters
8854
+
8855
+ <dl>
8856
+ <dd>
8353
8857
 
8354
8858
  <dl>
8355
8859
  <dd>
8356
8860
 
8357
- **request:** `CandidApi.patientRefunds.v1.PatientRefundUpdate`
8861
+ **payerPlanGroupId:** `CandidApi.PayerPlanGroupId`
8358
8862
 
8359
8863
  </dd>
8360
8864
  </dl>
@@ -8373,7 +8877,7 @@ await client.patientRefunds.v1.update(CandidApi.PatientRefundId("d5e9c84f-c2b2-4
8373
8877
  </dl>
8374
8878
  </details>
8375
8879
 
8376
- <details><summary><code>client.patientRefunds.v1.<a href="/src/api/resources/patientRefunds/resources/v1/client/Client.ts">delete</a>(patientRefundId) -> core.APIResponse<void, CandidApi.patientRefunds.v1.delete.Error></code></summary>
8880
+ <details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.PayerPlanGroup, CandidApi.payerPlanGroups.v1.create.Error></code></summary>
8377
8881
  <dl>
8378
8882
  <dd>
8379
8883
 
@@ -8385,7 +8889,7 @@ await client.patientRefunds.v1.update(CandidApi.PatientRefundId("d5e9c84f-c2b2-4
8385
8889
  <dl>
8386
8890
  <dd>
8387
8891
 
8388
- Deletes the patient refund record matching the provided patient_refund_id.
8892
+ Create a payer plan group
8389
8893
 
8390
8894
  </dd>
8391
8895
  </dl>
@@ -8401,7 +8905,11 @@ Deletes the patient refund record matching the provided patient_refund_id.
8401
8905
  <dd>
8402
8906
 
8403
8907
  ```typescript
8404
- await client.patientRefunds.v1.delete(CandidApi.PatientRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
8908
+ await client.payerPlanGroups.v1.create({
8909
+ planGroupName: "plan_group_name",
8910
+ payerUuid: CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
8911
+ planType: "09",
8912
+ });
8405
8913
  ```
8406
8914
 
8407
8915
  </dd>
@@ -8417,7 +8925,7 @@ await client.patientRefunds.v1.delete(CandidApi.PatientRefundId("d5e9c84f-c2b2-4
8417
8925
  <dl>
8418
8926
  <dd>
8419
8927
 
8420
- **patientRefundId:** `CandidApi.PatientRefundId`
8928
+ **request:** `CandidApi.MutablePayerPlanGroup`
8421
8929
 
8422
8930
  </dd>
8423
8931
  </dl>
@@ -8436,9 +8944,7 @@ await client.patientRefunds.v1.delete(CandidApi.PatientRefundId("d5e9c84f-c2b2-4
8436
8944
  </dl>
8437
8945
  </details>
8438
8946
 
8439
- ## PayerPlanGroups V1
8440
-
8441
- <details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse<CandidApi.PayerPlanGroupPage, CandidApi.payerPlanGroups.v1.getMulti.Error></code></summary>
8947
+ <details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">update</a>(payerPlanGroupId, { ...params }) -> core.APIResponse<CandidApi.PayerPlanGroup, CandidApi.payerPlanGroups.v1.update.Error></code></summary>
8442
8948
  <dl>
8443
8949
  <dd>
8444
8950
 
@@ -8450,7 +8956,7 @@ await client.patientRefunds.v1.delete(CandidApi.PatientRefundId("d5e9c84f-c2b2-4
8450
8956
  <dl>
8451
8957
  <dd>
8452
8958
 
8453
- Returns all payer plan groups matching filter criteria.
8959
+ Update any of the fields on a payer plan group
8454
8960
 
8455
8961
  </dd>
8456
8962
  </dl>
@@ -8466,7 +8972,11 @@ Returns all payer plan groups matching filter criteria.
8466
8972
  <dd>
8467
8973
 
8468
8974
  ```typescript
8469
- await client.payerPlanGroups.v1.getMulti();
8975
+ await client.payerPlanGroups.v1.update(CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
8976
+ planGroupName: "plan_group_name",
8977
+ payerUuid: CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
8978
+ planType: "09",
8979
+ });
8470
8980
  ```
8471
8981
 
8472
8982
  </dd>
@@ -8482,7 +8992,15 @@ await client.payerPlanGroups.v1.getMulti();
8482
8992
  <dl>
8483
8993
  <dd>
8484
8994
 
8485
- **request:** `CandidApi.payerPlanGroups.v1.PayerPlanGroupGetMultiRequest`
8995
+ **payerPlanGroupId:** `CandidApi.PayerPlanGroupId`
8996
+
8997
+ </dd>
8998
+ </dl>
8999
+
9000
+ <dl>
9001
+ <dd>
9002
+
9003
+ **request:** `CandidApi.MutablePayerPlanGroup`
8486
9004
 
8487
9005
  </dd>
8488
9006
  </dl>
@@ -8501,7 +9019,7 @@ await client.payerPlanGroups.v1.getMulti();
8501
9019
  </dl>
8502
9020
  </details>
8503
9021
 
8504
- <details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">get</a>(payerPlanGroupId) -> core.APIResponse<CandidApi.PayerPlanGroup, CandidApi.payerPlanGroups.v1.get.Error></code></summary>
9022
+ <details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">deactivate</a>(payerPlanGroupId) -> core.APIResponse<CandidApi.PayerPlanGroup, CandidApi.payerPlanGroups.v1.deactivate.Error></code></summary>
8505
9023
  <dl>
8506
9024
  <dd>
8507
9025
 
@@ -8513,7 +9031,7 @@ await client.payerPlanGroups.v1.getMulti();
8513
9031
  <dl>
8514
9032
  <dd>
8515
9033
 
8516
- Return a plan group with a given ID.
9034
+ Marks the payer plan group as deactivated
8517
9035
 
8518
9036
  </dd>
8519
9037
  </dl>
@@ -8529,7 +9047,7 @@ Return a plan group with a given ID.
8529
9047
  <dd>
8530
9048
 
8531
9049
  ```typescript
8532
- await client.payerPlanGroups.v1.get(CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
9050
+ await client.payerPlanGroups.v1.deactivate(CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
8533
9051
  ```
8534
9052
 
8535
9053
  </dd>
@@ -8564,25 +9082,12 @@ await client.payerPlanGroups.v1.get(CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4b
8564
9082
  </dl>
8565
9083
  </details>
8566
9084
 
8567
- <details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.PayerPlanGroup, CandidApi.payerPlanGroups.v1.create.Error></code></summary>
8568
- <dl>
8569
- <dd>
8570
-
8571
- #### 📝 Description
8572
-
8573
- <dl>
8574
- <dd>
9085
+ ## Payers V3
8575
9086
 
9087
+ <details><summary><code>client.payers.v3.<a href="/src/api/resources/payers/resources/v3/client/Client.ts">get</a>(payerUuid) -> core.APIResponse<CandidApi.Payer, CandidApi.payers.v3.get.Error></code></summary>
8576
9088
  <dl>
8577
9089
  <dd>
8578
9090
 
8579
- Create a payer plan group
8580
-
8581
- </dd>
8582
- </dl>
8583
- </dd>
8584
- </dl>
8585
-
8586
9091
  #### 🔌 Usage
8587
9092
 
8588
9093
  <dl>
@@ -8592,11 +9097,7 @@ Create a payer plan group
8592
9097
  <dd>
8593
9098
 
8594
9099
  ```typescript
8595
- await client.payerPlanGroups.v1.create({
8596
- planGroupName: "plan_group_name",
8597
- payerUuid: CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
8598
- planType: "09",
8599
- });
9100
+ await client.payers.v3.get(CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
8600
9101
  ```
8601
9102
 
8602
9103
  </dd>
@@ -8612,7 +9113,7 @@ await client.payerPlanGroups.v1.create({
8612
9113
  <dl>
8613
9114
  <dd>
8614
9115
 
8615
- **request:** `CandidApi.MutablePayerPlanGroup`
9116
+ **payerUuid:** `CandidApi.PayerUuid`
8616
9117
 
8617
9118
  </dd>
8618
9119
  </dl>
@@ -8620,7 +9121,7 @@ await client.payerPlanGroups.v1.create({
8620
9121
  <dl>
8621
9122
  <dd>
8622
9123
 
8623
- **requestOptions:** `V1.RequestOptions`
9124
+ **requestOptions:** `V3.RequestOptions`
8624
9125
 
8625
9126
  </dd>
8626
9127
  </dl>
@@ -8631,11 +9132,11 @@ await client.payerPlanGroups.v1.create({
8631
9132
  </dl>
8632
9133
  </details>
8633
9134
 
8634
- <details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">update</a>(payerPlanGroupId, { ...params }) -> core.APIResponse<CandidApi.PayerPlanGroup, CandidApi.payerPlanGroups.v1.update.Error></code></summary>
9135
+ <details><summary><code>client.payers.v3.<a href="/src/api/resources/payers/resources/v3/client/Client.ts">getAll</a>({ ...params }) -> core.APIResponse<CandidApi.PayerPage, CandidApi.payers.v3.getAll.Error></code></summary>
8635
9136
  <dl>
8636
9137
  <dd>
8637
9138
 
8638
- #### 📝 Description
9139
+ #### 🔌 Usage
8639
9140
 
8640
9141
  <dl>
8641
9142
  <dd>
@@ -8643,14 +9144,20 @@ await client.payerPlanGroups.v1.create({
8643
9144
  <dl>
8644
9145
  <dd>
8645
9146
 
8646
- Update any of the fields on a payer plan group
9147
+ ```typescript
9148
+ await client.payers.v3.getAll({
9149
+ limit: 100,
9150
+ searchTerm: "john",
9151
+ pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
9152
+ });
9153
+ ```
8647
9154
 
8648
9155
  </dd>
8649
9156
  </dl>
8650
9157
  </dd>
8651
9158
  </dl>
8652
9159
 
8653
- #### 🔌 Usage
9160
+ #### ⚙️ Parameters
8654
9161
 
8655
9162
  <dl>
8656
9163
  <dd>
@@ -8658,73 +9165,79 @@ Update any of the fields on a payer plan group
8658
9165
  <dl>
8659
9166
  <dd>
8660
9167
 
8661
- ```typescript
8662
- await client.payerPlanGroups.v1.update(CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
8663
- planGroupName: "plan_group_name",
8664
- payerUuid: CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
8665
- planType: "09",
8666
- });
8667
- ```
9168
+ **request:** `CandidApi.payers.v3.GetAllPayersRequest`
8668
9169
 
8669
9170
  </dd>
8670
9171
  </dl>
8671
- </dd>
8672
- </dl>
8673
-
8674
- #### ⚙️ Parameters
8675
9172
 
8676
9173
  <dl>
8677
9174
  <dd>
8678
9175
 
8679
- <dl>
8680
- <dd>
9176
+ **requestOptions:** `V3.RequestOptions`
8681
9177
 
8682
- **payerPlanGroupId:** `CandidApi.PayerPlanGroupId`
9178
+ </dd>
9179
+ </dl>
9180
+ </dd>
9181
+ </dl>
8683
9182
 
8684
9183
  </dd>
8685
9184
  </dl>
9185
+ </details>
8686
9186
 
9187
+ ## Payers V4
9188
+
9189
+ <details><summary><code>client.payers.v4.<a href="/src/api/resources/payers/resources/v4/client/Client.ts">get</a>(payerUuid) -> core.APIResponse<CandidApi.Payer, CandidApi.payers.v4.get.Error></code></summary>
8687
9190
  <dl>
8688
9191
  <dd>
8689
9192
 
8690
- **request:** `CandidApi.MutablePayerPlanGroup`
9193
+ #### 🔌 Usage
8691
9194
 
8692
- </dd>
8693
- </dl>
9195
+ <dl>
9196
+ <dd>
8694
9197
 
8695
9198
  <dl>
8696
9199
  <dd>
8697
9200
 
8698
- **requestOptions:** `V1.RequestOptions`
9201
+ ```typescript
9202
+ await client.payers.v4.get(CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
9203
+ ```
8699
9204
 
8700
9205
  </dd>
8701
9206
  </dl>
8702
9207
  </dd>
8703
9208
  </dl>
8704
9209
 
8705
- </dd>
8706
- </dl>
8707
- </details>
9210
+ #### ⚙️ Parameters
8708
9211
 
8709
- <details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">deactivate</a>(payerPlanGroupId) -> core.APIResponse<CandidApi.PayerPlanGroup, CandidApi.payerPlanGroups.v1.deactivate.Error></code></summary>
8710
9212
  <dl>
8711
9213
  <dd>
8712
9214
 
8713
- #### 📝 Description
8714
-
8715
9215
  <dl>
8716
9216
  <dd>
8717
9217
 
9218
+ **payerUuid:** `CandidApi.PayerUuid`
9219
+
9220
+ </dd>
9221
+ </dl>
9222
+
8718
9223
  <dl>
8719
9224
  <dd>
8720
9225
 
8721
- Marks the payer plan group as deactivated
9226
+ **requestOptions:** `V4.RequestOptions`
8722
9227
 
8723
9228
  </dd>
8724
9229
  </dl>
8725
9230
  </dd>
8726
9231
  </dl>
8727
9232
 
9233
+ </dd>
9234
+ </dl>
9235
+ </details>
9236
+
9237
+ <details><summary><code>client.payers.v4.<a href="/src/api/resources/payers/resources/v4/client/Client.ts">getAll</a>({ ...params }) -> core.APIResponse<CandidApi.PayerPage, CandidApi.payers.v4.getAll.Error></code></summary>
9238
+ <dl>
9239
+ <dd>
9240
+
8728
9241
  #### 🔌 Usage
8729
9242
 
8730
9243
  <dl>
@@ -8734,7 +9247,7 @@ Marks the payer plan group as deactivated
8734
9247
  <dd>
8735
9248
 
8736
9249
  ```typescript
8737
- await client.payerPlanGroups.v1.deactivate(CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
9250
+ await client.payers.v4.getAll();
8738
9251
  ```
8739
9252
 
8740
9253
  </dd>
@@ -8750,7 +9263,7 @@ await client.payerPlanGroups.v1.deactivate(CandidApi.PayerPlanGroupId("d5e9c84f-
8750
9263
  <dl>
8751
9264
  <dd>
8752
9265
 
8753
- **payerPlanGroupId:** `CandidApi.PayerPlanGroupId`
9266
+ **request:** `CandidApi.payers.v4.GetAllPayersRequest`
8754
9267
 
8755
9268
  </dd>
8756
9269
  </dl>
@@ -8758,7 +9271,7 @@ await client.payerPlanGroups.v1.deactivate(CandidApi.PayerPlanGroupId("d5e9c84f-
8758
9271
  <dl>
8759
9272
  <dd>
8760
9273
 
8761
- **requestOptions:** `V1.RequestOptions`
9274
+ **requestOptions:** `V4.RequestOptions`
8762
9275
 
8763
9276
  </dd>
8764
9277
  </dl>
@@ -8769,9 +9282,9 @@ await client.payerPlanGroups.v1.deactivate(CandidApi.PayerPlanGroupId("d5e9c84f-
8769
9282
  </dl>
8770
9283
  </details>
8771
9284
 
8772
- ## Payers V3
9285
+ ## ServiceLines V2
8773
9286
 
8774
- <details><summary><code>client.payers.v3.<a href="/src/api/resources/payers/resources/v3/client/Client.ts">get</a>(payerUuid) -> core.APIResponse<CandidApi.Payer, CandidApi.payers.v3.get.Error></code></summary>
9287
+ <details><summary><code>client.serviceLines.v2.<a href="/src/api/resources/serviceLines/resources/v2/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.ServiceLine, CandidApi.serviceLines.v2.create.Error></code></summary>
8775
9288
  <dl>
8776
9289
  <dd>
8777
9290
 
@@ -8784,7 +9297,12 @@ await client.payerPlanGroups.v1.deactivate(CandidApi.PayerPlanGroupId("d5e9c84f-
8784
9297
  <dd>
8785
9298
 
8786
9299
  ```typescript
8787
- await client.payers.v3.get(CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
9300
+ await client.serviceLines.v2.create({
9301
+ quantity: CandidApi.Decimal("quantity"),
9302
+ units: "MJ",
9303
+ claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
9304
+ procedureCode: "procedure_code",
9305
+ });
8788
9306
  ```
8789
9307
 
8790
9308
  </dd>
@@ -8800,7 +9318,7 @@ await client.payers.v3.get(CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9f
8800
9318
  <dl>
8801
9319
  <dd>
8802
9320
 
8803
- **payerUuid:** `CandidApi.PayerUuid`
9321
+ **request:** `CandidApi.ServiceLineCreateStandalone`
8804
9322
 
8805
9323
  </dd>
8806
9324
  </dl>
@@ -8808,7 +9326,7 @@ await client.payers.v3.get(CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9f
8808
9326
  <dl>
8809
9327
  <dd>
8810
9328
 
8811
- **requestOptions:** `V3.RequestOptions`
9329
+ **requestOptions:** `V2.RequestOptions`
8812
9330
 
8813
9331
  </dd>
8814
9332
  </dl>
@@ -8819,7 +9337,7 @@ await client.payers.v3.get(CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9f
8819
9337
  </dl>
8820
9338
  </details>
8821
9339
 
8822
- <details><summary><code>client.payers.v3.<a href="/src/api/resources/payers/resources/v3/client/Client.ts">getAll</a>({ ...params }) -> core.APIResponse<CandidApi.PayerPage, CandidApi.payers.v3.getAll.Error></code></summary>
9340
+ <details><summary><code>client.serviceLines.v2.<a href="/src/api/resources/serviceLines/resources/v2/client/Client.ts">createUniversal</a>({ ...params }) -> core.APIResponse<CandidApi.ServiceLine, CandidApi.serviceLines.v2.createUniversal.Error></code></summary>
8823
9341
  <dl>
8824
9342
  <dd>
8825
9343
 
@@ -8832,10 +9350,10 @@ await client.payers.v3.get(CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9f
8832
9350
  <dd>
8833
9351
 
8834
9352
  ```typescript
8835
- await client.payers.v3.getAll({
8836
- limit: 100,
8837
- searchTerm: "john",
8838
- pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
9353
+ await client.serviceLines.v2.createUniversal({
9354
+ quantity: CandidApi.Decimal("quantity"),
9355
+ units: "MJ",
9356
+ claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
8839
9357
  });
8840
9358
  ```
8841
9359
 
@@ -8852,7 +9370,7 @@ await client.payers.v3.getAll({
8852
9370
  <dl>
8853
9371
  <dd>
8854
9372
 
8855
- **request:** `CandidApi.payers.v3.GetAllPayersRequest`
9373
+ **request:** `CandidApi.UniversalServiceLineCreateStandalone`
8856
9374
 
8857
9375
  </dd>
8858
9376
  </dl>
@@ -8860,7 +9378,7 @@ await client.payers.v3.getAll({
8860
9378
  <dl>
8861
9379
  <dd>
8862
9380
 
8863
- **requestOptions:** `V3.RequestOptions`
9381
+ **requestOptions:** `V2.RequestOptions`
8864
9382
 
8865
9383
  </dd>
8866
9384
  </dl>
@@ -8871,9 +9389,7 @@ await client.payers.v3.getAll({
8871
9389
  </dl>
8872
9390
  </details>
8873
9391
 
8874
- ## ServiceLines V2
8875
-
8876
- <details><summary><code>client.serviceLines.v2.<a href="/src/api/resources/serviceLines/resources/v2/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.ServiceLine, CandidApi.serviceLines.v2.create.Error></code></summary>
9392
+ <details><summary><code>client.serviceLines.v2.<a href="/src/api/resources/serviceLines/resources/v2/client/Client.ts">updateUniversal</a>(serviceLineId, { ...params }) -> core.APIResponse<CandidApi.ServiceLine, CandidApi.serviceLines.v2.updateUniversal.Error></code></summary>
8877
9393
  <dl>
8878
9394
  <dd>
8879
9395
 
@@ -8886,12 +9402,7 @@ await client.payers.v3.getAll({
8886
9402
  <dd>
8887
9403
 
8888
9404
  ```typescript
8889
- await client.serviceLines.v2.create({
8890
- procedureCode: "procedure_code",
8891
- quantity: CandidApi.Decimal("quantity"),
8892
- units: "MJ",
8893
- claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
8894
- });
9405
+ await client.serviceLines.v2.updateUniversal(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});
8895
9406
  ```
8896
9407
 
8897
9408
  </dd>
@@ -8907,7 +9418,15 @@ await client.serviceLines.v2.create({
8907
9418
  <dl>
8908
9419
  <dd>
8909
9420
 
8910
- **request:** `CandidApi.ServiceLineCreateStandalone`
9421
+ **serviceLineId:** `CandidApi.ServiceLineId`
9422
+
9423
+ </dd>
9424
+ </dl>
9425
+
9426
+ <dl>
9427
+ <dd>
9428
+
9429
+ **request:** `CandidApi.UniversalServiceLineUpdate`
8911
9430
 
8912
9431
  </dd>
8913
9432
  </dl>
@@ -10258,7 +10777,6 @@ await client.preEncounter.coverages.v1.create({
10258
10777
  given: ["given", "given"],
10259
10778
  use: "USUAL",
10260
10779
  },
10261
- dateOfBirth: "2023-01-15",
10262
10780
  biologicalSex: "FEMALE",
10263
10781
  },
10264
10782
  relationship: "SELF",
@@ -10340,7 +10858,6 @@ await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b
10340
10858
  given: ["given", "given"],
10341
10859
  use: "USUAL",
10342
10860
  },
10343
- dateOfBirth: "2023-01-15",
10344
10861
  biologicalSex: "FEMALE",
10345
10862
  },
10346
10863
  relationship: "SELF",
@@ -12210,10 +12727,6 @@ await client.preEncounter.patients.v1.create({
12210
12727
  country: "country",
12211
12728
  },
12212
12729
  ],
12213
- primaryTelecom: {
12214
- value: "value",
12215
- use: "HOME",
12216
- },
12217
12730
  otherTelecoms: [
12218
12731
  {
12219
12732
  value: "value",
@@ -12451,10 +12964,6 @@ await client.preEncounter.patients.v1.createWithMrn({
12451
12964
  country: "country",
12452
12965
  },
12453
12966
  ],
12454
- primaryTelecom: {
12455
- value: "value",
12456
- use: "HOME",
12457
- },
12458
12967
  otherTelecoms: [
12459
12968
  {
12460
12969
  value: "value",
@@ -12809,6 +13318,69 @@ await client.preEncounter.patients.v1.get(CandidApi.PatientId("id"));
12809
13318
  </dl>
12810
13319
  </details>
12811
13320
 
13321
+ <details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">getByMrn</a>(mrn) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.getByMrn.Error></code></summary>
13322
+ <dl>
13323
+ <dd>
13324
+
13325
+ #### 📝 Description
13326
+
13327
+ <dl>
13328
+ <dd>
13329
+
13330
+ <dl>
13331
+ <dd>
13332
+
13333
+ Gets a patient by mrn.
13334
+
13335
+ </dd>
13336
+ </dl>
13337
+ </dd>
13338
+ </dl>
13339
+
13340
+ #### 🔌 Usage
13341
+
13342
+ <dl>
13343
+ <dd>
13344
+
13345
+ <dl>
13346
+ <dd>
13347
+
13348
+ ```typescript
13349
+ await client.preEncounter.patients.v1.getByMrn("mrn");
13350
+ ```
13351
+
13352
+ </dd>
13353
+ </dl>
13354
+ </dd>
13355
+ </dl>
13356
+
13357
+ #### ⚙️ Parameters
13358
+
13359
+ <dl>
13360
+ <dd>
13361
+
13362
+ <dl>
13363
+ <dd>
13364
+
13365
+ **mrn:** `string`
13366
+
13367
+ </dd>
13368
+ </dl>
13369
+
13370
+ <dl>
13371
+ <dd>
13372
+
13373
+ **requestOptions:** `V1.RequestOptions`
13374
+
13375
+ </dd>
13376
+ </dl>
13377
+ </dd>
13378
+ </dl>
13379
+
13380
+ </dd>
13381
+ </dl>
13382
+ </details>
13383
+
12812
13384
  <details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">getHistory</a>(id) -> core.APIResponse<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.getHistory.Error></code></summary>
12813
13385
  <dl>
12814
13386
  <dd>
@@ -12946,10 +13518,6 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("id"), "version
12946
13518
  country: "country",
12947
13519
  },
12948
13520
  ],
12949
- primaryTelecom: {
12950
- value: "value",
12951
- use: "HOME",
12952
- },
12953
13521
  otherTelecoms: [
12954
13522
  {
12955
13523
  value: "value",