candidhealth 0.45.0 → 0.46.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (425) 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/index.d.ts +2 -0
  80. package/api/resources/index.js +3 -1
  81. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
  82. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
  83. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
  84. package/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
  85. package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
  86. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
  87. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
  88. package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
  89. package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
  90. package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
  91. package/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
  92. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
  93. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
  94. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
  95. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
  96. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
  97. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
  98. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
  99. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
  100. package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
  101. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
  102. package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
  103. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
  104. package/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
  105. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
  106. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
  107. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
  108. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
  109. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
  110. package/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
  111. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
  112. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
  113. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
  114. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
  115. package/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
  116. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
  117. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
  118. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
  119. package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
  120. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
  121. package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
  122. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  123. package/api/resources/pipelineCommons/index.d.ts +1 -0
  124. package/api/resources/pipelineCommons/index.js +17 -0
  125. package/api/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +8 -0
  126. package/api/resources/pipelineCommons/types/ConfigurableRuleId.js +9 -0
  127. package/api/resources/pipelineCommons/types/index.d.ts +1 -0
  128. package/api/resources/pipelineCommons/types/index.js +17 -0
  129. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
  130. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
  131. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
  132. package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
  133. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
  134. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
  135. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
  136. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
  137. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
  138. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  139. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
  140. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
  141. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
  142. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
  143. package/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
  144. package/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
  145. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
  146. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
  147. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
  148. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
  149. package/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
  150. package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
  151. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
  152. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
  153. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
  154. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
  155. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
  156. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
  157. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
  158. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
  159. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
  160. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  161. package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
  162. package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
  163. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
  164. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
  165. package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
  166. package/api/resources/serviceFacility/client/Client.d.ts +1 -11
  167. package/api/resources/serviceFacility/client/Client.js +2 -12
  168. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
  169. package/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
  170. package/api/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +2 -1
  171. package/api/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
  172. package/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
  173. package/api/resources/superbills/resources/v1/client/Client.js +3 -11
  174. package/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
  175. package/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
  176. package/api/resources/tasks/resources/v3/client/Client.js +9 -30
  177. package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
  178. package/api/resources/tasks/resources/v3/types/Task.d.ts +1 -0
  179. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
  180. package/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
  181. package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
  182. package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
  183. package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
  184. package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  185. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  186. package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
  187. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
  188. package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
  189. package/dist/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
  190. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
  191. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
  192. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
  193. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
  194. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
  195. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
  196. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -1
  197. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
  198. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
  199. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
  200. package/dist/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
  201. package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
  202. package/dist/api/resources/contracts/resources/v2/client/Client.js +19 -73
  203. package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
  204. package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
  205. package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
  206. package/dist/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
  207. package/dist/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
  208. package/dist/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  209. package/dist/api/resources/contracts/resources/v2/types/index.js +1 -0
  210. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
  211. package/dist/api/resources/credentialing/resources/v2/client/Client.js +9 -31
  212. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
  213. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
  214. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
  215. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  216. package/dist/api/resources/diagnoses/client/Client.d.ts +3 -8
  217. package/dist/api/resources/diagnoses/client/Client.js +6 -11
  218. package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
  219. package/dist/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
  220. package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
  221. package/dist/api/resources/eligibility/resources/v2/client/Client.js +5 -9
  222. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
  223. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
  224. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
  225. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
  226. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
  227. package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
  228. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +49 -674
  229. package/dist/api/resources/encounters/resources/v4/client/Client.js +54 -679
  230. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -410
  231. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -155
  232. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
  233. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
  234. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +7 -7
  235. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
  236. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
  237. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
  238. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
  239. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
  240. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
  241. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
  242. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
  243. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  244. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  245. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  246. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
  247. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
  248. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
  249. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
  250. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
  251. package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
  252. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
  253. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
  254. package/dist/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
  255. package/dist/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
  256. package/dist/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
  257. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
  258. package/dist/api/resources/guarantor/resources/v1/client/Client.js +11 -41
  259. package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
  260. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
  261. package/dist/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
  262. package/dist/api/resources/index.d.ts +2 -0
  263. package/dist/api/resources/index.js +3 -1
  264. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
  265. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
  266. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
  267. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
  268. package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
  269. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
  270. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
  271. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
  272. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
  273. package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
  274. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
  275. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
  276. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
  277. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
  278. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
  279. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
  280. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
  281. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
  282. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
  283. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
  284. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
  285. package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
  286. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
  287. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
  288. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
  289. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
  290. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
  291. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
  292. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
  293. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
  294. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
  295. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
  296. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
  297. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
  298. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
  299. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
  300. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
  301. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
  302. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
  303. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
  304. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
  305. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  306. package/dist/api/resources/pipelineCommons/index.d.ts +1 -0
  307. package/dist/api/resources/pipelineCommons/index.js +17 -0
  308. package/dist/api/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +8 -0
  309. package/dist/api/resources/pipelineCommons/types/ConfigurableRuleId.js +9 -0
  310. package/dist/api/resources/pipelineCommons/types/index.d.ts +1 -0
  311. package/dist/api/resources/pipelineCommons/types/index.js +17 -0
  312. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
  313. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
  314. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
  315. package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
  316. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
  317. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
  318. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
  319. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
  320. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
  321. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  322. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
  323. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
  324. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
  325. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
  326. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
  327. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
  328. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
  329. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
  330. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
  331. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
  332. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
  333. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
  334. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
  335. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
  336. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
  337. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
  338. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
  339. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
  340. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
  341. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
  342. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
  343. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  344. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
  345. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
  346. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
  347. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
  348. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
  349. package/dist/api/resources/serviceFacility/client/Client.d.ts +1 -11
  350. package/dist/api/resources/serviceFacility/client/Client.js +2 -12
  351. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
  352. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
  353. package/dist/api/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +2 -1
  354. package/dist/api/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
  355. package/dist/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
  356. package/dist/api/resources/superbills/resources/v1/client/Client.js +3 -11
  357. package/dist/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
  358. package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
  359. package/dist/api/resources/tasks/resources/v3/client/Client.js +9 -30
  360. package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
  361. package/dist/api/resources/tasks/resources/v3/types/Task.d.ts +1 -0
  362. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
  363. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
  364. package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
  365. package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
  366. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
  367. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  368. package/dist/environments.d.ts +5 -1
  369. package/dist/environments.js +4 -0
  370. package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
  371. package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
  372. package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  373. package/dist/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  374. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
  375. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
  376. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
  377. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
  378. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  379. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  380. package/dist/serialization/resources/index.d.ts +2 -0
  381. package/dist/serialization/resources/index.js +3 -1
  382. package/dist/serialization/resources/pipelineCommons/index.d.ts +1 -0
  383. package/dist/serialization/resources/pipelineCommons/index.js +17 -0
  384. package/dist/serialization/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +10 -0
  385. package/dist/serialization/resources/pipelineCommons/types/ConfigurableRuleId.js +45 -0
  386. package/dist/serialization/resources/pipelineCommons/types/index.d.ts +1 -0
  387. package/dist/serialization/resources/pipelineCommons/types/index.js +17 -0
  388. package/dist/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +1 -1
  389. package/dist/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
  390. package/dist/serialization/resources/tasks/resources/v3/types/Task.d.ts +2 -0
  391. package/dist/serialization/resources/tasks/resources/v3/types/Task.js +2 -0
  392. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
  393. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  394. package/dist/version.d.ts +1 -1
  395. package/dist/version.js +1 -1
  396. package/environments.d.ts +5 -1
  397. package/environments.js +4 -0
  398. package/package.json +1 -1
  399. package/reference.md +772 -2366
  400. package/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
  401. package/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
  402. package/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  403. package/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  404. package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
  405. package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
  406. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
  407. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
  408. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  409. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  410. package/serialization/resources/index.d.ts +2 -0
  411. package/serialization/resources/index.js +3 -1
  412. package/serialization/resources/pipelineCommons/index.d.ts +1 -0
  413. package/serialization/resources/pipelineCommons/index.js +17 -0
  414. package/serialization/resources/pipelineCommons/types/ConfigurableRuleId.d.ts +10 -0
  415. package/serialization/resources/pipelineCommons/types/ConfigurableRuleId.js +45 -0
  416. package/serialization/resources/pipelineCommons/types/index.d.ts +1 -0
  417. package/serialization/resources/pipelineCommons/types/index.js +17 -0
  418. package/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.d.ts +1 -1
  419. package/serialization/resources/serviceLines/resources/v2/types/DenialReasonContent.js +1 -0
  420. package/serialization/resources/tasks/resources/v3/types/Task.d.ts +2 -0
  421. package/serialization/resources/tasks/resources/v3/types/Task.js +2 -0
  422. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
  423. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  424. package/version.d.ts +1 -1
  425. package/version.js +1 -1
