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
@@ -132,7 +132,7 @@ class V4 {
132
132
  Authorization: yield this._getAuthorizationHeader(),
133
133
  "X-Fern-Language": "JavaScript",
134
134
  "X-Fern-SDK-Name": "candidhealth",
135
- "X-Fern-SDK-Version": "0.34.5",
135
+ "X-Fern-SDK-Version": "0.34.9",
136
136
  "X-Fern-Runtime": core.RUNTIME.type,
137
137
  "X-Fern-Runtime-Version": core.RUNTIME.version,
138
138
  },
@@ -178,7 +178,7 @@ class V4 {
178
178
  Authorization: yield this._getAuthorizationHeader(),
179
179
  "X-Fern-Language": "JavaScript",
180
180
  "X-Fern-SDK-Name": "candidhealth",
181
- "X-Fern-SDK-Version": "0.34.5",
181
+ "X-Fern-SDK-Version": "0.34.9",
182
182
  "X-Fern-Runtime": core.RUNTIME.type,
183
183
  "X-Fern-Runtime-Version": core.RUNTIME.version,
184
184
  },
@@ -219,6 +219,10 @@ class V4 {
219
219
  * phoneConsent: true,
220
220
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
221
221
  * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
222
+ * nonInsurancePayersInfo: [{
223
+ * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
224
+ * memberId: "string"
225
+ * }],
222
226
  * emailConsent: true,
223
227
  * externalId: "string",
224
228
  * dateOfBirth: "2023-01-15",
@@ -430,7 +434,8 @@ class V4 {
430
434
  * measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
431
435
  * linkSequenceNumber: "string",
432
436
  * pharmacyPrescriptionNumber: "string",
433
- * conversionFormula: "string"
437
+ * conversionFormula: "string",
438
+ * drugDescription: "string"
434
439
  * },
435
440
  * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
436
441
  * description: "string",
@@ -451,10 +456,10 @@ class V4 {
451
456
  * lastName: "string",
452
457
  * organizationName: "string"
453
458
  * },
454
- * testResult: {
455
- * type: "hematocrit",
456
- * value: 1.1
457
- * }
459
+ * testResults: [{
460
+ * value: 1.1,
461
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
462
+ * }]
458
463
  * }],
