candidhealth 0.45.0 → 0.46.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 (371) hide show
  1. package/README.md +4 -18
  2. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  3. package/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
  5. package/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
  6. package/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
  7. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
  8. package/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
  9. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
  10. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
  11. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
  12. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
  13. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -1
  14. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
  15. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
  16. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
  17. package/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
  18. package/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
  19. package/api/resources/contracts/resources/v2/client/Client.js +19 -73
  20. package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
  21. package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
  22. package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
  23. package/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
  24. package/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
  25. package/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  26. package/api/resources/contracts/resources/v2/types/index.js +1 -0
  27. package/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
  28. package/api/resources/credentialing/resources/v2/client/Client.js +9 -31
  29. package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
  30. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
  31. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
  32. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  33. package/api/resources/diagnoses/client/Client.d.ts +3 -8
  34. package/api/resources/diagnoses/client/Client.js +6 -11
  35. package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
  36. package/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
  37. package/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
  38. package/api/resources/eligibility/resources/v2/client/Client.js +5 -9
  39. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
  40. package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
  41. package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
  42. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
  43. package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
  44. package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
  45. package/api/resources/encounters/resources/v4/client/Client.d.ts +49 -674
  46. package/api/resources/encounters/resources/v4/client/Client.js +54 -679
  47. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -410
  48. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -155
  49. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
  50. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
  51. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +7 -7
  52. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
  53. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
  54. package/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
  55. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
  56. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
  57. package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
  58. package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
  59. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
  60. package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  61. package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  62. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  63. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
  64. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
  65. package/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
  66. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
  67. package/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
  68. package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
  69. package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
  70. package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
  71. package/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
  72. package/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
  73. package/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
  74. package/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
  75. package/api/resources/guarantor/resources/v1/client/Client.js +11 -41
  76. package/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
  77. package/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
  78. package/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
  79. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
  80. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
  81. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
  82. package/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
  83. package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
  84. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
  85. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
  86. package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
  87. package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
  88. package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
  89. package/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
  90. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
  91. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
  92. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
  93. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
  94. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
  95. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
  96. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
  97. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
  98. package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
  99. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
  100. package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
  101. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
  102. package/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
  103. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
  104. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
  105. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
  106. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
  107. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
  108. package/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
  109. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
  110. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
  111. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
  112. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
  113. package/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
  114. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
  115. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
  116. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
  117. package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
  118. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
  119. package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
  120. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  121. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
  122. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
  123. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
  124. package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
  125. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
  126. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
  127. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
  128. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
  129. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
  130. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  131. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
  132. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
  133. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
  134. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
  135. package/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
  136. package/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
  137. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
  138. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
  139. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
  140. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
  141. package/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
  142. package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
  143. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
  144. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
  145. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
  146. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
  147. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
  148. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
  149. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
  150. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
  151. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
  152. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  153. package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
  154. package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
  155. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
  156. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
  157. package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
  158. package/api/resources/serviceFacility/client/Client.d.ts +1 -11
  159. package/api/resources/serviceFacility/client/Client.js +2 -12
  160. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
  161. package/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
  162. package/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
  163. package/api/resources/superbills/resources/v1/client/Client.js +3 -11
  164. package/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
  165. package/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
  166. package/api/resources/tasks/resources/v3/client/Client.js +9 -30
  167. package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
  168. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
  169. package/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
  170. package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
  171. package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
  172. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  173. package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
  174. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
  175. package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
  176. package/dist/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
  177. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
  178. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
  179. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
  180. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
  181. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
  182. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
  183. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -1
  184. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
  185. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
  186. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
  187. package/dist/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
  188. package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
  189. package/dist/api/resources/contracts/resources/v2/client/Client.js +19 -73
  190. package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
  191. package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
  192. package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
  193. package/dist/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
  194. package/dist/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
  195. package/dist/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  196. package/dist/api/resources/contracts/resources/v2/types/index.js +1 -0
  197. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
  198. package/dist/api/resources/credentialing/resources/v2/client/Client.js +9 -31
  199. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
  200. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
  201. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
  202. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  203. package/dist/api/resources/diagnoses/client/Client.d.ts +3 -8
  204. package/dist/api/resources/diagnoses/client/Client.js +6 -11
  205. package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
  206. package/dist/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
  207. package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
  208. package/dist/api/resources/eligibility/resources/v2/client/Client.js +5 -9
  209. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
  210. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
  211. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
  212. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
  213. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
  214. package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
  215. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +49 -674
  216. package/dist/api/resources/encounters/resources/v4/client/Client.js +54 -679
  217. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -410
  218. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -155
  219. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
  220. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
  221. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +7 -7
  222. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
  223. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
  224. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
  225. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
  226. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
  227. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
  228. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
  229. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
  230. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  231. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  232. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  233. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
  234. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
  235. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
  236. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
  237. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
  238. package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
  239. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
  240. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
  241. package/dist/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
  242. package/dist/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
  243. package/dist/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
  244. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
  245. package/dist/api/resources/guarantor/resources/v1/client/Client.js +11 -41
  246. package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
  247. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
  248. package/dist/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
  249. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
  250. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
  251. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
  252. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
  253. package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
  254. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
  255. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
  256. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
  257. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
  258. package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
  259. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
  260. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
  261. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
  262. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
  263. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
  264. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
  265. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
  266. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
  267. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
  268. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
  269. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
  270. package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
  271. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
  272. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
  273. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
  274. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
  275. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
  276. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
  277. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
  278. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
  279. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
  280. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
  281. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
  282. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
  283. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
  284. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
  285. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
  286. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
  287. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
  288. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
  289. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
  290. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  291. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
  292. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
  293. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
  294. package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
  295. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
  296. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
  297. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
  298. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
  299. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
  300. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  301. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
  302. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
  303. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
  304. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
  305. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
  306. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
  307. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
  308. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
  309. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
  310. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
  311. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
  312. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
  313. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
  314. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
  315. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
  316. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
  317. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
  318. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
  319. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
  320. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
  321. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
  322. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  323. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
  324. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
  325. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
  326. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
  327. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
  328. package/dist/api/resources/serviceFacility/client/Client.d.ts +1 -11
  329. package/dist/api/resources/serviceFacility/client/Client.js +2 -12
  330. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
  331. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
  332. package/dist/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
  333. package/dist/api/resources/superbills/resources/v1/client/Client.js +3 -11
  334. package/dist/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
  335. package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
  336. package/dist/api/resources/tasks/resources/v3/client/Client.js +9 -30
  337. package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
  338. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
  339. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
  340. package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
  341. package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
  342. package/dist/environments.d.ts +5 -1
  343. package/dist/environments.js +4 -0
  344. package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
  345. package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
  346. package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  347. package/dist/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  348. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
  349. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
  350. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
  351. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
  352. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  353. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  354. package/dist/version.d.ts +1 -1
  355. package/dist/version.js +1 -1
  356. package/environments.d.ts +5 -1
  357. package/environments.js +4 -0
  358. package/package.json +1 -1
  359. package/reference.md +772 -2366
  360. package/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
  361. package/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
  362. package/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  363. package/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  364. package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
  365. package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
  366. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
  367. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
  368. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  369. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  370. package/version.d.ts +1 -1
  371. package/version.js +1 -1