@@ -6,440 +6,87 @@ import * as CandidApi from "../../../../../../index";
6
6
  * @example
7
7
  * {
8
8
  * patient: {
9
- * phoneNumbers: [{
10
- * number: "1234567890",
11
- * type: "Home"
12
- * }],
13
- * phoneConsent: true,
14
- * email: CandidApi.Email("johndoe@joincandidhealth.com"),
15
- * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
16
- * nonInsurancePayersInfo: [{
17
- * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
18
- * memberId: "string",
19
- * clinicalTrialInfo: [{
20
- * clinicalTrialId: CandidApi.ClinicalTrialId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
21
- * }]
22
- * }],
23
- * emailConsent: true,
24
- * externalId: "string",
9
+ * firstName: "first_name",
10
+ * lastName: "last_name",
11
+ * gender: "male",
12
+ * externalId: "external_id",
25
13
  * dateOfBirth: "2023-01-15",
26
14
  * address: {
27
- * address1: "123 Main St",
28
- * address2: "Apt 1",
29
- * city: "New York",
30
- * state: "NY",
31
- * zipCode: "10001",
32
- * zipPlusFourCode: "1234"
33
- * },
34
- * firstName: "string",
35
- * lastName: "string",
36
- * gender: "male"
15
+ * address1: "address1",
16
+ * city: "city",
17
+ * state: "AA",
18
+ * zipCode: "zip_code"
19
+ * }
37
20
  * },