459
464
  * guarantor: {
460
465
  * phoneNumbers: [{
@@ -560,7 +565,8 @@ class V4 {
560
565
  * dischargeDate: "2023-01-15",
561
566
  * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
562
567
  * lastMenstrualPeriodDate: "2023-01-15",
563
- * delayReasonCode: CandidApi.DelayReasonCode.C1
568
+ * delayReasonCode: CandidApi.DelayReasonCode.C1,
569
+ * referralNumber: "string"
564
570
  * })
565
571
  */
566
572
  create(request, requestOptions) {
@@ -574,7 +580,7 @@ class V4 {
574
580
  Authorization: yield this._getAuthorizationHeader(),
575
581
  "X-Fern-Language": "JavaScript",
576
582
  "X-Fern-SDK-Name": "candidhealth",
577
- "X-Fern-SDK-Version": "0.34.5",
583
+ "X-Fern-SDK-Version": "0.34.9",
578
584
  "X-Fern-Runtime": core.RUNTIME.type,
579
585
  "X-Fern-Runtime-Version": core.RUNTIME.version,
580
586
  },
@@ -769,7 +775,8 @@ class V4 {
769
775
  * measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
770
776
  * linkSequenceNumber: "string",
771
777
  * pharmacyPrescriptionNumber: "string",
772
- * conversionFormula: "string"
778
+ * conversionFormula: "string",
779
+ * drugDescription: "string"
773
780
  * },
774
781
  * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
775
782
  * description: "string",
@@ -790,10 +797,10 @@ class V4 {
790
797
  * lastName: "string",
791
798
  * organizationName: "string"
792
799
  * },
793
- * testResult: {
794
- * type: "hematocrit",
795
- * value: 1.1
796
- * }
800
+ * testResults: [{
801
+ * value: 1.1,
802
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
803
+ * }]
797
804
  * }],
798
805
  * externalClaimSubmission: {
799
806
  * claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
@@ -878,7 +885,8 @@ class V4 {
878
885
  * dischargeDate: "2023-01-15",
879
886
  * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
880
887
  * lastMenstrualPeriodDate: "2023-01-15",
881
- * delayReasonCode: CandidApi.DelayReasonCode.C1
888
+ * delayReasonCode: CandidApi.DelayReasonCode.C1,
889
+ * referralNumber: "string"
882
890
  * })
883
891
  */
884
892
  createFromPreEncounterPatient(request, requestOptions) {
@@ -892,7 +900,7 @@ class V4 {
892
900
  Authorization: yield this._getAuthorizationHeader(),
893
901
  "X-Fern-Language": "JavaScript",
894
902
  "X-Fern-SDK-Name": "candidhealth",
895
- "X-Fern-SDK-Version": "0.34.5",
903
+ "X-Fern-SDK-Version": "0.34.9",
896
904
  "X-Fern-Runtime": core.RUNTIME.type,
897
905
  "X-Fern-Runtime-Version": core.RUNTIME.version,
898
906
  },
@@ -1065,7 +1073,11 @@ class V4 {
1065
1073
  * phoneConsent: true,
1066
1074
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
1067
1075
  * emailConsent: true,
1068
- * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
1076
+ * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
1077
+ * nonInsurancePayersInfo: [{
1078
+ * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
1079
+ * memberId: "string"
1080
+ * }]
1069
1081
  * },
1070
1082
  * patientAuthorizedRelease: true,
1071
1083
  * schemaInstances: [{
@@ -1202,7 +1214,8 @@ class V4 {
1202
1214
  * firstName: "string",
1203
1215
  * lastName: "string",
1204
1216
  * organizationName: "string"
1205
- * }
1217
+ * },
1218
+ * referralNumber: "string"
1206
1219
  * })
1207
1220
  */
1208
1221
  update(encounterId, request = {}, requestOptions) {
@@ -1216,7 +1229,7 @@ class V4 {
1216
1229
  Authorization: yield this._getAuthorizationHeader(),
1217
1230
  "X-Fern-Language": "JavaScript",
1218
1231
  "X-Fern-SDK-Name": "candidhealth",
1219
- "X-Fern-SDK-Version": "0.34.5",
1232
+ "X-Fern-SDK-Version": "0.34.9",
1220
1233
  "X-Fern-Runtime": core.RUNTIME.type,
1221
1234
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1222
1235
  },
@@ -13,6 +13,10 @@ import * as CandidApi from "../../../../../../index";
13
13
  * phoneConsent: true,
14
14
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
15
15
  * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
16
+ * nonInsurancePayersInfo: [{
17
+ * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
18
+ * memberId: "string"
19
+ * }],
16
20
  * emailConsent: true,
17
21
  * externalId: "string",
18
22
  * dateOfBirth: "2023-01-15",
@@ -224,7 +228,8 @@ import * as CandidApi from "../../../../../../index";
224
228
  * measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
225
229
  * linkSequenceNumber: "string",
226
230
  * pharmacyPrescriptionNumber: "string",
227
- * conversionFormula: "string"
231
+ * conversionFormula: "string",
232
+ * drugDescription: "string"
228
233
  * },
229
234
  * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
230
235
  * description: "string",
@@ -245,10 +250,10 @@ import * as CandidApi from "../../../../../../index";
245
250
  * lastName: "string",
246
251
  * organizationName: "string"
247
252
  * },
248
- * testResult: {
249
- * type: "hematocrit",
250
- * value: 1.1
251
- * }
253
+ * testResults: [{
254
+ * value: 1.1,
255
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
256
+ * }]
252
257
  * }],
