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
@@ -122,7 +122,7 @@ class V1 {
122
122
  Authorization: yield this._getAuthorizationHeader(),
123
123
  "X-Fern-Language": "JavaScript",
124
124
  "X-Fern-SDK-Name": "candidhealth",
125
- "X-Fern-SDK-Version": "0.34.5",
125
+ "X-Fern-SDK-Version": "0.34.9",
126
126
  "X-Fern-Runtime": core.RUNTIME.type,
127
127
  "X-Fern-Runtime-Version": core.RUNTIME.version,
128
128
  },
@@ -187,7 +187,7 @@ class V1 {
187
187
  Authorization: yield this._getAuthorizationHeader(),
188
188
  "X-Fern-Language": "JavaScript",
189
189
  "X-Fern-SDK-Name": "candidhealth",
190
- "X-Fern-SDK-Version": "0.34.5",
190
+ "X-Fern-SDK-Version": "0.34.9",
191
191
  "X-Fern-Runtime": core.RUNTIME.type,
192
192
  "X-Fern-Runtime-Version": core.RUNTIME.version,
193
193
  },
@@ -248,7 +248,7 @@ class V1 {
248
248
  Authorization: yield this._getAuthorizationHeader(),
249
249
  "X-Fern-Language": "JavaScript",
250
250
  "X-Fern-SDK-Name": "candidhealth",
251
- "X-Fern-SDK-Version": "0.34.5",
251
+ "X-Fern-SDK-Version": "0.34.9",
252
252
  "X-Fern-Runtime": core.RUNTIME.type,
253
253
  "X-Fern-Runtime-Version": core.RUNTIME.version,
254
254
  },
@@ -365,7 +365,7 @@ class V1 {
365
365
  Authorization: yield this._getAuthorizationHeader(),
366
366
  "X-Fern-Language": "JavaScript",
367
367
  "X-Fern-SDK-Name": "candidhealth",
368
- "X-Fern-SDK-Version": "0.34.5",
368
+ "X-Fern-SDK-Version": "0.34.9",
369
369
  "X-Fern-Runtime": core.RUNTIME.type,
370
370
  "X-Fern-Runtime-Version": core.RUNTIME.version,
371
371
  },
@@ -435,7 +435,7 @@ class V1 {
435
435
  Authorization: yield this._getAuthorizationHeader(),
436
436
  "X-Fern-Language": "JavaScript",
437
437
  "X-Fern-SDK-Name": "candidhealth",
438
- "X-Fern-SDK-Version": "0.34.5",
438
+ "X-Fern-SDK-Version": "0.34.9",
439
439
  "X-Fern-Runtime": core.RUNTIME.type,
440
440
  "X-Fern-Runtime-Version": core.RUNTIME.version,
441
441
  },
@@ -484,7 +484,7 @@ class V1 {
484
484
  Authorization: yield this._getAuthorizationHeader(),
485
485
  "X-Fern-Language": "JavaScript",
486
486
  "X-Fern-SDK-Name": "candidhealth",
487
- "X-Fern-SDK-Version": "0.34.5",
487
+ "X-Fern-SDK-Version": "0.34.9",
488
488
  "X-Fern-Runtime": core.RUNTIME.type,
489
489
  "X-Fern-Runtime-Version": core.RUNTIME.version,
490
490
  },
@@ -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 CanonicalNonInsurancePayerAssociation {
6
+ id: CandidApi.preEncounter.CanonicalNonInsurancePayerId;
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 });
@@ -5,6 +5,7 @@ export * from "./PatientId";
5
5
  export * from "./CoverageId";
6
6
  export * from "./AppointmentId";
7
7
  export * from "./CanonicalProviderId";
8
+ export * from "./CanonicalNonInsurancePayerAssociation";
8
9
  export * from "./CanonicalNonInsurancePayerId";
9
10
  export * from "./Relationship";
10
11
  export * from "./Gender";
@@ -21,6 +21,7 @@ __exportStar(require("./PatientId"), exports);
21
21
  __exportStar(require("./CoverageId"), exports);
22
22
  __exportStar(require("./AppointmentId"), exports);
23
23
  __exportStar(require("./CanonicalProviderId"), exports);
