candidhealth 0.39.10 → 0.40.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 (618) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  3. package/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  4. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  5. package/api/resources/claims/types/Claim.d.ts +3 -0
  6. package/api/resources/clinicalTrials/index.d.ts +1 -0
  7. package/api/resources/clinicalTrials/index.js +17 -0
  8. package/api/resources/clinicalTrials/resources/index.d.ts +1 -0
  9. package/api/resources/clinicalTrials/resources/index.js +37 -0
  10. package/api/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  11. package/api/resources/clinicalTrials/resources/v1/index.js +17 -0
  12. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +9 -0
  13. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +5 -0
  14. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +9 -0
  15. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +11 -0
  16. package/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +10 -0
  17. package/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +5 -0
  18. package/api/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  19. package/api/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  20. package/api/resources/commons/types/AdjustmentId.d.ts +8 -0
  21. package/api/resources/commons/types/AdjustmentId.js +9 -0
  22. package/api/resources/commons/types/ClinicalTrialId.d.ts +8 -0
  23. package/api/resources/commons/types/ClinicalTrialId.js +9 -0
  24. package/api/resources/commons/types/ProcedureModifier.d.ts +16 -0
  25. package/api/resources/commons/types/ProcedureModifier.js +4 -0
  26. package/api/resources/commons/types/index.d.ts +2 -0
  27. package/api/resources/commons/types/index.js +2 -0
  28. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  29. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  30. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  31. package/api/resources/diagnoses/client/Client.js +3 -3
  32. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  33. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  34. package/api/resources/encounters/resources/v4/client/Client.d.ts +8 -1
  35. package/api/resources/encounters/resources/v4/client/Client.js +13 -6
  36. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +13 -1
  37. package/api/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +9 -0
  38. package/api/resources/encounters/resources/v4/types/ClaimSupplementalInformation.js +5 -0
  39. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -4
  40. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
  41. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +11 -4
  42. package/api/resources/encounters/resources/v4/types/ReportTransmissionCode.d.ts +14 -0
  43. package/api/resources/encounters/resources/v4/types/ReportTransmissionCode.js +10 -0
  44. package/api/resources/encounters/resources/v4/types/ReportTypeCode.d.ts +250 -0
  45. package/api/resources/encounters/resources/v4/types/ReportTypeCode.js +69 -0
  46. package/api/resources/encounters/resources/v4/types/index.d.ts +3 -0
  47. package/api/resources/encounters/resources/v4/types/index.js +3 -0
  48. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  49. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  50. package/api/resources/exports/resources/v3/client/Client.d.ts +3 -0
  51. package/api/resources/exports/resources/v3/client/Client.js +4 -1
  52. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  53. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  54. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  55. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  56. package/api/resources/index.d.ts +1 -0
  57. package/api/resources/index.js +2 -1
  58. package/api/resources/individual/types/Patient.d.ts +6 -3
  59. package/api/resources/individual/types/PatientClinicalTrialInfo.d.ts +8 -0
  60. package/api/resources/individual/types/PatientClinicalTrialInfo.js +5 -0
  61. package/api/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +8 -0
  62. package/api/resources/individual/types/PatientClinicalTrialInfoCreate.js +5 -0
  63. package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +6 -2
  64. package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +1 -0
  65. package/api/resources/individual/types/index.d.ts +2 -0
  66. package/api/resources/individual/types/index.js +2 -0
  67. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  68. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  69. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  70. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  71. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  72. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  73. package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +6 -1
  74. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +12 -7
  75. package/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  76. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +3 -1
  77. package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +4 -1
  78. package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  79. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  80. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  81. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  82. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  83. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  84. package/api/resources/preEncounter/client/Client.d.ts +3 -0
  85. package/api/resources/preEncounter/client/Client.js +13 -8
  86. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +4 -2
  87. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +11 -9
  88. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +9 -0
  89. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +5 -0
  90. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +11 -0
  91. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +9 -0
  92. package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  93. package/api/resources/preEncounter/resources/common/types/HumanName.d.ts +1 -0
  94. package/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  95. package/api/resources/preEncounter/resources/common/types/index.js +2 -0
  96. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +4 -2
  97. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +13 -11
  98. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  99. package/api/resources/preEncounter/resources/images/client/Client.d.ts +30 -0
  100. package/api/resources/preEncounter/resources/images/client/Client.js +17 -0
  101. package/api/resources/preEncounter/resources/images/client/index.d.ts +1 -0
  102. package/api/resources/preEncounter/resources/images/client/index.js +2 -0
  103. package/api/resources/preEncounter/resources/images/index.d.ts +2 -0
  104. package/api/resources/preEncounter/resources/images/index.js +18 -0
  105. package/api/resources/preEncounter/resources/images/resources/index.d.ts +1 -0
  106. package/api/resources/preEncounter/resources/images/resources/index.js +37 -0
  107. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +111 -0
  108. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +366 -0
  109. package/api/resources/preEncounter/resources/images/resources/v1/client/create.d.ts +28 -0
  110. package/api/resources/preEncounter/resources/images/resources/v1/client/create.js +68 -0
  111. package/api/resources/preEncounter/resources/images/resources/v1/client/deactivate.d.ts +34 -0
  112. package/api/resources/preEncounter/resources/images/resources/v1/client/deactivate.js +79 -0
  113. package/api/resources/preEncounter/resources/images/resources/v1/client/get.d.ts +28 -0
  114. package/api/resources/preEncounter/resources/images/resources/v1/client/get.js +68 -0
  115. package/api/resources/preEncounter/resources/images/resources/v1/client/getMulti.d.ts +22 -0
  116. package/api/resources/preEncounter/resources/images/resources/v1/client/getMulti.js +57 -0
  117. package/api/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +6 -0
  118. package/api/resources/preEncounter/resources/images/resources/v1/client/index.js +45 -0
  119. package/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +14 -0
  120. package/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.js +5 -0
  121. package/api/resources/preEncounter/resources/images/resources/v1/client/requests/index.d.ts +1 -0
  122. package/api/resources/preEncounter/resources/images/resources/v1/client/requests/index.js +2 -0
  123. package/api/resources/preEncounter/resources/images/resources/v1/client/update.d.ts +34 -0
  124. package/api/resources/preEncounter/resources/images/resources/v1/client/update.js +79 -0
  125. package/api/resources/preEncounter/resources/images/resources/v1/index.d.ts +2 -0
  126. package/api/resources/preEncounter/resources/images/resources/v1/index.js +18 -0
  127. package/api/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.d.ts +11 -0
  128. package/api/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.js +5 -0
  129. package/api/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.d.ts +8 -0
  130. package/api/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.js +10 -0
  131. package/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +12 -0
  132. package/api/resources/preEncounter/resources/images/resources/v1/types/Image.js +5 -0
  133. package/api/resources/preEncounter/resources/images/resources/v1/types/ImageId.d.ts +11 -0
  134. package/api/resources/preEncounter/resources/images/resources/v1/types/ImageId.js +9 -0
  135. package/api/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.d.ts +9 -0
  136. package/api/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.js +11 -0
  137. package/api/resources/preEncounter/resources/images/resources/v1/types/MutableImage.d.ts +15 -0
  138. package/api/resources/preEncounter/resources/images/resources/v1/types/MutableImage.js +5 -0
  139. package/api/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.d.ts +11 -0
  140. package/api/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.js +5 -0
  141. package/api/resources/preEncounter/resources/images/resources/v1/types/index.d.ts +7 -0
  142. package/api/resources/preEncounter/resources/images/resources/v1/types/index.js +23 -0
  143. package/api/resources/preEncounter/resources/index.d.ts +1 -0
  144. package/api/resources/preEncounter/resources/index.js +2 -1
  145. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  146. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  147. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +51 -18
  148. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +94 -28
  149. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  150. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  151. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +13 -6
  152. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +13 -6
  153. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +12 -0
  154. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.js +5 -0
  155. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
  156. package/api/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.d.ts +22 -0
  157. package/api/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.js +57 -0
  158. package/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +2 -0
  159. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  160. package/api/resources/serviceFacility/client/Client.js +1 -1
  161. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  162. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -1
  163. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +4 -1
  164. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +4 -1
  165. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +3 -3
  166. package/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +2 -1
  167. package/api/resources/serviceLines/resources/v2/types/TestResultType.js +1 -0
  168. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  169. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +20 -0
  170. package/api/resources/writeOffs/resources/v1/client/Client.js +82 -4
  171. package/api/resources/writeOffs/resources/v1/client/index.d.ts +2 -0
  172. package/api/resources/writeOffs/resources/v1/client/index.js +3 -1
  173. package/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.d.ts +22 -0
  174. package/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.js +57 -0
  175. package/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.d.ts +22 -0
  176. package/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.js +57 -0
  177. package/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.d.ts +15 -0
  178. package/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.js +5 -0
  179. package/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.d.ts +12 -0
  180. package/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.js +5 -0
  181. package/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +4 -1
  182. package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +4 -1
  183. package/api/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
  184. package/api/resources/writeOffs/resources/v1/types/index.js +2 -0
  185. package/api/resources/x12/resources/v1/types/Rarc.d.ts +115 -1
  186. package/api/resources/x12/resources/v1/types/Rarc.js +114 -0
  187. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  188. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  189. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  190. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  191. package/dist/api/resources/claims/types/Claim.d.ts +3 -0
  192. package/dist/api/resources/clinicalTrials/index.d.ts +1 -0
  193. package/dist/api/resources/clinicalTrials/index.js +17 -0
  194. package/dist/api/resources/clinicalTrials/resources/index.d.ts +1 -0
  195. package/dist/api/resources/clinicalTrials/resources/index.js +37 -0
  196. package/dist/api/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  197. package/dist/api/resources/clinicalTrials/resources/v1/index.js +17 -0
  198. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +9 -0
  199. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +5 -0
  200. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +9 -0
  201. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +11 -0
  202. package/dist/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +10 -0
  203. package/dist/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +5 -0
  204. package/dist/api/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  205. package/dist/api/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  206. package/dist/api/resources/commons/types/AdjustmentId.d.ts +8 -0
  207. package/dist/api/resources/commons/types/AdjustmentId.js +9 -0
  208. package/dist/api/resources/commons/types/ClinicalTrialId.d.ts +8 -0
  209. package/dist/api/resources/commons/types/ClinicalTrialId.js +9 -0
  210. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +16 -0
  211. package/dist/api/resources/commons/types/ProcedureModifier.js +4 -0
  212. package/dist/api/resources/commons/types/index.d.ts +2 -0
  213. package/dist/api/resources/commons/types/index.js +2 -0
  214. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  215. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  216. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  217. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  218. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  219. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  220. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +8 -1
  221. package/dist/api/resources/encounters/resources/v4/client/Client.js +13 -6
  222. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +13 -1
  223. package/dist/api/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +9 -0
  224. package/dist/api/resources/encounters/resources/v4/types/ClaimSupplementalInformation.js +5 -0
  225. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -4
  226. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
  227. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +11 -4
  228. package/dist/api/resources/encounters/resources/v4/types/ReportTransmissionCode.d.ts +14 -0
  229. package/dist/api/resources/encounters/resources/v4/types/ReportTransmissionCode.js +10 -0
  230. package/dist/api/resources/encounters/resources/v4/types/ReportTypeCode.d.ts +250 -0
  231. package/dist/api/resources/encounters/resources/v4/types/ReportTypeCode.js +69 -0
  232. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +3 -0
  233. package/dist/api/resources/encounters/resources/v4/types/index.js +3 -0
  234. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  235. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  236. package/dist/api/resources/exports/resources/v3/client/Client.d.ts +3 -0
  237. package/dist/api/resources/exports/resources/v3/client/Client.js +4 -1
  238. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  239. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  240. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  241. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  242. package/dist/api/resources/index.d.ts +1 -0
  243. package/dist/api/resources/index.js +2 -1
  244. package/dist/api/resources/individual/types/Patient.d.ts +6 -3
  245. package/dist/api/resources/individual/types/PatientClinicalTrialInfo.d.ts +8 -0
  246. package/dist/api/resources/individual/types/PatientClinicalTrialInfo.js +5 -0
  247. package/dist/api/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +8 -0
  248. package/dist/api/resources/individual/types/PatientClinicalTrialInfoCreate.js +5 -0
  249. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +6 -2
  250. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +1 -0
  251. package/dist/api/resources/individual/types/index.d.ts +2 -0
  252. package/dist/api/resources/individual/types/index.js +2 -0
  253. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  254. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  255. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  256. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  257. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  258. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  259. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +6 -1
  260. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +12 -7
  261. package/dist/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  262. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +3 -1
  263. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +4 -1
  264. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  265. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  266. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  267. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  268. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  269. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  270. package/dist/api/resources/preEncounter/client/Client.d.ts +3 -0
  271. package/dist/api/resources/preEncounter/client/Client.js +13 -8
  272. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +4 -2
  273. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +11 -9
  274. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +9 -0
  275. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +5 -0
  276. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +11 -0
  277. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +9 -0
  278. package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  279. package/dist/api/resources/preEncounter/resources/common/types/HumanName.d.ts +1 -0
  280. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  281. package/dist/api/resources/preEncounter/resources/common/types/index.js +2 -0
  282. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +4 -2
  283. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +13 -11
  284. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  285. package/dist/api/resources/preEncounter/resources/images/client/Client.d.ts +30 -0
  286. package/dist/api/resources/preEncounter/resources/images/client/Client.js +17 -0
  287. package/dist/api/resources/preEncounter/resources/images/client/index.d.ts +1 -0
  288. package/dist/api/resources/preEncounter/resources/images/client/index.js +2 -0
  289. package/dist/api/resources/preEncounter/resources/images/index.d.ts +2 -0
  290. package/dist/api/resources/preEncounter/resources/images/index.js +18 -0
  291. package/dist/api/resources/preEncounter/resources/images/resources/index.d.ts +1 -0
  292. package/dist/api/resources/preEncounter/resources/images/resources/index.js +37 -0
  293. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +111 -0
  294. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +366 -0
  295. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/create.d.ts +28 -0
  296. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/create.js +68 -0
  297. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/deactivate.d.ts +34 -0
  298. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/deactivate.js +79 -0
  299. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/get.d.ts +28 -0
  300. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/get.js +68 -0
  301. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/getMulti.d.ts +22 -0
  302. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/getMulti.js +57 -0
  303. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +6 -0
  304. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/index.js +45 -0
  305. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +14 -0
  306. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.js +5 -0
  307. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/index.d.ts +1 -0
  308. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/index.js +2 -0
  309. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/update.d.ts +34 -0
  310. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/update.js +79 -0
  311. package/dist/api/resources/preEncounter/resources/images/resources/v1/index.d.ts +2 -0
  312. package/dist/api/resources/preEncounter/resources/images/resources/v1/index.js +18 -0
  313. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.d.ts +11 -0
  314. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.js +5 -0
  315. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.d.ts +8 -0
  316. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.js +10 -0
  317. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +12 -0
  318. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/Image.js +5 -0
  319. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/ImageId.d.ts +11 -0
  320. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/ImageId.js +9 -0
  321. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.d.ts +9 -0
  322. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.js +11 -0
  323. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/MutableImage.d.ts +15 -0
  324. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/MutableImage.js +5 -0
  325. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.d.ts +11 -0
  326. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.js +5 -0
  327. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/index.d.ts +7 -0
  328. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/index.js +23 -0
  329. package/dist/api/resources/preEncounter/resources/index.d.ts +1 -0
  330. package/dist/api/resources/preEncounter/resources/index.js +2 -1
  331. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  332. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  333. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +51 -18
  334. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +94 -28
  335. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  336. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  337. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +13 -6
  338. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +13 -6
  339. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +12 -0
  340. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.js +5 -0
  341. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
  342. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.d.ts +22 -0
  343. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.js +57 -0
  344. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +2 -0
  345. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  346. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  347. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  348. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -1
  349. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +4 -1
  350. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +4 -1
  351. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +3 -3
  352. package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +2 -1
  353. package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.js +1 -0
  354. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  355. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +20 -0
  356. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +82 -4
  357. package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +2 -0
  358. package/dist/api/resources/writeOffs/resources/v1/client/index.js +3 -1
  359. package/dist/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.d.ts +22 -0
  360. package/dist/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.js +57 -0
  361. package/dist/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.d.ts +22 -0
  362. package/dist/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.js +57 -0
  363. package/dist/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.d.ts +15 -0
  364. package/dist/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.js +5 -0
  365. package/dist/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.d.ts +12 -0
  366. package/dist/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.js +5 -0
  367. package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +4 -1
  368. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +4 -1
  369. package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
  370. package/dist/api/resources/writeOffs/resources/v1/types/index.js +2 -0
  371. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +115 -1
  372. package/dist/api/resources/x12/resources/v1/types/Rarc.js +114 -0
  373. package/dist/serialization/resources/clinicalTrials/index.d.ts +1 -0
  374. package/dist/serialization/resources/clinicalTrials/index.js +17 -0
  375. package/dist/serialization/resources/clinicalTrials/resources/index.d.ts +1 -0
  376. package/dist/serialization/resources/clinicalTrials/resources/index.js +37 -0
  377. package/dist/serialization/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  378. package/dist/serialization/resources/clinicalTrials/resources/v1/index.js +17 -0
  379. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +17 -0
  380. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +50 -0
  381. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +10 -0
  382. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +41 -0
  383. package/dist/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +15 -0
  384. package/dist/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +46 -0
  385. package/dist/serialization/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  386. package/dist/serialization/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  387. package/dist/serialization/resources/commons/types/AdjustmentId.d.ts +10 -0
  388. package/dist/serialization/resources/commons/types/AdjustmentId.js +45 -0
  389. package/dist/serialization/resources/commons/types/ClinicalTrialId.d.ts +10 -0
  390. package/dist/serialization/resources/commons/types/ClinicalTrialId.js +45 -0
  391. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  392. package/dist/serialization/resources/commons/types/ProcedureModifier.js +4 -0
  393. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  394. package/dist/serialization/resources/commons/types/index.js +2 -0
  395. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
  396. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
  397. package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +16 -0
  398. package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.js +47 -0
  399. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -0
  400. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -0
  401. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
  402. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +2 -0
  403. package/dist/serialization/resources/encounters/resources/v4/types/ReportTransmissionCode.d.ts +10 -0
  404. package/dist/serialization/resources/encounters/resources/v4/types/ReportTransmissionCode.js +41 -0
  405. package/dist/serialization/resources/encounters/resources/v4/types/ReportTypeCode.d.ts +10 -0
  406. package/dist/serialization/resources/encounters/resources/v4/types/ReportTypeCode.js +103 -0
  407. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +3 -0
  408. package/dist/serialization/resources/encounters/resources/v4/types/index.js +3 -0
  409. package/dist/serialization/resources/index.d.ts +1 -0
  410. package/dist/serialization/resources/index.js +2 -1
  411. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfo.d.ts +14 -0
  412. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfo.js +45 -0
  413. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +14 -0
  414. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.js +45 -0
  415. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +2 -0
  416. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +2 -0
  417. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +2 -0
  418. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +2 -0
  419. package/dist/serialization/resources/individual/types/index.d.ts +2 -0
  420. package/dist/serialization/resources/individual/types/index.js +2 -0
  421. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  422. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
  423. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  424. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  425. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  426. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  427. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +16 -0
  428. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +47 -0
  429. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +10 -0
  430. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +45 -0
  431. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  432. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +2 -0
  433. package/dist/serialization/resources/preEncounter/resources/common/types/HumanName.d.ts +1 -0
  434. package/dist/serialization/resources/preEncounter/resources/common/types/HumanName.js +1 -0
  435. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  436. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  437. package/dist/serialization/resources/preEncounter/resources/images/index.d.ts +1 -0
  438. package/dist/serialization/resources/preEncounter/resources/images/index.js +17 -0
  439. package/dist/serialization/resources/preEncounter/resources/images/resources/index.d.ts +1 -0
  440. package/dist/serialization/resources/preEncounter/resources/images/resources/index.js +37 -0
  441. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/create.d.ts +15 -0
  442. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/create.js +71 -0
  443. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/deactivate.d.ts +20 -0
  444. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/deactivate.js +77 -0
  445. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/get.d.ts +15 -0
  446. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/get.js +71 -0
  447. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/getMulti.d.ts +11 -0
  448. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/getMulti.js +42 -0
  449. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +5 -0
  450. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/index.js +41 -0
  451. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/update.d.ts +20 -0
  452. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/update.js +77 -0
  453. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/index.d.ts +2 -0
  454. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/index.js +18 -0
  455. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.d.ts +15 -0
  456. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.js +46 -0
  457. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.d.ts +10 -0
  458. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.js +41 -0
  459. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +16 -0
  460. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/Image.js +50 -0
  461. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageId.d.ts +10 -0
  462. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageId.js +45 -0
  463. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.d.ts +10 -0
  464. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.js +41 -0
  465. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/MutableImage.d.ts +20 -0
  466. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/MutableImage.js +51 -0
  467. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.d.ts +14 -0
  468. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.js +45 -0
  469. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/index.d.ts +7 -0
  470. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/index.js +23 -0
  471. package/dist/serialization/resources/preEncounter/resources/index.d.ts +1 -0
  472. package/dist/serialization/resources/preEncounter/resources/index.js +2 -1
  473. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  474. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  475. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.d.ts +11 -0
  476. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.js +42 -0
  477. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +1 -0
  478. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js +1 -0
  479. package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +1 -1
  480. package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +1 -1
  481. package/dist/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.d.ts +24 -0
  482. package/dist/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.js +55 -0
  483. package/dist/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.d.ts +20 -0
  484. package/dist/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.js +51 -0
  485. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +5 -1
  486. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -0
  487. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +5 -1
  488. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -0
  489. package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
  490. package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +2 -0
  491. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  492. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +114 -0
  493. package/dist/version.d.ts +1 -1
  494. package/dist/version.js +1 -1
  495. package/package.json +1 -1
  496. package/reference.md +689 -78
  497. package/serialization/resources/clinicalTrials/index.d.ts +1 -0
  498. package/serialization/resources/clinicalTrials/index.js +17 -0
  499. package/serialization/resources/clinicalTrials/resources/index.d.ts +1 -0
  500. package/serialization/resources/clinicalTrials/resources/index.js +37 -0
  501. package/serialization/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  502. package/serialization/resources/clinicalTrials/resources/v1/index.js +17 -0
  503. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +17 -0
  504. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +50 -0
  505. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +10 -0
  506. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +41 -0
  507. package/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +15 -0
  508. package/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +46 -0
  509. package/serialization/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  510. package/serialization/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  511. package/serialization/resources/commons/types/AdjustmentId.d.ts +10 -0
  512. package/serialization/resources/commons/types/AdjustmentId.js +45 -0
  513. package/serialization/resources/commons/types/ClinicalTrialId.d.ts +10 -0
  514. package/serialization/resources/commons/types/ClinicalTrialId.js +45 -0
  515. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  516. package/serialization/resources/commons/types/ProcedureModifier.js +4 -0
  517. package/serialization/resources/commons/types/index.d.ts +2 -0
  518. package/serialization/resources/commons/types/index.js +2 -0
  519. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
  520. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
  521. package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +16 -0
  522. package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.js +47 -0
  523. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -0
  524. package/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -0
  525. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
  526. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +2 -0
  527. package/serialization/resources/encounters/resources/v4/types/ReportTransmissionCode.d.ts +10 -0
  528. package/serialization/resources/encounters/resources/v4/types/ReportTransmissionCode.js +41 -0
  529. package/serialization/resources/encounters/resources/v4/types/ReportTypeCode.d.ts +10 -0
  530. package/serialization/resources/encounters/resources/v4/types/ReportTypeCode.js +103 -0
  531. package/serialization/resources/encounters/resources/v4/types/index.d.ts +3 -0
  532. package/serialization/resources/encounters/resources/v4/types/index.js +3 -0
  533. package/serialization/resources/index.d.ts +1 -0
  534. package/serialization/resources/index.js +2 -1
  535. package/serialization/resources/individual/types/PatientClinicalTrialInfo.d.ts +14 -0
  536. package/serialization/resources/individual/types/PatientClinicalTrialInfo.js +45 -0
  537. package/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +14 -0
  538. package/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.js +45 -0
  539. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +2 -0
  540. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +2 -0
  541. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +2 -0
  542. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +2 -0
  543. package/serialization/resources/individual/types/index.d.ts +2 -0
  544. package/serialization/resources/individual/types/index.js +2 -0
  545. package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  546. package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
  547. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  548. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  549. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  550. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  551. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +16 -0
  552. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +47 -0
  553. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +10 -0
  554. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +45 -0
  555. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  556. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +2 -0
  557. package/serialization/resources/preEncounter/resources/common/types/HumanName.d.ts +1 -0
  558. package/serialization/resources/preEncounter/resources/common/types/HumanName.js +1 -0
  559. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  560. package/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  561. package/serialization/resources/preEncounter/resources/images/index.d.ts +1 -0
  562. package/serialization/resources/preEncounter/resources/images/index.js +17 -0
  563. package/serialization/resources/preEncounter/resources/images/resources/index.d.ts +1 -0
  564. package/serialization/resources/preEncounter/resources/images/resources/index.js +37 -0
  565. package/serialization/resources/preEncounter/resources/images/resources/v1/client/create.d.ts +15 -0
  566. package/serialization/resources/preEncounter/resources/images/resources/v1/client/create.js +71 -0
  567. package/serialization/resources/preEncounter/resources/images/resources/v1/client/deactivate.d.ts +20 -0
  568. package/serialization/resources/preEncounter/resources/images/resources/v1/client/deactivate.js +77 -0
  569. package/serialization/resources/preEncounter/resources/images/resources/v1/client/get.d.ts +15 -0
  570. package/serialization/resources/preEncounter/resources/images/resources/v1/client/get.js +71 -0
  571. package/serialization/resources/preEncounter/resources/images/resources/v1/client/getMulti.d.ts +11 -0
  572. package/serialization/resources/preEncounter/resources/images/resources/v1/client/getMulti.js +42 -0
  573. package/serialization/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +5 -0
  574. package/serialization/resources/preEncounter/resources/images/resources/v1/client/index.js +41 -0
  575. package/serialization/resources/preEncounter/resources/images/resources/v1/client/update.d.ts +20 -0
  576. package/serialization/resources/preEncounter/resources/images/resources/v1/client/update.js +77 -0
  577. package/serialization/resources/preEncounter/resources/images/resources/v1/index.d.ts +2 -0
  578. package/serialization/resources/preEncounter/resources/images/resources/v1/index.js +18 -0
  579. package/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.d.ts +15 -0
  580. package/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.js +46 -0
  581. package/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.d.ts +10 -0
  582. package/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.js +41 -0
  583. package/serialization/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +16 -0
  584. package/serialization/resources/preEncounter/resources/images/resources/v1/types/Image.js +50 -0
  585. package/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageId.d.ts +10 -0
  586. package/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageId.js +45 -0
  587. package/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.d.ts +10 -0
  588. package/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.js +41 -0
  589. package/serialization/resources/preEncounter/resources/images/resources/v1/types/MutableImage.d.ts +20 -0
  590. package/serialization/resources/preEncounter/resources/images/resources/v1/types/MutableImage.js +51 -0
  591. package/serialization/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.d.ts +14 -0
  592. package/serialization/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.js +45 -0
  593. package/serialization/resources/preEncounter/resources/images/resources/v1/types/index.d.ts +7 -0
  594. package/serialization/resources/preEncounter/resources/images/resources/v1/types/index.js +23 -0
  595. package/serialization/resources/preEncounter/resources/index.d.ts +1 -0
  596. package/serialization/resources/preEncounter/resources/index.js +2 -1
  597. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  598. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  599. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.d.ts +11 -0
  600. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.js +42 -0
  601. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +1 -0
  602. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js +1 -0
  603. package/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +1 -1
  604. package/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +1 -1
  605. package/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.d.ts +24 -0
  606. package/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.js +55 -0
  607. package/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.d.ts +20 -0
  608. package/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.js +51 -0
  609. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +5 -1
  610. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -0
  611. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +5 -1
  612. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -0
  613. package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
  614. package/serialization/resources/writeOffs/resources/v1/types/index.js +2 -0
  615. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  616. package/serialization/resources/x12/resources/v1/types/Rarc.js +114 -0
  617. package/version.d.ts +1 -1
  618. package/version.js +1 -1