253
258
  * guarantor: {
254
259
  * phoneNumbers: [{
@@ -354,7 +359,8 @@ import * as CandidApi from "../../../../../../index";
354
359
  * dischargeDate: "2023-01-15",
355
360
  * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
356
361
  * lastMenstrualPeriodDate: "2023-01-15",
357
- * delayReasonCode: CandidApi.DelayReasonCode.C1
362
+ * delayReasonCode: CandidApi.DelayReasonCode.C1,
363
+ * referralNumber: "string"
358
364
  * }
359
365
  */
360
366
  export interface EncounterCreate extends CandidApi.encounters.v4.EncounterBase {
@@ -128,7 +128,8 @@ import * as CandidApi from "../../../../../../index";
128
128
  * measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
129
129
  * linkSequenceNumber: "string",
130
130
  * pharmacyPrescriptionNumber: "string",
131
- * conversionFormula: "string"
131
+ * conversionFormula: "string",
132
+ * drugDescription: "string"
132
133
  * },
133
134
  * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
134
135
  * description: "string",
@@ -149,10 +150,10 @@ import * as CandidApi from "../../../../../../index";
149
150
  * lastName: "string",
150
151
  * organizationName: "string"
151
152
  * },
152
- * testResult: {
153
- * type: "hematocrit",
154
- * value: 1.1
155
- * }
153
+ * testResults: [{
154
+ * value: 1.1,
155
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
156
+ * }]
156
157
  * }],
157
158
  * externalClaimSubmission: {
158
159
  * claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
@@ -237,7 +238,8 @@ import * as CandidApi from "../../../../../../index";
237
238
  * dischargeDate: "2023-01-15",
238
239
  * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
239
240
  * lastMenstrualPeriodDate: "2023-01-15",
240
- * delayReasonCode: CandidApi.DelayReasonCode.C1
241
+ * delayReasonCode: CandidApi.DelayReasonCode.C1,
242
+ * referralNumber: "string"
241
243
  * }
242
244
  */
243
245
  export interface EncounterCreateFromPreEncounter extends CandidApi.encounters.v4.EncounterBase {
@@ -122,7 +122,11 @@ import * as CandidApi from "../../../../../../index";
122
122
  * phoneConsent: true,
123
123
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
124
124
  * emailConsent: true,
125
- * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
125
+ * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
126
+ * nonInsurancePayersInfo: [{
127
+ * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
128
+ * memberId: "string"
129
+ * }]
126
130
  * },
127
131
  * patientAuthorizedRelease: true,
128
132
  * schemaInstances: [{
@@ -259,7 +263,8 @@ import * as CandidApi from "../../../../../../index";
259
263
  * firstName: "string",
260
264
  * lastName: "string",
261
265
  * organizationName: "string"
262
- * }
266
+ * },
267
+ * referralNumber: "string"
263
268
  * }
264
269
  */
265
270
  export interface EncounterUpdate {
@@ -466,4 +471,9 @@ export interface EncounterUpdate {
466
471
  *
467
472
  */
468
473
  initialReferringProvider?: CandidApi.encounterProviders.v2.InitialReferringProviderUpdate;
474
+ /**
475
+ * Refers to REF*9F on the 837p. Value cannot be greater than 50 characters.
476
+ *
477
+ */
478
+ referralNumber?: string;
469
479
  }
@@ -74,10 +74,10 @@ import * as CandidApi from "../../../../../index";
74
74
  * },
75
75
  * dateOfService: "2023-01-01",
76
76
  * endDateOfService: "2023-01-03",
77
- * testResult: {
78
- * type: "hemoglobin",
79
- * value: 2.4
80
- * }
77
+ * testResults: [{
78
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hemoglobin,
79
+ * value: 51
80
+ * }]
81
81
  * }],
82
82
  * eras: [{
83
83
  * eraId: CandidApi.EraId("4D844EF1-2253-43CD-A4F1-6DB7E65CB54B"),
@@ -98,6 +98,16 @@ import * as CandidApi from "../../../../../index";
98
98
  * description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
99
99
  * enabled: true
100
100
  * }],
101
+ * nonInsurancePayersInfo: [{
102
+ * nonInsurancePayer: {
103
+ * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("EB7623AB-D5BC-4B25-B257-2B8FCEC578DE"),
104
+ * name: "Sunrise Foundation",
105
+ * category: "Foundation",
106
+ * description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
107
+ * enabled: true
108
+ * },
109
+ * memberId: "123456789"
110
+ * }],
101
111
  * phoneConsent: true,
102
112
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
103
113
  * emailConsent: true,
@@ -106,4 +106,6 @@ export interface EncounterBase {
106
106
  * Code indicating the reason why a request was delayed
107
107
  */
108
108
  delayReasonCode?: CandidApi.DelayReasonCode;
109
+ /** Refers to REF\*9F on the 837p. Value cannot be greater than 50 characters. */
110
+ referralNumber?: string;
109
111
  }