24
+ __exportStar(require("./CanonicalNonInsurancePayerAssociation"), exports);
24
25
  __exportStar(require("./CanonicalNonInsurancePayerId"), exports);
25
26
  __exportStar(require("./Relationship"), exports);
26
27
  __exportStar(require("./Gender"), exports);
@@ -45,7 +45,23 @@ export declare class V1 {
45
45
  * }
46
46
  * },
47
47
  * dateOfBirth: "2023-01-15",
48
- * biologicalSex: CandidApi.preEncounter.Sex.Female
48
+ * biologicalSex: CandidApi.preEncounter.Sex.Female,
49
+ * address: {
50
+ * use: CandidApi.preEncounter.AddressUse.Home,
51
+ * line: ["string"],
52
+ * city: "string",
53
+ * state: "string",
54
+ * postalCode: "string",
55
+ * country: "string",
56
+ * period: {
57
+ * start: {
58
+ * "key": "value"
59
+ * },
60
+ * end: {
61
+ * "key": "value"
62
+ * }
63
+ * }
64
+ * }
49
65
  * },
50
66
  * relationship: CandidApi.preEncounter.Relationship.Self,
51
67
  * patient: CandidApi.preEncounter.PatientId("string"),
@@ -123,7 +139,23 @@ export declare class V1 {
123
139
  * }
124
140
  * },
125
141
  * dateOfBirth: "2023-01-15",
126
- * biologicalSex: CandidApi.preEncounter.Sex.Female
142
+ * biologicalSex: CandidApi.preEncounter.Sex.Female,
143
+ * address: {
144
+ * use: CandidApi.preEncounter.AddressUse.Home,
145
+ * line: ["string"],
146
+ * city: "string",
147
+ * state: "string",
148
+ * postalCode: "string",
149
+ * country: "string",
150
+ * period: {
151
+ * start: {
152
+ * "key": "value"
153
+ * },
154
+ * end: {
155
+ * "key": "value"
156
+ * }
157
+ * }
158
+ * }
127
159
  * },
128
160
  * relationship: CandidApi.preEncounter.Relationship.Self,
129
161
  * patient: CandidApi.preEncounter.PatientId("string"),
@@ -72,7 +72,23 @@ class V1 {
72
72
  * }
73
73
  * },
74
74
  * dateOfBirth: "2023-01-15",
75
- * biologicalSex: CandidApi.preEncounter.Sex.Female
75
+ * biologicalSex: CandidApi.preEncounter.Sex.Female,
76
+ * address: {
77
+ * use: CandidApi.preEncounter.AddressUse.Home,
78
+ * line: ["string"],
79
+ * city: "string",
80
+ * state: "string",
81
+ * postalCode: "string",
82
+ * country: "string",
83
+ * period: {
84
+ * start: {
85
+ * "key": "value"
86
+ * },
87
+ * end: {
88
+ * "key": "value"
89
+ * }
90
+ * }
91
+ * }
76
92
  * },
77
93
  * relationship: CandidApi.preEncounter.Relationship.Self,
78
94
  * patient: CandidApi.preEncounter.PatientId("string"),
@@ -134,7 +150,7 @@ class V1 {
134
150
  Authorization: yield this._getAuthorizationHeader(),
135
151
  "X-Fern-Language": "JavaScript",
136
152
  "X-Fern-SDK-Name": "candidhealth",
137
- "X-Fern-SDK-Version": "0.34.5",
153
+ "X-Fern-SDK-Version": "0.34.9",
138
154
  "X-Fern-Runtime": core.RUNTIME.type,
139
155
  "X-Fern-Runtime-Version": core.RUNTIME.version,
140
156
  },
@@ -190,7 +206,23 @@ class V1 {
190
206
  * }
191
207
  * },
192
208
  * dateOfBirth: "2023-01-15",
193
- * biologicalSex: CandidApi.preEncounter.Sex.Female
209
+ * biologicalSex: CandidApi.preEncounter.Sex.Female,
210
+ * address: {
211
+ * use: CandidApi.preEncounter.AddressUse.Home,
212
+ * line: ["string"],
213
+ * city: "string",
214
+ * state: "string",
215
+ * postalCode: "string",
216
+ * country: "string",
217
+ * period: {
218
+ * start: {
219
+ * "key": "value"
220
+ * },
221
+ * end: {
222
+ * "key": "value"
223
+ * }
224
+ * }
225
+ * }
194
226
  * },