38
21
  * billingProvider: {
39
22
  * address: {
40
- * address1: "123 Main St",
41
- * address2: "Apt 1",
42
- * city: "New York",
43
- * state: "NY",
44
- * zipCode: "10001",
45
- * zipPlusFourCode: "1234"
23
+ * address1: "address1",
24
+ * city: "city",
25
+ * state: "AA",
26
+ * zipCode: "zip_code",
27
+ * zipPlusFourCode: "zip_plus_four_code"
46
28
  * },
47
- * taxId: "string",
48
- * npi: "string",
49
- * taxonomyCode: "string",
50
- * providerCommercialLicenseType: "0",
51
- * firstName: "string",
52
- * lastName: "string",
53
- * organizationName: "string"
29
+ * taxId: "tax_id",
30
+ * npi: "npi"
54
31
  * },
55
32
  * renderingProvider: {
56
- * npi: "string",
57
- * taxonomyCode: "string",
58
- * address: {
59
- * address1: "123 Main St",
60
- * address2: "Apt 1",
61
- * city: "New York",
62
- * state: "NY",
63
- * zipCode: "10001",
64
- * zipPlusFourCode: "1234"
65
- * },
66
- * firstName: "string",
67
- * lastName: "string",
68
- * organizationName: "string"
69
- * },
70
- * referringProvider: {
71
- * npi: "string",
72
- * taxonomyCode: "string",
73
- * address: {
74
- * address1: "123 Main St",
75
- * address2: "Apt 1",
76
- * city: "New York",
77
- * state: "NY",
78
- * zipCode: "10001",
79
- * zipPlusFourCode: "1234"
80
- * },
81
- * firstName: "string",
82
- * lastName: "string",
83
- * organizationName: "string"
84
- * },
85
- * initialReferringProvider: {
86
- * npi: "string",
87
- * taxonomyCode: "string",
88
- * address: {
89
- * address1: "123 Main St",
90
- * address2: "Apt 1",
91
- * city: "New York",
92
- * state: "NY",
93
- * zipCode: "10001",
94
- * zipPlusFourCode: "1234"
95
- * },
96
- * qualifier: "DQ",
97
- * firstName: "string",
98
- * lastName: "string",
99
- * organizationName: "string"
33
+ * npi: "npi"
100
34
  * },