@@ -73,7 +73,7 @@ class V1 {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}`),
75
75
  method: "GET",
76
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -116,7 +116,7 @@ class V1 {
116
116
  const _response = yield core.fetcher({
117
117
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/notes/v1"),
118
118
  method: "POST",
119
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
119
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
120
120
  contentType: "application/json",
121
121
  requestType: "json",
122
122
  body: serializers.preEncounter.notes.v1.MutableNote.jsonOrThrow(request, {
@@ -164,7 +164,7 @@ class V1 {
164
164
  const _response = yield core.fetcher({
165
165
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
166
166
  method: "PUT",
167
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
168
168
  contentType: "application/json",
169
169
  requestType: "json",
170
170
  body: serializers.preEncounter.notes.v1.MutableNote.jsonOrThrow(request, {
@@ -207,7 +207,7 @@ class V1 {
207
207
  const _response = yield core.fetcher({
208
208
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
209
209
  method: "DELETE",
210
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
210
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
211
211
  contentType: "application/json",
212
212
  requestType: "json",
213
213
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -39,13 +39,15 @@ export declare class V1 {
39
39
  * family: "string",
40
40
  * given: ["string"],
41
41
  * use: "USUAL",
42
- * period: {}
42
+ * period: {},
43
+ * suffix: "string"
43
44
  * },
44
45
  * otherNames: [{
45
46
  * family: "string",
46
47
  * given: ["string"],
47
48
  * use: "USUAL",
48
- * period: {}
49
+ * period: {},
50
+ * suffix: "string"
49
51
  * }],
50
52
  * otherIdentifiers: [{
51
53
  * value: "string",
@@ -102,7 +104,8 @@ export declare class V1 {
102
104
  * family: "string",
103
105
  * given: ["string"],
104
106
  * use: "USUAL",
105
- * period: {}
107
+ * period: {},
108
+ * suffix: "string"
106
109
  * },
107
110
  * telecoms: [{
108
111
  * value: "string",
@@ -125,7 +128,8 @@ export declare class V1 {
125
128
  * family: "string",
126
129
  * given: ["string"],
127
130
  * use: "USUAL",
128
- * period: {}
131
+ * period: {},
132
+ * suffix: "string"
129
133
  * },
130
134
  * type: "PRIMARY",
131
135
  * npi: "string",
@@ -150,7 +154,8 @@ export declare class V1 {
150
154
  * family: "string",
151
155
  * given: ["string"],
152
156
  * use: "USUAL",
153
- * period: {}
157
+ * period: {},
158
+ * suffix: "string"
154
159
  * },
155
160
  * telecom: {
156
161
  * value: "string",
@@ -175,6 +180,7 @@ export declare class V1 {
175
180
  * additionalPayerInformation: {},
176
181
  * authorizationNumber: "string",
177
182
  * cptCode: "string",
183
+ * applyForAllCptCodes: true,
178
184
  * units: "VISIT",
179
185
  * quantity: 1,
180
186
  * period: {},
@@ -186,7 +192,8 @@ export declare class V1 {
186
192
  * family: "string",
187
193
  * given: ["string"],
188
194
  * use: "USUAL",
189
- * period: {}
195
+ * period: {},
196
+ * suffix: "string"
190
197
  * },
191
198
  * type: "PRIMARY",
192
199
  * npi: "string",
@@ -224,13 +231,15 @@ export declare class V1 {
224
231
  * family: "string",
225
232
  * given: ["string"],
226
233
  * use: "USUAL",
227
- * period: {}
234
+ * period: {},
235
+ * suffix: "string"
228
236
  * },
229
237
  * otherNames: [{
230
238
  * family: "string",
231
239
  * given: ["string"],
232
240
  * use: "USUAL",
233
- * period: {}
241
+ * period: {},
242
+ * suffix: "string"
234
243
  * }],
235
244
  * otherIdentifiers: [{
236
245
  * value: "string",
@@ -287,7 +296,8 @@ export declare class V1 {
287
296
  * family: "string",
288
297
  * given: ["string"],
289
298
  * use: "USUAL",
290
- * period: {}
299
+ * period: {},
300
+ * suffix: "string"
291
301
  * },
292
302
  * telecoms: [{
293
303
  * value: "string",
@@ -310,7 +320,8 @@ export declare class V1 {
310
320
  * family: "string",
311
321
  * given: ["string"],
312
322
  * use: "USUAL",
313
- * period: {}
323
+ * period: {},
324
+ * suffix: "string"
314
325
  * },
315
326
  * type: "PRIMARY",
316
327
  * npi: "string",
@@ -335,7 +346,8 @@ export declare class V1 {
335
346
  * family: "string",
336
347
  * given: ["string"],
337
348
  * use: "USUAL",
338
- * period: {}
349
+ * period: {},
350
+ * suffix: "string"
339
351
  * },
340
352
  * telecom: {
341
353
  * value: "string",
@@ -360,6 +372,7 @@ export declare class V1 {
360
372
  * additionalPayerInformation: {},
361
373
  * authorizationNumber: "string",
362
374
  * cptCode: "string",
375
+ * applyForAllCptCodes: true,
363
376
  * units: "VISIT",
364
377
  * quantity: 1,
365
378
  * period: {},
@@ -371,7 +384,8 @@ export declare class V1 {
371
384
  * family: "string",
372
385
  * given: ["string"],
373
386
  * use: "USUAL",
374
- * period: {}
387
+ * period: {},
388
+ * suffix: "string"
375
389
  * },
376
390
  * type: "PRIMARY",
377
391
  * npi: "string",
@@ -410,6 +424,18 @@ export declare class V1 {
410
424
  * })
411
425
  */
412
426
  getMulti(request?: CandidApi.preEncounter.patients.v1.PatientsSearchRequestPaginated, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.PatientPage, CandidApi.preEncounter.patients.v1.getMulti.Error>>;
427
+ /**
428
+ * 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.
429
+ *
430
+ * @param {CandidApi.preEncounter.patients.v1.SearchProvidersRequest} request
431
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
432
+ *
433
+ * @example
434
+ * await client.preEncounter.patients.v1.searchProviders({
435
+ * searchCriteria: "string"
436
+ * })
437
+ */
438
+ searchProviders(request: CandidApi.preEncounter.patients.v1.SearchProvidersRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.ExternalProvider[], CandidApi.preEncounter.patients.v1.searchProviders.Error>>;
413
439
  /**
414
440
  * Gets a patient.
415
441
  *
@@ -444,13 +470,15 @@ export declare class V1 {
444
470
  * family: "string",
445
471
  * given: ["string"],
446
472
  * use: "USUAL",
447
- * period: {}
473
+ * period: {},
474
+ * suffix: "string"
448
475
  * },
449
476
  * otherNames: [{
450
477
  * family: "string",
451
478
  * given: ["string"],
452
479
  * use: "USUAL",
453
- * period: {}
480
+ * period: {},
481
+ * suffix: "string"
454
482
  * }],
455
483
  * otherIdentifiers: [{
456
484
  * value: "string",
@@ -507,7 +535,8 @@ export declare class V1 {
507
535
  * family: "string",
508
536
  * given: ["string"],
509
537
  * use: "USUAL",
510
- * period: {}
538
+ * period: {},
539
+ * suffix: "string"
511
540
  * },
512
541
  * telecoms: [{
513
542
  * value: "string",
@@ -530,7 +559,8 @@ export declare class V1 {
530
559
  * family: "string",
531
560
  * given: ["string"],
532
561
  * use: "USUAL",
533
- * period: {}
562
+ * period: {},
563
+ * suffix: "string"
534
564
  * },
535
565
  * type: "PRIMARY",
536
566
  * npi: "string",
@@ -555,7 +585,8 @@ export declare class V1 {
555
585
  * family: "string",
556
586
  * given: ["string"],
557
587
  * use: "USUAL",
558
- * period: {}
588
+ * period: {},
589
+ * suffix: "string"
559
590
  * },
560
591
  * telecom: {
561
592
  * value: "string",
@@ -580,6 +611,7 @@ export declare class V1 {
580
611
  * additionalPayerInformation: {},
581
612
  * authorizationNumber: "string",
582
613
  * cptCode: "string",
614
+ * applyForAllCptCodes: true,
583
615
  * units: "VISIT",
584
616
  * quantity: 1,
585
617
  * period: {},
@@ -591,7 +623,8 @@ export declare class V1 {
591
623
  * family: "string",
592
624
  * given: ["string"],
593
625
  * use: "USUAL",
594
- * period: {}
626
+ * period: {},
627
+ * suffix: "string"
595
628
  * },
596
629
  * type: "PRIMARY",
597
630
  * npi: "string",
@@ -72,13 +72,15 @@ class V1 {
72
72
  * family: "string",
73
73
  * given: ["string"],
74
74
  * use: "USUAL",
75
- * period: {}
75
+ * period: {},
76
+ * suffix: "string"
76
77
  * },
77
78
  * otherNames: [{
78
79
  * family: "string",
79
80
  * given: ["string"],
80
81
  * use: "USUAL",
81
- * period: {}
82
+ * period: {},
83
+ * suffix: "string"
82
84
  * }],
83
85
  * otherIdentifiers: [{
84
86
  * value: "string",
@@ -135,7 +137,8 @@ class V1 {
135
137
  * family: "string",
136
138
  * given: ["string"],
137
139
  * use: "USUAL",
138
- * period: {}
140
+ * period: {},
141
+ * suffix: "string"
139
142
  * },
140
143
  * telecoms: [{
141
144
  * value: "string",
@@ -158,7 +161,8 @@ class V1 {
158
161
  * family: "string",
159
162
  * given: ["string"],
160
163
  * use: "USUAL",
161
- * period: {}
164
+ * period: {},
165
+ * suffix: "string"
162
166
  * },
163
167
  * type: "PRIMARY",
164
168
  * npi: "string",
@@ -183,7 +187,8 @@ class V1 {
183
187
  * family: "string",
184
188
  * given: ["string"],
185
189
  * use: "USUAL",
186
- * period: {}
190
+ * period: {},
191
+ * suffix: "string"
187
192
  * },
188
193
  * telecom: {
189
194
  * value: "string",
@@ -208,6 +213,7 @@ class V1 {
208
213
  * additionalPayerInformation: {},
209
214
  * authorizationNumber: "string",
210
215
  * cptCode: "string",
216
+ * applyForAllCptCodes: true,
211
217
  * units: "VISIT",
212
218
  * quantity: 1,
213
219
  * period: {},
@@ -219,7 +225,8 @@ class V1 {
219
225
  * family: "string",
220
226
  * given: ["string"],
221
227
  * use: "USUAL",
222
- * period: {}
228
+ * period: {},
229
+ * suffix: "string"
223
230
  * },
224
231
  * type: "PRIMARY",
225
232
  * npi: "string",
@@ -252,7 +259,7 @@ class V1 {
252
259
  const _response = yield core.fetcher({
253
260
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1"),
254
261
  method: "POST",
255
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
262
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
256
263
  contentType: "application/json",
257
264
  queryParameters: _queryParams,
258
265
  requestType: "json",
@@ -309,13 +316,15 @@ class V1 {
309
316
  * family: "string",
310
317
  * given: ["string"],
311
318
  * use: "USUAL",
312
- * period: {}
319
+ * period: {},
320
+ * suffix: "string"
313
321
  * },
314
322
  * otherNames: [{
315
323
  * family: "string",
316
324
  * given: ["string"],
317
325
  * use: "USUAL",
318
- * period: {}
326
+ * period: {},
327
+ * suffix: "string"
319
328
  * }],
320
329
  * otherIdentifiers: [{
321
330
  * value: "string",
@@ -372,7 +381,8 @@ class V1 {
372
381
  * family: "string",
373
382
  * given: ["string"],
374
383
  * use: "USUAL",
375
- * period: {}
384
+ * period: {},
385
+ * suffix: "string"
376
386
  * },
377
387
  * telecoms: [{
378
388
  * value: "string",
@@ -395,7 +405,8 @@ class V1 {
395
405
  * family: "string",
396
406
  * given: ["string"],
397
407
  * use: "USUAL",
398
- * period: {}
408
+ * period: {},
409
+ * suffix: "string"
399
410
  * },
400
411
  * type: "PRIMARY",
401
412
  * npi: "string",
@@ -420,7 +431,8 @@ class V1 {
420
431
  * family: "string",
421
432
  * given: ["string"],
422
433
  * use: "USUAL",
423
- * period: {}
434
+ * period: {},
435
+ * suffix: "string"
424
436
  * },
425
437
  * telecom: {
426
438
  * value: "string",
@@ -445,6 +457,7 @@ class V1 {
445
457
  * additionalPayerInformation: {},
446
458
  * authorizationNumber: "string",
447
459
  * cptCode: "string",
460
+ * applyForAllCptCodes: true,
448
461
  * units: "VISIT",
449
462
  * quantity: 1,
450
463
  * period: {},
@@ -456,7 +469,8 @@ class V1 {
456
469
  * family: "string",
457
470
  * given: ["string"],
458
471
  * use: "USUAL",
459
- * period: {}
472
+ * period: {},
473
+ * suffix: "string"
460
474
  * },
461
475
  * type: "PRIMARY",
462
476
  * npi: "string",
@@ -489,7 +503,7 @@ class V1 {
489
503
  const _response = yield core.fetcher({
490
504
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/with_mrn"),
491
505
  method: "POST",
492
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
506
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
493
507
  contentType: "application/json",
494
508
  queryParameters: _queryParams,
495
509
  requestType: "json",
@@ -572,7 +586,7 @@ class V1 {
572
586
  const _response = yield core.fetcher({
573
587
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/get_multi"),
574
588
  method: "GET",
575
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
589
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
576
590
  contentType: "application/json",
577
591
  queryParameters: _queryParams,
578
592
  requestType: "json",
@@ -597,6 +611,51 @@ class V1 {
597
611
  };
598
612
  });
599
613
  }
614
+ /**
615
+ * 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.
616
+ *
617
+ * @param {CandidApi.preEncounter.patients.v1.SearchProvidersRequest} request
618
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
619
+ *
620
+ * @example
621
+ * await client.preEncounter.patients.v1.searchProviders({
622
+ * searchCriteria: "string"
623
+ * })
624
+ */
625
+ searchProviders(request, requestOptions) {
626
+ return __awaiter(this, void 0, void 0, function* () {
627
+ var _a, _b;
628
+ const { searchCriteria } = request;
629
+ const _queryParams = {};
630
+ _queryParams["search_criteria"] = searchCriteria;
631
+ const _response = yield core.fetcher({
632
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/search_providers"),
633
+ method: "GET",
634
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
635
+ contentType: "application/json",
636
+ queryParameters: _queryParams,
637
+ requestType: "json",
638
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
639
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
640
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
641
+ });
642
+ if (_response.ok) {
643
+ return {
644
+ ok: true,
645
+ body: serializers.preEncounter.patients.v1.searchProviders.Response.parseOrThrow(_response.body, {
646
+ unrecognizedObjectKeys: "passthrough",
647
+ allowUnrecognizedUnionMembers: true,
648
+ allowUnrecognizedEnumValues: true,
649
+ breadcrumbsPrefix: ["response"],
650
+ }),
651
+ };
652
+ }
653
+ return {
654
+ ok: false,
655
+ error: CandidApi.preEncounter.patients.v1.searchProviders.Error._unknown(_response.error),
656
+ };
657
+ });
658
+ }
600
659
  /**
601
660
  * Gets a patient.
602
661
  *
@@ -612,7 +671,7 @@ class V1 {
612
671
  const _response = yield core.fetcher({
613
672
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}`),
614
673
  method: "GET",
