candidhealth 0.30.0 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +37 -32
  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/contracts/resources/v2/client/Client.d.ts +8 -1
  6. package/api/resources/contracts/resources/v2/client/Client.js +13 -6
  7. package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +8 -1
  8. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  9. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  10. package/api/resources/encounters/resources/v4/client/Client.d.ts +32 -50
  11. package/api/resources/encounters/resources/v4/client/Client.js +36 -54
  12. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +16 -50
  13. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +22 -2
  14. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +7 -0
  15. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +7 -0
  16. package/api/resources/encounters/resources/v4/types/VitalsUpdate.d.ts +24 -0
  17. package/api/resources/encounters/resources/v4/types/VitalsUpdate.js +5 -0
  18. package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  19. package/api/resources/encounters/resources/v4/types/index.js +1 -0
  20. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  21. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +22 -2
  22. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +24 -4
  23. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  24. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  25. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +1 -1
  26. package/api/resources/feeSchedules/resources/v3/client/Client.js +11 -11
  27. package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
  28. package/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
  29. package/api/resources/financials/types/AllocationTargetCreate.d.ts +3 -4
  30. package/api/resources/financials/types/AppointmentAllocationTarget.d.ts +1 -0
  31. package/api/resources/financials/types/AppointmentByIdAndPatientExternalId.d.ts +8 -0
  32. package/api/resources/financials/types/AppointmentByIdAndPatientExternalId.js +5 -0
  33. package/api/resources/financials/types/index.d.ts +1 -0
  34. package/api/resources/financials/types/index.js +1 -0
  35. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  36. package/api/resources/importInvoice/resources/v1/client/Client.d.ts +14 -2
  37. package/api/resources/importInvoice/resources/v1/client/Client.js +34 -7
  38. package/api/resources/importInvoice/resources/v1/client/importInvoice.d.ts +13 -1
  39. package/api/resources/importInvoice/resources/v1/client/importInvoice.js +22 -0
  40. package/api/resources/index.d.ts +1 -0
  41. package/api/resources/index.js +2 -1
  42. package/api/resources/individual/types/Patient.d.ts +8 -0
  43. package/api/resources/individual/types/PatientCreate.d.ts +1 -0
  44. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +27 -2
  45. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +30 -5
  46. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +7 -1
  47. package/api/resources/insurancePayments/resources/v1/client/Client.js +12 -6
  48. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +7 -1
  49. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +12 -6
  50. package/api/resources/medicationDispense/client/Client.d.ts +26 -0
  51. package/api/resources/medicationDispense/client/Client.js +17 -0
  52. package/api/resources/medicationDispense/client/index.d.ts +1 -0
  53. package/api/resources/medicationDispense/client/index.js +2 -0
  54. package/api/resources/medicationDispense/index.d.ts +2 -0
  55. package/api/resources/medicationDispense/index.js +18 -0
  56. package/api/resources/medicationDispense/resources/index.d.ts +1 -0
  57. package/api/resources/medicationDispense/resources/index.js +27 -0
  58. package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +51 -0
  59. package/api/resources/medicationDispense/resources/v1/client/Client.js +145 -0
  60. package/api/resources/medicationDispense/resources/v1/client/create.d.ts +52 -0
  61. package/api/resources/medicationDispense/resources/v1/client/create.js +102 -0
  62. package/api/resources/medicationDispense/resources/v1/client/index.d.ts +1 -0
  63. package/api/resources/medicationDispense/resources/v1/client/index.js +27 -0
  64. package/api/resources/medicationDispense/resources/v1/index.d.ts +2 -0
  65. package/api/resources/medicationDispense/resources/v1/index.js +18 -0
  66. package/api/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.d.ts +15 -0
  67. package/api/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.js +5 -0
  68. package/api/resources/medicationDispense/resources/v1/types/index.d.ts +1 -0
  69. package/api/resources/medicationDispense/resources/v1/types/index.js +17 -0
  70. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +7 -1
  71. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +12 -6
  72. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +7 -1
  73. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +12 -6
  74. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  75. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +10 -0
  76. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +23 -2
  77. package/api/resources/organizationProviders/resources/v3/client/Client.js +27 -6
  78. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  79. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  80. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  81. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  82. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +144 -4
  83. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +150 -10
  84. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +54 -8
  85. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +62 -16
  86. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +456 -33
  87. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +465 -42
  88. package/api/resources/serviceFacility/client/Client.js +1 -1
  89. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -2
  90. package/api/resources/serviceLines/resources/v2/client/Client.js +18 -5
  91. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -3
  92. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +0 -17
  93. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
  94. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  95. package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.d.ts +7 -1
  96. package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +12 -6
  97. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.d.ts +7 -1
  98. package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +12 -6
  99. package/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
  100. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  101. package/dist/Client.d.ts +3 -0
  102. package/dist/Client.js +37 -32
  103. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  104. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  105. package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +8 -1
  106. package/dist/api/resources/contracts/resources/v2/client/Client.js +13 -6
  107. package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +8 -1
  108. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  109. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  110. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +32 -50
  111. package/dist/api/resources/encounters/resources/v4/client/Client.js +36 -54
  112. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +16 -50
  113. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +22 -2
  114. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +7 -0
  115. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +7 -0
  116. package/dist/api/resources/encounters/resources/v4/types/VitalsUpdate.d.ts +24 -0
  117. package/dist/api/resources/encounters/resources/v4/types/VitalsUpdate.js +5 -0
  118. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  119. package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
  120. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  121. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +22 -2
  122. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +24 -4
  123. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  124. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  125. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +1 -1
  126. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +11 -11
  127. package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
  128. package/dist/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
  129. package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +3 -4
  130. package/dist/api/resources/financials/types/AppointmentAllocationTarget.d.ts +1 -0
  131. package/dist/api/resources/financials/types/AppointmentByIdAndPatientExternalId.d.ts +8 -0
  132. package/dist/api/resources/financials/types/AppointmentByIdAndPatientExternalId.js +5 -0
  133. package/dist/api/resources/financials/types/index.d.ts +1 -0
  134. package/dist/api/resources/financials/types/index.js +1 -0
  135. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  136. package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +14 -2
  137. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +34 -7
  138. package/dist/api/resources/importInvoice/resources/v1/client/importInvoice.d.ts +13 -1
  139. package/dist/api/resources/importInvoice/resources/v1/client/importInvoice.js +22 -0
  140. package/dist/api/resources/index.d.ts +1 -0
  141. package/dist/api/resources/index.js +2 -1
  142. package/dist/api/resources/individual/types/Patient.d.ts +8 -0
  143. package/dist/api/resources/individual/types/PatientCreate.d.ts +1 -0
  144. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +27 -2
  145. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +30 -5
  146. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +7 -1
  147. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +12 -6
  148. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +7 -1
  149. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +12 -6
  150. package/dist/api/resources/medicationDispense/client/Client.d.ts +26 -0
  151. package/dist/api/resources/medicationDispense/client/Client.js +17 -0
  152. package/dist/api/resources/medicationDispense/client/index.d.ts +1 -0
  153. package/dist/api/resources/medicationDispense/client/index.js +2 -0
  154. package/dist/api/resources/medicationDispense/index.d.ts +2 -0
  155. package/dist/api/resources/medicationDispense/index.js +18 -0
  156. package/dist/api/resources/medicationDispense/resources/index.d.ts +1 -0
  157. package/dist/api/resources/medicationDispense/resources/index.js +27 -0
  158. package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +51 -0
  159. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +145 -0
  160. package/dist/api/resources/medicationDispense/resources/v1/client/create.d.ts +52 -0
  161. package/dist/api/resources/medicationDispense/resources/v1/client/create.js +102 -0
  162. package/dist/api/resources/medicationDispense/resources/v1/client/index.d.ts +1 -0
  163. package/dist/api/resources/medicationDispense/resources/v1/client/index.js +27 -0
  164. package/dist/api/resources/medicationDispense/resources/v1/index.d.ts +2 -0
  165. package/dist/api/resources/medicationDispense/resources/v1/index.js +18 -0
  166. package/dist/api/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.d.ts +15 -0
  167. package/dist/api/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.js +5 -0
  168. package/dist/api/resources/medicationDispense/resources/v1/types/index.d.ts +1 -0
  169. package/dist/api/resources/medicationDispense/resources/v1/types/index.js +17 -0
  170. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +7 -1
  171. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +12 -6
  172. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +7 -1
  173. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +12 -6
  174. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  175. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +10 -0
  176. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +23 -2
  177. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +27 -6
  178. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  179. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  180. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  181. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  182. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +144 -4
  183. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +150 -10
  184. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +54 -8
  185. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +62 -16
  186. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +456 -33
  187. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +465 -42
  188. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  189. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -2
  190. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +18 -5
  191. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -3
  192. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +0 -17
  193. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
  194. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  195. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.d.ts +7 -1
  196. package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +12 -6
  197. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.d.ts +7 -1
  198. package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +12 -6
  199. package/dist/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
  200. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  201. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
  202. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
  203. package/dist/serialization/resources/encounters/resources/v4/types/VitalsUpdate.d.ts +18 -0
  204. package/dist/serialization/resources/encounters/resources/v4/types/VitalsUpdate.js +39 -0
  205. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  206. package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  207. package/dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -5
  208. package/dist/serialization/resources/financials/types/AllocationTargetCreate.js +2 -4
  209. package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +2 -0
  210. package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.js +2 -0
  211. package/dist/serialization/resources/financials/types/AppointmentByIdAndPatientExternalId.d.ts +15 -0
  212. package/dist/serialization/resources/financials/types/AppointmentByIdAndPatientExternalId.js +36 -0
  213. package/dist/serialization/resources/financials/types/index.d.ts +1 -0
  214. package/dist/serialization/resources/financials/types/index.js +1 -0
  215. package/dist/serialization/resources/importInvoice/resources/v1/client/importInvoice.d.ts +20 -0
  216. package/dist/serialization/resources/importInvoice/resources/v1/client/importInvoice.js +67 -0
  217. package/dist/serialization/resources/importInvoice/resources/v1/client/index.d.ts +1 -0
  218. package/dist/serialization/resources/importInvoice/resources/v1/client/index.js +2 -1
  219. package/dist/serialization/resources/index.d.ts +1 -0
  220. package/dist/serialization/resources/index.js +2 -1
  221. package/dist/serialization/resources/individual/types/Patient.d.ts +2 -0
  222. package/dist/serialization/resources/individual/types/Patient.js +2 -0
  223. package/dist/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
  224. package/dist/serialization/resources/individual/types/PatientCreate.js +2 -0
  225. package/dist/serialization/resources/medicationDispense/index.d.ts +1 -0
  226. package/dist/serialization/resources/medicationDispense/index.js +17 -0
  227. package/dist/serialization/resources/medicationDispense/resources/index.d.ts +1 -0
  228. package/dist/serialization/resources/medicationDispense/resources/index.js +27 -0
  229. package/dist/serialization/resources/medicationDispense/resources/v1/client/create.d.ts +35 -0
  230. package/dist/serialization/resources/medicationDispense/resources/v1/client/create.js +85 -0
  231. package/dist/serialization/resources/medicationDispense/resources/v1/client/index.d.ts +1 -0
  232. package/dist/serialization/resources/medicationDispense/resources/v1/client/index.js +27 -0
  233. package/dist/serialization/resources/medicationDispense/resources/v1/index.d.ts +2 -0
  234. package/dist/serialization/resources/medicationDispense/resources/v1/index.js +18 -0
  235. package/dist/serialization/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.d.ts +24 -0
  236. package/dist/serialization/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.js +45 -0
  237. package/dist/serialization/resources/medicationDispense/resources/v1/types/index.d.ts +1 -0
  238. package/dist/serialization/resources/medicationDispense/resources/v1/types/index.js +17 -0
  239. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -3
  240. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -3
  241. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +0 -6
  242. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +0 -6
  243. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
  244. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
  245. package/package.json +1 -1
  246. package/reference.md +994 -111
  247. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
  248. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
  249. package/serialization/resources/encounters/resources/v4/types/VitalsUpdate.d.ts +18 -0
  250. package/serialization/resources/encounters/resources/v4/types/VitalsUpdate.js +39 -0
  251. package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  252. package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  253. package/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -5
  254. package/serialization/resources/financials/types/AllocationTargetCreate.js +2 -4
  255. package/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +2 -0
  256. package/serialization/resources/financials/types/AppointmentAllocationTarget.js +2 -0
  257. package/serialization/resources/financials/types/AppointmentByIdAndPatientExternalId.d.ts +15 -0
  258. package/serialization/resources/financials/types/AppointmentByIdAndPatientExternalId.js +36 -0
  259. package/serialization/resources/financials/types/index.d.ts +1 -0
  260. package/serialization/resources/financials/types/index.js +1 -0
  261. package/serialization/resources/importInvoice/resources/v1/client/importInvoice.d.ts +20 -0
  262. package/serialization/resources/importInvoice/resources/v1/client/importInvoice.js +67 -0
  263. package/serialization/resources/importInvoice/resources/v1/client/index.d.ts +1 -0
  264. package/serialization/resources/importInvoice/resources/v1/client/index.js +2 -1
  265. package/serialization/resources/index.d.ts +1 -0
  266. package/serialization/resources/index.js +2 -1
  267. package/serialization/resources/individual/types/Patient.d.ts +2 -0
  268. package/serialization/resources/individual/types/Patient.js +2 -0
  269. package/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
  270. package/serialization/resources/individual/types/PatientCreate.js +2 -0
  271. package/serialization/resources/medicationDispense/index.d.ts +1 -0
  272. package/serialization/resources/medicationDispense/index.js +17 -0
  273. package/serialization/resources/medicationDispense/resources/index.d.ts +1 -0
  274. package/serialization/resources/medicationDispense/resources/index.js +27 -0
  275. package/serialization/resources/medicationDispense/resources/v1/client/create.d.ts +35 -0
  276. package/serialization/resources/medicationDispense/resources/v1/client/create.js +85 -0
  277. package/serialization/resources/medicationDispense/resources/v1/client/index.d.ts +1 -0
  278. package/serialization/resources/medicationDispense/resources/v1/client/index.js +27 -0
  279. package/serialization/resources/medicationDispense/resources/v1/index.d.ts +2 -0
  280. package/serialization/resources/medicationDispense/resources/v1/index.js +18 -0
  281. package/serialization/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.d.ts +24 -0
  282. package/serialization/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.js +45 -0
  283. package/serialization/resources/medicationDispense/resources/v1/types/index.d.ts +1 -0
  284. package/serialization/resources/medicationDispense/resources/v1/types/index.js +17 -0
  285. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -3
  286. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -3
  287. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +0 -6
  288. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +0 -6
  289. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
  290. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