195
227
  * relationship: CandidApi.preEncounter.Relationship.Self,
196
228
  * patient: CandidApi.preEncounter.PatientId("string"),
@@ -252,7 +284,7 @@ class V1 {
252
284
  Authorization: yield this._getAuthorizationHeader(),
253
285
  "X-Fern-Language": "JavaScript",
254
286
  "X-Fern-SDK-Name": "candidhealth",
255
- "X-Fern-SDK-Version": "0.34.5",
287
+ "X-Fern-SDK-Version": "0.34.9",
256
288
  "X-Fern-Runtime": core.RUNTIME.type,
257
289
  "X-Fern-Runtime-Version": core.RUNTIME.version,
258
290
  },
@@ -317,7 +349,7 @@ class V1 {
317
349
  Authorization: yield this._getAuthorizationHeader(),
318
350
  "X-Fern-Language": "JavaScript",
319
351
  "X-Fern-SDK-Name": "candidhealth",
320
- "X-Fern-SDK-Version": "0.34.5",
352
+ "X-Fern-SDK-Version": "0.34.9",
321
353
  "X-Fern-Runtime": core.RUNTIME.type,
322
354
  "X-Fern-Runtime-Version": core.RUNTIME.version,
323
355
  },
@@ -364,7 +396,7 @@ class V1 {
364
396
  Authorization: yield this._getAuthorizationHeader(),
365
397
  "X-Fern-Language": "JavaScript",
366
398
  "X-Fern-SDK-Name": "candidhealth",
367
- "X-Fern-SDK-Version": "0.34.5",
399
+ "X-Fern-SDK-Version": "0.34.9",
368
400
  "X-Fern-Runtime": core.RUNTIME.type,
369
401
  "X-Fern-Runtime-Version": core.RUNTIME.version,
370
402
  },
@@ -432,7 +464,7 @@ class V1 {
432
464
  Authorization: yield this._getAuthorizationHeader(),
433
465
  "X-Fern-Language": "JavaScript",
434
466
  "X-Fern-SDK-Name": "candidhealth",
435
- "X-Fern-SDK-Version": "0.34.5",
467
+ "X-Fern-SDK-Version": "0.34.9",
436
468
  "X-Fern-Runtime": core.RUNTIME.type,
437
469
  "X-Fern-Runtime-Version": core.RUNTIME.version,
438
470
  },
@@ -485,7 +517,7 @@ class V1 {
485
517
  Authorization: yield this._getAuthorizationHeader(),
486
518
  "X-Fern-Language": "JavaScript",
487
519
  "X-Fern-SDK-Name": "candidhealth",
488
- "X-Fern-SDK-Version": "0.34.5",
520
+ "X-Fern-SDK-Version": "0.34.9",
489
521
  "X-Fern-Runtime": core.RUNTIME.type,
490
522
  "X-Fern-Runtime-Version": core.RUNTIME.version,
491
523
  },
@@ -538,7 +570,7 @@ class V1 {
538
570
  Authorization: yield this._getAuthorizationHeader(),
539
571
  "X-Fern-Language": "JavaScript",
540
572
  "X-Fern-SDK-Name": "candidhealth",
541
- "X-Fern-SDK-Version": "0.34.5",
573
+ "X-Fern-SDK-Version": "0.34.9",
542
574
  "X-Fern-Runtime": core.RUNTIME.type,
543
575
  "X-Fern-Runtime-Version": core.RUNTIME.version,
544
576
  },
@@ -589,7 +621,7 @@ class V1 {
589
621
  Authorization: yield this._getAuthorizationHeader(),
590
622
  "X-Fern-Language": "JavaScript",
591
623
  "X-Fern-SDK-Name": "candidhealth",
592
- "X-Fern-SDK-Version": "0.34.5",
624
+ "X-Fern-SDK-Version": "0.34.9",
593
625
  "X-Fern-Runtime": core.RUNTIME.type,
594
626
  "X-Fern-Runtime-Version": core.RUNTIME.version,
595
627
  },
@@ -6,4 +6,5 @@ export interface Subscriber {
6
6
  name: CandidApi.preEncounter.HumanName;
7
7
  dateOfBirth: string;
8
8
  biologicalSex: CandidApi.preEncounter.Sex;
9
+ address?: CandidApi.preEncounter.Address;
9
10
  }
