candidhealth 0.34.5 → 0.34.9

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 (346) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +7 -2
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  5. package/api/resources/claims/types/Claim.d.ts +4 -4
  6. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  7. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  8. package/api/resources/diagnoses/client/Client.d.ts +65 -0
  9. package/api/resources/diagnoses/client/Client.js +237 -0
  10. package/api/resources/diagnoses/client/create.d.ts +22 -0
  11. package/api/resources/diagnoses/client/create.js +47 -0
  12. package/api/resources/diagnoses/client/delete.d.ts +28 -0
  13. package/api/resources/diagnoses/client/delete.js +58 -0
  14. package/api/resources/diagnoses/client/index.d.ts +4 -0
  15. package/api/resources/diagnoses/client/index.js +33 -0
  16. package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +33 -0
  17. package/api/resources/diagnoses/client/requests/DiagnosisUpdate.js +5 -0
  18. package/api/resources/diagnoses/client/requests/index.d.ts +1 -0
  19. package/api/resources/diagnoses/client/requests/index.js +2 -0
  20. package/api/resources/diagnoses/client/update.d.ts +28 -0
  21. package/api/resources/diagnoses/client/update.js +58 -0
  22. package/api/resources/diagnoses/index.d.ts +1 -0
  23. package/api/resources/diagnoses/index.js +1 -0
  24. package/api/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +8 -0
  25. package/api/resources/diagnoses/types/DiagnosisNotFoundError.js +5 -0
  26. package/api/resources/diagnoses/types/index.d.ts +1 -0
  27. package/api/resources/diagnoses/types/index.js +1 -0
  28. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  29. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  30. package/api/resources/encounters/resources/v4/client/Client.d.ts +27 -14
  31. package/api/resources/encounters/resources/v4/client/Client.js +32 -19
  32. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +12 -6
  33. package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +8 -6
  34. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +12 -2
  35. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +14 -4
  36. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -0
  37. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -4
  38. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  39. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  40. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  41. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  42. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  43. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  44. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  45. package/api/resources/index.d.ts +1 -0
  46. package/api/resources/index.js +1 -0
  47. package/api/resources/individual/types/Patient.d.ts +11 -0
  48. package/api/resources/individual/types/PatientCreate.d.ts +1 -0
  49. package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +21 -0
  50. package/api/resources/individual/types/PatientNonInsurancePayerInfo.js +5 -0
  51. package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +8 -0
  52. package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +5 -0
  53. package/api/resources/individual/types/PatientUpdate.d.ts +2 -0
  54. package/api/resources/individual/types/index.d.ts +2 -0
  55. package/api/resources/individual/types/index.js +2 -0
  56. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  57. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  58. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  59. package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +2 -1
  60. package/api/resources/medicationDispense/resources/v1/client/Client.js +3 -2
  61. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  62. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  63. package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +12 -1
  64. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +18 -7
  65. package/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  66. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +14 -0
  67. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +5 -0
  68. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +1 -0
  69. package/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  70. package/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  71. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  72. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  73. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  74. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  75. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  76. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  77. package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +8 -0
  78. package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +5 -0
  79. package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  80. package/api/resources/preEncounter/resources/common/types/index.js +1 -0
  81. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +34 -2
  82. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +42 -10
  83. package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -0
  84. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  85. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +16 -2
  86. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +24 -10
  87. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +8 -1
  88. package/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  89. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  90. package/api/resources/serviceFacility/client/Client.js +1 -1
  91. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +21 -6
  92. package/api/resources/serviceLines/resources/v2/client/Client.js +24 -9
  93. package/api/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
  94. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -6
  95. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
  96. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +3 -0
  97. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -2
  98. package/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +3 -10
  99. package/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +8 -0
  100. package/api/resources/serviceLines/resources/v2/types/TestResultType.js +10 -0
  101. package/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  102. package/api/resources/serviceLines/resources/v2/types/index.js +1 -0
  103. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  104. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  105. package/dist/Client.d.ts +3 -0
  106. package/dist/Client.js +7 -2
  107. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  108. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  109. package/dist/api/resources/claims/types/Claim.d.ts +4 -4
  110. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  111. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  112. package/dist/api/resources/diagnoses/client/Client.d.ts +65 -0
  113. package/dist/api/resources/diagnoses/client/Client.js +237 -0
  114. package/dist/api/resources/diagnoses/client/create.d.ts +22 -0
  115. package/dist/api/resources/diagnoses/client/create.js +47 -0
  116. package/dist/api/resources/diagnoses/client/delete.d.ts +28 -0
  117. package/dist/api/resources/diagnoses/client/delete.js +58 -0
  118. package/dist/api/resources/diagnoses/client/index.d.ts +4 -0
  119. package/dist/api/resources/diagnoses/client/index.js +33 -0
  120. package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +33 -0
  121. package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.js +5 -0
  122. package/dist/api/resources/diagnoses/client/requests/index.d.ts +1 -0
  123. package/dist/api/resources/diagnoses/client/requests/index.js +2 -0
  124. package/dist/api/resources/diagnoses/client/update.d.ts +28 -0
  125. package/dist/api/resources/diagnoses/client/update.js +58 -0
  126. package/dist/api/resources/diagnoses/index.d.ts +1 -0
  127. package/dist/api/resources/diagnoses/index.js +1 -0
  128. package/dist/api/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +8 -0
  129. package/dist/api/resources/diagnoses/types/DiagnosisNotFoundError.js +5 -0
  130. package/dist/api/resources/diagnoses/types/index.d.ts +1 -0
  131. package/dist/api/resources/diagnoses/types/index.js +1 -0
  132. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  133. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  134. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +27 -14
  135. package/dist/api/resources/encounters/resources/v4/client/Client.js +32 -19
  136. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +12 -6
  137. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +8 -6
  138. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +12 -2
  139. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +14 -4
  140. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -0
  141. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -4
  142. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  143. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  144. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  145. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  146. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  147. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  148. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  149. package/dist/api/resources/index.d.ts +1 -0
  150. package/dist/api/resources/index.js +1 -0
  151. package/dist/api/resources/individual/types/Patient.d.ts +11 -0
  152. package/dist/api/resources/individual/types/PatientCreate.d.ts +1 -0
  153. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +21 -0
  154. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.js +5 -0
  155. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +8 -0
  156. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +5 -0
  157. package/dist/api/resources/individual/types/PatientUpdate.d.ts +2 -0
  158. package/dist/api/resources/individual/types/index.d.ts +2 -0
  159. package/dist/api/resources/individual/types/index.js +2 -0
  160. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  161. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  162. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  163. package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +2 -1
  164. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +3 -2
  165. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  166. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  167. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +12 -1
  168. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +18 -7
  169. package/dist/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  170. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +14 -0
  171. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +5 -0
  172. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +1 -0
  173. package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  174. package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  175. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  176. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  177. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  178. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  179. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  180. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  181. package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +8 -0
  182. package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +5 -0
  183. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  184. package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -0
  185. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +34 -2
  186. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +42 -10
  187. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -0
  188. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  189. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +16 -2
  190. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +24 -10
  191. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +8 -1
  192. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  193. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  194. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  195. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +21 -6
  196. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +24 -9
  197. package/dist/api/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
  198. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -6
  199. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
  200. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +3 -0
  201. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -2
  202. package/dist/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +3 -10
  203. package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +8 -0
  204. package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.js +10 -0
  205. package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  206. package/dist/api/resources/serviceLines/resources/v2/types/index.js +1 -0
  207. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  208. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  209. package/dist/serialization/resources/diagnoses/client/delete.d.ts +15 -0
  210. package/dist/serialization/resources/diagnoses/client/delete.js +61 -0
  211. package/dist/serialization/resources/diagnoses/client/index.d.ts +3 -0
  212. package/dist/serialization/resources/diagnoses/client/index.js +32 -0
  213. package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +15 -0
  214. package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +36 -0
  215. package/dist/serialization/resources/diagnoses/client/requests/index.d.ts +1 -0
  216. package/dist/serialization/resources/diagnoses/client/requests/index.js +5 -0
  217. package/dist/serialization/resources/diagnoses/client/update.d.ts +15 -0
  218. package/dist/serialization/resources/diagnoses/client/update.js +61 -0
  219. package/dist/serialization/resources/diagnoses/index.d.ts +1 -0
  220. package/dist/serialization/resources/diagnoses/index.js +1 -0
  221. package/dist/serialization/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +14 -0
  222. package/dist/serialization/resources/diagnoses/types/DiagnosisNotFoundError.js +35 -0
  223. package/dist/serialization/resources/diagnoses/types/index.d.ts +1 -0
  224. package/dist/serialization/resources/diagnoses/types/index.js +1 -0
  225. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  226. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  227. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
  228. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
  229. package/dist/serialization/resources/index.d.ts +1 -0
  230. package/dist/serialization/resources/index.js +1 -0
  231. package/dist/serialization/resources/individual/types/Patient.d.ts +2 -0
  232. package/dist/serialization/resources/individual/types/Patient.js +2 -0
  233. package/dist/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
  234. package/dist/serialization/resources/individual/types/PatientCreate.js +2 -0
  235. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +14 -0
  236. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +35 -0
  237. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +14 -0
  238. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +35 -0
  239. package/dist/serialization/resources/individual/types/PatientUpdate.d.ts +2 -0
  240. package/dist/serialization/resources/individual/types/PatientUpdate.js +2 -0
  241. package/dist/serialization/resources/individual/types/index.d.ts +2 -0
  242. package/dist/serialization/resources/individual/types/index.js +2 -0
  243. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  244. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
  245. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +18 -0
  246. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +42 -0
  247. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +2 -0
  248. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +2 -0
  249. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  250. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  251. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +14 -0
  252. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +35 -0
  253. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  254. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
  255. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -0
  256. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -0
  257. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  258. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
  259. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -0
  260. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -0
  261. package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
  262. package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.js +1 -0
  263. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -1
  264. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -1
  265. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
  266. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -1
  267. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +4 -0
  268. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +4 -0
  269. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -1
  270. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -1
  271. package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +4 -8
  272. package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.js +4 -12
  273. package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +10 -0
  274. package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +31 -0
  275. package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  276. package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
  277. package/package.json +1 -1
  278. package/reference.md +322 -12
  279. package/serialization/resources/diagnoses/client/delete.d.ts +15 -0
  280. package/serialization/resources/diagnoses/client/delete.js +61 -0
  281. package/serialization/resources/diagnoses/client/index.d.ts +3 -0
  282. package/serialization/resources/diagnoses/client/index.js +32 -0
  283. package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +15 -0
  284. package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +36 -0
  285. package/serialization/resources/diagnoses/client/requests/index.d.ts +1 -0
  286. package/serialization/resources/diagnoses/client/requests/index.js +5 -0
  287. package/serialization/resources/diagnoses/client/update.d.ts +15 -0
  288. package/serialization/resources/diagnoses/client/update.js +61 -0
  289. package/serialization/resources/diagnoses/index.d.ts +1 -0
  290. package/serialization/resources/diagnoses/index.js +1 -0
  291. package/serialization/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +14 -0
  292. package/serialization/resources/diagnoses/types/DiagnosisNotFoundError.js +35 -0
  293. package/serialization/resources/diagnoses/types/index.d.ts +1 -0
  294. package/serialization/resources/diagnoses/types/index.js +1 -0
  295. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  296. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  297. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
  298. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
  299. package/serialization/resources/index.d.ts +1 -0
  300. package/serialization/resources/index.js +1 -0
  301. package/serialization/resources/individual/types/Patient.d.ts +2 -0
  302. package/serialization/resources/individual/types/Patient.js +2 -0
  303. package/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
  304. package/serialization/resources/individual/types/PatientCreate.js +2 -0
  305. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +14 -0
  306. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +35 -0
  307. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +14 -0
  308. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +35 -0
  309. package/serialization/resources/individual/types/PatientUpdate.d.ts +2 -0
  310. package/serialization/resources/individual/types/PatientUpdate.js +2 -0
  311. package/serialization/resources/individual/types/index.d.ts +2 -0
  312. package/serialization/resources/individual/types/index.js +2 -0
  313. package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  314. package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
  315. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +18 -0
  316. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +42 -0
  317. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +2 -0
  318. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +2 -0
  319. package/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  320. package/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  321. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +14 -0
  322. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +35 -0
  323. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  324. package/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
  325. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -0
  326. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -0
  327. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  328. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
  329. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -0
  330. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -0
  331. package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
  332. package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.js +1 -0
  333. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -1
  334. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -1
  335. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
  336. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -1
  337. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +4 -0
  338. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +4 -0
  339. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -1
  340. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -1
  341. package/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +4 -8
  342. package/serialization/resources/serviceLines/resources/v2/types/TestResult.js +4 -12
  343. package/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +10 -0
  344. package/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +31 -0
  345. package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  346. package/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Error = void 0;