101
- * supervisingProvider: {
102
- * npi: "string",
103
- * taxonomyCode: "string",
104
- * address: {
105
- * address1: "123 Main St",
106
- * address2: "Apt 1",
107
- * city: "New York",
108
- * state: "NY",
109
- * zipCode: "10001",
110
- * zipPlusFourCode: "1234"
111
- * },
112
- * firstName: "string",
113
- * lastName: "string",
114
- * organizationName: "string"
115
- * },
116
- * serviceFacility: {
117
- * organizationName: "string",
118
- * npi: "string",
119
- * address: {
120
- * address1: "123 Main St",
121
- * address2: "Apt 1",
122
- * city: "New York",
123
- * state: "NY",
124
- * zipCode: "10001",
125
- * zipPlusFourCode: "1234"
126
- * },
127
- * secondaryIdentification: "string"
128
- * },
129
- * subscriberPrimary: {
130
- * insuranceCard: {
131
- * memberId: "string",
132
- * payerName: "string",
133
- * payerId: "string",
134
- * rxBin: "string",
135
- * rxPcn: "string",
136
- * imageUrlFront: "string",
137
- * imageUrlBack: "string",
138
- * emrPayerCrosswalk: "HEALTHIE",
139
- * groupNumber: "string",
140
- * planName: "string",
141
- * planType: "09",
142
- * insuranceType: "01",
143
- * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
144
- * },
145
- * patientRelationshipToSubscriberCode: "01",
146
- * dateOfBirth: "2023-01-15",
147
- * address: {
148
- * address1: "123 Main St",
149
- * address2: "Apt 1",
150
- * city: "New York",
151
- * state: "NY",
152
- * zipCode: "10001",
153
- * zipPlusFourCode: "1234"
154
- * },
155
- * firstName: "string",
156
- * lastName: "string",
157
- * gender: "male"
158
- * },
159
- * subscriberSecondary: {
160
- * insuranceCard: {
161
- * memberId: "string",
162
- * payerName: "string",
163
- * payerId: "string",
164
- * rxBin: "string",
165
- * rxPcn: "string",
166
- * imageUrlFront: "string",
167
- * imageUrlBack: "string",
168
- * emrPayerCrosswalk: "HEALTHIE",
169
- * groupNumber: "string",
170
- * planName: "string",
171
- * planType: "09",
172
- * insuranceType: "01",
173
- * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
174
- * },
175
- * patientRelationshipToSubscriberCode: "01",
176
- * dateOfBirth: "2023-01-15",
177
- * address: {
178
- * address1: "123 Main St",
179
- * address2: "Apt 1",
180
- * city: "New York",
181
- * state: "NY",
182
- * zipCode: "10001",
183
- * zipPlusFourCode: "1234"
184
- * },
185
- * firstName: "string",
186
- * lastName: "string",
187
- * gender: "male"
188
- * },
189
- * subscriberTertiary: {
190
- * insuranceCard: {
191
- * memberId: "string",
192
- * payerName: "string",
193
- * payerId: "string",
194
- * rxBin: "string",
195
- * rxPcn: "string",
196
- * imageUrlFront: "string",
197
- * imageUrlBack: "string",
198
- * emrPayerCrosswalk: "HEALTHIE",
199
- * groupNumber: "string",
200
- * planName: "string",
201
- * planType: "09",
202
- * insuranceType: "01",
203
- * payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
204
- * },
205
- * patientRelationshipToSubscriberCode: "01",
206
- * dateOfBirth: "2023-01-15",
207
- * address: {
208
- * address1: "123 Main St",
209
- * address2: "Apt 1",
210
- * city: "New York",
211
- * state: "NY",
212
- * zipCode: "10001",
213
- * zipPlusFourCode: "1234"
214
- * },
215
- * firstName: "string",
216
- * lastName: "string",
217
- * gender: "male"
218
- * },
219
- * priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
220
35
  * responsibleParty: "INSURANCE_PAY",