@@ -91,7 +91,7 @@ class V1 {
91
91
  Authorization: yield this._getAuthorizationHeader(),
92
92
  "X-Fern-Language": "JavaScript",
93
93
  "X-Fern-SDK-Name": "candidhealth",
94
- "X-Fern-SDK-Version": "0.34.5",
94
+ "X-Fern-SDK-Version": "0.34.9",
95
95
  "X-Fern-Runtime": core.RUNTIME.type,
96
96
  "X-Fern-Runtime-Version": core.RUNTIME.version,
97
97
  },
@@ -176,7 +176,7 @@ class V1 {
176
176
  Authorization: yield this._getAuthorizationHeader(),
177
177
  "X-Fern-Language": "JavaScript",
178
178
  "X-Fern-SDK-Name": "candidhealth",
179
- "X-Fern-SDK-Version": "0.34.5",
179
+ "X-Fern-SDK-Version": "0.34.9",
180
180
  "X-Fern-Runtime": core.RUNTIME.type,
181
181
  "X-Fern-Runtime-Version": core.RUNTIME.version,
182
182
  },
@@ -210,6 +210,12 @@ export declare class V1 {
210
210
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
211
211
  * },
212
212
  * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
213
+ * nonInsurancePayerAssociations: [{
214
+ * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string"),
215
+ * memberId: {
216
+ * "key": "value"
217
+ * }
218
+ * }],
213
219
  * guarantor: {
214
220
  * name: {
215
221
  * family: "string",
@@ -314,7 +320,8 @@ export declare class V1 {
314
320
  * notes: {
315
321
  * "key": "value"
316
322
  * }
317
- * }]
323
+ * }],
324
+ * primaryServiceFacilityId: "string"
318
325
  * }
319
326
  * })
320
327
  */
@@ -544,6 +551,12 @@ export declare class V1 {
544
551
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
545
552
  * },
546
553
  * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
554
+ * nonInsurancePayerAssociations: [{
555
+ * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string"),
556
+ * memberId: {
557
+ * "key": "value"
558
+ * }
559
+ * }],
547
560
  * guarantor: {
548
561
  * name: {
549
562
  * family: "string",
@@ -648,7 +661,8 @@ export declare class V1 {
648
661
  * notes: {
649
662
  * "key": "value"
650
663
  * }
651
- * }]
664
+ * }],
665
+ * primaryServiceFacilityId: "string"
652
666
  * })
653
667
  */
654
668
  update(id: CandidApi.preEncounter.PatientId, version: string, request: CandidApi.preEncounter.patients.v1.MutablePatient, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.update.Error>>;
@@ -237,6 +237,12 @@ class V1 {
237
237
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
238
238
  * },
239
239
  * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
240
+ * nonInsurancePayerAssociations: [{
241
+ * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string"),
242
+ * memberId: {
243
+ * "key": "value"
244
+ * }
245
+ * }],
240
246
  * guarantor: {
241
247
  * name: {
242
248
  * family: "string",
@@ -341,7 +347,8 @@ class V1 {
341
347
  * notes: {
342
348
  * "key": "value"
343
349
  * }
344
- * }]
350
+ * }],
351
+ * primaryServiceFacilityId: "string"
345
352
  * }
346
353
  * })
347
354
  */
@@ -361,7 +368,7 @@ class V1 {
361
368
  Authorization: yield this._getAuthorizationHeader(),
362
369
  "X-Fern-Language": "JavaScript",
363
370
  "X-Fern-SDK-Name": "candidhealth",
364
- "X-Fern-SDK-Version": "0.34.5",
371
+ "X-Fern-SDK-Version": "0.34.9",
365
372
  "X-Fern-Runtime": core.RUNTIME.type,
366
373
  "X-Fern-Runtime-Version": core.RUNTIME.version,
367
374
  },
@@ -450,7 +457,7 @@ class V1 {
450
457
  Authorization: yield this._getAuthorizationHeader(),
451
458
  "X-Fern-Language": "JavaScript",
452
459
  "X-Fern-SDK-Name": "candidhealth",
453
- "X-Fern-SDK-Version": "0.34.5",
460
+ "X-Fern-SDK-Version": "0.34.9",
454
461
  "X-Fern-Runtime": core.RUNTIME.type,
455
462
  "X-Fern-Runtime-Version": core.RUNTIME.version,
456
463
  },
