candidhealth 0.43.0 → 0.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  3. package/api/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  4. package/api/resources/billingNotes/resources/v2/types/index.js +0 -1
  5. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -239
  6. package/api/resources/chargeCapture/resources/v1/client/Client.js +16 -249
  7. package/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
  8. package/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
  9. package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  10. package/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
  11. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
  12. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -118
  13. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -118
  14. package/{dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts → api/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.d.ts} +6 -6
  15. package/{dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → api/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +3 -3
  16. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +27 -1
  17. package/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +6 -0
  18. package/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  19. package/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
  20. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  21. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  22. package/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
  23. package/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
  24. package/api/resources/commons/types/StreetAddressShortZipOptional.js +5 -0
  25. package/api/resources/commons/types/index.d.ts +2 -0
  26. package/api/resources/commons/types/index.js +2 -0
  27. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  28. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  29. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  30. package/api/resources/diagnoses/client/Client.js +3 -3
  31. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  32. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +1 -1
  33. package/api/resources/encounterAttachments/resources/v1/client/Client.js +4 -4
  34. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +3 -1
  35. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +2 -0
  36. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
  37. package/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
  38. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
  39. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
  40. package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
  41. package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
  42. package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
  43. package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
  44. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
  45. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
  46. package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
  47. package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
  48. package/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  49. package/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
  50. package/api/resources/encounters/resources/v4/client/Client.d.ts +197 -79
  51. package/api/resources/encounters/resources/v4/client/Client.js +202 -84
  52. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +89 -9
  53. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +138 -66
  54. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  55. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -26
  56. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  57. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  58. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  59. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  60. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  61. package/api/resources/guarantor/resources/v1/client/Client.d.ts +21 -1
  62. package/api/resources/guarantor/resources/v1/client/Client.js +24 -4
  63. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  64. package/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
  65. package/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
  66. package/api/resources/individual/types/index.d.ts +1 -0
  67. package/api/resources/individual/types/index.js +1 -0
  68. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  69. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  70. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  71. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  72. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  73. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  74. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  75. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  76. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  77. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  78. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  79. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  80. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  81. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  82. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  83. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  84. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  85. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  86. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  87. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  88. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  89. package/api/resources/serviceFacility/client/Client.js +1 -1
  90. package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
  91. package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
  92. package/api/resources/serviceFacility/types/index.d.ts +1 -0
  93. package/api/resources/serviceFacility/types/index.js +1 -0
  94. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -1
  95. package/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
  96. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  97. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  98. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  99. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  100. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  101. package/dist/api/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  102. package/dist/api/resources/billingNotes/resources/v2/types/index.js +0 -1
  103. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -239
  104. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +16 -249
  105. package/dist/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
  106. package/dist/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
  107. package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  108. package/dist/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
  109. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
  110. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -118
  111. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -118
  112. package/{api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts → dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.d.ts} +6 -6
  113. package/{api/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → dist/api/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +3 -3
  114. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +27 -1
  115. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +6 -0
  116. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +5 -0
  117. package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  118. package/dist/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
  119. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  120. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  121. package/dist/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
  122. package/dist/api/resources/commons/types/StreetAddressOptionalBase.js +5 -0
  123. package/dist/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
  124. package/dist/api/resources/commons/types/StreetAddressShortZipOptional.js +5 -0
  125. package/dist/api/resources/commons/types/index.d.ts +2 -0
  126. package/dist/api/resources/commons/types/index.js +2 -0
  127. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  128. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  129. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  130. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  131. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  132. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +1 -1
  133. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +4 -4
  134. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +3 -1
  135. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +2 -0
  136. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
  137. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
  138. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
  139. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
  140. package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
  141. package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
  142. package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
  143. package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
  144. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
  145. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
  146. package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
  147. package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
  148. package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  149. package/dist/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
  150. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +197 -79
  151. package/dist/api/resources/encounters/resources/v4/client/Client.js +202 -84
  152. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +89 -9
  153. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +138 -66
  154. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  155. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -26
  156. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  157. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  158. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  159. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  160. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  161. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +21 -1
  162. package/dist/api/resources/guarantor/resources/v1/client/Client.js +24 -4
  163. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  164. package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
  165. package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
  166. package/dist/api/resources/individual/types/index.d.ts +1 -0
  167. package/dist/api/resources/individual/types/index.js +1 -0
  168. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  169. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  170. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  171. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  172. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  173. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  174. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  175. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  176. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  177. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  178. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  179. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  180. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  181. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  182. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  183. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  184. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  185. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  186. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  187. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  188. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  189. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  190. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
  191. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
  192. package/dist/api/resources/serviceFacility/types/index.d.ts +1 -0
  193. package/dist/api/resources/serviceFacility/types/index.js +1 -0
  194. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -1
  195. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
  196. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  197. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  198. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  199. package/dist/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  200. package/dist/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
  201. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
  202. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
  203. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  204. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
  205. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
  206. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
  207. package/{serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts → dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.d.ts} +6 -1
  208. package/{serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +5 -3
  209. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
  210. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
  211. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
  212. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
  213. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  214. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  215. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  216. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +3 -1
  217. package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
  218. package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
  219. package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
  220. package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
  221. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  222. package/dist/serialization/resources/commons/types/index.js +2 -0
  223. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +1 -1
  224. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +1 -1
  225. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
  226. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
  227. package/dist/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
  228. package/dist/serialization/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js} +10 -11
  229. package/dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
  230. package/{serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js} +8 -11
  231. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
  232. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
  233. package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
  234. package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
  235. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  236. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
  237. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  238. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  239. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
  240. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
  241. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  242. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  243. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
  244. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
  245. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
  246. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
  247. package/dist/serialization/resources/individual/types/index.d.ts +1 -0
  248. package/dist/serialization/resources/individual/types/index.js +1 -0
  249. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
  250. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
  251. package/dist/serialization/resources/serviceFacility/types/index.d.ts +1 -0
  252. package/dist/serialization/resources/serviceFacility/types/index.js +1 -0
  253. package/dist/version.d.ts +1 -1
  254. package/dist/version.js +1 -1
  255. package/package.json +1 -1
  256. package/reference.md +284 -327
  257. package/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  258. package/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
  259. package/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
  260. package/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
  261. package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  262. package/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
  263. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
  264. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
  265. package/{dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.d.ts → serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.d.ts} +6 -1
  266. package/{dist/serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChange.js → serialization/resources/chargeCapture/resources/v1/client/updatePostBilledChanges.js} +5 -3
  267. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
  268. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
  269. package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
  270. package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
  271. package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  272. package/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  273. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  274. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +3 -1
  275. package/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
  276. package/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
  277. package/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
  278. package/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
  279. package/serialization/resources/commons/types/index.d.ts +2 -0
  280. package/serialization/resources/commons/types/index.js +2 -0
  281. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +1 -1
  282. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +1 -1
  283. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
  284. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
  285. package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
  286. package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +51 -0
  287. package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
  288. package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +49 -0
  289. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
  290. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
  291. package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
  292. package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
  293. package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  294. package/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
  295. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  296. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  297. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
  298. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
  299. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  300. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  301. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
  302. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
  303. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
  304. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
  305. package/serialization/resources/individual/types/index.d.ts +1 -0
  306. package/serialization/resources/individual/types/index.js +1 -0
  307. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
  308. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
  309. package/serialization/resources/serviceFacility/types/index.d.ts +1 -0
  310. package/serialization/resources/serviceFacility/types/index.js +1 -0
  311. package/version.d.ts +1 -1
  312. package/version.js +1 -1
  313. package/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
  314. package/dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
  315. package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
  316. package/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
  317. /package/api/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js} +0 -0
  318. /package/{dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → api/resources/commons/types/StreetAddressOptionalBase.js} +0 -0
package/reference.md CHANGED
@@ -419,127 +419,7 @@ await client.chargeCaptureBundles.v1.getAll({
419
419
 
420
420
  ```typescript
421
421
  await client.chargeCapture.v1.create({
422
- data: {
423
- diagnoses: [],
424
- interventions: [],
425
- externalClaimSubmission: {
426
- claimCreatedAt: "2023-01-01T12:00:00.000000Z",
427
- patientControlNumber: "PATIENT_CONTROL_NUMBER",
428
- submissionRecords: [
429
- {
430
- submittedAt: "2023-01-01T13:00:00.000000Z",
431
- claimFrequencyCode: "1",
432
- payerResponsibility: "primary",
433
- intendedSubmissionMedium: "electronic",
434
- },
435
- {
436
- submittedAt: "2023-01-04T12:00:00.000000Z",
437
- claimFrequencyCode: "7",
438
- payerResponsibility: "primary",
439
- intendedSubmissionMedium: "paper",
440
- },
441
- ],
442
- },
443
- serviceLines: [],
444
- patientHistories: [],
445
- billingNotes: [],
446
- benefitsAssignedToProvider: true,
447
- priorAuthorizationNumber: CandidApi.PriorAuthorizationNumber("string"),
448
- externalId: CandidApi.EncounterExternalId("string"),
449
- dateOfService: "2023-01-15",
450
- tagIds: [],
451
- clinicalNotes: [],
452
- payToAddress: {
453
- address1: "123 Main St",
454
- address2: "Apt 1",
455
- city: "New York",
456
- state: "NY",
457
- zipCode: "10001",
458
- zipPlusFourCode: "1234",
459
- },
460
- billableStatus: "BILLABLE",
461
- responsibleParty: "INSURANCE_PAY",
462
- providerAcceptsAssignment: true,
463
- synchronicity: "Synchronous",
464
- placeOfServiceCode: "01",
465
- appointmentType: "string",
466
- endDateOfService: "2023-01-15",
467
- subscriberPrimary: {
468
- insuranceCard: {
469
- memberId: "string",
470
- payerName: "string",
471
- payerId: "string",
472
- },
473
- patientRelationshipToSubscriberCode: "01",
474
- firstName: "string",
475
- lastName: "string",
476
- gender: "male",
477
- },
478
- subscriberSecondary: {
479
- insuranceCard: {
480
- memberId: "string",
481
- payerName: "string",
482
- payerId: "string",
483
- },
484
- patientRelationshipToSubscriberCode: "01",
485
- firstName: "string",
486
- lastName: "string",
487
- gender: "male",
488
- },
489
- subscriberTertiary: {
490
- insuranceCard: {
491
- memberId: "string",
492
- payerName: "string",
493
- payerId: "string",
494
- },
495
- patientRelationshipToSubscriberCode: "01",
496
- firstName: "string",
497
- lastName: "string",
498
- gender: "male",
499
- },
500
- additionalInformation: "string",
501
- serviceAuthorizationExceptionCode: "1",
502
- admissionDate: "2023-01-15",
503
- dischargeDate: "2023-01-15",
504
- onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
505
- lastMenstrualPeriodDate: "2023-01-15",
506
- delayReasonCode: "1",
507
- patient: {},
508
- patientAuthorizedRelease: true,
509
- schemaInstances: [],
510
- vitals: {
511
- heightIn: 70,
512
- weightLbs: 165,
513
- bloodPressureSystolicMmhg: 115,
514
- bloodPressureDiastolicMmhg: 85,
515
- bodyTemperatureF: 98,
516
- hemoglobinGdl: 15.1,
517
- hematocritPct: 51.2,
518
- },
519
- existingMedications: [],
520
- renderingProvider: {},
521
- serviceFacility: {
522
- organizationName: "Test Organization",
523
- address: {
524
- address1: "123 Main St",
525
- address2: "Apt 1",
526
- city: "New York",
527
- state: "NY",
528
- zipCode: "10001",
529
- zipPlusFourCode: "1234",
530
- },
531
- },
532
- guarantor: {},
533
- billingProvider: {},
534
- supervisingProvider: {},
535
- referringProvider: {},
536
- initialReferringProvider: {},
537
- referralNumber: "string",
538
- epsdtReferral: {
539
- conditionIndicator1: "AV",
540
- },
541
- claimSupplementalInformation: [],
542
- },
422
+ data: {},
543
423
  chargeExternalId: "string",
544
424
  ehrSourceUrl: "string",
545
425
  patientExternalId: "string",
@@ -641,127 +521,7 @@ await client.chargeCapture.v1.delete(CandidApi.ChargeCaptureId("d5e9c84f-c2b2-4b
641
521
 
642
522
  ```typescript
643
523
  await client.chargeCapture.v1.update(CandidApi.ChargeCaptureId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
644
- data: {
645
- diagnoses: [],
646
- interventions: [],
647
- externalClaimSubmission: {
648
- claimCreatedAt: "2023-01-01T12:00:00.000000Z",
649
- patientControlNumber: "PATIENT_CONTROL_NUMBER",
650
- submissionRecords: [
651
- {
652
- submittedAt: "2023-01-01T13:00:00.000000Z",
653
- claimFrequencyCode: "1",
654
- payerResponsibility: "primary",
655
- intendedSubmissionMedium: "electronic",
656
- },
657
- {
658
- submittedAt: "2023-01-04T12:00:00.000000Z",
659
- claimFrequencyCode: "7",
660
- payerResponsibility: "primary",
661
- intendedSubmissionMedium: "paper",
662
- },
663
- ],
664
- },
665
- serviceLines: [],
666
- patientHistories: [],
667
- billingNotes: [],
668
- benefitsAssignedToProvider: true,
669
- priorAuthorizationNumber: CandidApi.PriorAuthorizationNumber("string"),
670
- externalId: CandidApi.EncounterExternalId("string"),
671
- dateOfService: "2023-01-15",
672
- tagIds: [],
673
- clinicalNotes: [],
674
- payToAddress: {
675
- address1: "123 Main St",
676
- address2: "Apt 1",
677
- city: "New York",
678
- state: "NY",
679
- zipCode: "10001",
680
- zipPlusFourCode: "1234",
681
- },
682
- billableStatus: "BILLABLE",
683
- responsibleParty: "INSURANCE_PAY",
684
- providerAcceptsAssignment: true,
685
- synchronicity: "Synchronous",
686
- placeOfServiceCode: "01",
687
- appointmentType: "string",
688
- endDateOfService: "2023-01-15",
689
- subscriberPrimary: {
690
- insuranceCard: {
691
- memberId: "string",
692
- payerName: "string",
693
- payerId: "string",
694
- },
695
- patientRelationshipToSubscriberCode: "01",
696
- firstName: "string",
697
- lastName: "string",
698
- gender: "male",
699
- },
700
- subscriberSecondary: {
701
- insuranceCard: {
702
- memberId: "string",
703
- payerName: "string",
704
- payerId: "string",
705
- },
706
- patientRelationshipToSubscriberCode: "01",
707
- firstName: "string",
708
- lastName: "string",
709
- gender: "male",
710
- },
711
- subscriberTertiary: {
712
- insuranceCard: {
713
- memberId: "string",
714
- payerName: "string",
715
- payerId: "string",
716
- },
717
- patientRelationshipToSubscriberCode: "01",
718
- firstName: "string",
719
- lastName: "string",
720
- gender: "male",
721
- },
722
- additionalInformation: "string",
723
- serviceAuthorizationExceptionCode: "1",
724
- admissionDate: "2023-01-15",
725
- dischargeDate: "2023-01-15",
726
- onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
727
- lastMenstrualPeriodDate: "2023-01-15",
728
- delayReasonCode: "1",
729
- patient: {},
730
- patientAuthorizedRelease: true,
731
- schemaInstances: [],
732
- vitals: {
733
- heightIn: 70,
734
- weightLbs: 165,
735
- bloodPressureSystolicMmhg: 115,
736
- bloodPressureDiastolicMmhg: 85,
737
- bodyTemperatureF: 98,
738
- hemoglobinGdl: 15.1,
739
- hematocritPct: 51.2,
740
- },
741
- existingMedications: [],
742
- renderingProvider: {},
743
- serviceFacility: {
744
- organizationName: "Test Organization",
745
- address: {
746
- address1: "123 Main St",
747
- address2: "Apt 1",
748
- city: "New York",
749
- state: "NY",
750
- zipCode: "10001",
751
- zipPlusFourCode: "1234",
752
- },
753
- },
754
- guarantor: {},
755
- billingProvider: {},
756
- supervisingProvider: {},
757
- referringProvider: {},
758
- initialReferringProvider: {},
759
- referralNumber: "string",
760
- epsdtReferral: {
761
- conditionIndicator1: "AV",
762
- },
763
- claimSupplementalInformation: [],
764
- },
524
+ data: {},
765
525
  chargeExternalId: "string",
766
526
  ehrSourceUrl: "string",
767
527
  patientExternalId: "string",
@@ -939,7 +699,7 @@ await client.chargeCapture.v1.getAll({
939
699
  </dl>
940
700
  </details>
941
701
 
942
- <details><summary><code>client.chargeCapture.v1.<a href="/src/api/resources/chargeCapture/resources/v1/client/Client.ts">updatePostBilledChange</a>(chargeCaptureChangeId, { ...params }) -> core.APIResponse<CandidApi.ChargeCapturePostBilledChange, CandidApi.chargeCapture.v1.updatePostBilledChange.Error></code></summary>
702
+ <details><summary><code>client.chargeCapture.v1.<a href="/src/api/resources/chargeCapture/resources/v1/client/Client.ts">updatePostBilledChanges</a>({ ...params }) -> core.APIResponse<CandidApi.ChargeCapturePostBilledChange[], CandidApi.chargeCapture.v1.updatePostBilledChanges.Error></code></summary>
943
703
  <dl>
944
704
  <dd>
945
705
 
@@ -952,12 +712,10 @@ await client.chargeCapture.v1.getAll({
952
712
  <dd>
953
713
 
954
714
  ```typescript
955
- await client.chargeCapture.v1.updatePostBilledChange(
956
- CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
957
- {
958
- resolved: true,
959
- },
960
- );
715
+ await client.chargeCapture.v1.updatePostBilledChanges({
716
+ chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
717
+ resolved: true,
718
+ });
961
719
  ```
962
720
 
963
721
  </dd>
@@ -973,14 +731,6 @@ await client.chargeCapture.v1.updatePostBilledChange(
973
731
  <dl>
974
732
  <dd>
975
733
 
976
- **chargeCaptureChangeId:** `CandidApi.ChargeCapturePostBilledChangeId`
977
-
978
- </dd>
979
- </dl>
980
-
981
- <dl>
982
- <dd>
983
-
984
734
  **request:** `CandidApi.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate`
985
735
 
986
736
  </dd>
@@ -2213,7 +1963,7 @@ await client.encounterAttachments.v1.get(CandidApi.EncounterId("d5e9c84f-c2b2-4b
2213
1963
  <dd>
2214
1964
 
2215
1965
  Uploads a file to the encounter. The file will be stored in the
2216
- encounter's attachments. The maximum file size is 25MB.
1966
+ encounter's attachments.
2217
1967
 
2218
1968
  </dd>
2219
1969
  </dl>
@@ -2359,7 +2109,21 @@ await client.encounterAttachments.v1.delete(CandidApi.EncounterId("d5e9c84f-c2b2
2359
2109
  ```typescript
2360
2110
  await client.encounterProviders.v2.updateReferringProvider(
2361
2111
  CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
2362
- {},
2112
+ {
2113
+ npi: "string",
2114
+ taxonomyCode: "string",
2115
+ address: {
2116
+ address1: "123 Main St",
2117
+ address2: "Apt 1",
2118
+ city: "New York",
2119
+ state: "NY",
2120
+ zipCode: "10001",
2121
+ zipPlusFourCode: "1234",
2122
+ },
2123
+ firstName: "string",
2124
+ lastName: "string",
2125
+ organizationName: "string",
2126
+ },
2363
2127
  );
2364
2128
  ```
2365
2129
 
@@ -2418,7 +2182,22 @@ await client.encounterProviders.v2.updateReferringProvider(
2418
2182
  ```typescript
2419
2183
  await client.encounterProviders.v2.updateInitialReferringProvider(
2420
2184
  CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
2421
- {},
2185
+ {
2186
+ npi: "string",
2187
+ taxonomyCode: "string",
2188
+ address: {
2189
+ address1: "123 Main St",
2190
+ address2: "Apt 1",
2191
+ city: "New York",
2192
+ state: "NY",
2193
+ zipCode: "10001",
2194
+ zipPlusFourCode: "1234",
2195
+ },
2196
+ qualifier: "DQ",
2197
+ firstName: "string",
2198
+ lastName: "string",
2199
+ organizationName: "string",
2200
+ },
2422
2201
  );
2423
2202
  ```
2424
2203
 
@@ -2477,7 +2256,21 @@ await client.encounterProviders.v2.updateInitialReferringProvider(
2477
2256
  ```typescript
2478
2257
  await client.encounterProviders.v2.updateSupervisingProvider(
2479
2258
  CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
2480
- {},
2259
+ {
2260
+ npi: "string",
2261
+ taxonomyCode: "string",
2262
+ address: {
2263
+ address1: "123 Main St",
2264
+ address2: "Apt 1",
2265
+ city: "New York",
2266
+ state: "NY",
2267
+ zipCode: "10001",
2268
+ zipPlusFourCode: "1234",
2269
+ },
2270
+ firstName: "string",
2271
+ lastName: "string",
2272
+ organizationName: "string",
2273
+ },
2481
2274
  );
2482
2275
  ```
2483
2276
 
@@ -2547,6 +2340,9 @@ await client.encounterProviders.v2.updateOrderingProvider(
2547
2340
  zipCode: "10001",
2548
2341
  zipPlusFourCode: "1234",
2549
2342
  },
2343
+ firstName: "string",
2344
+ lastName: "string",
2345
+ organizationName: "string",
2550
2346
  },
2551
2347
  );
2552
2348
  ```
@@ -2617,6 +2413,9 @@ await client.encounterProviders.v2.createReferringProvider(
2617
2413
  zipCode: "10001",
2618
2414
  zipPlusFourCode: "1234",
2619
2415
  },
2416
+ firstName: "string",
2417
+ lastName: "string",
2418
+ organizationName: "string",
2620
2419
  },
2621
2420
  );
2622
2421
  ```
@@ -2688,6 +2487,9 @@ await client.encounterProviders.v2.createInitialReferringProvider(
2688
2487
  zipPlusFourCode: "1234",
2689
2488
  },
2690
2489
  qualifier: "DQ",
2490
+ firstName: "string",
2491
+ lastName: "string",
2492
+ organizationName: "string",
2691
2493
  },
2692
2494
  );
2693
2495
  ```
@@ -2758,6 +2560,9 @@ await client.encounterProviders.v2.createSupervisingProvider(
2758
2560
  zipCode: "10001",
2759
2561
  zipPlusFourCode: "1234",
2760
2562
  },
2563
+ firstName: "string",
2564
+ lastName: "string",
2565
+ organizationName: "string",
2761
2566
  },
2762
2567
  );
2763
2568
  ```
@@ -2828,6 +2633,9 @@ await client.encounterProviders.v2.createOrderingProvider(
2828
2633
  zipCode: "10001",
2829
2634
  zipPlusFourCode: "1234",
2830
2635
  },
2636
+ firstName: "string",
2637
+ lastName: "string",
2638
+ organizationName: "string",
2831
2639
  },
2832
2640
  );
2833
2641
  ```
@@ -3244,6 +3052,9 @@ await client.encounters.v4.create({
3244
3052
  npi: "string",
3245
3053
  taxonomyCode: "string",
3246
3054
  providerCommercialLicenseType: "0",
3055
+ firstName: "string",
3056
+ lastName: "string",
3057
+ organizationName: "string",
3247
3058
  },
3248
3059
  renderingProvider: {
3249
3060
  npi: "string",
@@ -3256,6 +3067,9 @@ await client.encounters.v4.create({
3256
3067
  zipCode: "10001",
3257
3068
  zipPlusFourCode: "1234",
3258
3069
  },
3070
+ firstName: "string",
3071
+ lastName: "string",
3072
+ organizationName: "string",
3259
3073
  },
3260
3074
  referringProvider: {
3261
3075
  npi: "string",
@@ -3268,6 +3082,9 @@ await client.encounters.v4.create({
3268
3082
  zipCode: "10001",
3269
3083
  zipPlusFourCode: "1234",
3270
3084
  },
3085
+ firstName: "string",
3086
+ lastName: "string",
3087
+ organizationName: "string",
3271
3088
  },
3272
3089
  initialReferringProvider: {
3273
3090
  npi: "string",
@@ -3281,6 +3098,9 @@ await client.encounters.v4.create({
3281
3098
  zipPlusFourCode: "1234",
3282
3099
  },
3283
3100
  qualifier: "DQ",
3101
+ firstName: "string",
3102
+ lastName: "string",
3103
+ organizationName: "string",
3284
3104
  },
3285
3105
  supervisingProvider: {
3286
3106
  npi: "string",
@@ -3293,6 +3113,9 @@ await client.encounters.v4.create({
3293
3113
  zipCode: "10001",
3294
3114
  zipPlusFourCode: "1234",
3295
3115
  },
3116
+ firstName: "string",
3117
+ lastName: "string",
3118
+ organizationName: "string",
3296
3119
  },
3297
3120
  serviceFacility: {
3298
3121
  organizationName: "string",
@@ -3312,8 +3135,27 @@ await client.encounters.v4.create({
3312
3135
  memberId: "string",
3313
3136
  payerName: "string",
3314
3137
  payerId: "string",
3138
+ rxBin: "string",
3139
+ rxPcn: "string",
3140
+ imageUrlFront: "string",
3141
+ imageUrlBack: "string",
3142
+ emrPayerCrosswalk: "HEALTHIE",
3143
+ groupNumber: "string",
3144
+ planName: "string",
3145
+ planType: "09",
3146
+ insuranceType: "01",
3147
+ payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
3315
3148
  },
3316
3149
  patientRelationshipToSubscriberCode: "01",
3150
+ dateOfBirth: "2023-01-15",
3151
+ address: {
3152
+ address1: "123 Main St",
3153
+ address2: "Apt 1",
3154
+ city: "New York",
3155
+ state: "NY",
3156
+ zipCode: "10001",
3157
+ zipPlusFourCode: "1234",
3158
+ },
3317
3159
  firstName: "string",
3318
3160
  lastName: "string",
3319
3161
  gender: "male",
@@ -3323,8 +3165,27 @@ await client.encounters.v4.create({
3323
3165
  memberId: "string",
3324
3166
  payerName: "string",
3325
3167
  payerId: "string",
3168
+ rxBin: "string",
3169
+ rxPcn: "string",
3170
+ imageUrlFront: "string",
3171
+ imageUrlBack: "string",
3172
+ emrPayerCrosswalk: "HEALTHIE",
3173
+ groupNumber: "string",
3174
+ planName: "string",
3175
+ planType: "09",
3176
+ insuranceType: "01",
3177
+ payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
3326
3178
  },
3327
3179
  patientRelationshipToSubscriberCode: "01",
3180
+ dateOfBirth: "2023-01-15",
3181
+ address: {
3182
+ address1: "123 Main St",
3183
+ address2: "Apt 1",
3184
+ city: "New York",
3185
+ state: "NY",
3186
+ zipCode: "10001",
3187
+ zipPlusFourCode: "1234",
3188
+ },
3328
3189
  firstName: "string",
3329
3190
  lastName: "string",
3330
3191
  gender: "male",
@@ -3334,8 +3195,27 @@ await client.encounters.v4.create({
3334
3195
  memberId: "string",
3335
3196
  payerName: "string",
3336
3197
  payerId: "string",
3198
+ rxBin: "string",
3199
+ rxPcn: "string",
3200
+ imageUrlFront: "string",
3201
+ imageUrlBack: "string",
3202
+ emrPayerCrosswalk: "HEALTHIE",
3203
+ groupNumber: "string",
3204
+ planName: "string",
3205
+ planType: "09",
3206
+ insuranceType: "01",
3207
+ payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
3337
3208
  },
3338
3209
  patientRelationshipToSubscriberCode: "01",
3210
+ dateOfBirth: "2023-01-15",
3211
+ address: {
3212
+ address1: "123 Main St",
3213
+ address2: "Apt 1",
3214
+ city: "New York",
3215
+ state: "NY",
3216
+ zipCode: "10001",
3217
+ zipPlusFourCode: "1234",
3218
+ },
3339
3219
  firstName: "string",
3340
3220
  lastName: "string",
3341
3221
  gender: "male",
@@ -3448,6 +3328,8 @@ await client.encounters.v4.create({
3448
3328
  referralNumber: "string",
3449
3329
  epsdtReferral: {
3450
3330
  conditionIndicator1: "AV",
3331
+ conditionIndicator2: "AV",
3332
+ conditionIndicator3: "AV",
3451
3333
  },
3452
3334
  claimSupplementalInformation: [
3453
3335
  {
@@ -3455,6 +3337,7 @@ await client.encounters.v4.create({
3455
3337
  attachmentTransmissionCode: "BM",
3456
3338
  },
3457
3339
  ],
3340
+ secondaryPayerCarrierCode: "string",
3458
3341
  externalId: CandidApi.EncounterExternalId("string"),
3459
3342
  dateOfService: "2023-01-15",
3460
3343
  endDateOfService: "2023-01-15",
@@ -3616,6 +3499,9 @@ await client.encounters.v4.createFromPreEncounterPatient({
3616
3499
  npi: "string",
3617
3500
  taxonomyCode: "string",
3618
3501
  providerCommercialLicenseType: "0",
3502
+ firstName: "string",
3503
+ lastName: "string",
3504
+ organizationName: "string",
3619
3505
  },
3620
3506
  renderingProvider: {
3621
3507
  npi: "string",
@@ -3628,6 +3514,9 @@ await client.encounters.v4.createFromPreEncounterPatient({
3628
3514
  zipCode: "10001",
3629
3515
  zipPlusFourCode: "1234",
3630
3516
  },
3517
+ firstName: "string",
3518
+ lastName: "string",
3519
+ organizationName: "string",
3631
3520
  },
3632
3521
  initialReferringProvider: {
3633
3522
  npi: "string",
@@ -3641,6 +3530,9 @@ await client.encounters.v4.createFromPreEncounterPatient({
3641
3530
  zipPlusFourCode: "1234",
3642
3531
  },
3643
3532
  qualifier: "DQ",
3533
+ firstName: "string",
3534
+ lastName: "string",
3535
+ organizationName: "string",
3644
3536
  },
3645
3537
  supervisingProvider: {
3646
3538
  npi: "string",
@@ -3653,6 +3545,9 @@ await client.encounters.v4.createFromPreEncounterPatient({
3653
3545
  zipCode: "10001",
3654
3546
  zipPlusFourCode: "1234",
3655
3547
  },
3548
+ firstName: "string",
3549
+ lastName: "string",
3550
+ organizationName: "string",
3656
3551
  },
3657
3552
  serviceFacility: {
3658
3553
  organizationName: "string",
@@ -3862,14 +3757,6 @@ await client.encounters.v4.createFromPreEncounterPatient({
3862
3757
 
3863
3758
  ```typescript
3864
3759
  await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
3865
- diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
3866
- placeOfServiceCodeAsSubmitted: "01",
3867
- benefitsAssignedToProvider: true,
3868
- priorAuthorizationNumber: CandidApi.PriorAuthorizationNumber("string"),
3869
- externalId: CandidApi.EncounterExternalId("string"),
3870
- dateOfService: "2023-01-15",
3871
- tagIds: [],
3872
- clinicalNotes: [],
3873
3760
  payToAddress: {
3874
3761
  address1: "123 Main St",
3875
3762
  address2: "Apt 1",
@@ -3878,67 +3765,89 @@ await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0
3878
3765
  zipCode: "10001",
3879
3766
  zipPlusFourCode: "1234",
3880
3767
  },
3881
- billableStatus: "BILLABLE",
3882
- responsibleParty: "INSURANCE_PAY",
3883
- providerAcceptsAssignment: true,
3884
- synchronicity: "Synchronous",
3885
- placeOfServiceCode: "01",
3886
- appointmentType: "string",
3887
- endDateOfService: "2023-01-15",
3888
- subscriberPrimary: {
3889
- insuranceCard: {
3890
- memberId: "string",
3891
- payerName: "string",
3892
- payerId: "string",
3768
+ diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
3769
+ initialReferringProvider: {
3770
+ npi: "string",
3771
+ taxonomyCode: "string",
3772
+ address: {
3773
+ address1: "123 Main St",
3774
+ address2: "Apt 1",
3775
+ city: "New York",
3776
+ state: "NY",
3777
+ zipCode: "10001",
3778
+ zipPlusFourCode: "1234",
3893
3779
  },
3894
- patientRelationshipToSubscriberCode: "01",
3780
+ qualifier: "DQ",
3895
3781
  firstName: "string",
3896
3782
  lastName: "string",
3897
- gender: "male",
3783
+ organizationName: "string",
3898
3784
  },
3899
- subscriberSecondary: {
3900
- insuranceCard: {
3901
- memberId: "string",
3902
- payerName: "string",
3903
- payerId: "string",
3785
+ referringProvider: {
3786
+ npi: "string",
3787
+ taxonomyCode: "string",
3788
+ address: {
3789
+ address1: "123 Main St",
3790
+ address2: "Apt 1",
3791
+ city: "New York",
3792
+ state: "NY",
3793
+ zipCode: "10001",
3794
+ zipPlusFourCode: "1234",
3904
3795
  },
3905
- patientRelationshipToSubscriberCode: "01",
3906
3796
  firstName: "string",
3907
3797
  lastName: "string",
3908
- gender: "male",
3798
+ organizationName: "string",
3909
3799
  },
3910
- subscriberTertiary: {
3911
- insuranceCard: {
3912
- memberId: "string",
3913
- payerName: "string",
3914
- payerId: "string",
3915
- },
3916
- patientRelationshipToSubscriberCode: "01",
3800
+ patient: {
3917
3801
  firstName: "string",
3918
3802
  lastName: "string",
3919
3803
  gender: "male",
3804
+ externalId: "string",
3805
+ dateOfBirth: "2023-01-15",
3806
+ address: {
3807
+ address1: "123 Main St",
3808
+ address2: "Apt 1",
3809
+ city: "New York",
3810
+ state: "NY",
3811
+ zipCode: "10001",
3812
+ zipPlusFourCode: "1234",
3813
+ },
3814
+ phoneNumbers: [
3815
+ {
3816
+ number: "1234567890",
3817
+ type: "Home",
3818
+ },
3819
+ ],
3820
+ phoneConsent: true,
3821
+ email: CandidApi.Email("johndoe@joincandidhealth.com"),
3822
+ emailConsent: true,
3823
+ nonInsurancePayers: [CandidApi.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
3824
+ nonInsurancePayersInfo: [
3825
+ {
3826
+ nonInsurancePayerId: CandidApi.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
3827
+ memberId: "string",
3828
+ clinicalTrialInfo: [
3829
+ {
3830
+ clinicalTrialId: CandidApi.ClinicalTrialId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
3831
+ },
3832
+ ],
3833
+ },
3834
+ ],
3920
3835
  },
3921
- additionalInformation: "string",
3922
- serviceAuthorizationExceptionCode: "1",
3923
- admissionDate: "2023-01-15",
3924
- dischargeDate: "2023-01-15",
3925
- onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
3926
- lastMenstrualPeriodDate: "2023-01-15",
3927
- delayReasonCode: "1",
3928
- patient: {},
3929
- patientAuthorizedRelease: true,
3930
- schemaInstances: [],
3931
- vitals: {
3932
- heightIn: 70,
3933
- weightLbs: 165,
3934
- bloodPressureSystolicMmhg: 115,
3935
- bloodPressureDiastolicMmhg: 85,
3936
- bodyTemperatureF: 98,
3937
- hemoglobinGdl: 15.1,
3938
- hematocritPct: 51.2,
3836
+ renderingProvider: {
3837
+ npi: "string",
3838
+ taxonomyCode: "string",
3839
+ address: {
3840
+ address1: "123 Main St",
3841
+ address2: "Apt 1",
3842
+ city: "New York",
3843
+ state: "NY",
3844
+ zipCode: "10001",
3845
+ zipPlusFourCode: "1234",
3846
+ },
3847
+ firstName: "string",
3848
+ lastName: "string",
3849
+ organizationName: "string",
3939
3850
  },
3940
- existingMedications: [],
3941
- renderingProvider: {},
3942
3851
  serviceFacility: {
3943
3852
  organizationName: "Test Organization",
3944
3853
  address: {
@@ -3950,16 +3859,39 @@ await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0
3950
3859
  zipPlusFourCode: "1234",
3951
3860
  },
3952
3861
  },
3953
- guarantor: {},
3954
- billingProvider: {},
3955
- supervisingProvider: {},
3956
- referringProvider: {},
3957
- initialReferringProvider: {},
3958
- referralNumber: "string",
3959
- epsdtReferral: {
3960
- conditionIndicator1: "AV",
3862
+ supervisingProvider: {
3863
+ npi: "string",
3864
+ taxonomyCode: "string",
3865
+ address: {
3866
+ address1: "123 Main St",
3867
+ address2: "Apt 1",
3868
+ city: "New York",
3869
+ state: "NY",
3870
+ zipCode: "10001",
3871
+ zipPlusFourCode: "1234",
3872
+ },
3873
+ firstName: "string",
3874
+ lastName: "string",
3875
+ organizationName: "string",
3876
+ },
3877
+ billingProvider: {
3878
+ address: {
3879
+ address1: "123 Main St",
3880
+ address2: "Apt 1",
3881
+ city: "New York",
3882
+ state: "NY",
3883
+ zipCode: "10001",
3884
+ zipPlusFourCode: "1234",
3885
+ },
3886
+ taxId: "string",
3887
+ npi: "string",
3888
+ taxonomyCode: "string",
3889
+ providerCommercialLicenseType: "0",
3890
+ firstName: "string",
3891
+ lastName: "string",
3892
+ organizationName: "string",
3961
3893
  },
3962
- claimSupplementalInformation: [],
3894
+ placeOfServiceCodeAsSubmitted: "01",
3963
3895
  });
3964
3896
  ```
3965
3897
 
@@ -5305,7 +5237,29 @@ Updates a guarantor by its `guarantor_id`.
5305
5237
  <dd>
5306
5238
 
5307
5239
  ```typescript
5308
- await client.guarantor.v1.update(CandidApi.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});
5240
+ await client.guarantor.v1.update(CandidApi.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
5241
+ firstName: "string",
5242
+ lastName: "string",
5243
+ externalId: "string",
5244
+ dateOfBirth: "2023-01-15",
5245
+ address: {
5246
+ address1: "123 Main St",
5247
+ address2: "Apt 1",
5248
+ city: "New York",
5249
+ state: "NY",
5250
+ zipCode: "10001",
5251
+ zipPlusFourCode: "1234",
5252
+ },
5253
+ phoneNumbers: [
5254
+ {
5255
+ number: "1234567890",
5256
+ type: "Home",
5257
+ },
5258
+ ],
5259
+ phoneConsent: true,
5260
+ email: CandidApi.Email("johndoe@joincandidhealth.com"),
5261
+ emailConsent: true,
5262
+ });
5309
5263
  ```
5310
5264
 
5311
5265
  </dd>
@@ -9326,6 +9280,9 @@ await client.serviceLines.v2.create({
9326
9280
  zipCode: "10001",
9327
9281
  zipPlusFourCode: "1234",
9328
9282
  },
9283
+ firstName: "string",
9284
+ lastName: "string",
9285
+ organizationName: "string",
9329
9286
  },
9330
9287
  testResults: [
9331
9288
  {