30
+ const CandidApi = __importStar(require("../../../index"));
31
+ exports.Error = {
32
+ diagnosisNotFoundHttpError: (value) => {
33
+ return {
34
+ content: value,
35
+ errorName: "DiagnosisNotFoundHTTPError",
36
+ _visit: function (visitor) {
37
+ return CandidApi.diagnoses.delete.Error._visit(this, visitor);
38
+ },
39
+ };
40
+ },
41
+ _unknown: (fetcherError) => {
42
+ return {
43
+ errorName: undefined,
44
+ content: fetcherError,
45
+ _visit: function (visitor) {
46
+ return CandidApi.diagnoses.delete.Error._visit(this, visitor);
47
+ },
48
+ };
49
+ },
50
+ _visit: (value, visitor) => {
51
+ switch (value.errorName) {
52
+ case "DiagnosisNotFoundHTTPError":
53
+ return visitor.diagnosisNotFoundHttpError(value.content);
54
+ default:
55
+ return visitor._other(value);
56
+ }
57
+ },
58
+ };
@@ -0,0 +1,4 @@
1
+ export * from "./requests";
2
+ export * as create from "./create";
3
+ export * as update from "./update";
4
+ export * as delete from "./delete";
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.delete = exports.update = exports.create = void 0;
30
+ __exportStar(require("./requests"), exports);
31
+ exports.create = __importStar(require("./create"));
32
+ exports.update = __importStar(require("./update"));
33
+ exports.delete = __importStar(require("./delete"));
@@ -0,0 +1,33 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../index";
5
+ /**
6
+ * @example
7
+ * {
8
+ * name: "string",
9
+ * codeType: CandidApi.DiagnosisTypeCode.Abf,
10
+ * code: "string"
11
+ * }
12
+ */
13
+ export interface DiagnosisUpdate {
14
+ /** Empty string not allowed. */
15
+ name?: string;
16
+ /**
17
+ * Typically, providers submitting claims to Candid are using ICD-10 diagnosis codes. If you are using ICD-10 codes, the primary diagnosis code listed on the claim should use the ABK code_type. If more than one diagnosis is being submitted on a claim, please use ABF for the rest of the listed diagnoses. If you are using ICD-9 diagnosis codes, use BK and BF for the principal and following diagnosis code(s) respectively.
18
+ *
19
+ */
20
+ codeType?: CandidApi.DiagnosisTypeCode;
21
+ /**
22
+ * Empty string not allowed.
23
+ * Should be of the appropriate format for the provided `code_type`.
24
+ * Must obey the ICD-10 format if an ICD-10 code_type is provided, specifically:
25
+ * - Letter
26
+ * - Digit
27
+ * - Digit or the letter `A` or `B`
28
+ * - (Optional) Period `.`
29
+ * - Up to 4 (or as few as 0) letters and digits
30
+ *
31
+ */
32
+ code?: string;
33
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { type DiagnosisUpdate } from "./DiagnosisUpdate";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,28 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../index";
5
+ import * as core from "../../../../core";
6
+ export declare type Error = CandidApi.diagnoses.update.Error.DiagnosisNotFoundHttpError | CandidApi.diagnoses.update.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface DiagnosisNotFoundHttpError extends _Utils {
9
+ errorName: "DiagnosisNotFoundHTTPError";
10
+ content: CandidApi.DiagnosisNotFoundError;
11
+ }
12
+ interface _Unknown extends _Utils {
13
+ errorName: void;
14
+ content: core.Fetcher.Error;
15
+ }
16
+ interface _Utils {
17
+ _visit: <_Result>(visitor: CandidApi.diagnoses.update.Error._Visitor<_Result>) => _Result;
18
+ }
19
+ interface _Visitor<_Result> {
20
+ diagnosisNotFoundHttpError: (value: CandidApi.DiagnosisNotFoundError) => _Result;
21
+ _other: (value: core.Fetcher.Error) => _Result;
22
+ }
23
+ }
24
+ export declare const Error: {
25
+ readonly diagnosisNotFoundHttpError: (value: CandidApi.DiagnosisNotFoundError) => CandidApi.diagnoses.update.Error.DiagnosisNotFoundHttpError;
26
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.diagnoses.update.Error._Unknown;
27
+ readonly _visit: <_Result>(value: CandidApi.diagnoses.update.Error, visitor: CandidApi.diagnoses.update.Error._Visitor<_Result>) => _Result;
28
+ };
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Error = void 0;
30
+ const CandidApi = __importStar(require("../../../index"));
31
+ exports.Error = {
32
+ diagnosisNotFoundHttpError: (value) => {
33
+ return {
34
+ content: value,
35
+ errorName: "DiagnosisNotFoundHTTPError",
36
+ _visit: function (visitor) {
37
+ return CandidApi.diagnoses.update.Error._visit(this, visitor);
38
+ },
39
+ };
40
+ },
41
+ _unknown: (fetcherError) => {
42
+ return {
43
+ errorName: undefined,
44
+ content: fetcherError,
45
+ _visit: function (visitor) {
46
+ return CandidApi.diagnoses.update.Error._visit(this, visitor);
47
+ },
48
+ };
49
+ },
50
+ _visit: (value, visitor) => {
51
+ switch (value.errorName) {
52
+ case "DiagnosisNotFoundHTTPError":
53
+ return visitor.diagnosisNotFoundHttpError(value.content);
54
+ default:
55
+ return visitor._other(value);
56
+ }
57
+ },
58
+ };
@@ -1 +1,2 @@
1
1
  export * from "./types";