@@ -498,7 +505,7 @@ class V1 {
498
505
  Authorization: yield this._getAuthorizationHeader(),
499
506
  "X-Fern-Language": "JavaScript",
500
507
  "X-Fern-SDK-Name": "candidhealth",
501
- "X-Fern-SDK-Version": "0.34.5",
508
+ "X-Fern-SDK-Version": "0.34.9",
502
509
  "X-Fern-Runtime": core.RUNTIME.type,
503
510
  "X-Fern-Runtime-Version": core.RUNTIME.version,
504
511
  },
@@ -559,7 +566,7 @@ class V1 {
559
566
  Authorization: yield this._getAuthorizationHeader(),
560
567
  "X-Fern-Language": "JavaScript",
561
568
  "X-Fern-SDK-Name": "candidhealth",
562
- "X-Fern-SDK-Version": "0.34.5",
569
+ "X-Fern-SDK-Version": "0.34.9",
563
570
  "X-Fern-Runtime": core.RUNTIME.type,
564
571
  "X-Fern-Runtime-Version": core.RUNTIME.version,
565
572
  },
@@ -789,6 +796,12 @@ class V1 {
789
796
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
790
797
  * },
791
798
  * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
799
+ * nonInsurancePayerAssociations: [{
800
+ * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string"),
801
+ * memberId: {
802
+ * "key": "value"
803
+ * }
804
+ * }],
792
805
  * guarantor: {
793
806
  * name: {
794
807
  * family: "string",
@@ -893,7 +906,8 @@ class V1 {
893
906
  * notes: {
894
907
  * "key": "value"
895
908
  * }
896
- * }]
909
+ * }],
910
+ * primaryServiceFacilityId: "string"
897
911
  * })
898
912
  */
899
913
  update(id, version, request, requestOptions) {
@@ -907,7 +921,7 @@ class V1 {
907
921
  Authorization: yield this._getAuthorizationHeader(),
908
922
  "X-Fern-Language": "JavaScript",
909
923
  "X-Fern-SDK-Name": "candidhealth",
910
- "X-Fern-SDK-Version": "0.34.5",
924
+ "X-Fern-SDK-Version": "0.34.9",
911
925
  "X-Fern-Runtime": core.RUNTIME.type,
912
926
  "X-Fern-Runtime-Version": core.RUNTIME.version,
913
927
  },
@@ -973,7 +987,7 @@ class V1 {
973
987
  Authorization: yield this._getAuthorizationHeader(),
974
988
  "X-Fern-Language": "JavaScript",
975
989
  "X-Fern-SDK-Name": "candidhealth",
976
- "X-Fern-SDK-Version": "0.34.5",
990
+ "X-Fern-SDK-Version": "0.34.9",
977
991
  "X-Fern-Runtime": core.RUNTIME.type,
978
992
  "X-Fern-Runtime-Version": core.RUNTIME.version,
979
993
  },
@@ -1041,7 +1055,7 @@ class V1 {
1041
1055
  Authorization: yield this._getAuthorizationHeader(),
1042
1056
  "X-Fern-Language": "JavaScript",
1043
1057
  "X-Fern-SDK-Name": "candidhealth",
1044
- "X-Fern-SDK-Version": "0.34.5",
1058
+ "X-Fern-SDK-Version": "0.34.9",
1045
1059
  "X-Fern-Runtime": core.RUNTIME.type,
1046
1060
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1047
1061
  },
@@ -1094,7 +1108,7 @@ class V1 {
1094
1108
  Authorization: yield this._getAuthorizationHeader(),
1095
1109
  "X-Fern-Language": "JavaScript",
1096
1110
  "X-Fern-SDK-Name": "candidhealth",
1097
- "X-Fern-SDK-Version": "0.34.5",
1111
+ "X-Fern-SDK-Version": "0.34.9",
1098
1112
  "X-Fern-Runtime": core.RUNTIME.type,
1099
1113
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1100
1114
  },
@@ -186,6 +186,12 @@ import * as CandidApi from "../../../../../../../../index";
186
186
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
187
187
  * },
