candidhealth 0.43.1 → 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 (507) 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/billingNotes/resources/v2/types/index.d.ts +0 -1
  8. package/api/resources/billingNotes/resources/v2/types/index.js +0 -1
  9. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
  10. package/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
  11. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
  12. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
  13. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
  14. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
  15. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +28 -2
  16. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
  17. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
  18. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
  19. package/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
  20. package/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
  21. package/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
  22. package/api/resources/commons/types/index.d.ts +2 -0
  23. package/api/resources/commons/types/index.js +2 -0
  24. package/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
  25. package/api/resources/contracts/resources/v2/client/Client.js +19 -73
  26. package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
  27. package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
  28. package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
  29. package/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
  30. package/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
  31. package/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  32. package/api/resources/contracts/resources/v2/types/index.js +1 -0
  33. package/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
  34. package/api/resources/credentialing/resources/v2/client/Client.js +9 -31
  35. package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
  36. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
  37. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
  38. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  39. package/api/resources/diagnoses/client/Client.d.ts +3 -8
  40. package/api/resources/diagnoses/client/Client.js +6 -11
  41. package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
  42. package/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
  43. package/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
  44. package/api/resources/eligibility/resources/v2/client/Client.js +5 -9
  45. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
  46. package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
  47. package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
  48. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
  49. package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
  50. package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
  51. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
  52. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
  53. package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
  54. package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
  55. package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
  56. package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
  57. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
  58. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
  59. package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
  60. package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
  61. package/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  62. package/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
  63. package/api/resources/encounters/resources/v4/client/Client.d.ts +49 -546
  64. package/api/resources/encounters/resources/v4/client/Client.js +54 -551
  65. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +36 -405
  66. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +26 -7
  67. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -1
  68. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
  69. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +9 -33
  70. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
  71. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
  72. package/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
  73. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
  74. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
  75. package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
  76. package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
  77. package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
  78. package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  79. package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  80. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  81. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
  82. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
  83. package/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
  84. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
  85. package/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
  86. package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
  87. package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
  88. package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
  89. package/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
  90. package/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
  91. package/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
  92. package/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
  93. package/api/resources/guarantor/resources/v1/client/Client.js +11 -41
  94. package/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
  95. package/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
  96. package/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
  97. package/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
  98. package/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
  99. package/api/resources/individual/types/index.d.ts +1 -0
  100. package/api/resources/individual/types/index.js +1 -0
  101. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
  102. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
  103. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
  104. package/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
  105. package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
  106. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
  107. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
  108. package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
  109. package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
  110. package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
  111. package/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
  112. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
  113. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
  114. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
  115. package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
  116. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
  117. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
  118. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
  119. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
  120. package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
  121. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
  122. package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
  123. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
  124. package/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
  125. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
  126. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
  127. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
  128. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
  129. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
  130. package/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
  131. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
  132. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
  133. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
  134. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
  135. package/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
  136. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
  137. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
  138. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
  139. package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
  140. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
  141. package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
  142. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  143. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
  144. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
  145. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
  146. package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
  147. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
  148. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
  149. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
  150. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
  151. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
  152. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  153. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
  154. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
  155. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
  156. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
  157. package/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
  158. package/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
  159. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
  160. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
  161. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
  162. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
  163. package/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
  164. package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
  165. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
  166. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
  167. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
  168. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
  169. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
  170. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
  171. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
  172. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
  173. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
  174. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  175. package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
  176. package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
  177. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
  178. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
  179. package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
  180. package/api/resources/serviceFacility/client/Client.d.ts +1 -11
  181. package/api/resources/serviceFacility/client/Client.js +2 -12
  182. package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
  183. package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
  184. package/api/resources/serviceFacility/types/index.d.ts +1 -0
  185. package/api/resources/serviceFacility/types/index.js +1 -0
  186. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
  187. package/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
  188. package/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
  189. package/api/resources/superbills/resources/v1/client/Client.js +3 -11
  190. package/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
  191. package/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
  192. package/api/resources/tasks/resources/v3/client/Client.js +9 -30
  193. package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
  194. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
  195. package/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
  196. package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
  197. package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
  198. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  199. package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
  200. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
  201. package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
  202. package/dist/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
  203. package/dist/api/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  204. package/dist/api/resources/billingNotes/resources/v2/types/index.js +0 -1
  205. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
  206. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
  207. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
  208. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
  209. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
  210. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
  211. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +28 -2
  212. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
  213. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
  214. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
  215. package/dist/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
  216. package/dist/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
  217. package/dist/api/resources/commons/types/StreetAddressOptionalBase.js +5 -0
  218. package/dist/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
  219. package/dist/api/resources/commons/types/StreetAddressShortZipOptional.js +5 -0
  220. package/dist/api/resources/commons/types/index.d.ts +2 -0
  221. package/dist/api/resources/commons/types/index.js +2 -0
  222. package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
  223. package/dist/api/resources/contracts/resources/v2/client/Client.js +19 -73
  224. package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
  225. package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
  226. package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
  227. package/dist/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
  228. package/dist/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
  229. package/dist/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
  230. package/dist/api/resources/contracts/resources/v2/types/index.js +1 -0
  231. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
  232. package/dist/api/resources/credentialing/resources/v2/client/Client.js +9 -31
  233. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
  234. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
  235. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
  236. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  237. package/dist/api/resources/diagnoses/client/Client.d.ts +3 -8
  238. package/dist/api/resources/diagnoses/client/Client.js +6 -11
  239. package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
  240. package/dist/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
  241. package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
  242. package/dist/api/resources/eligibility/resources/v2/client/Client.js +5 -9
  243. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
  244. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
  245. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
  246. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
  247. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
  248. package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
  249. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
  250. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
  251. package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
  252. package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
  253. package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
  254. package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
  255. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
  256. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
  257. package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
  258. package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
  259. package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  260. package/dist/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
  261. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +49 -546
  262. package/dist/api/resources/encounters/resources/v4/client/Client.js +54 -551
  263. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +36 -405
  264. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +26 -7
  265. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -1
  266. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
  267. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +9 -33
  268. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
  269. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
  270. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
  271. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
  272. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
  273. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
  274. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
  275. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
  276. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  277. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  278. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  279. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
  280. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
  281. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
  282. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
  283. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
  284. package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
  285. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
  286. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
  287. package/dist/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
  288. package/dist/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
  289. package/dist/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
  290. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
  291. package/dist/api/resources/guarantor/resources/v1/client/Client.js +11 -41
  292. package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
  293. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
  294. package/dist/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
  295. package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
  296. package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
  297. package/dist/api/resources/individual/types/index.d.ts +1 -0
  298. package/dist/api/resources/individual/types/index.js +1 -0
  299. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
  300. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
  301. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
  302. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
  303. package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
  304. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
  305. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
  306. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
  307. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
  308. package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
  309. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
  310. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
  311. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
  312. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
  313. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
  314. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
  315. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
  316. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
  317. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
  318. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
  319. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
  320. package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
  321. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
  322. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
  323. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
  324. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
  325. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
  326. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
  327. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
  328. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
  329. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
  330. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
  331. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
  332. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
  333. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
  334. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
  335. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
  336. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
  337. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
  338. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
  339. package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
  340. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  341. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
  342. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
  343. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
  344. package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
  345. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
  346. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
  347. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
  348. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
  349. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
  350. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  351. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
  352. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
  353. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
  354. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
  355. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
  356. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
  357. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
  358. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
  359. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
  360. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
  361. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
  362. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
  363. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
  364. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
  365. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
  366. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
  367. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
  368. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
  369. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
  370. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
  371. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
  372. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  373. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
  374. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
  375. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
  376. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
  377. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
  378. package/dist/api/resources/serviceFacility/client/Client.d.ts +1 -11
  379. package/dist/api/resources/serviceFacility/client/Client.js +2 -12
  380. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
  381. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
  382. package/dist/api/resources/serviceFacility/types/index.d.ts +1 -0
  383. package/dist/api/resources/serviceFacility/types/index.js +1 -0
  384. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
  385. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
  386. package/dist/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
  387. package/dist/api/resources/superbills/resources/v1/client/Client.js +3 -11
  388. package/dist/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
  389. package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
  390. package/dist/api/resources/tasks/resources/v3/client/Client.js +9 -30
  391. package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
  392. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
  393. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
  394. package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
  395. package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
  396. package/dist/environments.d.ts +5 -1
  397. package/dist/environments.js +4 -0
  398. package/dist/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  399. package/dist/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
  400. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
  401. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
  402. package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
  403. package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
  404. package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
  405. package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
  406. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  407. package/dist/serialization/resources/commons/types/index.js +2 -0
  408. package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
  409. package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
  410. package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  411. package/dist/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  412. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
  413. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
  414. package/dist/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
  415. package/dist/serialization/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js} +10 -11
  416. package/dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
  417. package/{serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js} +8 -11
  418. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
  419. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
  420. package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
  421. package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
  422. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  423. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
  424. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  425. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  426. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
  427. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
  428. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  429. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  430. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
  431. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
  432. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
  433. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
  434. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
  435. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
  436. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  437. package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  438. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
  439. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
  440. package/dist/serialization/resources/individual/types/index.d.ts +1 -0
  441. package/dist/serialization/resources/individual/types/index.js +1 -0
  442. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
  443. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
  444. package/dist/serialization/resources/serviceFacility/types/index.d.ts +1 -0
  445. package/dist/serialization/resources/serviceFacility/types/index.js +1 -0
  446. package/dist/version.d.ts +1 -1
  447. package/dist/version.js +1 -1
  448. package/environments.d.ts +5 -1
  449. package/environments.js +4 -0
  450. package/package.json +1 -1
  451. package/reference.md +772 -2232
  452. package/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  453. package/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
  454. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
  455. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
  456. package/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
  457. package/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
  458. package/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
  459. package/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
  460. package/serialization/resources/commons/types/index.d.ts +2 -0
  461. package/serialization/resources/commons/types/index.js +2 -0
  462. package/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
  463. package/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
  464. package/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
  465. package/serialization/resources/contracts/resources/v2/types/index.js +1 -0
  466. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
  467. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
  468. package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
  469. package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +51 -0
  470. package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
  471. package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +49 -0
  472. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
  473. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
  474. package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
  475. package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
  476. package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  477. package/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
  478. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  479. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  480. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
  481. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
  482. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  483. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  484. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
  485. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
  486. package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
  487. package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
  488. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
  489. package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
  490. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
  491. package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
  492. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
  493. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
  494. package/serialization/resources/individual/types/index.d.ts +1 -0
  495. package/serialization/resources/individual/types/index.js +1 -0
  496. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
  497. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
  498. package/serialization/resources/serviceFacility/types/index.d.ts +1 -0
  499. package/serialization/resources/serviceFacility/types/index.js +1 -0
  500. package/version.d.ts +1 -1
  501. package/version.js +1 -1
  502. package/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
  503. package/dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
  504. package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
  505. package/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
  506. /package/api/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → commons/types/StreetAddressOptionalBase.js} +0 -0
  507. /package/{dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → api/resources/commons/types/StreetAddressShortZipOptional.js} +0 -0