2
+ export * from "./client";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../index";
5
+ export interface DiagnosisNotFoundError {
6
+ diagnosisId?: CandidApi.DiagnosisId;
7
+ message: string;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,3 +3,4 @@ export * from "./DiagnosisCreate";
3
3
  export * from "./StandaloneDiagnosisCreate";
4
4
  export * from "./DiagnosisTypeCode";
5
5
  export * from "./Diagnosis";
6
+ export * from "./DiagnosisNotFoundError";
@@ -19,3 +19,4 @@ __exportStar(require("./DiagnosisCreate"), exports);
19
19
  __exportStar(require("./StandaloneDiagnosisCreate"), exports);
20
20
  __exportStar(require("./DiagnosisTypeCode"), exports);
21
21
  __exportStar(require("./Diagnosis"), exports);
22
+ __exportStar(require("./DiagnosisNotFoundError"), exports);
@@ -83,7 +83,7 @@ class V2 {
83
83
  Authorization: yield this._getAuthorizationHeader(),
84
84
  "X-Fern-Language": "JavaScript",
85
85
  "X-Fern-SDK-Name": "candidhealth",
86
- "X-Fern-SDK-Version": "0.34.5",
86
+ "X-Fern-SDK-Version": "0.34.9",
87
87
  "X-Fern-Runtime": core.RUNTIME.type,
88
88
  "X-Fern-Runtime-Version": core.RUNTIME.version,
89
89
  },
@@ -156,7 +156,7 @@ class V2 {
156
156
  Authorization: yield this._getAuthorizationHeader(),
157
157
  "X-Fern-Language": "JavaScript",
158
158
  "X-Fern-SDK-Name": "candidhealth",
159
- "X-Fern-SDK-Version": "0.34.5",
159
+ "X-Fern-SDK-Version": "0.34.9",
160
160
  "X-Fern-Runtime": core.RUNTIME.type,
161
161
  "X-Fern-Runtime-Version": core.RUNTIME.version,
162
162
  },
@@ -227,7 +227,7 @@ class V2 {
227
227
  Authorization: yield this._getAuthorizationHeader(),
228
228
  "X-Fern-Language": "JavaScript",
229
229
  "X-Fern-SDK-Name": "candidhealth",
230
- "X-Fern-SDK-Version": "0.34.5",
230
+ "X-Fern-SDK-Version": "0.34.9",
231
231
  "X-Fern-Runtime": core.RUNTIME.type,
232
232
  "X-Fern-Runtime-Version": core.RUNTIME.version,
233
233
  },
@@ -81,7 +81,7 @@ class V2 {
81
81
  Authorization: yield this._getAuthorizationHeader(),
82
82
  "X-Fern-Language": "JavaScript",
83
83
  "X-Fern-SDK-Name": "candidhealth",
84
- "X-Fern-SDK-Version": "0.34.5",
84
+ "X-Fern-SDK-Version": "0.34.9",
85
85
  "X-Fern-Runtime": core.RUNTIME.type,
86
86
  "X-Fern-Runtime-Version": core.RUNTIME.version,
87
87
  },
@@ -160,7 +160,7 @@ class V2 {
160
160
  Authorization: yield this._getAuthorizationHeader(),
161
161
  "X-Fern-Language": "JavaScript",
162
162
  "X-Fern-SDK-Name": "candidhealth",
163
- "X-Fern-SDK-Version": "0.34.5",
163
+ "X-Fern-SDK-Version": "0.34.9",
164
164
  "X-Fern-Runtime": core.RUNTIME.type,
165
165
  "X-Fern-Runtime-Version": core.RUNTIME.version,
166
166
  },
@@ -239,7 +239,7 @@ class V2 {
239
239
  Authorization: yield this._getAuthorizationHeader(),
240
240
  "X-Fern-Language": "JavaScript",
241
241
  "X-Fern-SDK-Name": "candidhealth",
242
- "X-Fern-SDK-Version": "0.34.5",
242
+ "X-Fern-SDK-Version": "0.34.9",
243
243
  "X-Fern-Runtime": core.RUNTIME.type,
244
244
  "X-Fern-Runtime-Version": core.RUNTIME.version,
245
245
  },
@@ -318,7 +318,7 @@ class V2 {
318
318
  Authorization: yield this._getAuthorizationHeader(),
319
319
  "X-Fern-Language": "JavaScript",
320
320
  "X-Fern-SDK-Name": "candidhealth",
321
- "X-Fern-SDK-Version": "0.34.5",
321
+ "X-Fern-SDK-Version": "0.34.9",
322
322
  "X-Fern-Runtime": core.RUNTIME.type,
323
323
  "X-Fern-Runtime-Version": core.RUNTIME.version,
324
324
  },
@@ -396,7 +396,7 @@ class V2 {
396
396
  Authorization: yield this._getAuthorizationHeader(),
397
397
  "X-Fern-Language": "JavaScript",
398
398
  "X-Fern-SDK-Name": "candidhealth",
399
- "X-Fern-SDK-Version": "0.34.5",
399
+ "X-Fern-SDK-Version": "0.34.9",
400
400
  "X-Fern-Runtime": core.RUNTIME.type,
401
401
  "X-Fern-Runtime-Version": core.RUNTIME.version,
402
402
  },
@@ -476,7 +476,7 @@ class V2 {
476
476
  Authorization: yield this._getAuthorizationHeader(),
477
477
  "X-Fern-Language": "JavaScript",
478
478
  "X-Fern-SDK-Name": "candidhealth",
479
- "X-Fern-SDK-Version": "0.34.5",
479
+ "X-Fern-SDK-Version": "0.34.9",
480
480
  "X-Fern-Runtime": core.RUNTIME.type,
481
481
  "X-Fern-Runtime-Version": core.RUNTIME.version,
482
482
  },
@@ -557,7 +557,7 @@ class V2 {
557
557
  Authorization: yield this._getAuthorizationHeader(),
558
558
  "X-Fern-Language": "JavaScript",
559
559
  "X-Fern-SDK-Name": "candidhealth",
560
- "X-Fern-SDK-Version": "0.34.5",
560
+ "X-Fern-SDK-Version": "0.34.9",
561
561
  "X-Fern-Runtime": core.RUNTIME.type,
562
562
  "X-Fern-Runtime-Version": core.RUNTIME.version,
563
563
  },
@@ -637,7 +637,7 @@ class V2 {
637
637
  Authorization: yield this._getAuthorizationHeader(),
638
638
  "X-Fern-Language": "JavaScript",
639
639
  "X-Fern-SDK-Name": "candidhealth",
640
- "X-Fern-SDK-Version": "0.34.5",
640
+ "X-Fern-SDK-Version": "0.34.9",
641
641
  "X-Fern-Runtime": core.RUNTIME.type,
642
642
  "X-Fern-Runtime-Version": core.RUNTIME.version,
643
643
  },
@@ -701,7 +701,7 @@ class V2 {
701
701
  Authorization: yield this._getAuthorizationHeader(),
702
702
  "X-Fern-Language": "JavaScript",
703
703
  "X-Fern-SDK-Name": "candidhealth",
704
- "X-Fern-SDK-Version": "0.34.5",
704
+ "X-Fern-SDK-Version": "0.34.9",
705
705
  "X-Fern-Runtime": core.RUNTIME.type,
706
706
  "X-Fern-Runtime-Version": core.RUNTIME.version,
707
707
  },
@@ -756,7 +756,7 @@ class V2 {
756
756
  Authorization: yield this._getAuthorizationHeader(),
757
757
  "X-Fern-Language": "JavaScript",
758
758
  "X-Fern-SDK-Name": "candidhealth",
759
- "X-Fern-SDK-Version": "0.34.5",
759
+ "X-Fern-SDK-Version": "0.34.9",
760
760
  "X-Fern-Runtime": core.RUNTIME.type,
761
761
  "X-Fern-Runtime-Version": core.RUNTIME.version,
762
762
  },
@@ -811,7 +811,7 @@ class V2 {
811
811
  Authorization: yield this._getAuthorizationHeader(),
812
812
  "X-Fern-Language": "JavaScript",
813
813
  "X-Fern-SDK-Name": "candidhealth",
814
- "X-Fern-SDK-Version": "0.34.5",
814
+ "X-Fern-SDK-Version": "0.34.9",
815
815
  "X-Fern-Runtime": core.RUNTIME.type,
816
816
  "X-Fern-Runtime-Version": core.RUNTIME.version,
817
817
  },
@@ -866,7 +866,7 @@ class V2 {
866
866
  Authorization: yield this._getAuthorizationHeader(),
867
867
  "X-Fern-Language": "JavaScript",
868
868
  "X-Fern-SDK-Name": "candidhealth",
869
- "X-Fern-SDK-Version": "0.34.5",
869
+ "X-Fern-SDK-Version": "0.34.9",
870
870
  "X-Fern-Runtime": core.RUNTIME.type,
871
871
  "X-Fern-Runtime-Version": core.RUNTIME.version,
872
872
  },
@@ -62,6 +62,10 @@ export declare class V4 {
62
62
  * phoneConsent: true,
63
63
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
64
64
  * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
65
+ * nonInsurancePayersInfo: [{
66
+ * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
67
+ * memberId: "string"
68
+ * }],
65
69
  * emailConsent: true,
66
70
  * externalId: "string",
67
71
  * dateOfBirth: "2023-01-15",
@@ -273,7 +277,8 @@ export declare class V4 {
273
277
  * measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
274
278
  * linkSequenceNumber: "string",
275
279
  * pharmacyPrescriptionNumber: "string",
276
- * conversionFormula: "string"
280
+ * conversionFormula: "string",
281
+ * drugDescription: "string"
277
282
  * },
278
283
  * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
279
284
  * description: "string",
@@ -294,10 +299,10 @@ export declare class V4 {
294
299
  * lastName: "string",
295
300
  * organizationName: "string"
296
301
  * },
297
- * testResult: {
298
- * type: "hematocrit",
299
- * value: 1.1
300
- * }
302
+ * testResults: [{
303
+ * value: 1.1,
304
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
305
+ * }]
301
306
  * }],