221
36
  * diagnoses: [{
222
- * name: "string",
223
37
  * codeType: "ABF",
224
- * code: "string"
225
- * }],
226
- * clinicalNotes: [{
227
- * category: "clinical",
228
- * notes: []
229
- * }],
230
- * billingNotes: [{
231
- * text: "string"
232
- * }],
233
- * placeOfServiceCode: "01",
234
- * patientHistories: [{
235
- * category: "present_illness",
236
- * questions: [{
237
- * id: CandidApi.encounters.v4.IntakeQuestionId("6E7FBCE4-A8EA-46D0-A8D8-FF83CA3BB176"),
238
- * text: "Do you have any allergies?",
239
- * responses: [{
240
- * response: "No allergies",
241
- * followUps: [{
242
- * id: CandidApi.encounters.v4.IntakeFollowUpId("4F3D57F9-AC94-49D6-87E4-E804B709917A"),
243
- * text: "Do you have any allergies?",
244
- * response: "No allergies"
245
- * }]
246
- * }]
247
- * }]
248
- * }],
249
- * serviceLines: [{
250
- * procedureCode: "string",
251
- * quantity: CandidApi.Decimal("string"),
252
- * units: "MJ",
253
- * diagnosisPointers: []
254
- * }],
255
- * guarantor: {
256
- * phoneNumbers: [{
257
- * number: "1234567890",
258
- * type: "Home"
259
- * }],
260
- * phoneConsent: true,
261
- * email: CandidApi.Email("johndoe@joincandidhealth.com"),
262
- * emailConsent: true,
263
- * firstName: "string",
264
- * lastName: "string",
265
- * externalId: "string",
266
- * dateOfBirth: "2023-01-15",
267
- * address: {
268
- * address1: "123 Main St",
269
- * address2: "Apt 1",
270
- * city: "New York",
271
- * state: "NY",
272
- * zipCode: "10001",
273
- * zipPlusFourCode: "1234"
274
- * }
275
- * },
276
- * externalClaimSubmission: {
277
- * claimCreatedAt: "2023-01-01T12:00:00.000000Z",
278
- * patientControlNumber: "PATIENT_CONTROL_NUMBER",
279
- * submissionRecords: [{
280
- * submittedAt: "2023-01-01T13:00:00.000000Z",
281
- * claimFrequencyCode: "1",
282
- * payerResponsibility: "primary",
283
- * intendedSubmissionMedium: "electronic"
284
- * }, {
285
- * submittedAt: "2023-01-04T12:00:00.000000Z",
286
- * claimFrequencyCode: "7",
287
- * payerResponsibility: "primary",
288
- * intendedSubmissionMedium: "paper"
289
- * }]
290
- * },
291
- * tagIds: [CandidApi.TagId("string")],
292
- * schemaInstances: [{
293
- * schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
294
- * content: {
295
- * "provider_category": "internist",
296
- * "is_urgent_care": true,
297
- * "bmi": 24.2,
298
- * "age": 38
299
- * }
300
- * }],
301
- * referralNumber: "string",
302
- * epsdtReferral: {
303
- * conditionIndicator1: "AV",
304
- * conditionIndicator2: "AV",
305
- * conditionIndicator3: "AV"
306
- * },
307
- * claimSupplementalInformation: [{
308
- * attachmentReportTypeCode: "03",
309
- * attachmentTransmissionCode: "BM"
310
- * }],
311
- * secondaryPayerCarrierCode: "string",
312
- * externalId: CandidApi.EncounterExternalId("string"),
313
- * dateOfService: "2023-01-15",
314
- * endDateOfService: "2023-01-15",
315
- * patientAuthorizedRelease: true,
316
- * benefitsAssignedToProvider: true,
317
- * providerAcceptsAssignment: true,
318
- * appointmentType: "string",
319
- * existingMedications: [{
320
- * name: "Lisinopril",
321
- * rxCui: CandidApi.encounters.v4.RxCui("860975"),
322
- * dosage: "10mg",
323
- * dosageForm: "Tablet",
324
- * frequency: "Once Daily",
325
- * asNeeded: true
326
- * }],
327
- * vitals: {
328
- * heightIn: 70,
329
- * weightLbs: 165,
330
- * bloodPressureSystolicMmhg: 115,
331
- * bloodPressureDiastolicMmhg: 85,
332
- * bodyTemperatureF: 98,
333
- * hemoglobinGdl: 15.1,
334
- * hematocritPct: 51.2
335
- * },
336
- * interventions: [{
337
- * name: "Physical Therapy Session",
338
- * category: "lifestyle",
339
- * description: "A session focused on improving muscular strength, flexibility, and range of motion post-injury.",
340
- * medication: {
341
- * name: "Lisinopril",
342
- * rxCui: CandidApi.encounters.v4.RxCui("860975"),
343
- * dosage: "10mg",
344
- * dosageForm: "Tablet",
345
- * frequency: "Once Daily",
346
- * asNeeded: true
347
- * },
348
- * labs: [{
349
- * name: "Genetic Health Labs",
350
- * code: "GH12345",
351
- * codeType: "quest"
352
- * }]
38
+ * code: "code"
39
+ * }, {
40
+ * codeType: "ABF",
41
+ * code: "code"
353
42
  * }],