615
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
674
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
616
675
  contentType: "application/json",
617
676
  requestType: "json",
618
677
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -665,7 +724,7 @@ class V1 {
665
724
  const _response = yield core.fetcher({
666
725
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/history`),
667
726
  method: "GET",
668
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
727
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
669
728
  contentType: "application/json",
670
729
  requestType: "json",
671
730
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -717,13 +776,15 @@ class V1 {
717
776
  * family: "string",
718
777
  * given: ["string"],
719
778
  * use: "USUAL",
720
- * period: {}
779
+ * period: {},
780
+ * suffix: "string"
721
781
  * },
722
782
  * otherNames: [{
723
783
  * family: "string",
724
784
  * given: ["string"],
725
785
  * use: "USUAL",
726
- * period: {}
786
+ * period: {},
787
+ * suffix: "string"
727
788
  * }],
728
789
  * otherIdentifiers: [{
729
790
  * value: "string",
@@ -780,7 +841,8 @@ class V1 {
780
841
  * family: "string",
781
842
  * given: ["string"],
782
843
  * use: "USUAL",
783
- * period: {}
844
+ * period: {},
845
+ * suffix: "string"
784
846
  * },
785
847
  * telecoms: [{
786
848
  * value: "string",
@@ -803,7 +865,8 @@ class V1 {
803
865
  * family: "string",
804
866
  * given: ["string"],
805
867
  * use: "USUAL",
806
- * period: {}
868
+ * period: {},
869
+ * suffix: "string"
807
870
  * },
808
871
  * type: "PRIMARY",
809
872
  * npi: "string",
@@ -828,7 +891,8 @@ class V1 {
828
891
  * family: "string",
829
892
  * given: ["string"],
830
893
  * use: "USUAL",
831
- * period: {}
894
+ * period: {},
895
+ * suffix: "string"
832
896
  * },
833
897
  * telecom: {
834
898
  * value: "string",
@@ -853,6 +917,7 @@ class V1 {
853
917
  * additionalPayerInformation: {},
854
918
  * authorizationNumber: "string",
855
919
  * cptCode: "string",
920
+ * applyForAllCptCodes: true,
856
921
  * units: "VISIT",
857
922
  * quantity: 1,
858
923
  * period: {},
@@ -864,7 +929,8 @@ class V1 {
864
929
  * family: "string",
865
930
  * given: ["string"],
866
931
  * use: "USUAL",
867
- * period: {}
932
+ * period: {},
933
+ * suffix: "string"
868
934
  * },
869
935
  * type: "PRIMARY",
870
936
  * npi: "string",
@@ -891,7 +957,7 @@ class V1 {
891
957
  const _response = yield core.fetcher({
892
958
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
893
959
  method: "PUT",
894
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
960
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
895
961
  contentType: "application/json",
896
962
  requestType: "json",
897
963
  body: serializers.preEncounter.patients.v1.MutablePatient.jsonOrThrow(request, {
@@ -949,7 +1015,7 @@ class V1 {
949
1015
  const _response = yield core.fetcher({
950
1016
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
951
1017
  method: "DELETE",
952
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1018
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
953
1019
  contentType: "application/json",
954
1020
  requestType: "json",
955
1021
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -999,7 +1065,7 @@ class V1 {
999
1065
  const _response = yield core.fetcher({
1000
1066
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
1001
1067
  method: "PATCH",
1002
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1068
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1003
1069
  contentType: "application/json",
1004
1070
  requestType: "json",
1005
1071
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1059,7 +1125,7 @@ class V1 {
1059
1125
  const _response = yield core.fetcher({
1060
1126
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1"),
1061
1127
  method: "GET",
1062
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1128
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1063
1129
  contentType: "application/json",
1064
1130
  queryParameters: _queryParams,
1065
1131
  requestType: "json",
@@ -1104,7 +1170,7 @@ class V1 {
1104
1170
  const _response = yield core.fetcher({
1105
1171
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/updates/scan"),
1106
1172
  method: "GET",
1107
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1173
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1108
1174
  contentType: "application/json",
1109
1175
  queryParameters: _queryParams,
1110
1176
  requestType: "json",
@@ -2,6 +2,7 @@ export * from "./requests";
2
2
  export * as create from "./create";
3
3
  export * as createWithMrn from "./createWithMrn";
4
4
  export * as getMulti from "./getMulti";
5
+ export * as searchProviders from "./searchProviders";
5
6
  export * as get from "./get";
6
7
  export * as getHistory from "./getHistory";
7
8
  export * as update from "./update";
@@ -36,11 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.scan = exports.search = exports.reactivate = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.getMulti = exports.createWithMrn = exports.create = void 0;
39
+ exports.scan = exports.search = exports.reactivate = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.searchProviders = exports.getMulti = exports.createWithMrn = exports.create = void 0;
40
40
  __exportStar(require("./requests"), exports);
41
41
  exports.create = __importStar(require("./create"));
42
42
  exports.createWithMrn = __importStar(require("./createWithMrn"));
43
43
  exports.getMulti = __importStar(require("./getMulti"));
44
+ exports.searchProviders = __importStar(require("./searchProviders"));
44
45
  exports.get = __importStar(require("./get"));
45
46
  exports.getHistory = __importStar(require("./getHistory"));
46
47
  exports.update = __importStar(require("./update"));