302
307
  * guarantor: {
303
308
  * phoneNumbers: [{
@@ -403,7 +408,8 @@ export declare class V4 {
403
408
  * dischargeDate: "2023-01-15",
404
409
  * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
405
410
  * lastMenstrualPeriodDate: "2023-01-15",
406
- * delayReasonCode: CandidApi.DelayReasonCode.C1
411
+ * delayReasonCode: CandidApi.DelayReasonCode.C1,
412
+ * referralNumber: "string"
407
413
  * })
408
414
  */
409
415
  create(request: CandidApi.encounters.v4.EncounterCreate, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.create.Error>>;
@@ -554,7 +560,8 @@ export declare class V4 {
554
560
  * measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
555
561
  * linkSequenceNumber: "string",
556
562
  * pharmacyPrescriptionNumber: "string",
557
- * conversionFormula: "string"
563
+ * conversionFormula: "string",
564
+ * drugDescription: "string"
558
565
  * },
559
566
  * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
560
567
  * description: "string",
@@ -575,10 +582,10 @@ export declare class V4 {
575
582
  * lastName: "string",
576
583
  * organizationName: "string"
577
584
  * },
578
- * testResult: {
579
- * type: "hematocrit",
580
- * value: 1.1
581
- * }
585
+ * testResults: [{
586
+ * value: 1.1,
587
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
588
+ * }]
582
589
  * }],
583
590
  * externalClaimSubmission: {
584
591
  * claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
@@ -663,7 +670,8 @@ export declare class V4 {
663
670
  * dischargeDate: "2023-01-15",
664
671
  * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
665
672
  * lastMenstrualPeriodDate: "2023-01-15",
666
- * delayReasonCode: CandidApi.DelayReasonCode.C1
673
+ * delayReasonCode: CandidApi.DelayReasonCode.C1,
674
+ * referralNumber: "string"
667
675
  * })
668
676
  */
669
677
  createFromPreEncounterPatient(request: CandidApi.encounters.v4.EncounterCreateFromPreEncounter, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.createFromPreEncounterPatient.Error>>;
@@ -791,7 +799,11 @@ export declare class V4 {
791
799
  * phoneConsent: true,
792
800
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
793
801
  * emailConsent: true,
794
- * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
802
+ * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
803
+ * nonInsurancePayersInfo: [{
804
+ * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
805
+ * memberId: "string"
806
+ * }]
795
807
  * },
796
808
  * patientAuthorizedRelease: true,
797
809
  * schemaInstances: [{
@@ -928,7 +940,8 @@ export declare class V4 {
928
940
  * firstName: "string",
929
941
  * lastName: "string",
930
942
  * organizationName: "string"
931
- * }
943
+ * },
944
+ * referralNumber: "string"
932
945
  * })
933
946
  */
934
947
  update(encounterId: CandidApi.EncounterId, request?: CandidApi.encounters.v4.EncounterUpdate, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.update.Error>>;