@@ -75,10 +75,10 @@ import * as CandidApi from "../../../../../index";
75
75
  * },
76
76
  * dateOfService: "2023-01-01",
77
77
  * endDateOfService: "2023-01-03",
78
- * testResult: {
79
- * type: "hemoglobin",
80
- * value: 2.4
81
- * }
78
+ * testResults: [{
79
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hemoglobin,
80
+ * value: 51
81
+ * }]
82
82
  * }],
83
83
  * eras: [{
84
84
  * eraId: CandidApi.EraId("4D844EF1-2253-43CD-A4F1-6DB7E65CB54B"),
@@ -99,6 +99,16 @@ import * as CandidApi from "../../../../../index";
99
99
  * description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
100
100
  * enabled: true
101
101
  * }],
102
+ * nonInsurancePayersInfo: [{
103
+ * nonInsurancePayer: {
104
+ * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("EB7623AB-D5BC-4B25-B257-2B8FCEC578DE"),
105
+ * name: "Sunrise Foundation",
106
+ * category: "Foundation",
107
+ * description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
108
+ * enabled: true
109
+ * },
110
+ * memberId: "123456789"
111
+ * }],
102
112
  * phoneConsent: true,
103
113
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
104
114
  * emailConsent: true,
@@ -79,7 +79,7 @@ class V1 {
79
79
  Authorization: yield this._getAuthorizationHeader(),
80
80
  "X-Fern-Language": "JavaScript",
81
81
  "X-Fern-SDK-Name": "candidhealth",
82
- "X-Fern-SDK-Version": "0.34.5",
82
+ "X-Fern-SDK-Version": "0.34.9",
83
83
  "X-Fern-Runtime": core.RUNTIME.type,
84
84
  "X-Fern-Runtime-Version": core.RUNTIME.version,
85
85
  },
@@ -96,7 +96,7 @@ class V2 {
96
96
  Authorization: yield this._getAuthorizationHeader(),
97
97
  "X-Fern-Language": "JavaScript",
98
98
  "X-Fern-SDK-Name": "candidhealth",
99
- "X-Fern-SDK-Version": "0.34.5",
99
+ "X-Fern-SDK-Version": "0.34.9",
100
100
  "X-Fern-Runtime": core.RUNTIME.type,
101
101
  "X-Fern-Runtime-Version": core.RUNTIME.version,
102
102
  },
@@ -189,7 +189,7 @@ class V2 {
189
189
  Authorization: yield this._getAuthorizationHeader(),
190
190
  "X-Fern-Language": "JavaScript",
191
191
  "X-Fern-SDK-Name": "candidhealth",
192
- "X-Fern-SDK-Version": "0.34.5",
192
+ "X-Fern-SDK-Version": "0.34.9",
193
193
  "X-Fern-Runtime": core.RUNTIME.type,
194
194
  "X-Fern-Runtime-Version": core.RUNTIME.version,
195
195
  },
@@ -86,7 +86,7 @@ class V3 {
86
86
  Authorization: yield this._getAuthorizationHeader(),
87
87
  "X-Fern-Language": "JavaScript",
88
88
  "X-Fern-SDK-Name": "candidhealth",
89
- "X-Fern-SDK-Version": "0.34.5",
89
+ "X-Fern-SDK-Version": "0.34.9",
90
90
  "X-Fern-Runtime": core.RUNTIME.type,
91
91
  "X-Fern-Runtime-Version": core.RUNTIME.version,
92
92
  },
@@ -82,7 +82,7 @@ class V1 {
82
82
  Authorization: yield this._getAuthorizationHeader(),
83
83
  "X-Fern-Language": "JavaScript",
84
84
  "X-Fern-SDK-Name": "candidhealth",
85
- "X-Fern-SDK-Version": "0.34.5",
85
+ "X-Fern-SDK-Version": "0.34.9",
86
86
  "X-Fern-Runtime": core.RUNTIME.type,
87
87
  "X-Fern-Runtime-Version": core.RUNTIME.version,
88
88
  },