188
188
  * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
189
+ * nonInsurancePayerAssociations: [{
190
+ * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string"),
191
+ * memberId: {
192
+ * "key": "value"
193
+ * }
194
+ * }],
189
195
  * guarantor: {
190
196
  * name: {
191
197
  * family: "string",
@@ -290,7 +296,8 @@ import * as CandidApi from "../../../../../../../../index";
290
296
  * notes: {
291
297
  * "key": "value"
292
298
  * }
293
- * }]
299
+ * }],
300
+ * primaryServiceFacilityId: "string"
294
301
  * }
295
302
  * }
296
303
  */
@@ -4,7 +4,7 @@
4
4
  import * as CandidApi from "../../../../../../../index";
5
5
  export interface Guarantor {
6
6
  name: CandidApi.preEncounter.HumanName;
7
- telecom: CandidApi.preEncounter.ContactPoint;
7
+ telecom?: CandidApi.preEncounter.ContactPoint;
8
8
  email?: string;
9
9
  birthDate: string;
10
10
  address: CandidApi.preEncounter.Address;
@@ -43,8 +43,10 @@ export interface MutablePatient {
43
43
  generalPractitioners: CandidApi.preEncounter.ExternalProvider[];
44
44
  filingOrder: CandidApi.preEncounter.patients.v1.FilingOrder;
45
45
  nonInsurancePayers?: CandidApi.preEncounter.CanonicalNonInsurancePayerId[];
46
+ nonInsurancePayerAssociations?: CandidApi.preEncounter.CanonicalNonInsurancePayerAssociation[];
46
47
  guarantor?: CandidApi.preEncounter.patients.v1.Guarantor;
47
48
  selfPay?: boolean;
48
49
  authorizations?: CandidApi.preEncounter.patients.v1.Authorization[];
49
50
  referrals?: CandidApi.preEncounter.patients.v1.Referral[];
51
+ primaryServiceFacilityId?: string;
50
52
  }
@@ -77,7 +77,7 @@ class ServiceFacility {
77
77
  Authorization: yield this._getAuthorizationHeader(),
78
78
  "X-Fern-Language": "JavaScript",
79
79
  "X-Fern-SDK-Name": "candidhealth",
80
- "X-Fern-SDK-Version": "0.34.5",
80
+ "X-Fern-SDK-Version": "0.34.9",
81
81
  "X-Fern-Runtime": core.RUNTIME.type,
82
82
  "X-Fern-Runtime-Version": core.RUNTIME.version,
83
83
  },
@@ -43,7 +43,21 @@ export declare class V2 {
43
43
  * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
44
44
  * description: "string",
45
45
  * dateOfService: "2023-01-15",
46
- * endDateOfService: "2023-01-15"
46
+ * endDateOfService: "2023-01-15",
47
+ * drugIdentification: {
48
+ * serviceIdQualifier: CandidApi.serviceLines.v2.ServiceIdQualifier.EanUcc13,
49
+ * nationalDrugCode: "string",
50
+ * nationalDrugUnitCount: "string",
51
+ * measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
52
+ * linkSequenceNumber: "string",
53
+ * pharmacyPrescriptionNumber: "string",
54
+ * conversionFormula: "string",
55
+ * drugDescription: "string"
56
+ * },
57
+ * testResults: [{
58
+ * value: 1.1,
59
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
60
+ * }]
47
61
  * })
48
62
  */
