candidhealth 1.4.0 → 1.5.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 (248) hide show
  1. package/api/resources/auth/resources/default/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  3. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +33 -0
  4. package/api/resources/chargeCapture/resources/v1/client/Client.js +90 -5
  5. package/api/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.d.ts +58 -0
  6. package/api/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.js +123 -0
  7. package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
  8. package/api/resources/chargeCapture/resources/v1/client/index.js +2 -1
  9. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.d.ts +30 -0
  10. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.js +5 -0
  11. package/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
  12. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
  13. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  14. package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -1
  15. package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -1
  16. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  17. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  18. package/api/resources/diagnoses/client/Client.js +4 -3
  19. package/api/resources/diagnoses/client/update.d.ts +7 -1
  20. package/api/resources/diagnoses/client/update.js +11 -0
  21. package/api/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.d.ts +9 -0
  22. package/api/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.js +5 -0
  23. package/api/resources/diagnoses/types/index.d.ts +1 -0
  24. package/api/resources/diagnoses/types/index.js +1 -0
  25. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  26. package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  27. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  28. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  29. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  30. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  31. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  32. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  33. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +18 -0
  34. package/api/resources/feeSchedules/resources/v3/client/Client.js +60 -10
  35. package/api/resources/feeSchedules/resources/v3/client/hardDeleteRates.d.ts +22 -0
  36. package/api/resources/feeSchedules/resources/v3/client/hardDeleteRates.js +57 -0
  37. package/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
  38. package/api/resources/feeSchedules/resources/v3/client/index.js +2 -1
  39. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  40. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  41. package/api/resources/individual/types/SubscriberCreate.d.ts +1 -0
  42. package/api/resources/individual/types/SubscriberCreateOptional.d.ts +1 -0
  43. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  44. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  45. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  46. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  47. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  48. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  49. package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +15 -0
  50. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +79 -7
  51. package/api/resources/nonInsurancePayers/resources/v1/client/getCategories.d.ts +22 -0
  52. package/api/resources/nonInsurancePayers/resources/v1/client/getCategories.js +57 -0
  53. package/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +1 -0
  54. package/api/resources/nonInsurancePayers/resources/v1/client/index.js +2 -1
  55. package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +15 -0
  56. package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.d.ts +22 -0
  57. package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.js +5 -0
  58. package/api/resources/nonInsurancePayers/resources/v1/client/requests/index.d.ts +1 -0
  59. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.d.ts +7 -0
  60. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.js +5 -0
  61. package/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  62. package/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  63. package/api/resources/organizationProviders/resources/v3/client/Client.js +15 -5
  64. package/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +4 -0
  65. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +16 -6
  66. package/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +4 -0
  67. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  68. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  69. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  70. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  71. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +1 -1
  72. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +8 -8
  73. package/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -0
  74. package/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -0
  75. package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +1 -1
  76. package/api/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +1 -1
  77. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +1 -1
  78. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +11 -11
  79. package/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +1 -1
  80. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +1 -7
  81. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +7 -13
  82. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +3 -2
  83. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  84. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  85. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  86. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +1 -1
  87. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +12 -12
  88. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  89. package/api/resources/serviceFacility/client/Client.js +1 -1
  90. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  91. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  92. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  93. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  94. package/dist/api/resources/auth/resources/default/client/Client.js +1 -1
  95. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  96. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +33 -0
  97. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +90 -5
  98. package/dist/api/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.d.ts +58 -0
  99. package/dist/api/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.js +123 -0
  100. package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
  101. package/dist/api/resources/chargeCapture/resources/v1/client/index.js +2 -1
  102. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.d.ts +30 -0
  103. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.js +5 -0
  104. package/dist/api/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
  105. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
  106. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  107. package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -1
  108. package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -1
  109. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  110. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  111. package/dist/api/resources/diagnoses/client/Client.js +4 -3
  112. package/dist/api/resources/diagnoses/client/update.d.ts +7 -1
  113. package/dist/api/resources/diagnoses/client/update.js +11 -0
  114. package/dist/api/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.d.ts +9 -0
  115. package/dist/api/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.js +5 -0
  116. package/dist/api/resources/diagnoses/types/index.d.ts +1 -0
  117. package/dist/api/resources/diagnoses/types/index.js +1 -0
  118. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  119. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  120. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  121. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  122. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  123. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  124. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  125. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  126. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +18 -0
  127. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +60 -10
  128. package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRates.d.ts +22 -0
  129. package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRates.js +57 -0
  130. package/dist/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
  131. package/dist/api/resources/feeSchedules/resources/v3/client/index.js +2 -1
  132. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  133. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  134. package/dist/api/resources/individual/types/SubscriberCreate.d.ts +1 -0
  135. package/dist/api/resources/individual/types/SubscriberCreateOptional.d.ts +1 -0
  136. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  137. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  138. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  139. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  140. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  141. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  142. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +15 -0
  143. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +79 -7
  144. package/dist/api/resources/nonInsurancePayers/resources/v1/client/getCategories.d.ts +22 -0
  145. package/dist/api/resources/nonInsurancePayers/resources/v1/client/getCategories.js +57 -0
  146. package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.d.ts +1 -0
  147. package/dist/api/resources/nonInsurancePayers/resources/v1/client/index.js +2 -1
  148. package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +15 -0
  149. package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.d.ts +22 -0
  150. package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetNonInsurancePayersCategoriesRequest.js +5 -0
  151. package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/index.d.ts +1 -0
  152. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.d.ts +7 -0
  153. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.js +5 -0
  154. package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  155. package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  156. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +15 -5
  157. package/dist/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +4 -0
  158. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +16 -6
  159. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +4 -0
  160. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  161. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  162. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  163. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  164. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +1 -1
  165. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +8 -8
  166. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -0
  167. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -0
  168. package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +1 -1
  169. package/dist/api/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +1 -1
  170. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +1 -1
  171. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +11 -11
  172. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.d.ts +1 -1
  173. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +1 -7
  174. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +7 -13
  175. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +3 -2
  176. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  177. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  178. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  179. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +1 -1
  180. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +12 -12
  181. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  182. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  183. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  184. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  185. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  186. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  187. package/dist/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.d.ts +40 -0
  188. package/dist/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.js +101 -0
  189. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
  190. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -1
  191. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.d.ts +23 -0
  192. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.js +54 -0
  193. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
  194. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +3 -1
  195. package/dist/serialization/resources/diagnoses/client/update.d.ts +6 -1
  196. package/dist/serialization/resources/diagnoses/client/update.js +6 -0
  197. package/dist/serialization/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.d.ts +15 -0
  198. package/dist/serialization/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.js +46 -0
  199. package/dist/serialization/resources/diagnoses/types/index.d.ts +1 -0
  200. package/dist/serialization/resources/diagnoses/types/index.js +1 -0
  201. package/dist/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRates.d.ts +9 -0
  202. package/dist/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRates.js +41 -0
  203. package/dist/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
  204. package/dist/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
  205. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.d.ts +13 -0
  206. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.js +46 -0
  207. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  208. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  209. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -0
  210. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +1 -0
  211. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +2 -0
  212. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +2 -0
  213. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +3 -2
  214. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +3 -2
  215. package/dist/version.d.ts +1 -1
  216. package/dist/version.js +1 -1
  217. package/package.json +1 -1
  218. package/reference.md +233 -10
  219. package/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.d.ts +40 -0
  220. package/serialization/resources/chargeCapture/resources/v1/client/createFromPreEncounterPatient.js +101 -0
  221. package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -0
  222. package/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -1
  223. package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.d.ts +23 -0
  224. package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureFromPreEncounterRequest.js +54 -0
  225. package/serialization/resources/chargeCapture/resources/v1/client/requests/index.d.ts +1 -0
  226. package/serialization/resources/chargeCapture/resources/v1/client/requests/index.js +3 -1
  227. package/serialization/resources/diagnoses/client/update.d.ts +6 -1
  228. package/serialization/resources/diagnoses/client/update.js +6 -0
  229. package/serialization/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.d.ts +15 -0
  230. package/serialization/resources/diagnoses/types/DisallowMultiplePrimaryDiagnosisError.js +46 -0
  231. package/serialization/resources/diagnoses/types/index.d.ts +1 -0
  232. package/serialization/resources/diagnoses/types/index.js +1 -0
  233. package/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRates.d.ts +9 -0
  234. package/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRates.js +41 -0
  235. package/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
  236. package/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
  237. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.d.ts +13 -0
  238. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerCategoriesPage.js +46 -0
  239. package/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  240. package/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  241. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -0
  242. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.js +1 -0
  243. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +2 -0
  244. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +2 -0
  245. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +3 -2
  246. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +3 -2
  247. package/version.d.ts +1 -1
  248. package/version.js +1 -1
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../api/index";
6
+ import * as core from "../../../../../../../core";
7
+ import { ChargeCaptureData } from "../../types/ChargeCaptureData";
8
+ import { PreEncounterPatientId } from "../../../../../commons/types/PreEncounterPatientId";
9
+ import { PreEncounterAppointmentId } from "../../../../../commons/types/PreEncounterAppointmentId";
10
+ import { ChargeCaptureStatus } from "../../types/ChargeCaptureStatus";
11
+ export declare const CreateChargeCaptureFromPreEncounterRequest: core.serialization.Schema<serializers.chargeCapture.v1.CreateChargeCaptureFromPreEncounterRequest.Raw, CandidApi.chargeCapture.v1.CreateChargeCaptureFromPreEncounterRequest>;
12
+ export declare namespace CreateChargeCaptureFromPreEncounterRequest {
13
+ interface Raw {
14
+ data: ChargeCaptureData.Raw;
15
+ charge_external_id: string;
16
+ pre_encounter_patient_id: PreEncounterPatientId.Raw;
17
+ pre_encounter_appointment_ids: PreEncounterAppointmentId.Raw[];
18
+ originating_system?: string | null;
19
+ claim_creation_category?: string | null;
20
+ ehr_source_url?: string | null;
21
+ status: ChargeCaptureStatus.Raw;
22
+ }
23
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.CreateChargeCaptureFromPreEncounterRequest = void 0;
40
+ const core = __importStar(require("../../../../../../../core"));
41
+ const ChargeCaptureData_1 = require("../../types/ChargeCaptureData");
42
+ const PreEncounterPatientId_1 = require("../../../../../commons/types/PreEncounterPatientId");
43
+ const PreEncounterAppointmentId_1 = require("../../../../../commons/types/PreEncounterAppointmentId");
44
+ const ChargeCaptureStatus_1 = require("../../types/ChargeCaptureStatus");
45
+ exports.CreateChargeCaptureFromPreEncounterRequest = core.serialization.object({
46
+ data: ChargeCaptureData_1.ChargeCaptureData,
47
+ chargeExternalId: core.serialization.property("charge_external_id", core.serialization.string()),
48
+ preEncounterPatientId: core.serialization.property("pre_encounter_patient_id", PreEncounterPatientId_1.PreEncounterPatientId),
49
+ preEncounterAppointmentIds: core.serialization.property("pre_encounter_appointment_ids", core.serialization.list(PreEncounterAppointmentId_1.PreEncounterAppointmentId)),
50
+ originatingSystem: core.serialization.property("originating_system", core.serialization.string().optional()),
51
+ claimCreationCategory: core.serialization.property("claim_creation_category", core.serialization.string().optional()),
52
+ ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
53
+ status: ChargeCaptureStatus_1.ChargeCaptureStatus,
54
+ });
@@ -1,3 +1,4 @@
1
1
  export { CreateChargeCaptureRequest } from "./CreateChargeCaptureRequest";
2
+ export { CreateChargeCaptureFromPreEncounterRequest } from "./CreateChargeCaptureFromPreEncounterRequest";
2
3
  export { ChargeCaptureUpdate } from "./ChargeCaptureUpdate";
3
4
  export { ChargeCapturePostBilledChangeUpdate } from "./ChargeCapturePostBilledChangeUpdate";
@@ -1,8 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChargeCapturePostBilledChangeUpdate = exports.ChargeCaptureUpdate = exports.CreateChargeCaptureRequest = void 0;
3
+ exports.ChargeCapturePostBilledChangeUpdate = exports.ChargeCaptureUpdate = exports.CreateChargeCaptureFromPreEncounterRequest = exports.CreateChargeCaptureRequest = void 0;
4
4
  var CreateChargeCaptureRequest_1 = require("./CreateChargeCaptureRequest");
5
5
  Object.defineProperty(exports, "CreateChargeCaptureRequest", { enumerable: true, get: function () { return CreateChargeCaptureRequest_1.CreateChargeCaptureRequest; } });
6
+ var CreateChargeCaptureFromPreEncounterRequest_1 = require("./CreateChargeCaptureFromPreEncounterRequest");
7
+ Object.defineProperty(exports, "CreateChargeCaptureFromPreEncounterRequest", { enumerable: true, get: function () { return CreateChargeCaptureFromPreEncounterRequest_1.CreateChargeCaptureFromPreEncounterRequest; } });
6
8
  var ChargeCaptureUpdate_1 = require("./ChargeCaptureUpdate");
7
9
  Object.defineProperty(exports, "ChargeCaptureUpdate", { enumerable: true, get: function () { return ChargeCaptureUpdate_1.ChargeCaptureUpdate; } });
8
10
  var ChargeCapturePostBilledChangeUpdate_1 = require("./ChargeCapturePostBilledChangeUpdate");
@@ -5,11 +5,16 @@ import * as serializers from "../../../index";
5
5
  import * as CandidApi from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  import { DiagnosisNotFoundError } from "../types/DiagnosisNotFoundError";
8
+ import { DisallowMultiplePrimaryDiagnosisError } from "../types/DisallowMultiplePrimaryDiagnosisError";
8
9
  export declare const Error: core.serialization.Schema<serializers.diagnoses.update.Error.Raw, CandidApi.diagnoses.update.Error>;
9
10
  export declare namespace Error {
10
- type Raw = Error.DiagnosisNotFoundHttpError;
11
+ type Raw = Error.DiagnosisNotFoundHttpError | Error.DisallowMultiplePrimaryDiagnosisHttpError;
11
12
  interface DiagnosisNotFoundHttpError {
12
13
  errorName: "DiagnosisNotFoundHTTPError";
13
14
  content: DiagnosisNotFoundError.Raw;
14
15
  }
16
+ interface DisallowMultiplePrimaryDiagnosisHttpError {
17
+ errorName: "DisallowMultiplePrimaryDiagnosisHTTPError";
18
+ content: DisallowMultiplePrimaryDiagnosisError.Raw;
19
+ }
15
20
  }
@@ -51,17 +51,23 @@ exports.Error = void 0;
51
51
  const CandidApi = __importStar(require("../../../../api/index"));
52
52
  const core = __importStar(require("../../../../core"));
53
53
  const DiagnosisNotFoundError_1 = require("../types/DiagnosisNotFoundError");
54
+ const DisallowMultiplePrimaryDiagnosisError_1 = require("../types/DisallowMultiplePrimaryDiagnosisError");
54
55
  exports.Error = core.serialization
55
56
  .union("errorName", {
56
57
  DiagnosisNotFoundHTTPError: core.serialization.object({
57
58
  content: DiagnosisNotFoundError_1.DiagnosisNotFoundError,
58
59
  }),
60
+ DisallowMultiplePrimaryDiagnosisHTTPError: core.serialization.object({
61
+ content: DisallowMultiplePrimaryDiagnosisError_1.DisallowMultiplePrimaryDiagnosisError,
62
+ }),
59
63
  })
60
64
  .transform({
61
65
  transform: (value) => {
62
66
  switch (value.errorName) {
63
67
  case "DiagnosisNotFoundHTTPError":
64
68
  return CandidApi.diagnoses.update.Error.diagnosisNotFoundHttpError(value.content);
69
+ case "DisallowMultiplePrimaryDiagnosisHTTPError":
70
+ return CandidApi.diagnoses.update.Error.disallowMultiplePrimaryDiagnosisHttpError(value.content);
65
71
  }
66
72
  },
67
73
  untransform: (_a) => {
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as CandidApi from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { DiagnosisId } from "./DiagnosisId";
8
+ export declare const DisallowMultiplePrimaryDiagnosisError: core.serialization.ObjectSchema<serializers.DisallowMultiplePrimaryDiagnosisError.Raw, CandidApi.DisallowMultiplePrimaryDiagnosisError>;
9
+ export declare namespace DisallowMultiplePrimaryDiagnosisError {
10
+ interface Raw {
11
+ existing_primary_diagnosis_id: DiagnosisId.Raw;
12
+ new_primary_diagnosis_id: DiagnosisId.Raw;
13
+ message: string;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.DisallowMultiplePrimaryDiagnosisError = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const DiagnosisId_1 = require("./DiagnosisId");
42
+ exports.DisallowMultiplePrimaryDiagnosisError = core.serialization.object({
43
+ existingPrimaryDiagnosisId: core.serialization.property("existing_primary_diagnosis_id", DiagnosisId_1.DiagnosisId),
44
+ newPrimaryDiagnosisId: core.serialization.property("new_primary_diagnosis_id", DiagnosisId_1.DiagnosisId),
45
+ message: core.serialization.string(),
46
+ });
@@ -6,3 +6,4 @@ export * from "./DiagnosisTypeCode";
6
6
  export * from "./Diagnosis";
7
7
  export * from "./DiagnosisNotFoundError";
8
8
  export * from "./ServiceLinesMustHaveAtLeastOneDiagnosisError";
9
+ export * from "./DisallowMultiplePrimaryDiagnosisError";
@@ -22,3 +22,4 @@ __exportStar(require("./DiagnosisTypeCode"), exports);
22
22
  __exportStar(require("./Diagnosis"), exports);
23
23
  __exportStar(require("./DiagnosisNotFoundError"), exports);
24
24
  __exportStar(require("./ServiceLinesMustHaveAtLeastOneDiagnosisError"), exports);
25
+ __exportStar(require("./DisallowMultiplePrimaryDiagnosisError"), exports);
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as core from "../../../../../../core";
6
+ export declare const Response: core.serialization.Schema<serializers.feeSchedules.v3.hardDeleteRates.Response.Raw, number>;
7
+ export declare namespace Response {
8
+ type Raw = number;
9
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Response = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ exports.Response = core.serialization.number();
@@ -4,4 +4,5 @@ export * as getRateHistory from "./getRateHistory";
4
4
  export * as uploadFeeSchedule from "./uploadFeeSchedule";
5
5
  export * as deleteRate from "./deleteRate";
6
6
  export * as setPayerThreshold from "./setPayerThreshold";
7
+ export * as hardDeleteRates from "./hardDeleteRates";
7
8
  export * from "./requests";
@@ -36,11 +36,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.setPayerThreshold = exports.deleteRate = exports.uploadFeeSchedule = exports.getRateHistory = exports.testMatch = exports.getMatch = void 0;
39
+ exports.hardDeleteRates = exports.setPayerThreshold = exports.deleteRate = exports.uploadFeeSchedule = exports.getRateHistory = exports.testMatch = exports.getMatch = void 0;
40
40
  exports.getMatch = __importStar(require("./getMatch"));
41
41
  exports.testMatch = __importStar(require("./testMatch"));
42
42
  exports.getRateHistory = __importStar(require("./getRateHistory"));
43
43
  exports.uploadFeeSchedule = __importStar(require("./uploadFeeSchedule"));
44
44
  exports.deleteRate = __importStar(require("./deleteRate"));
45
45
  exports.setPayerThreshold = __importStar(require("./setPayerThreshold"));
46
+ exports.hardDeleteRates = __importStar(require("./hardDeleteRates"));
46
47
  __exportStar(require("./requests"), exports);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { ResourcePage } from "../../../../commons/types/ResourcePage";
8
+ export declare const NonInsurancePayerCategoriesPage: core.serialization.ObjectSchema<serializers.nonInsurancePayers.v1.NonInsurancePayerCategoriesPage.Raw, CandidApi.nonInsurancePayers.v1.NonInsurancePayerCategoriesPage>;
9
+ export declare namespace NonInsurancePayerCategoriesPage {
10
+ interface Raw extends ResourcePage.Raw {
11
+ items: string[];
12
+ }
13
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.NonInsurancePayerCategoriesPage = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const ResourcePage_1 = require("../../../../commons/types/ResourcePage");
42
+ exports.NonInsurancePayerCategoriesPage = core.serialization
43
+ .object({
44
+ items: core.serialization.list(core.serialization.string()),
45
+ })
46
+ .extend(ResourcePage_1.ResourcePage);
@@ -8,3 +8,4 @@ export * from "./NonInsurancePayerCategoryUpdate";
8
8
  export * from "./NonInsurancePayerAddressUpdate";
9
9
  export * from "./ToggleNonInsurancePayerEnablementRequest";
10
10
  export * from "./NonInsurancePayerUpdateRequest";
11
+ export * from "./NonInsurancePayerCategoriesPage";
@@ -24,3 +24,4 @@ __exportStar(require("./NonInsurancePayerCategoryUpdate"), exports);
24
24
  __exportStar(require("./NonInsurancePayerAddressUpdate"), exports);
25
25
  __exportStar(require("./ToggleNonInsurancePayerEnablementRequest"), exports);
26
26
  __exportStar(require("./NonInsurancePayerUpdateRequest"), exports);
27
+ __exportStar(require("./NonInsurancePayerCategoriesPage"), exports);
@@ -22,6 +22,7 @@ export declare namespace MutableAppointment {
22
22
  estimated_copay_cents?: number | null;
23
23
  estimated_patient_responsibility_cents?: number | null;
24
24
  patient_deposit_cents?: number | null;
25
+ appointment_details?: string | null;
25
26
  checked_in_timestamp?: string | null;
26
27
  notes?: string | null;
27
28
  location_resource_id?: string | null;
@@ -54,6 +54,7 @@ exports.MutableAppointment = core.serialization.object({
54
54
  estimatedCopayCents: core.serialization.property("estimated_copay_cents", core.serialization.number().optional()),
55
55
  estimatedPatientResponsibilityCents: core.serialization.property("estimated_patient_responsibility_cents", core.serialization.number().optional()),
56
56
  patientDepositCents: core.serialization.property("patient_deposit_cents", core.serialization.number().optional()),
57
+ appointmentDetails: core.serialization.property("appointment_details", core.serialization.string().optional()),
57
58
  checkedInTimestamp: core.serialization.property("checked_in_timestamp", core.serialization.date().optional()),
58
59
  notes: core.serialization.string().optional(),
59
60
  locationResourceId: core.serialization.property("location_resource_id", core.serialization.string().optional()),
@@ -7,6 +7,7 @@ import * as core from "../../../../../../../../core";
7
7
  import { PatientId } from "../../../../common/types/PatientId";
8
8
  import { MutablePatientWithMrn } from "../../../../patients/resources/v1/types/MutablePatientWithMrn";
9
9
  import { AppointmentStatus } from "./AppointmentStatus";
10
+ import { MutableCoverage } from "../../../../coverages/resources/v1/types/MutableCoverage";
10
11
  export declare const Visit: core.serialization.ObjectSchema<serializers.preEncounter.appointments.v1.Visit.Raw, CandidApi.preEncounter.appointments.v1.Visit>;
11
12
  export declare namespace Visit {
12
13
  interface Raw {
@@ -14,5 +15,6 @@ export declare namespace Visit {
14
15
  patient: MutablePatientWithMrn.Raw;
15
16
  start_time: string;
16
17
  status: AppointmentStatus.Raw;
18
+ primary_coverage?: MutableCoverage.Raw | null;
17
19
  }
18
20
  }
@@ -41,9 +41,11 @@ const core = __importStar(require("../../../../../../../../core"));
41
41
  const PatientId_1 = require("../../../../common/types/PatientId");
42
42
  const MutablePatientWithMrn_1 = require("../../../../patients/resources/v1/types/MutablePatientWithMrn");
43
43
  const AppointmentStatus_1 = require("./AppointmentStatus");
44
+ const MutableCoverage_1 = require("../../../../coverages/resources/v1/types/MutableCoverage");
44
45
  exports.Visit = core.serialization.object({
45
46
  patientId: core.serialization.property("patient_id", PatientId_1.PatientId),
46
47
  patient: MutablePatientWithMrn_1.MutablePatientWithMrn,
47
48
  startTime: core.serialization.property("start_time", core.serialization.date()),
48
49
  status: AppointmentStatus_1.AppointmentStatus,
50
+ primaryCoverage: core.serialization.property("primary_coverage", MutableCoverage_1.MutableCoverage.optional()),
49
51
  });
@@ -7,8 +7,9 @@ import * as core from "../../../../../../../../core";
7
7
  export declare const MedicareAdvantageRecommendationPayload: core.serialization.ObjectSchema<serializers.preEncounter.eligibilityChecks.v1.MedicareAdvantageRecommendationPayload.Raw, CandidApi.preEncounter.eligibilityChecks.v1.MedicareAdvantageRecommendationPayload>;
8
8
  export declare namespace MedicareAdvantageRecommendationPayload {
9
9
  interface Raw {
10
- payer_id: string;
11
- payer_name: string;
10
+ ma_benefit?: unknown | null;
11
+ payer_id?: string | null;
12
+ payer_name?: string | null;
12
13
  member_id?: string | null;
13
14
  }
14
15
  }
@@ -39,7 +39,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.MedicareAdvantageRecommendationPayload = void 0;
40
40
  const core = __importStar(require("../../../../../../../../core"));
41
41
  exports.MedicareAdvantageRecommendationPayload = core.serialization.object({
42
- payerId: core.serialization.property("payer_id", core.serialization.string()),
43
- payerName: core.serialization.property("payer_name", core.serialization.string()),
42
+ maBenefit: core.serialization.property("ma_benefit", core.serialization.unknown().optional()),
43
+ payerId: core.serialization.property("payer_id", core.serialization.string().optional()),
44
+ payerName: core.serialization.property("payer_name", core.serialization.string().optional()),
44
45
  memberId: core.serialization.property("member_id", core.serialization.string().optional()),
45
46
  });
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.4.0";
1
+ export declare const SDK_VERSION = "1.5.0";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.4.0";
4
+ exports.SDK_VERSION = "1.5.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "private": false,
5
5
  "repository": "https://github.com/candidhealth/candid-node",
6
6
  "main": "./index.js",