@@ -68,7 +68,7 @@ class V3 {
68
68
  Authorization: yield this._getAuthorizationHeader(),
69
69
  "X-Fern-Language": "JavaScript",
70
70
  "X-Fern-SDK-Name": "candidhealth",
71
- "X-Fern-SDK-Version": "0.34.5",
71
+ "X-Fern-SDK-Version": "0.34.9",
72
72
  "X-Fern-Runtime": core.RUNTIME.type,
73
73
  "X-Fern-Runtime-Version": core.RUNTIME.version,
74
74
  },
@@ -131,7 +131,7 @@ class V3 {
131
131
  Authorization: yield this._getAuthorizationHeader(),
132
132
  "X-Fern-Language": "JavaScript",
133
133
  "X-Fern-SDK-Name": "candidhealth",
134
- "X-Fern-SDK-Version": "0.34.5",
134
+ "X-Fern-SDK-Version": "0.34.9",
135
135
  "X-Fern-Runtime": core.RUNTIME.type,
136
136
  "X-Fern-Runtime-Version": core.RUNTIME.version,
137
137
  },
@@ -274,7 +274,7 @@ class V3 {
274
274
  Authorization: yield this._getAuthorizationHeader(),
275
275
  "X-Fern-Language": "JavaScript",
276
276
  "X-Fern-SDK-Name": "candidhealth",
277
- "X-Fern-SDK-Version": "0.34.5",
277
+ "X-Fern-SDK-Version": "0.34.9",
278
278
  "X-Fern-Runtime": core.RUNTIME.type,
279
279
  "X-Fern-Runtime-Version": core.RUNTIME.version,
280
280
  },
@@ -401,7 +401,7 @@ class V3 {
401
401
  Authorization: yield this._getAuthorizationHeader(),
402
402
  "X-Fern-Language": "JavaScript",
403
403
  "X-Fern-SDK-Name": "candidhealth",
404
- "X-Fern-SDK-Version": "0.34.5",
404
+ "X-Fern-SDK-Version": "0.34.9",
405
405
  "X-Fern-Runtime": core.RUNTIME.type,
406
406
  "X-Fern-Runtime-Version": core.RUNTIME.version,
407
407
  },
@@ -449,7 +449,7 @@ class V3 {
449
449
  Authorization: yield this._getAuthorizationHeader(),
450
450
  "X-Fern-Language": "JavaScript",
451
451
  "X-Fern-SDK-Name": "candidhealth",
452
- "X-Fern-SDK-Version": "0.34.5",
452
+ "X-Fern-SDK-Version": "0.34.9",
453
453
  "X-Fern-Runtime": core.RUNTIME.type,
454
454
  "X-Fern-Runtime-Version": core.RUNTIME.version,
455
455
  },
@@ -531,7 +531,7 @@ class V3 {
531
531
  Authorization: yield this._getAuthorizationHeader(),
532
532
  "X-Fern-Language": "JavaScript",
533
533
  "X-Fern-SDK-Name": "candidhealth",
534
- "X-Fern-SDK-Version": "0.34.5",
534
+ "X-Fern-SDK-Version": "0.34.9",
535
535
  "X-Fern-Runtime": core.RUNTIME.type,
536
536
  "X-Fern-Runtime-Version": core.RUNTIME.version,
537
537
  },
@@ -596,7 +596,7 @@ class V3 {
596
596
  Authorization: yield this._getAuthorizationHeader(),
597
597
  "X-Fern-Language": "JavaScript",
598
598
  "X-Fern-SDK-Name": "candidhealth",
599
- "X-Fern-SDK-Version": "0.34.5",
599
+ "X-Fern-SDK-Version": "0.34.9",
600
600
  "X-Fern-Runtime": core.RUNTIME.type,
601
601
  "X-Fern-Runtime-Version": core.RUNTIME.version,
602
602
  },
@@ -652,7 +652,7 @@ class V3 {
652
652
  Authorization: yield this._getAuthorizationHeader(),
653
653
  "X-Fern-Language": "JavaScript",
654
654
  "X-Fern-SDK-Name": "candidhealth",
655
- "X-Fern-SDK-Version": "0.34.5",
655
+ "X-Fern-SDK-Version": "0.34.9",
656
656
  "X-Fern-Runtime": core.RUNTIME.type,
657
657
  "X-Fern-Runtime-Version": core.RUNTIME.version,
658
658
  },