@@ -26,386 +26,306 @@ export declare class V1 {
26
26
  protected readonly _options: V1.Options;
27
27
  constructor(_options?: V1.Options);
28
28
  /**
29
- * Adds a patient. VersionConflictError is returned when the patient's external ID is already in use.
29
+ * Adds a patient. VersionConflictError is returned when the patient's external ID is already in use.
30
30
  *
31
31
  * @param {CandidApi.preEncounter.patients.v1.CreatePatientRequest} request
32
32
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
33
33
  *
34
34
  * @example
35
35
  * await client.preEncounter.patients.v1.create({
36
- * skipDuplicateCheck: true,
37
36
  * body: {
38
37
  * name: {
39
- * family: "string",
40
- * given: ["string"],
41
- * use: "USUAL",
42
- * period: {},
43
- * suffix: "string"
38
+ * family: "family",
39
+ * given: ["given", "given"],
40
+ * use: "USUAL"
44
41
  * },
45
42
  * otherNames: [{
46
- * family: "string",
47
- * given: ["string"],
48
- * use: "USUAL",
49
- * period: {},
50
- * suffix: "string"
43
+ * family: "family",
44
+ * given: ["given", "given"],
45
+ * use: "USUAL"
46
+ * }, {
47
+ * family: "family",
48
+ * given: ["given", "given"],
49
+ * use: "USUAL"
51
50
  * }],
52
- * otherIdentifiers: [{
53
- * value: "string",
54
- * system: "string"
55
- * }],
56
- * gender: "MAN",
57
51
  * birthDate: "2023-01-15",
58
- * socialSecurityNumber: "string",
59
52
  * biologicalSex: "FEMALE",
60
- * sexualOrientation: "HETEROSEXUAL",
61
- * pronouns: ["string"],
62
- * race: "AMERICAN_INDIAN_OR_ALASKA_NATIVE",
63
- * ethnicity: "HISPANIC_OR_LATINO",
64
- * disabilityStatus: "DISABLED",
65
- * maritalStatus: "ANNULLED",
66
- * deceased: "2024-01-15T09:30:00Z",
67
- * multipleBirth: 1,
68
53
  * primaryAddress: {
69
54
  * use: "HOME",
70
- * line: ["string"],
71
- * city: "string",
72
- * state: "string",
73
- * postalCode: "string",
74
- * country: "string",
75
- * period: {}
55
+ * line: ["line", "line"],
56
+ * city: "city",
57
+ * state: "state",
58
+ * postalCode: "postal_code",
59
+ * country: "country"
76
60
  * },
77
61
  * otherAddresses: [{
78
62
  * use: "HOME",
79
- * line: ["string"],
80
- * city: "string",
81
- * state: "string",
82
- * postalCode: "string",
83
- * country: "string",
84
- * period: {}
63
+ * line: ["line", "line"],
64
+ * city: "city",
65
+ * state: "state",
66
+ * postalCode: "postal_code",
67
+ * country: "country"
68
+ * }, {
69
+ * use: "HOME",
70
+ * line: ["line", "line"],
71
+ * city: "city",
72
+ * state: "state",
73
+ * postalCode: "postal_code",
74
+ * country: "country"
85
75
  * }],
86
76
  * primaryTelecom: {
87
- * value: "string",
77
+ * value: "value",
88
78
  * use: "HOME"
89
79
  * },
90
80
  * otherTelecoms: [{
91
- * value: "string",
81
+ * value: "value",
82
+ * use: "HOME"
83
+ * }, {
84
+ * value: "value",
92
85
  * use: "HOME"
93
86
  * }],
94
- * email: "string",
95
- * electronicCommunicationOptIn: true,
96
- * photo: "string",
97
- * language: "string",
98
- * externalProvenance: {
99
- * externalId: "string",
100
- * systemName: "string"
101
- * },
102
87
  * contacts: [{
103
- * relationship: ["SELF"],
88
+ * relationship: ["SELF", "SELF"],
104
89
  * name: {
105
- * family: "string",
106
- * given: ["string"],
107
- * use: "USUAL",
108
- * period: {},
109
- * suffix: "string"
90
+ * family: "family",
91
+ * given: ["given", "given"],
92
+ * use: "USUAL"
110
93
  * },
111
94
  * telecoms: [{
112
- * value: "string",
95
+ * value: "value",
96
+ * use: "HOME"
97
+ * }, {
98
+ * value: "value",
113
99
  * use: "HOME"
114
100
  * }],
115
101
  * addresses: [{
116
102
  * use: "HOME",
117
- * line: ["string"],
118
- * city: "string",
119
- * state: "string",
120
- * postalCode: "string",
121
- * country: "string",
122
- * period: {}
103
+ * line: ["line", "line"],
104
+ * city: "city",
105
+ * state: "state",
106
+ * postalCode: "postal_code",
107
+ * country: "country"
108
+ * }, {
109
+ * use: "HOME",
110
+ * line: ["line", "line"],
111
+ * city: "city",
112
+ * state: "state",
113
+ * postalCode: "postal_code",
114
+ * country: "country"
115
+ * }]
116
+ * }, {
117
+ * relationship: ["SELF", "SELF"],
118
+ * name: {
119
+ * family: "family",
120
+ * given: ["given", "given"],
121
+ * use: "USUAL"
122
+ * },
123
+ * telecoms: [{
124
+ * value: "value",
125
+ * use: "HOME"
126
+ * }, {
127
+ * value: "value",
128
+ * use: "HOME"
123
129
  * }],
124
- * period: {},
125
- * hipaaAuthorization: true
130
+ * addresses: [{
131
+ * use: "HOME",
132
+ * line: ["line", "line"],
133
+ * city: "city",
134
+ * state: "state",
135
+ * postalCode: "postal_code",
136
+ * country: "country"
137
+ * }, {
138
+ * use: "HOME",
139
+ * line: ["line", "line"],
140
+ * city: "city",
141
+ * state: "state",
142
+ * postalCode: "postal_code",
143
+ * country: "country"
144
+ * }]
126
145
  * }],
127
146
  * generalPractitioners: [{
128
147
  * name: {
129
- * family: "string",
130
- * given: ["string"],
131
- * use: "USUAL",
132
- * period: {},
133
- * suffix: "string"
148
+ * family: "family",
149
+ * given: ["given", "given"],
150
+ * use: "USUAL"
134
151
  * },
135
- * type: "PRIMARY",
136
- * npi: "string",
137
152
  * telecoms: [{
138
- * value: "string",
153
+ * value: "value",
139
154
  * use: "HOME"
140
- * }],
141
- * addresses: [],
142
- * period: {},
143
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
144
- * fax: "string"
145
- * }],
146
- * filingOrder: {
147
- * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
148
- * },
149
- * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
150
- * nonInsurancePayerAssociations: [{
151
- * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")
152
- * }],
153
- * guarantor: {
154
- * name: {
155
- * family: "string",
156
- * given: ["string"],
157
- * use: "USUAL",
158
- * period: {},
159
- * suffix: "string"
160
- * },
161
- * telecom: {
162
- * value: "string",
163
- * use: "HOME"
164
- * },
165
- * email: "string",
166
- * birthDate: "2023-01-15",
167
- * address: {
168
- * use: "HOME",
169
- * line: ["string"],
170
- * city: "string",
171
- * state: "string",
172
- * postalCode: "string",
173
- * country: "string",
174
- * period: {}
175
- * }
176
- * },
177
- * selfPay: true,
178
- * authorizations: [{
179
- * payerId: CandidApi.preEncounter.PayerId("string"),
180
- * payerName: "string",
181
- * additionalPayerInformation: {},
182
- * authorizationNumber: "string",
183
- * cptCode: "string",
184
- * applyForAllCptCodes: true,
185
- * units: "VISIT",
186
- * quantity: 1,
187
- * period: {},
188
- * notes: "string"
189
- * }],
190
- * referrals: [{
191
- * provider: {
192
- * name: {
193
- * family: "string",
194
- * given: ["string"],
195
- * use: "USUAL",
196
- * period: {},
197
- * suffix: "string"
198
- * },
199
- * type: "PRIMARY",
200
- * npi: "string",
201
- * telecoms: [{
202
- * value: "string",
203
- * use: "HOME"
204
- * }],
205
- * addresses: [],
206
- * period: {},
207
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
208
- * fax: "string"
155
+ * }, {
156
+ * value: "value",
157
+ * use: "HOME"
158
+ * }]
159
+ * }, {
160
+ * name: {
161
+ * family: "family",
162
+ * given: ["given", "given"],
163
+ * use: "USUAL"
209
164
  * },
210
- * referralNumber: "string"
165
+ * telecoms: [{
166
+ * value: "value",
167
+ * use: "HOME"
168
+ * }, {
169
+ * value: "value",
170
+ * use: "HOME"
171
+ * }]
211
172
  * }],
212
- * primaryServiceFacilityId: "string",
213
- * doNotInvoiceReason: "BANKRUPTCY",
214
- * noteIds: [CandidApi.preEncounter.NoteId("string")],
215
- * tagIds: [CandidApi.preEncounter.TagId("string")]
173
+ * filingOrder: {
174
+ * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
175
+ * }
216
176
  * }
217
177
  * })
218
178
  */
219
179
  create(request: CandidApi.preEncounter.patients.v1.CreatePatientRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.create.Error>>;
220
180
  /**
221
- * Adds a patient and hydrates their MRN with a pre-existing MRN. Once this patient is created their MRN will not be editable. BadRequestError is returned when the MRN is greater than 20 characters. VersionConflictError is returned when the patient's external ID is already in use.
181
+ * Adds a patient and hydrates their MRN with a pre-existing MRN. Once this patient is created their MRN will not be editable. BadRequestError is returned when the MRN is greater than 20 characters. VersionConflictError is returned when the patient's external ID is already in use.
222
182
  *
223
183
  * @param {CandidApi.preEncounter.patients.v1.CreatePatientWithMrnRequest} request
224
184
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
225
185
  *
226
186
  * @example
227
187
  * await client.preEncounter.patients.v1.createWithMrn({
228
- * skipDuplicateCheck: true,
229
188
  * body: {
230
- * mrn: "string",
231
189
  * name: {
232
- * family: "string",
233
- * given: ["string"],
234
- * use: "USUAL",
235
- * period: {},
236
- * suffix: "string"
190
+ * family: "family",
191
+ * given: ["given", "given"],
192
+ * use: "USUAL"
237
193
  * },
238
194
  * otherNames: [{
239
- * family: "string",
240
- * given: ["string"],
241
- * use: "USUAL",
242
- * period: {},
243
- * suffix: "string"
244
- * }],
245
- * otherIdentifiers: [{
246
- * value: "string",
247
- * system: "string"
195
+ * family: "family",
196
+ * given: ["given", "given"],
197
+ * use: "USUAL"
198
+ * }, {
199
+ * family: "family",
200
+ * given: ["given", "given"],
201
+ * use: "USUAL"
248
202
  * }],
249
- * gender: "MAN",
250
203
  * birthDate: "2023-01-15",
251
- * socialSecurityNumber: "string",
252
204
  * biologicalSex: "FEMALE",
253
- * sexualOrientation: "HETEROSEXUAL",
254
- * pronouns: ["string"],
255
- * race: "AMERICAN_INDIAN_OR_ALASKA_NATIVE",
256
- * ethnicity: "HISPANIC_OR_LATINO",
257
- * disabilityStatus: "DISABLED",
258
- * maritalStatus: "ANNULLED",
259
- * deceased: "2024-01-15T09:30:00Z",
260
- * multipleBirth: 1,
261
205
  * primaryAddress: {
262
206
  * use: "HOME",
263
- * line: ["string"],
264
- * city: "string",
265
- * state: "string",
266
- * postalCode: "string",
267
- * country: "string",
268
- * period: {}
207
+ * line: ["line", "line"],
208
+ * city: "city",
209
+ * state: "state",
210
+ * postalCode: "postal_code",
211
+ * country: "country"
269
212
  * },
270
213
  * otherAddresses: [{
271
214
  * use: "HOME",
272
- * line: ["string"],
273
- * city: "string",
274
- * state: "string",
275
- * postalCode: "string",
276
- * country: "string",
277
- * period: {}
215
+ * line: ["line", "line"],
216
+ * city: "city",
217
+ * state: "state",
218
+ * postalCode: "postal_code",
219
+ * country: "country"
220
+ * }, {
221
+ * use: "HOME",
222
+ * line: ["line", "line"],
223
+ * city: "city",
224
+ * state: "state",
225
+ * postalCode: "postal_code",
226
+ * country: "country"
278
227
  * }],
279
228
  * primaryTelecom: {
280
- * value: "string",
229
+ * value: "value",
281
230
  * use: "HOME"
282
231
  * },
283
232
  * otherTelecoms: [{
284
- * value: "string",
233
+ * value: "value",
234
+ * use: "HOME"
235
+ * }, {
236
+ * value: "value",
285
237
  * use: "HOME"
286
238
  * }],
287
- * email: "string",
288
- * electronicCommunicationOptIn: true,
289
- * photo: "string",
290
- * language: "string",
291
- * externalProvenance: {
292
- * externalId: "string",
293
- * systemName: "string"
294
- * },
295
239
  * contacts: [{
296
- * relationship: ["SELF"],
240
+ * relationship: ["SELF", "SELF"],
297
241
  * name: {
298
- * family: "string",
299
- * given: ["string"],
300
- * use: "USUAL",
301
- * period: {},
302
- * suffix: "string"
242
+ * family: "family",
243
+ * given: ["given", "given"],
244
+ * use: "USUAL"
303
245
  * },
304
246
  * telecoms: [{
305
- * value: "string",
247
+ * value: "value",
248
+ * use: "HOME"
249
+ * }, {
250
+ * value: "value",
306
251
  * use: "HOME"
307
252
  * }],
308
253
  * addresses: [{
309
254
  * use: "HOME",
310
- * line: ["string"],
311
- * city: "string",
312
- * state: "string",
313
- * postalCode: "string",
314
- * country: "string",
315
- * period: {}
255
+ * line: ["line", "line"],
256
+ * city: "city",
257
+ * state: "state",
258
+ * postalCode: "postal_code",
259
+ * country: "country"
260
+ * }, {
261
+ * use: "HOME",
262
+ * line: ["line", "line"],
263
+ * city: "city",
264
+ * state: "state",
265
+ * postalCode: "postal_code",
266
+ * country: "country"
267
+ * }]
268
+ * }, {
269
+ * relationship: ["SELF", "SELF"],
270
+ * name: {
271
+ * family: "family",
272
+ * given: ["given", "given"],
273
+ * use: "USUAL"
274
+ * },
275
+ * telecoms: [{
276
+ * value: "value",
277
+ * use: "HOME"
278
+ * }, {
279
+ * value: "value",
280
+ * use: "HOME"
316
281
  * }],
317
- * period: {},
318
- * hipaaAuthorization: true
282
+ * addresses: [{
283
+ * use: "HOME",
284
+ * line: ["line", "line"],
285
+ * city: "city",
286
+ * state: "state",
287
+ * postalCode: "postal_code",
288
+ * country: "country"
289
+ * }, {
290
+ * use: "HOME",
291
+ * line: ["line", "line"],
292
+ * city: "city",
293
+ * state: "state",
294
+ * postalCode: "postal_code",
295
+ * country: "country"
296
+ * }]
319
297
  * }],
320
298
  * generalPractitioners: [{
321
299
  * name: {
322
- * family: "string",
323
- * given: ["string"],
324
- * use: "USUAL",
325
- * period: {},
326
- * suffix: "string"
300
+ * family: "family",
301
+ * given: ["given", "given"],
302
+ * use: "USUAL"
327
303
  * },
328
- * type: "PRIMARY",
329
- * npi: "string",
330
304
  * telecoms: [{
331
- * value: "string",
305
+ * value: "value",
332
306
  * use: "HOME"
333
- * }],
334
- * addresses: [],
335
- * period: {},
336
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
337
- * fax: "string"
307
+ * }, {
308
+ * value: "value",
309
+ * use: "HOME"
310
+ * }]
311
+ * }, {
312
+ * name: {
313
+ * family: "family",
314
+ * given: ["given", "given"],
315
+ * use: "USUAL"
316
+ * },
317
+ * telecoms: [{
318
+ * value: "value",
319
+ * use: "HOME"
320
+ * }, {
321
+ * value: "value",
322
+ * use: "HOME"
323
+ * }]
338
324
  * }],
339
325
  * filingOrder: {
340
- * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
341
- * },
342
- * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
343
- * nonInsurancePayerAssociations: [{
344
- * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")
345
- * }],
346
- * guarantor: {
347
- * name: {
348
- * family: "string",
349
- * given: ["string"],
350
- * use: "USUAL",
351
- * period: {},
352
- * suffix: "string"
353
- * },
354
- * telecom: {
355
- * value: "string",
356
- * use: "HOME"
357
- * },
358
- * email: "string",
359
- * birthDate: "2023-01-15",
360
- * address: {
361
- * use: "HOME",
362
- * line: ["string"],
363
- * city: "string",
364
- * state: "string",
365
- * postalCode: "string",
366
- * country: "string",
367
- * period: {}
368
- * }
326
+ * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
369
327
  * },
370
- * selfPay: true,
371
- * authorizations: [{
372
- * payerId: CandidApi.preEncounter.PayerId("string"),
373
- * payerName: "string",
374
- * additionalPayerInformation: {},
375
- * authorizationNumber: "string",
376
- * cptCode: "string",
377
- * applyForAllCptCodes: true,
378
- * units: "VISIT",
379
- * quantity: 1,
380
- * period: {},
381
- * notes: "string"
382
- * }],
383
- * referrals: [{
384
- * provider: {
385
- * name: {
386
- * family: "string",
387
- * given: ["string"],
388
- * use: "USUAL",
389
- * period: {},
390
- * suffix: "string"
391
- * },
392
- * type: "PRIMARY",
393
- * npi: "string",
394
- * telecoms: [{
395
- * value: "string",
396
- * use: "HOME"
397
- * }],
398
- * addresses: [],
399
- * period: {},
400
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
401
- * fax: "string"
402
- * },
403
- * referralNumber: "string"
404
- * }],
405
- * primaryServiceFacilityId: "string",
406
- * doNotInvoiceReason: "BANKRUPTCY",
407
- * noteIds: [CandidApi.preEncounter.NoteId("string")],
408
- * tagIds: [CandidApi.preEncounter.TagId("string")]
328
+ * mrn: "mrn"
409
329
  * }
410
330
  * })
411
331
  */
@@ -417,24 +337,18 @@ export declare class V1 {
417
337
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
418
338
  *
419
339
  * @example
420
- * await client.preEncounter.patients.v1.getMulti({
421
- * limit: 1,
422
- * mrn: "string",
423
- * pageToken: CandidApi.preEncounter.PageToken("string"),
424
- * sortField: CandidApi.preEncounter.patients.v1.PatientSortField("string"),
425
- * sortDirection: "asc"
426
- * })
340
+ * await client.preEncounter.patients.v1.getMulti()
427
341
  */
428
342
  getMulti(request?: CandidApi.preEncounter.patients.v1.PatientsSearchRequestPaginated, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.PatientPage, CandidApi.preEncounter.patients.v1.getMulti.Error>>;
429
343
  /**
430
- * Searches for referring providers that match the query parameters. The search is case-insensitive, supports fuzzy matching, and matches against provider name and NPI. The search criteria must be an alphanumeric string, and the search is limited to the first 20 results.
344
+ * Searches for referring providers that match the query parameters. The search is case-insensitive, supports fuzzy matching, and matches against provider name and NPI. The search criteria must be an alphanumeric string, and the search is limited to the first 20 results.
431
345
  *
432
346
  * @param {CandidApi.preEncounter.patients.v1.SearchProvidersRequest} request
433
347
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
434
348
  *
435
349
  * @example
436
350
  * await client.preEncounter.patients.v1.searchProviders({
437
- * searchCriteria: "string"
351
+ * searchCriteria: "search_criteria"
438
352
  * })
439
353
  */
440
354
  searchProviders(request: CandidApi.preEncounter.patients.v1.SearchProvidersRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.ExternalProvider[], CandidApi.preEncounter.patients.v1.searchProviders.Error>>;
@@ -445,21 +359,21 @@ export declare class V1 {
445
359
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
446
360
  *
447
361
  * @example
448
- * await client.preEncounter.patients.v1.get(CandidApi.preEncounter.PatientId("string"))
362
+ * await client.preEncounter.patients.v1.get(CandidApi.preEncounter.PatientId("id"))
449
363
  */
450
364
  get(id: CandidApi.preEncounter.PatientId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.get.Error>>;
451
365
  /**
452
- * Gets a patient along with it's full history. The return list is ordered by version ascending.
366
+ * Gets a patient along with it's full history. The return list is ordered by version ascending.
453
367
  *
454
368
  * @param {CandidApi.preEncounter.PatientId} id
455
369
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
456
370
  *
457
371
  * @example
458
- * await client.preEncounter.patients.v1.getHistory(CandidApi.preEncounter.PatientId("string"))
372
+ * await client.preEncounter.patients.v1.getHistory(CandidApi.preEncounter.PatientId("id"))
459
373
  */
460
374
  getHistory(id: CandidApi.preEncounter.PatientId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient[], CandidApi.preEncounter.patients.v1.getHistory.Error>>;
461
375
  /**
462
- * Updates a patient. The path must contain the most recent version to prevent race conditions. Updating historic versions is not supported.
376
+ * Updates a patient. The path must contain the most recent version to prevent race conditions. Updating historic versions is not supported.
463
377
  *
464
378
  * @param {CandidApi.preEncounter.PatientId} id
465
379
  * @param {string} version
@@ -467,208 +381,169 @@ export declare class V1 {
467
381
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
468
382
  *
469
383
  * @example
470
- * await client.preEncounter.patients.v1.update(CandidApi.preEncounter.PatientId("string"), "string", {
384
+ * await client.preEncounter.patients.v1.update(CandidApi.preEncounter.PatientId("id"), "version", {
471
385
  * name: {
472
- * family: "string",
473
- * given: ["string"],
474
- * use: "USUAL",
475
- * period: {},
476
- * suffix: "string"
386
+ * family: "family",
387
+ * given: ["given", "given"],
388
+ * use: "USUAL"
477
389
  * },
478
390
  * otherNames: [{
479
- * family: "string",
480
- * given: ["string"],
481
- * use: "USUAL",
482
- * period: {},
483
- * suffix: "string"
484
- * }],
485
- * otherIdentifiers: [{
486
- * value: "string",
487
- * system: "string"
391
+ * family: "family",
392
+ * given: ["given", "given"],
393
+ * use: "USUAL"
394
+ * }, {
395
+ * family: "family",
396
+ * given: ["given", "given"],
397
+ * use: "USUAL"
488
398
  * }],
489
- * gender: "MAN",
490
399
  * birthDate: "2023-01-15",
491
- * socialSecurityNumber: "string",
492
400
  * biologicalSex: "FEMALE",
493
- * sexualOrientation: "HETEROSEXUAL",
494
- * pronouns: ["string"],
495
- * race: "AMERICAN_INDIAN_OR_ALASKA_NATIVE",
496
- * ethnicity: "HISPANIC_OR_LATINO",
497
- * disabilityStatus: "DISABLED",
498
- * maritalStatus: "ANNULLED",
499
- * deceased: "2024-01-15T09:30:00Z",
500
- * multipleBirth: 1,
501
401
  * primaryAddress: {
502
402
  * use: "HOME",
503
- * line: ["string"],
504
- * city: "string",
505
- * state: "string",
506
- * postalCode: "string",
507
- * country: "string",
508
- * period: {}
403
+ * line: ["line", "line"],
404
+ * city: "city",
405
+ * state: "state",
406
+ * postalCode: "postal_code",
407
+ * country: "country"
509
408
  * },
510
409
  * otherAddresses: [{
511
410
  * use: "HOME",
512
- * line: ["string"],
513
- * city: "string",
514
- * state: "string",
515
- * postalCode: "string",
516
- * country: "string",
517
- * period: {}
411
+ * line: ["line", "line"],
412
+ * city: "city",
413
+ * state: "state",
414
+ * postalCode: "postal_code",
415
+ * country: "country"
416
+ * }, {
417
+ * use: "HOME",
418
+ * line: ["line", "line"],
419
+ * city: "city",
420
+ * state: "state",
421
+ * postalCode: "postal_code",
422
+ * country: "country"
518
423
  * }],
519
424
  * primaryTelecom: {
520
- * value: "string",
425
+ * value: "value",
521
426
  * use: "HOME"
522
427
  * },
523
428
  * otherTelecoms: [{
524
- * value: "string",
429
+ * value: "value",
430
+ * use: "HOME"
431
+ * }, {
432
+ * value: "value",
525
433
  * use: "HOME"
526
434
  * }],
527
- * email: "string",
528
- * electronicCommunicationOptIn: true,
529
- * photo: "string",
530
- * language: "string",
531
- * externalProvenance: {
532
- * externalId: "string",
533
- * systemName: "string"
534
- * },
535
435
  * contacts: [{
536
- * relationship: ["SELF"],
436
+ * relationship: ["SELF", "SELF"],
537
437
  * name: {
538
- * family: "string",
539
- * given: ["string"],
540
- * use: "USUAL",
541
- * period: {},
542
- * suffix: "string"
438
+ * family: "family",
439
+ * given: ["given", "given"],
440
+ * use: "USUAL"
543
441
  * },
544
442
  * telecoms: [{
545
- * value: "string",
443
+ * value: "value",
444
+ * use: "HOME"
445
+ * }, {
446
+ * value: "value",
546
447
  * use: "HOME"
547
448
  * }],
548
449
  * addresses: [{
549
450
  * use: "HOME",
550
- * line: ["string"],
551
- * city: "string",
552
- * state: "string",
553
- * postalCode: "string",
554
- * country: "string",
555
- * period: {}
451
+ * line: ["line", "line"],
452
+ * city: "city",
453
+ * state: "state",
454
+ * postalCode: "postal_code",
455
+ * country: "country"
456
+ * }, {
457
+ * use: "HOME",
458
+ * line: ["line", "line"],
459
+ * city: "city",
460
+ * state: "state",
461
+ * postalCode: "postal_code",
462
+ * country: "country"
463
+ * }]
464
+ * }, {
465
+ * relationship: ["SELF", "SELF"],
466
+ * name: {
467
+ * family: "family",
468
+ * given: ["given", "given"],
469
+ * use: "USUAL"
470
+ * },
471
+ * telecoms: [{
472
+ * value: "value",
473
+ * use: "HOME"
474
+ * }, {
475
+ * value: "value",
476
+ * use: "HOME"
556
477
  * }],
557
- * period: {},
558
- * hipaaAuthorization: true
478
+ * addresses: [{
479
+ * use: "HOME",
480
+ * line: ["line", "line"],
481
+ * city: "city",
482
+ * state: "state",
483
+ * postalCode: "postal_code",
484
+ * country: "country"
485
+ * }, {
486
+ * use: "HOME",
487
+ * line: ["line", "line"],
488
+ * city: "city",
489
+ * state: "state",
490
+ * postalCode: "postal_code",
491
+ * country: "country"
492
+ * }]
559
493
  * }],
560
494
  * generalPractitioners: [{
561
495
  * name: {
562
- * family: "string",
563
- * given: ["string"],
564
- * use: "USUAL",
565
- * period: {},
566
- * suffix: "string"
496
+ * family: "family",
497
+ * given: ["given", "given"],
498
+ * use: "USUAL"
567
499
  * },
568
- * type: "PRIMARY",
569
- * npi: "string",
570
500
  * telecoms: [{
571
- * value: "string",
501
+ * value: "value",
572
502
  * use: "HOME"
573
- * }],
574
- * addresses: [],
575
- * period: {},
576
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
577
- * fax: "string"
578
- * }],
579
- * filingOrder: {
580
- * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
581
- * },
582
- * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
583
- * nonInsurancePayerAssociations: [{
584
- * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")
585
- * }],
586
- * guarantor: {
587
- * name: {
588
- * family: "string",
589
- * given: ["string"],
590
- * use: "USUAL",
591
- * period: {},
592
- * suffix: "string"
593
- * },
594
- * telecom: {
595
- * value: "string",
596
- * use: "HOME"
597
- * },
598
- * email: "string",
599
- * birthDate: "2023-01-15",
600
- * address: {
601
- * use: "HOME",
602
- * line: ["string"],
603
- * city: "string",
604
- * state: "string",
605
- * postalCode: "string",
606
- * country: "string",
607
- * period: {}
608
- * }
609
- * },
610
- * selfPay: true,
611
- * authorizations: [{
612
- * payerId: CandidApi.preEncounter.PayerId("string"),
613
- * payerName: "string",
614
- * additionalPayerInformation: {},
615
- * authorizationNumber: "string",
616
- * cptCode: "string",
617
- * applyForAllCptCodes: true,
618
- * units: "VISIT",
619
- * quantity: 1,
620
- * period: {},
621
- * notes: "string"
622
- * }],
623
- * referrals: [{
624
- * provider: {
625
- * name: {
626
- * family: "string",
627
- * given: ["string"],
628
- * use: "USUAL",
629
- * period: {},
630
- * suffix: "string"
631
- * },
632
- * type: "PRIMARY",
633
- * npi: "string",
634
- * telecoms: [{
635
- * value: "string",
636
- * use: "HOME"
637
- * }],
638
- * addresses: [],
639
- * period: {},
640
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
641
- * fax: "string"
503
+ * }, {
504
+ * value: "value",
505
+ * use: "HOME"
506
+ * }]
507
+ * }, {
508
+ * name: {
509
+ * family: "family",
510
+ * given: ["given", "given"],
511
+ * use: "USUAL"
642
512
  * },
643
- * referralNumber: "string"
513
+ * telecoms: [{
514
+ * value: "value",
515
+ * use: "HOME"
516
+ * }, {
517
+ * value: "value",
518
+ * use: "HOME"
519
+ * }]
644
520
  * }],
645
- * primaryServiceFacilityId: "string",
646
- * doNotInvoiceReason: "BANKRUPTCY",
647
- * noteIds: [CandidApi.preEncounter.NoteId("string")],
648
- * tagIds: [CandidApi.preEncounter.TagId("string")]
521
+ * filingOrder: {
522
+ * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
523
+ * }
649
524
  * })
650
525
  */
651
526
  update(id: CandidApi.preEncounter.PatientId, version: string, request: CandidApi.preEncounter.patients.v1.MutablePatient, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.update.Error>>;
652
527
  /**
653
- * Sets a patient as deactivated. The path must contain the most recent version plus 1 to prevent race conditions. Deactivating historic versions is not supported.
528
+ * Sets a patient as deactivated. The path must contain the most recent version plus 1 to prevent race conditions. Deactivating historic versions is not supported.
654
529
  *
655
530
  * @param {CandidApi.preEncounter.PatientId} id
656
531
  * @param {string} version
657
532
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
658
533
  *
659
534
  * @example
660
- * await client.preEncounter.patients.v1.deactivate(CandidApi.preEncounter.PatientId("string"), "string")
535
+ * await client.preEncounter.patients.v1.deactivate(CandidApi.preEncounter.PatientId("id"), "version")
661
536
  */
662
537
  deactivate(id: CandidApi.preEncounter.PatientId, version: string, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<void, CandidApi.preEncounter.patients.v1.deactivate.Error>>;
663
538
  /**
664
- * Removes the deactivated flag for a patient. The path must contain the most recent version plus 1 to prevent race conditions. Reactivating historic versions is not supported.
539
+ * Removes the deactivated flag for a patient. The path must contain the most recent version plus 1 to prevent race conditions. Reactivating historic versions is not supported.
665
540
  *
666
541
  * @param {CandidApi.preEncounter.PatientId} id
667
542
  * @param {string} version
668
543
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
669
544
  *
670
545
  * @example
671
- * await client.preEncounter.patients.v1.reactivate(CandidApi.preEncounter.PatientId("string"), "string")
546
+ * await client.preEncounter.patients.v1.reactivate(CandidApi.preEncounter.PatientId("id"), "version")
672
547
  */
673
548
  reactivate(id: CandidApi.preEncounter.PatientId, version: string, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<void, CandidApi.preEncounter.patients.v1.reactivate.Error>>;
674
549
  /**
@@ -678,14 +553,11 @@ export declare class V1 {
678
553
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
679
554
  *
680
555
  * @example
681
- * await client.preEncounter.patients.v1.search({
682
- * mrn: "string",
683
- * similarNameOrdering: "string"
684
- * })
556
+ * await client.preEncounter.patients.v1.search()
685
557
  */
686
558
  search(request?: CandidApi.preEncounter.patients.v1.PatientGetMultiRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient[], CandidApi.preEncounter.patients.v1.search.Error>>;
687
559
  /**
688
- * Scans up to 100 patient updates. The since query parameter is inclusive, and the result list is ordered by updatedAt ascending.
560
+ * Scans up to 100 patient updates. The since query parameter is inclusive, and the result list is ordered by updatedAt ascending.
689
561
  *
690
562
  * @param {CandidApi.preEncounter.patients.v1.PatientScanRequest} request
691
563
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.