49
63
  create(request: CandidApi.serviceLines.v2.ServiceLineCreateStandalone, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.serviceLines.v2.ServiceLine, CandidApi.serviceLines.v2.create.Error>>;
@@ -68,7 +82,8 @@ export declare class V2 {
68
82
  * measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
69
83
  * linkSequenceNumber: "string",
70
84
  * pharmacyPrescriptionNumber: "string",
71
- * conversionFormula: "string"
85
+ * conversionFormula: "string",
86
+ * drugDescription: "string"
72
87
  * },
73
88
  * denialReason: {
74
89
  * reason: CandidApi.serviceLines.v2.DenialReasonContent.AuthorizationRequired
@@ -80,10 +95,10 @@ export declare class V2 {
80
95
  * description: "string",
81
96
  * dateOfService: "2023-01-15",
82
97
  * endDateOfService: "2023-01-15",
83
- * testResult: {
84
- * type: "hematocrit",
85
- * value: 1.1
86
- * }
98
+ * testResults: [{
99
+ * value: 1.1,
100
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
101
+ * }]
87
102
  * })
88
103
  */
89
104
  update(serviceLineId: CandidApi.ServiceLineId, request: CandidApi.serviceLines.v2.ServiceLineUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.serviceLines.v2.ServiceLine, CandidApi.serviceLines.v2.update.Error>>;
@@ -70,7 +70,21 @@ class V2 {
70
70
  * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
71
71
  * description: "string",
72
72
  * dateOfService: "2023-01-15",
73
- * endDateOfService: "2023-01-15"
73
+ * endDateOfService: "2023-01-15",
74
+ * drugIdentification: {
75
+ * serviceIdQualifier: CandidApi.serviceLines.v2.ServiceIdQualifier.EanUcc13,
76
+ * nationalDrugCode: "string",
77
+ * nationalDrugUnitCount: "string",
78
+ * measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
79
+ * linkSequenceNumber: "string",
80
+ * pharmacyPrescriptionNumber: "string",
81
+ * conversionFormula: "string",
82
+ * drugDescription: "string"
83
+ * },
84
+ * testResults: [{
85
+ * value: 1.1,
86
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
87
+ * }]
74
88
  * })
75
89
  */
76
90
  create(request, requestOptions) {
@@ -84,7 +98,7 @@ class V2 {
84
98
  Authorization: yield this._getAuthorizationHeader(),
85
99
  "X-Fern-Language": "JavaScript",
86
100
  "X-Fern-SDK-Name": "candidhealth",
87
- "X-Fern-SDK-Version": "0.34.5",
101
+ "X-Fern-SDK-Version": "0.34.9",
88
102
  "X-Fern-Runtime": core.RUNTIME.type,
89
103
  "X-Fern-Runtime-Version": core.RUNTIME.version,
90
104
  },
@@ -149,7 +163,8 @@ class V2 {
149
163
  * measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
150
164
  * linkSequenceNumber: "string",
151
165
  * pharmacyPrescriptionNumber: "string",
152
- * conversionFormula: "string"
166
+ * conversionFormula: "string",
167
+ * drugDescription: "string"
153
168
  * },
154
169
  * denialReason: {
155
170
  * reason: CandidApi.serviceLines.v2.DenialReasonContent.AuthorizationRequired
@@ -161,10 +176,10 @@ class V2 {
161
176
  * description: "string",
162
177
  * dateOfService: "2023-01-15",
163
178
  * endDateOfService: "2023-01-15",
164
- * testResult: {
165
- * type: "hematocrit",
166
- * value: 1.1
167
- * }
179
+ * testResults: [{
180
+ * value: 1.1,
181
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
182
+ * }]
168
183
  * })
169
184
  */
170
185
  update(serviceLineId, request, requestOptions) {
@@ -178,7 +193,7 @@ class V2 {
178
193
  Authorization: yield this._getAuthorizationHeader(),
179
194
  "X-Fern-Language": "JavaScript",
180
195
  "X-Fern-SDK-Name": "candidhealth",
181
- "X-Fern-SDK-Version": "0.34.5",
196
+ "X-Fern-SDK-Version": "0.34.9",
182
197
  "X-Fern-Runtime": core.RUNTIME.type,
183
198
  "X-Fern-Runtime-Version": core.RUNTIME.version,
184
199
  },
@@ -242,7 +257,7 @@ class V2 {
242
257
  Authorization: yield this._getAuthorizationHeader(),
243
258
  "X-Fern-Language": "JavaScript",
244
259
  "X-Fern-SDK-Name": "candidhealth",
245
- "X-Fern-SDK-Version": "0.34.5",
260
+ "X-Fern-SDK-Version": "0.34.9",
246
261
  "X-Fern-Runtime": core.RUNTIME.type,
247
262
  "X-Fern-Runtime-Version": core.RUNTIME.version,
248
263
  },
@@ -10,4 +10,5 @@ export interface DrugIdentification {
10
10
  linkSequenceNumber?: string;
11
11
  pharmacyPrescriptionNumber?: string;
12
12
  conversionFormula?: string;
13
+ drugDescription?: string;
13
14
  }