@@ -709,7 +709,7 @@ class V3 {
709
709
  Authorization: yield this._getAuthorizationHeader(),
710
710
  "X-Fern-Language": "JavaScript",
711
711
  "X-Fern-SDK-Name": "candidhealth",
712
- "X-Fern-SDK-Version": "0.34.5",
712
+ "X-Fern-SDK-Version": "0.34.9",
713
713
  "X-Fern-Runtime": core.RUNTIME.type,
714
714
  "X-Fern-Runtime-Version": core.RUNTIME.version,
715
715
  },
@@ -762,7 +762,7 @@ class V3 {
762
762
  Authorization: yield this._getAuthorizationHeader(),
763
763
  "X-Fern-Language": "JavaScript",
764
764
  "X-Fern-SDK-Name": "candidhealth",
765
- "X-Fern-SDK-Version": "0.34.5",
765
+ "X-Fern-SDK-Version": "0.34.9",
766
766
  "X-Fern-Runtime": core.RUNTIME.type,
767
767
  "X-Fern-Runtime-Version": core.RUNTIME.version,
768
768
  },
@@ -89,7 +89,7 @@ class V1 {
89
89
  Authorization: yield this._getAuthorizationHeader(),
90
90
  "X-Fern-Language": "JavaScript",
91
91
  "X-Fern-SDK-Name": "candidhealth",
92
- "X-Fern-SDK-Version": "0.34.5",
92
+ "X-Fern-SDK-Version": "0.34.9",
93
93
  "X-Fern-Runtime": core.RUNTIME.type,
94
94
  "X-Fern-Runtime-Version": core.RUNTIME.version,
95
95
  },
@@ -152,7 +152,7 @@ class V1 {
152
152
  Authorization: yield this._getAuthorizationHeader(),
153
153
  "X-Fern-Language": "JavaScript",
154
154
  "X-Fern-SDK-Name": "candidhealth",
155
- "X-Fern-SDK-Version": "0.34.5",
155
+ "X-Fern-SDK-Version": "0.34.9",
156
156
  "X-Fern-Runtime": core.RUNTIME.type,
157
157
  "X-Fern-Runtime-Version": core.RUNTIME.version,
158
158
  },
@@ -220,7 +220,7 @@ class V1 {
220
220
  Authorization: yield this._getAuthorizationHeader(),
221
221
  "X-Fern-Language": "JavaScript",
222
222
  "X-Fern-SDK-Name": "candidhealth",
223
- "X-Fern-SDK-Version": "0.34.5",
223
+ "X-Fern-SDK-Version": "0.34.9",
224
224
  "X-Fern-Runtime": core.RUNTIME.type,
225
225
  "X-Fern-Runtime-Version": core.RUNTIME.version,
226
226
  },
@@ -84,7 +84,7 @@ class V1 {
84
84
  Authorization: yield this._getAuthorizationHeader(),
85
85
  "X-Fern-Language": "JavaScript",
86
86
  "X-Fern-SDK-Name": "candidhealth",
87
- "X-Fern-SDK-Version": "0.34.5",
87
+ "X-Fern-SDK-Version": "0.34.9",
88
88
  "X-Fern-Runtime": core.RUNTIME.type,
89
89
  "X-Fern-Runtime-Version": core.RUNTIME.version,
90
90
  },
@@ -197,7 +197,7 @@ class V1 {
197
197
  Authorization: yield this._getAuthorizationHeader(),
198
198
  "X-Fern-Language": "JavaScript",
199
199
  "X-Fern-SDK-Name": "candidhealth",
200
- "X-Fern-SDK-Version": "0.34.5",
200
+ "X-Fern-SDK-Version": "0.34.9",
201
201
  "X-Fern-Runtime": core.RUNTIME.type,
202
202
  "X-Fern-Runtime-Version": core.RUNTIME.version,
203
203
  },
@@ -245,7 +245,7 @@ class V1 {
245
245
  Authorization: yield this._getAuthorizationHeader(),
246
246
  "X-Fern-Language": "JavaScript",
247
247
  "X-Fern-SDK-Name": "candidhealth",
248
- "X-Fern-SDK-Version": "0.34.5",
248
+ "X-Fern-SDK-Version": "0.34.9",
249
249
  "X-Fern-Runtime": core.RUNTIME.type,
250
250
  "X-Fern-Runtime-Version": core.RUNTIME.version,
251
251
  },