@@ -56,8 +56,32 @@ class V1 {
56
56
  *
57
57
  * @example
58
58
  * await client.preEncounter.patients.v1.create({
59
- * name: {},
60
- * otherNames: [{}],
59
+ * name: {
60
+ * family: "string",
61
+ * given: ["string"],
62
+ * use: CandidApi.preEncounter.NameUse.Usual,
63
+ * period: {
64
+ * start: {
65
+ * "key": "value"
66
+ * },
67
+ * end: {
68
+ * "key": "value"
69
+ * }
70
+ * }
71
+ * },
72
+ * otherNames: [{
73
+ * family: "string",
74
+ * given: ["string"],
75
+ * use: CandidApi.preEncounter.NameUse.Usual,
76
+ * period: {
77
+ * start: {
78
+ * "key": "value"
79
+ * },
80
+ * end: {
81
+ * "key": "value"
82
+ * }
83
+ * }
84
+ * }],
61
85
  * gender: CandidApi.preEncounter.Gender.Man,
62
86
  * birthDate: "2023-01-15",
63
87
  * socialSecurityNumber: "string",
@@ -69,10 +93,52 @@ class V1 {
69
93
  * maritalStatus: CandidApi.preEncounter.patients.v1.MaritalStatus.Annulled,
70
94
  * deceased: new Date("2024-01-15T09:30:00.000Z"),
71
95
  * multipleBirth: 1,
72
- * primaryAddress: {},
73
- * otherAddresses: [{}],
74
- * primaryTelecom: {},
75
- * otherTelecoms: [{}],
96
+ * primaryAddress: {
97
+ * use: CandidApi.preEncounter.AddressUse.Home,
98
+ * line: ["string"],
99
+ * city: "string",
100
+ * state: "string",
101
+ * postalCode: "string",
102
+ * country: "string",
103
+ * period: {
104
+ * start: {
105
+ * "key": "value"
106
+ * },
107
+ * end: {
108
+ * "key": "value"
109
+ * }
110
+ * }
111
+ * },
112
+ * otherAddresses: [{
113
+ * use: CandidApi.preEncounter.AddressUse.Home,
114
+ * line: ["string"],
115
+ * city: "string",
116
+ * state: "string",
117
+ * postalCode: "string",
118
+ * country: "string",
119
+ * period: {
120
+ * start: {
121
+ * "key": "value"
122
+ * },
123
+ * end: {
124
+ * "key": "value"
125
+ * }
126
+ * }
127
+ * }],
128
+ * primaryTelecom: {
129
+ * value: "string",
130
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
131
+ * period: {
132
+ * "key": "value"
133
+ * }
134
+ * },
135
+ * otherTelecoms: [{
136
+ * value: "string",
137
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
138
+ * period: {
139
+ * "key": "value"
140
+ * }
141
+ * }],
76
142
  * email: "string",
77
143
  * electronicCommunicationOptIn: true,
78
144
  * photo: "string",
@@ -83,13 +149,88 @@ class V1 {
83
149
  * },
84
150
  * contacts: [{
85
151
  * relationship: [CandidApi.preEncounter.Relationship.Self],
86
- * name: {},
87
- * telecoms: [{}],
88
- * addresses: [{}],
89
- * period: {},
152
+ * name: {
153
+ * family: "string",
154
+ * given: ["string"],
155
+ * use: CandidApi.preEncounter.NameUse.Usual,
156
+ * period: {
157
+ * start: {
158
+ * "key": "value"
159
+ * },
160
+ * end: {
161
+ * "key": "value"
162
+ * }
163
+ * }
164
+ * },
165
+ * telecoms: [{
166
+ * value: "string",
167
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
168
+ * period: {
169
+ * "key": "value"
170
+ * }
171
+ * }],
172
+ * addresses: [{
173
+ * use: CandidApi.preEncounter.AddressUse.Home,
174
+ * line: ["string"],
175
+ * city: "string",
176
+ * state: "string",
177
+ * postalCode: "string",
178
+ * country: "string",
179
+ * period: {
180
+ * start: {
181
+ * "key": "value"
182
+ * },
183
+ * end: {
184
+ * "key": "value"
185
+ * }
186
+ * }
187
+ * }],
188
+ * period: {
189
+ * start: {
190
+ * "key": "value"
191
+ * },
192
+ * end: {
193
+ * "key": "value"
194
+ * }
195
+ * },
90
196
  * hipaaAuthorization: true
91
197
  * }],
92
- * generalPractitioners: [{}],
198
+ * generalPractitioners: [{
199
+ * name: {
200
+ * family: "string",
201
+ * given: ["string"],
202
+ * use: CandidApi.preEncounter.NameUse.Usual,
203
+ * period: {
204
+ * start: {
205
+ * "key": "value"
206
+ * },
207
+ * end: {
208
+ * "key": "value"
209
+ * }
210
+ * }
211
+ * },
212
+ * type: CandidApi.preEncounter.ExternalProviderType.Primary,
213
+ * npi: "string",
214
+ * telecoms: [{
215
+ * value: "string",
216
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
217
+ * period: {
218
+ * "key": "value"
219
+ * }
220
+ * }],
221
+ * addresses: [{
222
+ * "key": "value"
223
+ * }],
224
+ * period: {
225
+ * start: {
226
+ * "key": "value"
227
+ * },
228
+ * end: {
229
+ * "key": "value"
230
+ * }
231
+ * },
232
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
233
+ * }],
93
234
  * filingOrder: {
94
235
  * coverages: [CandidApi.preEncounter.coverages.v1.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
95
236
  * }
@@ -106,7 +247,7 @@ class V1 {
106
247
  Authorization: yield this._getAuthorizationHeader(),
107
248
  "X-Fern-Language": "JavaScript",
108
249
  "X-Fern-SDK-Name": "candidhealth",
109
- "X-Fern-SDK-Version": "0.30.0",
250
+ "X-Fern-SDK-Version": "0.32.0",
110
251
  "X-Fern-Runtime": core.RUNTIME.type,
111
252
  "X-Fern-Runtime-Version": core.RUNTIME.version,
112
253
  },
@@ -158,8 +299,32 @@ class V1 {
158
299
  *
159
300
  * @example
160
301
  * await client.preEncounter.patients.v1.createNoDuplicateCheck({
161
- * name: {},
162
- * otherNames: [{}],
302
+ * name: {
303
+ * family: "string",
304
+ * given: ["string"],
305
+ * use: CandidApi.preEncounter.NameUse.Usual,
306
+ * period: {
307
+ * start: {
308
+ * "key": "value"
309
+ * },
310
+ * end: {
311
+ * "key": "value"
312
+ * }
313
+ * }
314
+ * },
315
+ * otherNames: [{
316
+ * family: "string",
317
+ * given: ["string"],
318
+ * use: CandidApi.preEncounter.NameUse.Usual,
319
+ * period: {
320
+ * start: {
321
+ * "key": "value"
322
+ * },
323
+ * end: {
324
+ * "key": "value"
325
+ * }
326
+ * }
327
+ * }],
163
328
  * gender: CandidApi.preEncounter.Gender.Man,
164
329
  * birthDate: "2023-01-15",
165
330
  * socialSecurityNumber: "string",
@@ -171,10 +336,52 @@ class V1 {
171
336
  * maritalStatus: CandidApi.preEncounter.patients.v1.MaritalStatus.Annulled,
172
337
  * deceased: new Date("2024-01-15T09:30:00.000Z"),
173
338
  * multipleBirth: 1,
174
- * primaryAddress: {},
175
- * otherAddresses: [{}],
176
- * primaryTelecom: {},
177
- * otherTelecoms: [{}],
339
+ * primaryAddress: {
340
+ * use: CandidApi.preEncounter.AddressUse.Home,
341
+ * line: ["string"],
342
+ * city: "string",
343
+ * state: "string",
344
+ * postalCode: "string",
345
+ * country: "string",
346
+ * period: {
347
+ * start: {
348
+ * "key": "value"
349
+ * },
350
+ * end: {
351
+ * "key": "value"
352
+ * }
353
+ * }
354
+ * },
355
+ * otherAddresses: [{
356
+ * use: CandidApi.preEncounter.AddressUse.Home,
357
+ * line: ["string"],
358
+ * city: "string",
359
+ * state: "string",
360
+ * postalCode: "string",
361
+ * country: "string",
362
+ * period: {
363
+ * start: {
364
+ * "key": "value"
365
+ * },
366
+ * end: {
367
+ * "key": "value"
368
+ * }
369
+ * }
370
+ * }],
371
+ * primaryTelecom: {
372
+ * value: "string",
373
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
374
+ * period: {
375
+ * "key": "value"
376
+ * }
377
+ * },
378
+ * otherTelecoms: [{
379
+ * value: "string",
380
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
381
+ * period: {
382
+ * "key": "value"
383
+ * }
384
+ * }],
178
385
  * email: "string",
179
386
  * electronicCommunicationOptIn: true,
180
387
  * photo: "string",
@@ -185,13 +392,88 @@ class V1 {
185
392
  * },
186
393
  * contacts: [{
187
394
  * relationship: [CandidApi.preEncounter.Relationship.Self],
188
- * name: {},
189
- * telecoms: [{}],
190
- * addresses: [{}],
191
- * period: {},
395
+ * name: {
396
+ * family: "string",
397
+ * given: ["string"],
398
+ * use: CandidApi.preEncounter.NameUse.Usual,
399
+ * period: {
400
+ * start: {
401
+ * "key": "value"
402
+ * },
403
+ * end: {
404
+ * "key": "value"
405
+ * }
406
+ * }
407
+ * },
408
+ * telecoms: [{
409
+ * value: "string",
410
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
411
+ * period: {
412
+ * "key": "value"
413
+ * }
414
+ * }],
415
+ * addresses: [{
416
+ * use: CandidApi.preEncounter.AddressUse.Home,
417
+ * line: ["string"],
418
+ * city: "string",
419
+ * state: "string",
420
+ * postalCode: "string",
421
+ * country: "string",
422
+ * period: {
423
+ * start: {
424
+ * "key": "value"
425
+ * },
426
+ * end: {
427
+ * "key": "value"
428
+ * }
429
+ * }
430
+ * }],
431
+ * period: {
432
+ * start: {
433
+ * "key": "value"
434
+ * },
435
+ * end: {
436
+ * "key": "value"
437
+ * }
438
+ * },
192
439
  * hipaaAuthorization: true
193
440
  * }],
194
- * generalPractitioners: [{}],
441
+ * generalPractitioners: [{
442
+ * name: {
443
+ * family: "string",
444
+ * given: ["string"],
445
+ * use: CandidApi.preEncounter.NameUse.Usual,
446
+ * period: {
447
+ * start: {
448
+ * "key": "value"
449
+ * },
450
+ * end: {
451
+ * "key": "value"
452
+ * }
453
+ * }
454
+ * },
455
+ * type: CandidApi.preEncounter.ExternalProviderType.Primary,
456
+ * npi: "string",
457
+ * telecoms: [{
458
+ * value: "string",
459
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
460
+ * period: {
461
+ * "key": "value"
462
+ * }
463
+ * }],
464
+ * addresses: [{
465
+ * "key": "value"
466
+ * }],
467
+ * period: {
468
+ * start: {
469
+ * "key": "value"
470
+ * },
471
+ * end: {
472
+ * "key": "value"
473
+ * }
474
+ * },
475
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
476
+ * }],
195
477
  * filingOrder: {
196
478
  * coverages: [CandidApi.preEncounter.coverages.v1.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
197
479
  * }
@@ -208,7 +490,7 @@ class V1 {
208
490
  Authorization: yield this._getAuthorizationHeader(),
209
491
  "X-Fern-Language": "JavaScript",
210
492
  "X-Fern-SDK-Name": "candidhealth",
211
- "X-Fern-SDK-Version": "0.30.0",
493
+ "X-Fern-SDK-Version": "0.32.0",
212
494
  "X-Fern-Runtime": core.RUNTIME.type,
213
495
  "X-Fern-Runtime-Version": core.RUNTIME.version,
214
496
  },
@@ -296,7 +578,7 @@ class V1 {
296
578
  Authorization: yield this._getAuthorizationHeader(),
297
579
  "X-Fern-Language": "JavaScript",
298
580
  "X-Fern-SDK-Name": "candidhealth",
299
- "X-Fern-SDK-Version": "0.30.0",
581
+ "X-Fern-SDK-Version": "0.32.0",
300
582
  "X-Fern-Runtime": core.RUNTIME.type,
301
583
  "X-Fern-Runtime-Version": core.RUNTIME.version,
302
584
  },
@@ -344,7 +626,7 @@ class V1 {
344
626
  Authorization: yield this._getAuthorizationHeader(),
345
627
  "X-Fern-Language": "JavaScript",
346
628
  "X-Fern-SDK-Name": "candidhealth",
347
- "X-Fern-SDK-Version": "0.30.0",
629
+ "X-Fern-SDK-Version": "0.32.0",
348
630
  "X-Fern-Runtime": core.RUNTIME.type,
349
631
  "X-Fern-Runtime-Version": core.RUNTIME.version,
350
632
  },
@@ -405,7 +687,7 @@ class V1 {
405
687
  Authorization: yield this._getAuthorizationHeader(),
406
688
  "X-Fern-Language": "JavaScript",
407
689
  "X-Fern-SDK-Name": "candidhealth",
408
- "X-Fern-SDK-Version": "0.30.0",
690
+ "X-Fern-SDK-Version": "0.32.0",
409
691
  "X-Fern-Runtime": core.RUNTIME.type,
410
692
  "X-Fern-Runtime-Version": core.RUNTIME.version,
411
693
  },
@@ -456,8 +738,32 @@ class V1 {
456
738
  *
457
739
  * @example
458
740
  * await client.preEncounter.patients.v1.update(CandidApi.preEncounter.patients.v1.PatientId("string"), "string", {
459
- * name: {},
460
- * otherNames: [{}],
741
+ * name: {
742
+ * family: "string",
743
+ * given: ["string"],
744
+ * use: CandidApi.preEncounter.NameUse.Usual,
745
+ * period: {
746
+ * start: {
747
+ * "key": "value"
748
+ * },
749
+ * end: {
750
+ * "key": "value"
751
+ * }
752
+ * }
753
+ * },
754
+ * otherNames: [{
755
+ * family: "string",
756
+ * given: ["string"],
757
+ * use: CandidApi.preEncounter.NameUse.Usual,
758
+ * period: {
759
+ * start: {
760
+ * "key": "value"
761
+ * },
762
+ * end: {
763
+ * "key": "value"
764
+ * }
765
+ * }
766
+ * }],
461
767
  * gender: CandidApi.preEncounter.Gender.Man,
462
768
  * birthDate: "2023-01-15",
463
769
  * socialSecurityNumber: "string",
@@ -469,10 +775,52 @@ class V1 {
469
775
  * maritalStatus: CandidApi.preEncounter.patients.v1.MaritalStatus.Annulled,
470
776
  * deceased: new Date("2024-01-15T09:30:00.000Z"),
471
777
  * multipleBirth: 1,
472
- * primaryAddress: {},
473
- * otherAddresses: [{}],
474
- * primaryTelecom: {},
475
- * otherTelecoms: [{}],
778
+ * primaryAddress: {
779
+ * use: CandidApi.preEncounter.AddressUse.Home,
780
+ * line: ["string"],
781
+ * city: "string",
782
+ * state: "string",
783
+ * postalCode: "string",
784
+ * country: "string",
785
+ * period: {
786
+ * start: {
787
+ * "key": "value"
788
+ * },
789
+ * end: {
790
+ * "key": "value"
791
+ * }
792
+ * }
793
+ * },
794
+ * otherAddresses: [{
795
+ * use: CandidApi.preEncounter.AddressUse.Home,
796
+ * line: ["string"],
797
+ * city: "string",
798
+ * state: "string",
799
+ * postalCode: "string",
800
+ * country: "string",
801
+ * period: {
802
+ * start: {
803
+ * "key": "value"
804
+ * },
805
+ * end: {
806
+ * "key": "value"
807
+ * }
808
+ * }
809
+ * }],
810
+ * primaryTelecom: {
811
+ * value: "string",
812
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
813
+ * period: {
814
+ * "key": "value"
815
+ * }
816
+ * },
817
+ * otherTelecoms: [{
818
+ * value: "string",
819
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
820
+ * period: {
821
+ * "key": "value"
822
+ * }
823
+ * }],
476
824
  * email: "string",
477
825
  * electronicCommunicationOptIn: true,
478
826
  * photo: "string",
@@ -483,13 +831,88 @@ class V1 {
483
831
  * },
484
832
  * contacts: [{
485
833
  * relationship: [CandidApi.preEncounter.Relationship.Self],
486
- * name: {},
487
- * telecoms: [{}],
488
- * addresses: [{}],
489
- * period: {},
834
+ * name: {
835
+ * family: "string",
836
+ * given: ["string"],
837
+ * use: CandidApi.preEncounter.NameUse.Usual,
838
+ * period: {
839
+ * start: {
840
+ * "key": "value"
841
+ * },
842
+ * end: {
843
+ * "key": "value"
844
+ * }
845
+ * }
846
+ * },
847
+ * telecoms: [{
848
+ * value: "string",
849
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
850
+ * period: {
851
+ * "key": "value"
852
+ * }
853
+ * }],
854
+ * addresses: [{
855
+ * use: CandidApi.preEncounter.AddressUse.Home,
856
+ * line: ["string"],
857
+ * city: "string",
858
+ * state: "string",
859
+ * postalCode: "string",
860
+ * country: "string",
861
+ * period: {
862
+ * start: {
863
+ * "key": "value"
864
+ * },
865
+ * end: {
866
+ * "key": "value"
867
+ * }
868
+ * }
869
+ * }],
870
+ * period: {
871
+ * start: {
872
+ * "key": "value"
873
+ * },
874
+ * end: {
875
+ * "key": "value"
876
+ * }
877
+ * },
490
878
  * hipaaAuthorization: true
491
879
  * }],
492
- * generalPractitioners: [{}],
880
+ * generalPractitioners: [{
881
+ * name: {
882
+ * family: "string",
883
+ * given: ["string"],
884
+ * use: CandidApi.preEncounter.NameUse.Usual,
885
+ * period: {
886
+ * start: {
887
+ * "key": "value"
888
+ * },
889
+ * end: {
890
+ * "key": "value"
891
+ * }
892
+ * }
893
+ * },
894
+ * type: CandidApi.preEncounter.ExternalProviderType.Primary,
895
+ * npi: "string",
896
+ * telecoms: [{
897
+ * value: "string",
898
+ * use: CandidApi.preEncounter.ContactPointUse.Home,
899
+ * period: {
900
+ * "key": "value"
901
+ * }
902
+ * }],
903
+ * addresses: [{
904
+ * "key": "value"
905
+ * }],
906
+ * period: {
907
+ * start: {
908
+ * "key": "value"
909
+ * },
910
+ * end: {
911
+ * "key": "value"
912
+ * }
913
+ * },
914
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
915
+ * }],
493
916
  * filingOrder: {
494
917
  * coverages: [CandidApi.preEncounter.coverages.v1.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
495
918
  * }
@@ -506,7 +929,7 @@ class V1 {
506
929
  Authorization: yield this._getAuthorizationHeader(),
507
930
  "X-Fern-Language": "JavaScript",
508
931
  "X-Fern-SDK-Name": "candidhealth",
509
- "X-Fern-SDK-Version": "0.30.0",
932
+ "X-Fern-SDK-Version": "0.32.0",
510
933
  "X-Fern-Runtime": core.RUNTIME.type,
511
934
  "X-Fern-Runtime-Version": core.RUNTIME.version,
512
935
  },
@@ -572,7 +995,7 @@ class V1 {
572
995
  Authorization: yield this._getAuthorizationHeader(),
573
996
  "X-Fern-Language": "JavaScript",
574
997
  "X-Fern-SDK-Name": "candidhealth",
575
- "X-Fern-SDK-Version": "0.30.0",
998
+ "X-Fern-SDK-Version": "0.32.0",
576
999
  "X-Fern-Runtime": core.RUNTIME.type,
577
1000
  "X-Fern-Runtime-Version": core.RUNTIME.version,
578
1001
  },
@@ -640,7 +1063,7 @@ class V1 {
640
1063
  Authorization: yield this._getAuthorizationHeader(),
641
1064
  "X-Fern-Language": "JavaScript",
642
1065
  "X-Fern-SDK-Name": "candidhealth",
643
- "X-Fern-SDK-Version": "0.30.0",
1066
+ "X-Fern-SDK-Version": "0.32.0",
644
1067
  "X-Fern-Runtime": core.RUNTIME.type,
645
1068
  "X-Fern-Runtime-Version": core.RUNTIME.version,
646
1069
  },
@@ -693,7 +1116,7 @@ class V1 {
693
1116
  Authorization: yield this._getAuthorizationHeader(),
694
1117
  "X-Fern-Language": "JavaScript",
695
1118
  "X-Fern-SDK-Name": "candidhealth",
696
- "X-Fern-SDK-Version": "0.30.0",
1119
+ "X-Fern-SDK-Version": "0.32.0",
697
1120
  "X-Fern-Runtime": core.RUNTIME.type,
698
1121
  "X-Fern-Runtime-Version": core.RUNTIME.version,
699
1122
  },
@@ -78,7 +78,7 @@ class ServiceFacility {
78
78
  Authorization: yield this._getAuthorizationHeader(),
79
79
  "X-Fern-Language": "JavaScript",
80
80
  "X-Fern-SDK-Name": "candidhealth",
81
- "X-Fern-SDK-Version": "0.30.0",
81
+ "X-Fern-SDK-Version": "0.32.0",
82
82
  "X-Fern-Runtime": core.RUNTIME.type,
83
83
  "X-Fern-Runtime-Version": core.RUNTIME.version,
84
84
  },
@@ -33,7 +33,9 @@ export declare class V2 {
33
33
  * diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
34
34
  * diagnosisIdTwo: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
35
35
  * diagnosisIdThree: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
36
- * denialReason: {},
36
+ * denialReason: {
37
+ * reason: CandidApi.serviceLines.v2.DenialReasonContent.AuthorizationRequired
38
+ * },
37
39
  * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
38
40
  * procedureCode: "string",
39
41
  * quantity: CandidApi.Decimal("string"),
@@ -59,7 +61,18 @@ export declare class V2 {
59
61
  * diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
60
62
  * diagnosisIdTwo: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
61
63
  * diagnosisIdThree: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
62
- * denialReason: {},
64
+ * drugIdentification: {
65
+ * serviceIdQualifier: CandidApi.serviceLines.v2.ServiceIdQualifier.EanUcc13,
66
+ * nationalDrugCode: "string",
67
+ * nationalDrugUnitCount: "string",
68
+ * measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
69
+ * linkSequenceNumber: "string",
70
+ * pharmacyPrescriptionNumber: "string",
71
+ * conversionFormula: "string"
72
+ * },
73
+ * denialReason: {
74
+ * reason: CandidApi.serviceLines.v2.DenialReasonContent.AuthorizationRequired
75
+ * },
63
76
  * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
64
77
  * units: CandidApi.ServiceLineUnits.Mj,
65
78
  * procedureCode: "string",