@@ -59,368 +59,41 @@ export declare class V4 {
59
59
  * @example
60
60
  * await client.encounters.v4.create({
61
61
  * patient: {
62
- * phoneNumbers: [{
63
- * number: "1234567890",
64
- * type: "Home"
65
- * }],
66
- * phoneConsent: true,
67
- * email: CandidApi.Email("johndoe@joincandidhealth.com"),
68
- * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
69
- * nonInsurancePayersInfo: [{
70
- * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
71
- * memberId: "string",
72
- * clinicalTrialInfo: [{
73
- * clinicalTrialId: CandidApi.ClinicalTrialId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
74
- * }]
75
- * }],
76
- * emailConsent: true,
77
- * externalId: "string",
62
+ * firstName: "first_name",
63
+ * lastName: "last_name",
64
+ * gender: "male",
65
+ * externalId: "external_id",
78
66
  * dateOfBirth: "2023-01-15",
79
67
  * address: {
80
- * address1: "123 Main St",
81
- * address2: "Apt 1",
82
- * city: "New York",
83
- * state: "NY",
84
- * zipCode: "10001",
85
- * zipPlusFourCode: "1234"
86
- * },
87
- * firstName: "string",
88
- * lastName: "string",
89
- * gender: "male"
68
+ * address1: "address1",
69
+ * city: "city",
70
+ * state: "AA",
71
+ * zipCode: "zip_code"
72
+ * }
90
73
  * },
91
74
  * billingProvider: {
92
75
  * address: {
93
- * address1: "123 Main St",
94
- * address2: "Apt 1",
95
- * city: "New York",
96
- * state: "NY",
97
- * zipCode: "10001",
98
- * zipPlusFourCode: "1234"
76
+ * address1: "address1",
77
+ * city: "city",
78
+ * state: "AA",
79
+ * zipCode: "zip_code",
80
+ * zipPlusFourCode: "zip_plus_four_code"
99
81
  * },
100
- * taxId: "string",
101
- * npi: "string",
102
- * taxonomyCode: "string",
103
- * providerCommercialLicenseType: "0",
104
- * firstName: "string",
105
- * lastName: "string",
106
- * organizationName: "string"
82
+ * taxId: "tax_id",
83
+ * npi: "npi"
107
84
  * },
108
85
  * renderingProvider: {
109
- * npi: "string",
110
- * taxonomyCode: "string",
111
- * address: {
112
- * address1: "123 Main St",
113
- * address2: "Apt 1",
114
- * city: "New York",
115
- * state: "NY",
116
- * zipCode: "10001",
117
- * zipPlusFourCode: "1234"
118
- * },
119
- * firstName: "string",
120
- * lastName: "string",
121
- * organizationName: "string"
122
- * },
123
- * referringProvider: {
124
- * npi: "string",
125
- * taxonomyCode: "string",
126
- * address: {
127
- * address1: "123 Main St",
128
- * address2: "Apt 1",
129
- * city: "New York",
130
- * state: "NY",
131
- * zipCode: "10001",
132
- * zipPlusFourCode: "1234"
133
- * },
134
- * firstName: "string",
135
- * lastName: "string",
136
- * organizationName: "string"
137
- * },
138
- * initialReferringProvider: {
139
- * npi: "string",
140
- * taxonomyCode: "string",
141
- * address: {
142
- * address1: "123 Main St",
143
- * address2: "Apt 1",
144
- * city: "New York",
145
- * state: "NY",
146
- * zipCode: "10001",
147
- * zipPlusFourCode: "1234"
148
- * },
149
- * qualifier: "DQ",
150
- * firstName: "string",
151
- * lastName: "string",
152
- * organizationName: "string"
153
- * },
154
- * supervisingProvider: {
155
- * npi: "string",
156
- * taxonomyCode: "string",
157
- * address: {
158
- * address1: "123 Main St",
159
- * address2: "Apt 1",
160
- * city: "New York",
161
- * state: "NY",
162
- * zipCode: "10001",
163
- * zipPlusFourCode: "1234"
164
- * },
165
- * firstName: "string",
166
- * lastName: "string",
167
- * organizationName: "string"
168
- * },
169
- * serviceFacility: {
170
- * organizationName: "string",
171
- * npi: "string",
172
- * address: {
173
- * address1: "123 Main St",
174
- * address2: "Apt 1",
175
- * city: "New York",
176
- * state: "NY",
177
- * zipCode: "10001",
178
- * zipPlusFourCode: "1234"
179
- * },
180
- * secondaryIdentification: "string"
181
- * },
182
- * subscriberPrimary: {
183
- * insuranceCard: {
184
- * memberId: "string",
185
- * payerName: "string",
186
- * payerId: "string",
187
- * rxBin: "string",
188
- * rxPcn: "string",
189
- * imageUrlFront: "string",
190
- * imageUrlBack: "string",
191
- * emrPayerCrosswalk: "HEALTHIE",
192
- * groupNumber: "string",
193
- * planName: "string",
194
- * planType: "09",
195
- * insuranceType: "01",
196
- * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
197
- * },
198
- * patientRelationshipToSubscriberCode: "01",
199
- * dateOfBirth: "2023-01-15",
200
- * address: {
201
- * address1: "123 Main St",
202
- * address2: "Apt 1",
203
- * city: "New York",
204
- * state: "NY",
205
- * zipCode: "10001",
206
- * zipPlusFourCode: "1234"
207
- * },
208
- * firstName: "string",
209
- * lastName: "string",
210
- * gender: "male"
211
- * },
212
- * subscriberSecondary: {
213
- * insuranceCard: {
214
- * memberId: "string",
215
- * payerName: "string",
216
- * payerId: "string",
217
- * rxBin: "string",
218
- * rxPcn: "string",
219
- * imageUrlFront: "string",
220
- * imageUrlBack: "string",
221
- * emrPayerCrosswalk: "HEALTHIE",
222
- * groupNumber: "string",
223
- * planName: "string",
224
- * planType: "09",
225
- * insuranceType: "01",
226
- * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
227
- * },
228
- * patientRelationshipToSubscriberCode: "01",
229
- * dateOfBirth: "2023-01-15",
230
- * address: {
231
- * address1: "123 Main St",
232
- * address2: "Apt 1",
233
- * city: "New York",
234
- * state: "NY",
235
- * zipCode: "10001",
236
- * zipPlusFourCode: "1234"
237
- * },
238
- * firstName: "string",
239
- * lastName: "string",
240
- * gender: "male"
241
- * },
242
- * subscriberTertiary: {
243
- * insuranceCard: {
244
- * memberId: "string",
245
- * payerName: "string",
246
- * payerId: "string",
247
- * rxBin: "string",
248
- * rxPcn: "string",
249
- * imageUrlFront: "string",
250
- * imageUrlBack: "string",
251
- * emrPayerCrosswalk: "HEALTHIE",
252
- * groupNumber: "string",
253
- * planName: "string",
254
- * planType: "09",
255
- * insuranceType: "01",
256
- * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
257
- * },
258
- * patientRelationshipToSubscriberCode: "01",
259
- * dateOfBirth: "2023-01-15",
260
- * address: {
261
- * address1: "123 Main St",
262
- * address2: "Apt 1",
263
- * city: "New York",
264
- * state: "NY",
265
- * zipCode: "10001",
266
- * zipPlusFourCode: "1234"
267
- * },
268
- * firstName: "string",
269
- * lastName: "string",
270
- * gender: "male"
86
+ * npi: "npi"
271
87
  * },
272
- * priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
273
88
  * responsibleParty: "INSURANCE_PAY",
274
89
  * diagnoses: [{
275
- * name: "string",
276
90
  * codeType: "ABF",
277
- * code: "string"
278
- * }],
279
- * clinicalNotes: [{
280
- * category: "clinical",
281
- * notes: []
282
- * }],
283
- * billingNotes: [{
284
- * text: "string"
285
- * }],
286
- * placeOfServiceCode: "01",
287
- * patientHistories: [{
288
- * category: "present_illness",
289
- * questions: [{
290
- * id: CandidApi.encounters.v4.IntakeQuestionId("6E7FBCE4-A8EA-46D0-A8D8-FF83CA3BB176"),
291
- * text: "Do you have any allergies?",
292
- * responses: [{
293
- * response: "No allergies",
294
- * followUps: [{
295
- * id: CandidApi.encounters.v4.IntakeFollowUpId("4F3D57F9-AC94-49D6-87E4-E804B709917A"),
296
- * text: "Do you have any allergies?",
297
- * response: "No allergies"
298
- * }]
299
- * }]
300
- * }]
301
- * }],
302
- * serviceLines: [{
303
- * procedureCode: "string",
304
- * quantity: CandidApi.Decimal("string"),
305
- * units: "MJ",
306
- * diagnosisPointers: []
307
- * }],
308
- * guarantor: {
309
- * phoneNumbers: [{
310
- * number: "1234567890",
311
- * type: "Home"
312
- * }],
313
- * phoneConsent: true,
314
- * email: CandidApi.Email("johndoe@joincandidhealth.com"),
315
- * emailConsent: true,
316
- * firstName: "string",
317
- * lastName: "string",
318
- * externalId: "string",
319
- * dateOfBirth: "2023-01-15",
320
- * address: {
321
- * address1: "123 Main St",
322
- * address2: "Apt 1",
323
- * city: "New York",
324
- * state: "NY",
325
- * zipCode: "10001",
326
- * zipPlusFourCode: "1234"
327
- * }
328
- * },
329
- * externalClaimSubmission: {
330
- * claimCreatedAt: "2023-01-01T12:00:00.000000Z",
331
- * patientControlNumber: "PATIENT_CONTROL_NUMBER",
332
- * submissionRecords: [{
333
- * submittedAt: "2023-01-01T13:00:00.000000Z",
334
- * claimFrequencyCode: "1",
335
- * payerResponsibility: "primary",
336
- * intendedSubmissionMedium: "electronic"
337
- * }, {
338
- * submittedAt: "2023-01-04T12:00:00.000000Z",
339
- * claimFrequencyCode: "7",
340
- * payerResponsibility: "primary",
341
- * intendedSubmissionMedium: "paper"
342
- * }]
343
- * },
344
- * tagIds: [CandidApi.TagId("string")],
345
- * schemaInstances: [{
346
- * schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
347
- * content: {
348
- * "provider_category": "internist",
349
- * "is_urgent_care": true,
350
- * "bmi": 24.2,
351
- * "age": 38
352
- * }
353
- * }],
354
- * referralNumber: "string",
355
- * epsdtReferral: {
356
- * conditionIndicator1: "AV",
357
- * conditionIndicator2: "AV",
358
- * conditionIndicator3: "AV"
359
- * },
360
- * claimSupplementalInformation: [{
361
- * attachmentReportTypeCode: "03",
362
- * attachmentTransmissionCode: "BM"
363
- * }],
364
- * secondaryPayerCarrierCode: "string",
365
- * externalId: CandidApi.EncounterExternalId("string"),
366
- * dateOfService: "2023-01-15",
367
- * endDateOfService: "2023-01-15",
368
- * patientAuthorizedRelease: true,
369
- * benefitsAssignedToProvider: true,
370
- * providerAcceptsAssignment: true,
371
- * appointmentType: "string",
372
- * existingMedications: [{
373
- * name: "Lisinopril",
374
- * rxCui: CandidApi.encounters.v4.RxCui("860975"),
375
- * dosage: "10mg",
376
- * dosageForm: "Tablet",
377
- * frequency: "Once Daily",
378
- * asNeeded: true
379
- * }],
380
- * vitals: {
381
- * heightIn: 70,
382
- * weightLbs: 165,
383
- * bloodPressureSystolicMmhg: 115,
384
- * bloodPressureDiastolicMmhg: 85,
385
- * bodyTemperatureF: 98,
386
- * hemoglobinGdl: 15.1,
387
- * hematocritPct: 51.2
388
- * },
389
- * interventions: [{
390
- * name: "Physical Therapy Session",
391
- * category: "lifestyle",
392
- * description: "A session focused on improving muscular strength, flexibility, and range of motion post-injury.",
393
- * medication: {
394
- * name: "Lisinopril",
395
- * rxCui: CandidApi.encounters.v4.RxCui("860975"),
396
- * dosage: "10mg",
397
- * dosageForm: "Tablet",
398
- * frequency: "Once Daily",
399
- * asNeeded: true
400
- * },
401
- * labs: [{
402
- * name: "Genetic Health Labs",
403
- * code: "GH12345",
404
- * codeType: "quest"
405
- * }]
91
+ * code: "code"
92
+ * }, {
93
+ * codeType: "ABF",
94
+ * code: "code"
406
95
  * }],
407
- * payToAddress: {
408
- * address1: "123 Main St",
409
- * address2: "Apt 1",
410
- * city: "New York",
411
- * state: "NY",
412
- * zipCode: "10001",
413
- * zipPlusFourCode: "1234"
414
- * },
415
- * synchronicity: "Synchronous",
416
- * billableStatus: "BILLABLE",
417
- * additionalInformation: "string",
418
- * serviceAuthorizationExceptionCode: "1",
419
- * admissionDate: "2023-01-15",
420
- * dischargeDate: "2023-01-15",
421
- * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
422
- * lastMenstrualPeriodDate: "2023-01-15",
423
- * delayReasonCode: "1"
96
+ * placeOfServiceCode: "01"
424
97
  * })