@@ -322,7 +322,7 @@ class V1 {
322
322
  Authorization: yield this._getAuthorizationHeader(),
323
323
  "X-Fern-Language": "JavaScript",
324
324
  "X-Fern-SDK-Name": "candidhealth",
325
- "X-Fern-SDK-Version": "0.34.5",
325
+ "X-Fern-SDK-Version": "0.34.9",
326
326
  "X-Fern-Runtime": core.RUNTIME.type,
327
327
  "X-Fern-Runtime-Version": core.RUNTIME.version,
328
328
  },
@@ -55,3 +55,4 @@ export * from "./serviceFacility/types";
55
55
  export * as tags from "./tags";
56
56
  export * from "./tags/types";
57
57
  export * as eligibility from "./eligibility";
58
+ export * from "./diagnoses/client/requests";
@@ -84,3 +84,4 @@ __exportStar(require("./serviceFacility/types"), exports);
84
84
  exports.tags = __importStar(require("./tags"));
85
85
  __exportStar(require("./tags/types"), exports);
86
86
  exports.eligibility = __importStar(require("./eligibility"));
87
+ __exportStar(require("./diagnoses/client/requests"), exports);
@@ -17,6 +17,16 @@ import * as CandidApi from "../../../index";
17
17
  * description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
18
18
  * enabled: true
19
19
  * }],
20
+ * nonInsurancePayersInfo: [{
21
+ * nonInsurancePayer: {
22
+ * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("EB7623AB-D5BC-4B25-B257-2B8FCEC578DE"),
23
+ * name: "Sunrise Foundation",
24
+ * category: "Foundation",
25
+ * description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
26
+ * enabled: true
27
+ * },
28
+ * memberId: "123456789"
29
+ * }],
20
30
  * phoneConsent: true,
21
31
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
22
32
  * emailConsent: true,
@@ -42,4 +52,5 @@ export interface Patient extends CandidApi.PatientBase {
42
52
  email?: CandidApi.Email;
43
53
  emailConsent: boolean;
44
54
  nonInsurancePayers: CandidApi.nonInsurancePayers.v1.NonInsurancePayer[];
55
+ nonInsurancePayersInfo: CandidApi.PatientNonInsurancePayerInfo[];
45
56
  }
@@ -8,6 +8,7 @@ export interface PatientCreate extends CandidApi.PatientBase {
8
8
  phoneConsent?: boolean;
9
9
  email?: CandidApi.Email;
10
10
  nonInsurancePayers?: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId[];
11
+ nonInsurancePayersInfo?: CandidApi.PatientNonInsurancePayerInfoCreate[];
11
12
  /** Defaults to false */
12
13
  emailConsent?: boolean;
13
14
  }
@@ -0,0 +1,21 @@
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
+ * nonInsurancePayer: {
9
+ * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("EB7623AB-D5BC-4B25-B257-2B8FCEC578DE"),
10
+ * name: "Sunrise Foundation",
11
+ * category: "Foundation",
12
+ * description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
13
+ * enabled: true
14
+ * },
15
+ * memberId: "123456789"
16
+ * }
17
+ */
18
+ export interface PatientNonInsurancePayerInfo {
19
+ nonInsurancePayer: CandidApi.nonInsurancePayers.v1.NonInsurancePayer;
20
+ memberId?: string;
21
+ }
@@ -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,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../index";
5
+ export interface PatientNonInsurancePayerInfoCreate {
6
+ nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId;
7
+ memberId?: 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 });
@@ -18,4 +18,6 @@ export interface PatientUpdate {
18
18
  emailConsent?: boolean;
19
19
  /** On update, we will replace the existing list of non-insurance payers with the new list if populated. */
20
20
  nonInsurancePayers?: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId[];
21
+ /** On update, we will replace the existing list of non-insurance payers with the new list if populated. */
22
+ nonInsurancePayersInfo?: CandidApi.PatientNonInsurancePayerInfoCreate[];
21
23
  }