354
- * payToAddress: {
355
- * address1: "123 Main St",
356
- * address2: "Apt 1",
357
- * city: "New York",
358
- * state: "NY",
359
- * zipCode: "10001",
360
- * zipPlusFourCode: "1234"
361
- * },
362
- * synchronicity: "Synchronous",
363
- * billableStatus: "BILLABLE",
364
- * additionalInformation: "string",
365
- * serviceAuthorizationExceptionCode: "1",
366
- * admissionDate: "2023-01-15",
367
- * dischargeDate: "2023-01-15",
368
- * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
369
- * lastMenstrualPeriodDate: "2023-01-15",
370
- * delayReasonCode: "1"
43
+ * placeOfServiceCode: "01"
371
44
  * }
372
45
  */
373
46
  export interface EncounterCreate extends CandidApi.encounters.v4.EncounterBase {
374
- /**
375
- * Contains the identification information of the individual receiving medical services.
376
- *
377
- */
47
+ /** Contains the identification information of the individual receiving medical services. */
378
48
  patient: CandidApi.PatientCreate;
379
- /**
380
- * The billing provider is the provider or business entity submitting the claim. Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider. From a payer's perspective, this represents the person or entity being reimbursed. When a contract exists with the target payer, the billing provider should be the entity contracted with the payer. In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the tax ID (TIN) that the provider gave to the payer during contracting. In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID. Box 33 on the CMS-1500 claim form.
381
- *
382
- */
49
+ /** The billing provider is the provider or business entity submitting the claim. Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider. From a payer's perspective, this represents the person or entity being reimbursed. When a contract exists with the target payer, the billing provider should be the entity contracted with the payer. In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the tax ID (TIN) that the provider gave to the payer during contracting. In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID. Box 33 on the CMS-1500 claim form. */
383
50
  billingProvider: CandidApi.encounterProviders.v2.BillingProvider;
384
51
  /**
385
52
  * The rendering provider is the practitioner -- physician, nurse practitioner, etc. -- performing the service.
386
53
  * For telehealth services, the rendering provider performs the visit, asynchronous communication, or other service. The rendering provider address should generally be the same as the service facility address.
387
- *
388
54
  */
389
55
  renderingProvider: CandidApi.encounterProviders.v2.RenderingProvider;
390
56
  /**
391
57
  * The final provider who referred the services that were rendered.
392
58
  * All physicians who order services or refer Medicare beneficiaries must
393
59
  * report this data.
394
- *
395
60
  */
396
61
  referringProvider?: CandidApi.encounterProviders.v2.ReferringProvider;
397
62
  /**
398
63
  * The second iteration of Loop ID-2310. Use code "P3 - Primary Care Provider" in this loop to
399
64
  * indicate the initial referral from the primary care provider or whatever provider wrote the initial referral for this patient's episode of care being billed/reported in this transaction.
400
- *
401
65
  */
402
66
  initialReferringProvider?: CandidApi.encounterProviders.v2.InitialReferringProvider;
403
- /**
404
- * Required when the rendering provider is supervised by a physician. If not required by this implementation guide, do not send.
405
- *
406
- */
67
+ /** Required when the rendering provider is supervised by a physician. If not required by this implementation guide, do not send. */
407
68
  supervisingProvider?: CandidApi.encounterProviders.v2.SupervisingProvider;
408
- /**
409
- * Encounter Service facility is typically the location a medical service was rendered, such as a provider office or hospital. For telehealth, service facility can represent the provider's location when the service was delivered (e.g., home), or the location where an in-person visit would have taken place, whichever is easier to identify. If the provider is in-network, service facility may be defined in payer contracts. Box 32 on the CMS-1500 claim form. Note that for an in-network claim to be successfully adjudicated, the service facility address listed on claims must match what was provided to the payer during the credentialing process.
410
- *
411
- */
69
+ /** Encounter Service facility is typically the location a medical service was rendered, such as a provider office or hospital. For telehealth, service facility can represent the provider's location when the service was delivered (e.g., home), or the location where an in-person visit would have taken place, whichever is easier to identify. If the provider is in-network, service facility may be defined in payer contracts. Box 32 on the CMS-1500 claim form. Note that for an in-network claim to be successfully adjudicated, the service facility address listed on claims must match what was provided to the payer during the credentialing process. */
412
70
  serviceFacility?: CandidApi.EncounterServiceFacilityBase;
413
71
  /**
414
72
  * Subscriber_primary is required when responsible_party is INSURANCE_PAY (i.e. when the claim should be billed to insurance).
415
73
  * These are not required fields when responsible_party is SELF_PAY (i.e. when the claim should be billed to the patient).
416
74
  * However, if you collect this for patients, even self-pay, we recommend including it when sending encounters to Candid.
417
75
  * Note: Cash Pay is no longer a valid payer_id in v4, please use responsible party to define self-pay claims.
418
- *
419
76
  */
420
77
  subscriberPrimary?: CandidApi.SubscriberCreate;
421
- /**
422
- * Please always include this when you have it, even for self-pay claims.
423
- *
424
- */
78
+ /** Please always include this when you have it, even for self-pay claims. */
425
79
  subscriberSecondary?: CandidApi.SubscriberCreate;
426
- /**
427
- * Please always include this when you have it, even for self-pay claims.
428
- *
429
- */
80
+ /** Please always include this when you have it, even for self-pay claims. */
430
81
  subscriberTertiary?: CandidApi.SubscriberCreate;
431
82
  /** Box 23 on the CMS-1500 claim form. */
432
83
  priorAuthorizationNumber?: CandidApi.encounters.v4.PriorAuthorizationNumber;
433
- /**
434
- * Defines the party to be billed with the initial balance owed on the claim.
435
- *
436
- */
84
+ /** Defines the party to be billed with the initial balance owed on the claim. */
437
85
  responsibleParty: CandidApi.encounters.v4.ResponsiblePartyType;
438
86
  /**
439
87
  * Ideally, this field should contain no more than 12 diagnoses. However, more diagnoses
440
88
  * may be submitted at this time, and coders will later prioritize the 12 that will be
441
89
  * submitted to the payor.
442
- *
443
90
  */
444
91
  diagnoses: CandidApi.DiagnosisCreate[];
445
92
  /** Holds a collection of clinical observations made by healthcare providers during patient encounters. */
@@ -447,31 +94,22 @@ export interface EncounterCreate extends CandidApi.encounters.v4.EncounterBase {
447
94
  /**
448
95
  * Spot to store misc, human-readable, notes about this encounter to be used
449
96
  * in the billing process.
450
- *
451
97
  */
452
98
  billingNotes?: CandidApi.billingNotes.v2.BillingNoteBase[];
453
- /**
454
- * Box 24B on the CMS-1500 claim form. 837p Loop2300, CLM-05-1. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set).
455
- *
456
- */
99
+ /** Box 24B on the CMS-1500 claim form. 837p Loop2300, CLM-05-1. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
457
100
  placeOfServiceCode: CandidApi.FacilityTypeCode;
458
101
  patientHistories?: CandidApi.encounters.v4.PatientHistoryCategory[];
459
102
  /**
460
103
  * Each service line must be linked to a diagnosis. Concretely,
461
104
  * `service_line.diagnosis_pointers`must contain at least one entry which should be
462
105
  * in bounds of the diagnoses list field.
463
- *
464
106
  */
465
107
  serviceLines?: CandidApi.serviceLines.v2.ServiceLineCreate[];
466
- /**
467
- * Personal and contact info for the guarantor of the patient responsibility.
468
- *
469
- */
108
+ /** Personal and contact info for the guarantor of the patient responsibility. */
470
109
  guarantor?: CandidApi.guarantor.v1.GuarantorCreate;
471
110
  /**
472
111
  * To be included for claims that have been submitted outside of Candid.
473
112
  * Candid supports posting remits and payments to these claims and working them in-platform (e.g. editing, resubmitting).
474
- *
475
113
  */
476
114
  externalClaimSubmission?: CandidApi.claimSubmission.v1.ExternalClaimSubmissionCreate;
477
115
  /** Names of tags that should be on the encounter. */
@@ -479,27 +117,14 @@ export interface EncounterCreate extends CandidApi.encounters.v4.EncounterBase {
479
117
  /**
480
118
  * Key-value pairs that must adhere to a schema created via the Custom Schema API. Multiple schema
481
119
  * instances cannot be created for the same schema on an encounter.
482
- *
483
120
  */
484
121
  schemaInstances?: CandidApi.customSchemas.v1.SchemaInstance[];
485
- /**
486
- * Refers to REF*9F on the 837p. Value cannot be greater than 50 characters.
487
- *
488
- */
122
+ /** Refers to REF*9F on the 837p. Value cannot be greater than 50 characters. */
489
123
  referralNumber?: string;
490
- /**
491
- * Refers Box 24H on the CMS1500 form and Loop 2300 CRC - EPSDT Referral on the 837P form
492
- *
493
- */
124
+ /** Refers Box 24H on the CMS1500 form and Loop 2300 CRC - EPSDT Referral on the 837P form */
494
125
  epsdtReferral?: CandidApi.encounters.v4.EpsdtReferral;
495
- /**
496
- * Refers to Loop 2300 - Segment PWK on the 837P form. No more than 10 entries are permitted.
497
- *
498
- */
126
+ /** Refers to Loop 2300 - Segment PWK on the 837P form. No more than 10 entries are permitted. */
499
127
  claimSupplementalInformation?: CandidApi.encounters.v4.ClaimSupplementalInformation[];
500
- /**
501
- * When Medicaid is billed as the secondary payer the Carrier Code is used to identify the primary payer. This is required for certain states.
502
- *
503
- */
128
+ /** When Medicaid is billed as the secondary payer the Carrier Code is used to identify the primary payer. This is required for certain states. */
504
129
  secondaryPayerCarrierCode?: string;
505
130
  }