425
98
  */
426
99
  create(request: CandidApi.encounters.v4.EncounterCreate, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.create.Error>>;
@@ -431,14 +104,13 @@ export declare class V4 {
431
104
  *
432
105
  * The endpoint will create an encounter from the provided fields, pulling information from the provided patient and appointment objects
433
106
  * where applicable. In particular, the following fields are populated from the patient and appointment objects:
434
- *
435
- * - Patient
436
- * - Referring Provider
437
- * - Subscriber Primary
438
- * - Subscriber Secondary
439
- * - Referral Number
440
- * - Responsible Party
441
- * - Guarantor
107
+ * - Patient
108
+ * - Referring Provider
109
+ * - Subscriber Primary
110
+ * - Subscriber Secondary
111
+ * - Referral Number
112
+ * - Responsible Party
113
+ * - Guarantor
442
114
  *
443
115
  * Utilizing this endpoint opts you into automatic updating of the encounter when the patient or appointment is updated, assuming the
444
116
  * encounter has not already been submitted or adjudicated.
@@ -448,202 +120,35 @@ export declare class V4 {
448
120
  *
449
121
  * @example
450
122
  * await client.encounters.v4.createFromPreEncounterPatient({
123
+ * externalId: CandidApi.EncounterExternalId("external_id"),
124
+ * patientAuthorizedRelease: true,
125
+ * benefitsAssignedToProvider: true,
126
+ * providerAcceptsAssignment: true,
127
+ * billableStatus: "BILLABLE",
451
128
  * preEncounterPatientId: CandidApi.PreEncounterPatientId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
452
- * preEncounterAppointmentIds: [CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
129
+ * preEncounterAppointmentIds: [CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
453
130
  * billingProvider: {
454
131
  * address: {
455
- * address1: "123 Main St",
456
- * address2: "Apt 1",
457
- * city: "New York",
458
- * state: "NY",
459
- * zipCode: "10001",
460
- * zipPlusFourCode: "1234"
132
+ * address1: "address1",
133
+ * city: "city",
134
+ * state: "AA",
135
+ * zipCode: "zip_code",
136
+ * zipPlusFourCode: "zip_plus_four_code"
461
137
  * },
462
- * taxId: "string",
463
- * npi: "string",
464
- * taxonomyCode: "string",
465
- * providerCommercialLicenseType: "0",
466
- * firstName: "string",
467
- * lastName: "string",
468
- * organizationName: "string"
138
+ * taxId: "tax_id",
139
+ * npi: "npi"
469
140
  * },
470
141
  * renderingProvider: {
471
- * npi: "string",
472
- * taxonomyCode: "string",
473
- * address: {
474
- * address1: "123 Main St",
475
- * address2: "Apt 1",
476
- * city: "New York",
477
- * state: "NY",
478
- * zipCode: "10001",
479
- * zipPlusFourCode: "1234"
480
- * },
481
- * firstName: "string",
482
- * lastName: "string",
483
- * organizationName: "string"
484
- * },
485
- * initialReferringProvider: {
486
- * npi: "string",
487
- * taxonomyCode: "string",
488
- * address: {
489
- * address1: "123 Main St",
490
- * address2: "Apt 1",
491
- * city: "New York",
492
- * state: "NY",
493
- * zipCode: "10001",
494
- * zipPlusFourCode: "1234"
495
- * },
496
- * qualifier: "DQ",
497
- * firstName: "string",
498
- * lastName: "string",
499
- * organizationName: "string"
500
- * },
501
- * supervisingProvider: {
502
- * npi: "string",
503
- * taxonomyCode: "string",
504
- * address: {
505
- * address1: "123 Main St",
506
- * address2: "Apt 1",
507
- * city: "New York",
508
- * state: "NY",
509
- * zipCode: "10001",
510
- * zipPlusFourCode: "1234"
511
- * },
512
- * firstName: "string",
513
- * lastName: "string",
514
- * organizationName: "string"
515
- * },
516
- * serviceFacility: {
517
- * organizationName: "string",
518
- * npi: "string",
519
- * address: {
520
- * address1: "123 Main St",
521
- * address2: "Apt 1",
522
- * city: "New York",
523
- * state: "NY",
524
- * zipCode: "10001",
525
- * zipPlusFourCode: "1234"
526
- * },
527
- * secondaryIdentification: "string"
142
+ * npi: "npi"
528
143
  * },
529
144
  * diagnoses: [{
530
- * name: "string",
531
145
  * codeType: "ABF",
532
- * code: "string"
533
- * }],
534
- * clinicalNotes: [{
535
- * category: "clinical",
536
- * notes: []
537
- * }],
538
- * billingNotes: [{
539
- * text: "string"
540
- * }],
541
- * placeOfServiceCode: "01",
542
- * patientHistories: [{
543
- * category: "present_illness",
544
- * questions: [{
545
- * id: CandidApi.encounters.v4.IntakeQuestionId("6E7FBCE4-A8EA-46D0-A8D8-FF83CA3BB176"),
546
- * text: "Do you have any allergies?",
547
- * responses: [{
548
- * response: "No allergies",
549
- * followUps: [{
550
- * id: CandidApi.encounters.v4.IntakeFollowUpId("4F3D57F9-AC94-49D6-87E4-E804B709917A"),
551
- * text: "Do you have any allergies?",
552
- * response: "No allergies"
553
- * }]
554
- * }]
555
- * }]
556
- * }],
557
- * serviceLines: [{
558
- * procedureCode: "string",
559
- * quantity: CandidApi.Decimal("string"),
560
- * units: "MJ",
561
- * diagnosisPointers: []
562
- * }],
563
- * externalClaimSubmission: {
564
- * claimCreatedAt: "2023-01-01T12:00:00.000000Z",
565
- * patientControlNumber: "PATIENT_CONTROL_NUMBER",
566
- * submissionRecords: [{
567
- * submittedAt: "2023-01-01T13:00:00.000000Z",
568
- * claimFrequencyCode: "1",
569
- * payerResponsibility: "primary",
570
- * intendedSubmissionMedium: "electronic"
571
- * }, {
572
- * submittedAt: "2023-01-04T12:00:00.000000Z",
573
- * claimFrequencyCode: "7",
574
- * payerResponsibility: "primary",
575
- * intendedSubmissionMedium: "paper"
576
- * }]
577
- * },
578
- * tagIds: [CandidApi.TagId("string")],
579
- * schemaInstances: [{
580
- * schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
581
- * content: {
582
- * "provider_category": "internist",
583
- * "is_urgent_care": true,
584
- * "bmi": 24.2,
585
- * "age": 38
586
- * }
587
- * }],
588
- * externalId: CandidApi.EncounterExternalId("string"),
589
- * dateOfService: "2023-01-15",
590
- * endDateOfService: "2023-01-15",
591
- * patientAuthorizedRelease: true,
592
- * benefitsAssignedToProvider: true,
593
- * providerAcceptsAssignment: true,
594
- * appointmentType: "string",
595
- * existingMedications: [{
596
- * name: "Lisinopril",
597
- * rxCui: CandidApi.encounters.v4.RxCui("860975"),
598
- * dosage: "10mg",
599
- * dosageForm: "Tablet",
600
- * frequency: "Once Daily",
601
- * asNeeded: true
602
- * }],
603
- * vitals: {
604
- * heightIn: 70,
605
- * weightLbs: 165,
606
- * bloodPressureSystolicMmhg: 115,
607
- * bloodPressureDiastolicMmhg: 85,
608
- * bodyTemperatureF: 98,
609
- * hemoglobinGdl: 15.1,
610
- * hematocritPct: 51.2
611
- * },
612
- * interventions: [{
613
- * name: "Physical Therapy Session",
614
- * category: "lifestyle",
615
- * description: "A session focused on improving muscular strength, flexibility, and range of motion post-injury.",
616
- * medication: {
617
- * name: "Lisinopril",
618
- * rxCui: CandidApi.encounters.v4.RxCui("860975"),
619
- * dosage: "10mg",
620
- * dosageForm: "Tablet",
621
- * frequency: "Once Daily",
622
- * asNeeded: true
623
- * },
624
- * labs: [{
625
- * name: "Genetic Health Labs",
626
- * code: "GH12345",
627
- * codeType: "quest"
628
- * }]
146
+ * code: "code"
147
+ * }, {
148
+ * codeType: "ABF",
149
+ * code: "code"
629
150
  * }],
630
- * payToAddress: {
631
- * address1: "123 Main St",
632
- * address2: "Apt 1",
633
- * city: "New York",
634
- * state: "NY",
635
- * zipCode: "10001",
636
- * zipPlusFourCode: "1234"
637
- * },
638
- * synchronicity: "Synchronous",
639
- * billableStatus: "BILLABLE",
640
- * additionalInformation: "string",
641
- * serviceAuthorizationExceptionCode: "1",
642
- * admissionDate: "2023-01-15",
643
- * dischargeDate: "2023-01-15",
644
- * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
645
- * lastMenstrualPeriodDate: "2023-01-15",
646
- * delayReasonCode: "1"
151
+ * placeOfServiceCode: "01"
647
152
  * })
648
153
  */
649
154
  createFromPreEncounterPatient(request: CandidApi.encounters.v4.EncounterCreateFromPreEncounter, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.createFromPreEncounterPatient.Error>>;
@@ -653,137 +158,7 @@ export declare class V4 {
653
158
  * @param {V4.RequestOptions} requestOptions - Request-specific configuration.
654
159
  *
655
160
  * @example
656
- * await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
657
- * payToAddress: {
658
- * address1: "123 Main St",
659
- * address2: "Apt 1",
660
- * city: "New York",
661
- * state: "NY",
662
- * zipCode: "10001",
663
- * zipPlusFourCode: "1234"
664
- * },
665
- * diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
666
- * initialReferringProvider: {
667
- * npi: "string",
668
- * taxonomyCode: "string",
669
- * address: {
670
- * address1: "123 Main St",
671
- * address2: "Apt 1",
672
- * city: "New York",
673
- * state: "NY",
674
- * zipCode: "10001",
675
- * zipPlusFourCode: "1234"
676
- * },
677
- * qualifier: "DQ",
678
- * firstName: "string",
679
- * lastName: "string",
680
- * organizationName: "string"
681
- * },
682
- * referringProvider: {
683
- * npi: "string",
684
- * taxonomyCode: "string",
685
- * address: {
686
- * address1: "123 Main St",
687
- * address2: "Apt 1",
688
- * city: "New York",
689
- * state: "NY",
690
- * zipCode: "10001",
691
- * zipPlusFourCode: "1234"
692
- * },
693
- * firstName: "string",
694
- * lastName: "string",
695
- * organizationName: "string"
696
- * },
697
- * patient: {
698
- * firstName: "string",
699
- * lastName: "string",
700
- * gender: "male",
701
- * externalId: "string",
702
- * dateOfBirth: "2023-01-15",
703
- * address: {
704
- * address1: "123 Main St",
705
- * address2: "Apt 1",
706
- * city: "New York",
707
- * state: "NY",
708
- * zipCode: "10001",
709
- * zipPlusFourCode: "1234"
710
- * },
711
- * phoneNumbers: [{
712
- * number: "1234567890",
713
- * type: "Home"
714
- * }],
715
- * phoneConsent: true,
716
- * email: CandidApi.Email("johndoe@joincandidhealth.com"),
717
- * emailConsent: true,
718
- * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
719
- * nonInsurancePayersInfo: [{
720
- * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
721
- * memberId: "string",
722
- * clinicalTrialInfo: [{
723
- * clinicalTrialId: CandidApi.ClinicalTrialId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
724
- * }]
725
- * }]
726
- * },
727
- * renderingProvider: {
728
- * npi: "string",
729
- * taxonomyCode: "string",
730
- * address: {
731
- * address1: "123 Main St",
732
- * address2: "Apt 1",
733
- * city: "New York",
734
- * state: "NY",
735
- * zipCode: "10001",
736
- * zipPlusFourCode: "1234"
737
- * },
738
- * firstName: "string",
739
- * lastName: "string",
740
- * organizationName: "string"
741
- * },
742
- * serviceFacility: {
743
- * organizationName: "Test Organization",
744
- * address: {
745
- * address1: "123 Main St",
746
- * address2: "Apt 1",
747
- * city: "New York",
748
- * state: "NY",
749
- * zipCode: "10001",
750
- * zipPlusFourCode: "1234"
751
- * }
752
- * },
753
- * supervisingProvider: {
754
- * npi: "string",
755
- * taxonomyCode: "string",
756
- * address: {
757
- * address1: "123 Main St",
758
- * address2: "Apt 1",
759
- * city: "New York",
760
- * state: "NY",
761
- * zipCode: "10001",
762
- * zipPlusFourCode: "1234"
763
- * },
764
- * firstName: "string",
765
- * lastName: "string",
766
- * organizationName: "string"
767
- * },
768
- * billingProvider: {
769
- * address: {
770
- * address1: "123 Main St",
771
- * address2: "Apt 1",
772
- * city: "New York",
773
- * state: "NY",
774
- * zipCode: "10001",
775
- * zipPlusFourCode: "1234"
776
- * },
777
- * taxId: "string",
778
- * npi: "string",
779
- * taxonomyCode: "string",
780
- * providerCommercialLicenseType: "0",
781
- * firstName: "string",
782
- * lastName: "string",
783
- * organizationName: "string"
784
- * },
785
- * placeOfServiceCodeAsSubmitted: "01"
786
- * })
161
+ * await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
787
162
  */
788
163
  update(encounterId: CandidApi.EncounterId, request?: CandidApi.encounters.v4.EncounterUpdate, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.update.Error>>;
789
164
  protected _getAuthorizationHeader(): Promise<string | undefined>;