candidhealth 0.24.5 → 0.25.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 (266) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +13 -8
  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/commons/types/AppointmentId.d.ts +8 -0
  6. package/api/resources/commons/types/AppointmentId.js +10 -0
  7. package/api/resources/commons/types/index.d.ts +1 -0
  8. package/api/resources/commons/types/index.js +1 -0
  9. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  10. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  11. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  12. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  13. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  14. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  15. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  16. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  17. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  18. package/api/resources/financials/types/AllocationTarget.d.ts +4 -1
  19. package/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -1
  20. package/api/resources/financials/types/AppointmentAllocationTarget.d.ts +7 -0
  21. package/api/resources/financials/types/index.d.ts +1 -0
  22. package/api/resources/financials/types/index.js +1 -0
  23. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  24. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  25. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  26. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  27. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  28. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  29. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  30. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  31. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  32. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  33. package/api/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.d.ts +3 -2
  34. package/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +8 -0
  35. package/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +10 -0
  36. package/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  37. package/api/resources/preEncounter/resources/common/types/index.js +2 -0
  38. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +6 -4
  39. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +12 -10
  40. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -1
  41. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +289 -0
  42. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +78 -0
  43. package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +21 -1
  44. package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
  45. package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  46. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
  47. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
  48. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -16
  49. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -23
  50. package/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -1
  51. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -4
  52. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
  53. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
  54. package/api/resources/serviceFacility/client/Client.js +1 -1
  55. package/api/resources/serviceLines/client/Client.d.ts +26 -0
  56. package/api/resources/serviceLines/client/Client.js +17 -0
  57. package/api/resources/serviceLines/client/index.d.ts +1 -0
  58. package/api/resources/serviceLines/client/index.js +2 -0
  59. package/api/resources/serviceLines/index.d.ts +1 -0
  60. package/api/resources/serviceLines/index.js +1 -0
  61. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +92 -0
  62. package/api/resources/serviceLines/resources/v2/client/Client.js +238 -0
  63. package/api/resources/serviceLines/resources/v2/client/create.d.ts +28 -0
  64. package/api/resources/serviceLines/resources/v2/client/create.js +58 -0
  65. package/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  66. package/api/resources/serviceLines/resources/v2/client/index.js +28 -0
  67. package/api/resources/serviceLines/resources/v2/client/update.d.ts +40 -0
  68. package/api/resources/serviceLines/resources/v2/client/update.js +80 -0
  69. package/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
  70. package/api/resources/serviceLines/resources/v2/index.js +1 -0
  71. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +36 -0
  72. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -0
  73. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +37 -0
  74. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -0
  75. package/api/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
  76. package/api/resources/serviceLines/resources/v2/types/index.js +2 -0
  77. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  78. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  79. package/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +2 -0
  80. package/dist/Client.d.ts +3 -0
  81. package/dist/Client.js +13 -8
  82. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  83. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  84. package/dist/api/resources/commons/types/AppointmentId.d.ts +8 -0
  85. package/dist/api/resources/commons/types/AppointmentId.js +10 -0
  86. package/dist/api/resources/commons/types/index.d.ts +1 -0
  87. package/dist/api/resources/commons/types/index.js +1 -0
  88. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  89. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  90. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  91. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  92. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  93. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  94. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  95. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  96. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  97. package/dist/api/resources/financials/types/AllocationTarget.d.ts +4 -1
  98. package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -1
  99. package/dist/api/resources/financials/types/AppointmentAllocationTarget.d.ts +7 -0
  100. package/dist/api/resources/financials/types/AppointmentAllocationTarget.js +5 -0
  101. package/dist/api/resources/financials/types/index.d.ts +1 -0
  102. package/dist/api/resources/financials/types/index.js +1 -0
  103. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  104. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  105. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  106. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  107. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  108. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  109. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  110. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  111. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  112. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  113. package/dist/api/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.d.ts +3 -2
  114. package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.js +5 -0
  115. package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +8 -0
  116. package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +10 -0
  117. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  118. package/dist/api/resources/preEncounter/resources/common/types/index.js +2 -0
  119. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +6 -4
  120. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +12 -10
  121. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -1
  122. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +289 -0
  123. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +78 -0
  124. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +21 -1
  125. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
  126. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  127. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
  128. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
  129. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -16
  130. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -23
  131. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -1
  132. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -4
  133. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
  134. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
  135. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  136. package/dist/api/resources/serviceLines/client/Client.d.ts +26 -0
  137. package/dist/api/resources/serviceLines/client/Client.js +17 -0
  138. package/dist/api/resources/serviceLines/client/index.d.ts +1 -0
  139. package/dist/api/resources/serviceLines/client/index.js +2 -0
  140. package/dist/api/resources/serviceLines/index.d.ts +1 -0
  141. package/dist/api/resources/serviceLines/index.js +1 -0
  142. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +92 -0
  143. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +238 -0
  144. package/dist/api/resources/serviceLines/resources/v2/client/create.d.ts +28 -0
  145. package/dist/api/resources/serviceLines/resources/v2/client/create.js +58 -0
  146. package/dist/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  147. package/dist/api/resources/serviceLines/resources/v2/client/index.js +28 -0
  148. package/dist/api/resources/serviceLines/resources/v2/client/update.d.ts +40 -0
  149. package/dist/api/resources/serviceLines/resources/v2/client/update.js +80 -0
  150. package/dist/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
  151. package/dist/api/resources/serviceLines/resources/v2/index.js +1 -0
  152. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +36 -0
  153. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -0
  154. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +37 -0
  155. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -0
  156. package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
  157. package/dist/api/resources/serviceLines/resources/v2/types/index.js +2 -0
  158. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  159. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  160. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +2 -0
  161. package/dist/serialization/resources/commons/types/AppointmentId.d.ts +10 -0
  162. package/dist/serialization/resources/commons/types/AppointmentId.js +35 -0
  163. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  164. package/dist/serialization/resources/commons/types/index.js +1 -0
  165. package/dist/serialization/resources/financials/types/AllocationTarget.d.ts +5 -1
  166. package/dist/serialization/resources/financials/types/AllocationTarget.js +2 -0
  167. package/dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts +6 -1
  168. package/dist/serialization/resources/financials/types/AllocationTargetCreate.js +4 -0
  169. package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +13 -0
  170. package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.js +34 -0
  171. package/dist/serialization/resources/financials/types/index.d.ts +1 -0
  172. package/dist/serialization/resources/financials/types/index.js +1 -0
  173. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +22 -0
  174. package/dist/serialization/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +8 -6
  175. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +10 -0
  176. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +31 -0
  177. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  178. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  179. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +3 -1
  180. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +3 -1
  181. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +10 -0
  182. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +102 -0
  183. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +1 -1
  184. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
  185. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -2
  186. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -2
  187. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
  188. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
  189. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -2
  190. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +0 -2
  191. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  192. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -3
  193. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
  194. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
  195. package/dist/serialization/resources/serviceLines/resources/v2/client/create.d.ts +15 -0
  196. package/dist/serialization/resources/serviceLines/resources/v2/client/create.js +61 -0
  197. package/dist/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  198. package/dist/serialization/resources/serviceLines/resources/v2/client/index.js +28 -0
  199. package/dist/serialization/resources/serviceLines/resources/v2/client/update.d.ts +25 -0
  200. package/dist/serialization/resources/serviceLines/resources/v2/client/update.js +73 -0
  201. package/dist/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
  202. package/dist/serialization/resources/serviceLines/resources/v2/index.js +1 -0
  203. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +43 -0
  204. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +64 -0
  205. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +42 -0
  206. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +63 -0
  207. package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
  208. package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +2 -0
  209. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +4 -0
  210. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +4 -0
  211. package/package.json +1 -1
  212. package/reference.md +164 -24
  213. package/serialization/resources/commons/types/AppointmentId.d.ts +10 -0
  214. package/serialization/resources/commons/types/AppointmentId.js +35 -0
  215. package/serialization/resources/commons/types/index.d.ts +1 -0
  216. package/serialization/resources/commons/types/index.js +1 -0
  217. package/serialization/resources/financials/types/AllocationTarget.d.ts +5 -1
  218. package/serialization/resources/financials/types/AllocationTarget.js +2 -0
  219. package/serialization/resources/financials/types/AllocationTargetCreate.d.ts +6 -1
  220. package/serialization/resources/financials/types/AllocationTargetCreate.js +4 -0
  221. package/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +13 -0
  222. package/serialization/resources/financials/types/AppointmentAllocationTarget.js +34 -0
  223. package/serialization/resources/financials/types/index.d.ts +1 -0
  224. package/serialization/resources/financials/types/index.js +1 -0
  225. package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +22 -0
  226. package/serialization/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +8 -6
  227. package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +10 -0
  228. package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +31 -0
  229. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  230. package/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  231. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +3 -1
  232. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +3 -1
  233. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +10 -0
  234. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +102 -0
  235. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +1 -1
  236. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
  237. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -2
  238. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -2
  239. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
  240. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
  241. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -2
  242. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +0 -2
  243. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  244. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -3
  245. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
  246. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
  247. package/serialization/resources/serviceLines/resources/v2/client/create.d.ts +15 -0
  248. package/serialization/resources/serviceLines/resources/v2/client/create.js +61 -0
  249. package/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  250. package/serialization/resources/serviceLines/resources/v2/client/index.js +28 -0
  251. package/serialization/resources/serviceLines/resources/v2/client/update.d.ts +25 -0
  252. package/serialization/resources/serviceLines/resources/v2/client/update.js +73 -0
  253. package/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
  254. package/serialization/resources/serviceLines/resources/v2/index.js +1 -0
  255. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +43 -0
  256. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +64 -0
  257. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +42 -0
  258. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +63 -0
  259. package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
  260. package/serialization/resources/serviceLines/resources/v2/types/index.js +2 -0
  261. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +4 -0
  262. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +4 -0
  263. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +0 -20
  264. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +0 -20
  265. /package/api/resources/{preEncounter/resources/patients/resources/v1/types/ExternalProvider.js → financials/types/AppointmentAllocationTarget.js} +0 -0
  266. /package/{dist/api/resources/preEncounter/resources/patients/resources/v1 → api/resources/preEncounter/resources/common}/types/ExternalProvider.js +0 -0
@@ -0,0 +1,289 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Code identifying the type of insurance policy within a specific insurance program (X12 008020 Element 1336)
6
+ */
7
+ export declare type InsuranceTypeCode =
8
+ /**
9
+ * Short Term Insurance */
10
+ "01"
11
+ /**
12
+ * Medicare Secondary Working Aged Beneficiary or Spouse with Employer Group Health Plan */
13
+ | "12"
14
+ /**
15
+ * Medicare Secondary End-Stage Renal Disease Beneficiary in the Mandated Coordination Period with an Employer's Group Health Plan */
16
+ | "13"
17
+ /**
18
+ * Medicare Secondary, No-fault Insurance including Auto is Primary */
19
+ | "14"
20
+ /**
21
+ * Medicare Secondary Worker's Compensation */
22
+ | "15"
23
+ /**
24
+ * Medicare Secondary Public Health Service (PHS) or Other Federal Agency */
25
+ | "16"
26
+ /**
27
+ * Dental */
28
+ | "17"
29
+ /**
30
+ * Vision */
31
+ | "18"
32
+ /**
33
+ * Prescription Drugs */
34
+ | "19"
35
+ /**
36
+ * Medicare Secondary Black Lung */
37
+ | "41"
38
+ /**
39
+ * Medicare Secondary Veteran's Administration */
40
+ | "42"
41
+ /**
42
+ * Medicare Secondary Disabled Beneficiary Under Age 65 with Large Group Health Plan (LGHP) */
43
+ | "43"
44
+ /**
45
+ * Medicare Secondary, Other Liability Insurance is Primary */
46
+ | "47"
47
+ /**
48
+ * Auto Insurance Policy */
49
+ | "AP"
50
+ /**
51
+ * Commercial */
52
+ | "C1"
53
+ /**
54
+ * Consolidated Omnibus Budget Reconciliation Act (COBRA) */
55
+ | "CO"
56
+ /**
57
+ * Medicare Conditionally Primary */
58
+ | "CP"
59
+ /**
60
+ * Disability - Provides periodic payments to replace income when an insured person is unable to work as a result of illness, injury or disease */
61
+ | "D"
62
+ /**
63
+ * Disability Benefits */
64
+ | "DB"
65
+ /**
66
+ * Medicare - Point of Service (POS) */
67
+ | "E"
68
+ /**
69
+ * Exclusive Provider Organization - Gives subscriber a choice of providers from an approved/contracted payer list; there are fixed dollar co-payments for most covered services in return for using plan providers */
70
+ | "EP"
71
+ /**
72
+ * Family or Friends */
73
+ | "FF"
74
+ /**
75
+ * Group Policy - Two or more people who are part of complete unit who enter into an insurance contract with an insurance company */
76
+ | "GP"
77
+ /**
78
+ * Health Insurance Exchange (HIX) Silver */
79
+ | "HA"
80
+ /**
81
+ * Health Insurance Exchange (HIX) Bronze */
82
+ | "HB"
83
+ /**
84
+ * High Deductible Health Plan */
85
+ | "HD"
86
+ /**
87
+ * Health Insurance Exchange (HIX) Gold */
88
+ | "HG"
89
+ /**
90
+ * Health Maintenance Organization (HMO) */
91
+ | "HM"
92
+ /**
93
+ * Health Maintenance Organization (HMO) - Medicare Risk */
94
+ | "HN"
95
+ /**
96
+ * Health Insurance Exchange (HIX) Platinum */
97
+ | "HP"
98
+ /**
99
+ * Special Low Income Medicare Beneficiary - An individual eligible for Medicare for whom Medicaid pays only Medicare premiums */
100
+ | "HS"
101
+ /**
102
+ * Indemnity - Gives a subscriber the choice to select any provider. Payment is fixed percentage of the cost for covered care after satisfying an annual deductible */
103
+ | "IN"
104
+ /**
105
+ * Individual Policy */
106
+ | "IP"
107
+ /**
108
+ * Long Term Care - Coverage designed to help pay for some or all long term care costs, reducing the risk that a policy-holder would need to deplete all of his or her assets to pay for long term care */
109
+ | "LC"
110
+ /**
111
+ * Long Term Policy */
112
+ | "LD"
113
+ /**
114
+ * Life Insurance */
115
+ | "LI"
116
+ /**
117
+ * Litigation */
118
+ | "LT"
119
+ /**
120
+ * Medicare Advantage Point of Service (POS) Plan that excludes Part D coverage */
121
+ | "M"
122
+ /**
123
+ * Medicare Part A */
124
+ | "MA"
125
+ /**
126
+ * Medicare Part B */
127
+ | "MB"
128
+ /**
129
+ * Medicaid - Program of health care services made available to medically indigent and other needy persons, regardless of age, under terms of a 1965 amendment to the U.S. Social Security Act */
130
+ | "MC"
131
+ /**
132
+ * Medicare Part D */
133
+ | "MD"
134
+ /**
135
+ * Medicare Advantage Preferred Provider Organization (PPO) Plan that excludes Part D Coverage */
136
+ | "ME"
137
+ /**
138
+ * Medicare Advantage Private Fee for Service */
139
+ | "MF"
140
+ /**
141
+ * Medigap Part A - Health insurance policy intended to cover the non-covered portion of expenses eligible for Medicare Part A reimbursement which must be paid by a Medicare beneficiary for health care services and/or supplies received */
142
+ | "MH"
143
+ /**
144
+ * Medigap Part B - Health insurance policy intended to cover the non-covered portion of expenses eligible for Medicare Part B reimbursement which must be paid by a Medicare beneficiary for health care services and/or supplies received */
145
+ | "MI"
146
+ /**
147
+ * Medicare Advantage Health Maintenance Organization (HMO) Plan that includes Part D Coverage */
148
+ | "MJ"
149
+ /**
150
+ * Medicare Advantage Health Maintenance Organization (HMO) Risk Plan that includes Part D Coverage */
151
+ | "MK"
152
+ /**
153
+ * Medicare Advantage Indemnity Plan that includes Part D Coverage */
154
+ | "ML"
155
+ /**
156
+ * Medicare Advantage Preferred Provider Organization (PPO) Plan that includes Part D Coverage */
157
+ | "MM"
158
+ /**
159
+ * Medicare Advantage Indemnity Plan that excludes Part D coverage */
160
+ | "MN"
161
+ /**
162
+ * Medicare Advantage Point of Service (POS) Plan that includes Part D Coverage */
163
+ | "MO"
164
+ /**
165
+ * Medicare Primary - Medicare has the primary responsibility to pay for health care services and/or supplies received by a covered beneficiary (a person entitled to Medicare benefits) */
166
+ | "MP"
167
+ /**
168
+ * Medicare Advantage Health Maintenance Organization (HMO) Risk Plan that excludes Part D coverage */
169
+ | "MR"
170
+ /**
171
+ * Medicare Advantage Health Maintenance Organization (HMO) Plan that excludes Part D coverage */
172
+ | "MT"
173
+ /**
174
+ * Medicare Advantage */
175
+ | "MV"
176
+ /**
177
+ * Open Access Point of Service Plan */
178
+ | "OA"
179
+ /**
180
+ * Other */
181
+ | "OT"
182
+ /**
183
+ * Property Insurance - Personal */
184
+ | "PE"
185
+ /**
186
+ * Personal */
187
+ | "PL"
188
+ /**
189
+ * Personal Payment (Cash - No Insurance) */
190
+ | "PP"
191
+ /**
192
+ * Preferred Provider Organization (PPO) */
193
+ | "PR"
194
+ /**
195
+ * Point of Service (POS) */
196
+ | "PS"
197
+ /**
198
+ * Qualified Medicare Beneficiary - Coverage for a Medicare eligible individual for whom Medicaid pays only for Medicare premiums, co-insurance, and deductibles */
199
+ | "QM"
200
+ /**
201
+ * Property Insurance - Real */
202
+ | "RP"
203
+ /**
204
+ * Supplemental Policy - An insurance policy intended to cover non-covered charges of another insurance policy */
205
+ | "SP"
206
+ /**
207
+ * Tax Equity Fiscal Responsibility Act (TEFRA) */
208
+ | "TF"
209
+ /**
210
+ * Multiple Options Health Plan */
211
+ | "U"
212
+ /**
213
+ * Workers Compensation - Coverage provides medical treatment, rehabilitation, lost wages and related expenses arising from a job related injury or disease */
214
+ | "WC"
215
+ /**
216
+ * Wrap Up Policy - A Workers Compensation Policy written for a specific job site, which will include or cover more than one insured */
217
+ | "WU";
218
+ export declare const InsuranceTypeCode: {
219
+ readonly C01: "01";
220
+ readonly C12: "12";
221
+ readonly C13: "13";
222
+ readonly C14: "14";
223
+ readonly C15: "15";
224
+ readonly C16: "16";
225
+ readonly C17: "17";
226
+ readonly C18: "18";
227
+ readonly C19: "19";
228
+ readonly C41: "41";
229
+ readonly C42: "42";
230
+ readonly C43: "43";
231
+ readonly C47: "47";
232
+ readonly Cap: "AP";
233
+ readonly Cc1: "C1";
234
+ readonly Cco: "CO";
235
+ readonly Ccp: "CP";
236
+ readonly Cd: "D";
237
+ readonly Cdb: "DB";
238
+ readonly Ce: "E";
239
+ readonly Cep: "EP";
240
+ readonly Cff: "FF";
241
+ readonly Cgp: "GP";
242
+ readonly Cha: "HA";
243
+ readonly Chb: "HB";
244
+ readonly Chd: "HD";
245
+ readonly Chg: "HG";
246
+ readonly Chm: "HM";
247
+ readonly Chn: "HN";
248
+ readonly Chp: "HP";
249
+ readonly Chs: "HS";
250
+ readonly Cin: "IN";
251
+ readonly Cip: "IP";
252
+ readonly Clc: "LC";
253
+ readonly Cld: "LD";
254
+ readonly Cli: "LI";
255
+ readonly Clt: "LT";
256
+ readonly Cm: "M";
257
+ readonly Cma: "MA";
258
+ readonly Cmb: "MB";
259
+ readonly Cmc: "MC";
260
+ readonly Cmd: "MD";
261
+ readonly Cme: "ME";
262
+ readonly Cmf: "MF";
263
+ readonly Cmh: "MH";
264
+ readonly Cmi: "MI";
265
+ readonly Cmj: "MJ";
266
+ readonly Cmk: "MK";
267
+ readonly Cml: "ML";
268
+ readonly Cmm: "MM";
269
+ readonly Cmn: "MN";
270
+ readonly Cmo: "MO";
271
+ readonly Cmp: "MP";
272
+ readonly Cmr: "MR";
273
+ readonly Cmt: "MT";
274
+ readonly Cmv: "MV";
275
+ readonly Coa: "OA";
276
+ readonly Cot: "OT";
277
+ readonly Cpe: "PE";
278
+ readonly Cpl: "PL";
279
+ readonly Cpp: "PP";
280
+ readonly Cpr: "PR";
281
+ readonly Cps: "PS";
282
+ readonly Cqm: "QM";
283
+ readonly Crp: "RP";
284
+ readonly Csp: "SP";
285
+ readonly Ctf: "TF";
286
+ readonly Cu: "U";
287
+ readonly Cwc: "WC";
288
+ readonly Cwu: "WU";
289
+ };
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.InsuranceTypeCode = void 0;
7
+ exports.InsuranceTypeCode = {
8
+ C01: "01",
9
+ C12: "12",
10
+ C13: "13",
11
+ C14: "14",
12
+ C15: "15",
13
+ C16: "16",
14
+ C17: "17",
15
+ C18: "18",
16
+ C19: "19",
17
+ C41: "41",
18
+ C42: "42",
19
+ C43: "43",
20
+ C47: "47",
21
+ Cap: "AP",
22
+ Cc1: "C1",
23
+ Cco: "CO",
24
+ Ccp: "CP",
25
+ Cd: "D",
26
+ Cdb: "DB",
27
+ Ce: "E",
28
+ Cep: "EP",
29
+ Cff: "FF",
30
+ Cgp: "GP",
31
+ Cha: "HA",
32
+ Chb: "HB",
33
+ Chd: "HD",
34
+ Chg: "HG",
35
+ Chm: "HM",
36
+ Chn: "HN",
37
+ Chp: "HP",
38
+ Chs: "HS",
39
+ Cin: "IN",
40
+ Cip: "IP",
41
+ Clc: "LC",
42
+ Cld: "LD",
43
+ Cli: "LI",
44
+ Clt: "LT",
45
+ Cm: "M",
46
+ Cma: "MA",
47
+ Cmb: "MB",
48
+ Cmc: "MC",
49
+ Cmd: "MD",
50
+ Cme: "ME",
51
+ Cmf: "MF",
52
+ Cmh: "MH",
53
+ Cmi: "MI",
54
+ Cmj: "MJ",
55
+ Cmk: "MK",
56
+ Cml: "ML",
57
+ Cmm: "MM",
58
+ Cmn: "MN",
59
+ Cmo: "MO",
60
+ Cmp: "MP",
61
+ Cmr: "MR",
62
+ Cmt: "MT",
63
+ Cmv: "MV",
64
+ Coa: "OA",
65
+ Cot: "OT",
66
+ Cpe: "PE",
67
+ Cpl: "PL",
68
+ Cpp: "PP",
69
+ Cpr: "PR",
70
+ Cps: "PS",
71
+ Cqm: "QM",
72
+ Crp: "RP",
73
+ Csp: "SP",
74
+ Ctf: "TF",
75
+ Cu: "U",
76
+ Cwc: "WC",
77
+ Cwu: "WU",
78
+ };
@@ -2,9 +2,15 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export declare type NetworkType =
5
+ /**
6
+ * Self-pay */
7
+ "09"
8
+ /**
9
+ * Other Non-Federal Programs */
10
+ | "11"
5
11
  /**
6
12
  * Preferred Provider Organization (PPO) */
7
- "12"
13
+ | "12"
8
14
  /**
9
15
  * Point of Service (POS) */
10
16
  | "13"
@@ -23,12 +29,21 @@ export declare type NetworkType =
23
29
  /**
24
30
  * Automobile Medical */
25
31
  | "AM"
32
+ /**
33
+ * Blue Cross/Blue Shield */
34
+ | "BL"
26
35
  /**
27
36
  * CHAMPUS */
28
37
  | "CH"
38
+ /**
39
+ * Commercial Insurance Co. */
40
+ | "CI"
29
41
  /**
30
42
  * Disability */
31
43
  | "DS"
44
+ /**
45
+ * Federal Employees Program */
46
+ | "FI"
32
47
  /**
33
48
  * Health Maintenance Organization (HMO) */
34
49
  | "HM"
@@ -60,6 +75,8 @@ export declare type NetworkType =
60
75
  * Mutually Defined */
61
76
  | "ZZ";
62
77
  export declare const NetworkType: {
78
+ readonly SelfPay: "09";
79
+ readonly OtherNonFederalPrograms: "11";
63
80
  readonly Ppo: "12";
64
81
  readonly Pos: "13";
65
82
  readonly Epo: "14";
@@ -67,8 +84,11 @@ export declare const NetworkType: {
67
84
  readonly HmoMedicareRisk: "16";
68
85
  readonly Dmo: "17";
69
86
  readonly Auto: "AM";
87
+ readonly BlueCrossBlueShield: "BL";
70
88
  readonly Champus: "CH";
89
+ readonly CommercialInsuranceCo: "CI";
71
90
  readonly Disability: "DS";
91
+ readonly FederalEmployees: "FI";
72
92
  readonly Hmo: "HM";
73
93
  readonly Liability: "LM";
74
94
  readonly MedicarePartA: "MA";
@@ -5,6 +5,8 @@
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.NetworkType = void 0;
7
7
  exports.NetworkType = {
8
+ SelfPay: "09",
9
+ OtherNonFederalPrograms: "11",
8
10
  Ppo: "12",
9
11
  Pos: "13",
10
12
  Epo: "14",
@@ -12,8 +14,11 @@ exports.NetworkType = {
12
14
  HmoMedicareRisk: "16",
13
15
  Dmo: "17",
14
16
  Auto: "AM",
17
+ BlueCrossBlueShield: "BL",
15
18
  Champus: "CH",
19
+ CommercialInsuranceCo: "CI",
16
20
  Disability: "DS",
21
+ FederalEmployees: "FI",
17
22
  Hmo: "HM",
18
23
  Liability: "LM",
19
24
  MedicarePartA: "MA",
@@ -5,5 +5,5 @@ import * as CandidApi from "../../../../../../../index";
5
5
  export interface Subscriber {
6
6
  name: CandidApi.preEncounter.HumanName;
7
7
  dateOfBirth: string;
8
- gender: CandidApi.preEncounter.Gender;
8
+ biologicalSex: CandidApi.preEncounter.Sex;
9
9
  }
@@ -5,3 +5,4 @@ export * from "./NetworkType";
5
5
  export * from "./InsurancePlan";
6
6
  export * from "./MutableCoverage";
7
7
  export * from "./Coverage";
8
+ export * from "./InsuranceTypeCode";
@@ -21,3 +21,4 @@ __exportStar(require("./NetworkType"), exports);
21
21
  __exportStar(require("./InsurancePlan"), exports);
22
22
  __exportStar(require("./MutableCoverage"), exports);
23
23
  __exportStar(require("./Coverage"), exports);
24
+ __exportStar(require("./InsuranceTypeCode"), exports);
@@ -57,18 +57,11 @@ export declare class V1 {
57
57
  * contacts: [{
58
58
  * relationship: [CandidApi.preEncounter.Relationship.Self],
59
59
  * name: {},
60
- * gender: CandidApi.preEncounter.Gender.Man,
61
- * telecoms: [{}],
62
- * addresses: [{}],
63
- * period: {}
64
- * }],
65
- * generalPractitioners: [{
66
- * name: {},
67
- * npi: "string",
68
60
  * telecoms: [{}],
69
61
  * addresses: [{}],
70
62
  * period: {}
71
63
  * }],
64
+ * generalPractitioners: [{}],
72
65
  * filingOrder: {
73
66
  * coverages: [CandidApi.preEncounter.coverages.v1.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
74
67
  * }
@@ -133,18 +126,11 @@ export declare class V1 {
133
126
  * contacts: [{
134
127
  * relationship: [CandidApi.preEncounter.Relationship.Self],
135
128
  * name: {},
136
- * gender: CandidApi.preEncounter.Gender.Man,
137
- * telecoms: [{}],
138
- * addresses: [{}],
139
- * period: {}
140
- * }],
141
- * generalPractitioners: [{
142
- * name: {},
143
- * npi: "string",
144
129
  * telecoms: [{}],
145
130
  * addresses: [{}],
146
131
  * period: {}
147
132
  * }],
133
+ * generalPractitioners: [{}],
148
134
  * filingOrder: {
149
135
  * coverages: [CandidApi.preEncounter.coverages.v1.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
150
136
  * }
@@ -84,18 +84,11 @@ class V1 {
84
84
  * contacts: [{
85
85
  * relationship: [CandidApi.preEncounter.Relationship.Self],
86
86
  * name: {},
87
- * gender: CandidApi.preEncounter.Gender.Man,
88
- * telecoms: [{}],
89
- * addresses: [{}],
90
- * period: {}
91
- * }],
92
- * generalPractitioners: [{
93
- * name: {},
94
- * npi: "string",
95
87
  * telecoms: [{}],
96
88
  * addresses: [{}],
97
89
  * period: {}
98
90
  * }],
91
+ * generalPractitioners: [{}],
99
92
  * filingOrder: {
100
93
  * coverages: [CandidApi.preEncounter.coverages.v1.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
101
94
  * }
@@ -112,7 +105,7 @@ class V1 {
112
105
  Authorization: yield this._getAuthorizationHeader(),
113
106
  "X-Fern-Language": "JavaScript",
114
107
  "X-Fern-SDK-Name": "candidhealth",
115
- "X-Fern-SDK-Version": "0.24.5",
108
+ "X-Fern-SDK-Version": "0.25.0",
116
109
  "X-Fern-Runtime": core.RUNTIME.type,
117
110
  "X-Fern-Runtime-Version": core.RUNTIME.version,
118
111
  },
@@ -176,7 +169,7 @@ class V1 {
176
169
  Authorization: yield this._getAuthorizationHeader(),
177
170
  "X-Fern-Language": "JavaScript",
178
171
  "X-Fern-SDK-Name": "candidhealth",
179
- "X-Fern-SDK-Version": "0.24.5",
172
+ "X-Fern-SDK-Version": "0.25.0",
180
173
  "X-Fern-Runtime": core.RUNTIME.type,
181
174
  "X-Fern-Runtime-Version": core.RUNTIME.version,
182
175
  },
@@ -237,7 +230,7 @@ class V1 {
237
230
  Authorization: yield this._getAuthorizationHeader(),
238
231
  "X-Fern-Language": "JavaScript",
239
232
  "X-Fern-SDK-Name": "candidhealth",
240
- "X-Fern-SDK-Version": "0.24.5",
233
+ "X-Fern-SDK-Version": "0.25.0",
241
234
  "X-Fern-Runtime": core.RUNTIME.type,
242
235
  "X-Fern-Runtime-Version": core.RUNTIME.version,
243
236
  },
@@ -316,18 +309,11 @@ class V1 {
316
309
  * contacts: [{
317
310
  * relationship: [CandidApi.preEncounter.Relationship.Self],
318
311
  * name: {},
319
- * gender: CandidApi.preEncounter.Gender.Man,
320
- * telecoms: [{}],
321
- * addresses: [{}],
322
- * period: {}
323
- * }],
324
- * generalPractitioners: [{
325
- * name: {},
326
- * npi: "string",
327
312
  * telecoms: [{}],
328
313
  * addresses: [{}],
329
314
  * period: {}
330
315
  * }],
316
+ * generalPractitioners: [{}],
331
317
  * filingOrder: {
332
318
  * coverages: [CandidApi.preEncounter.coverages.v1.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
333
319
  * }
@@ -344,7 +330,7 @@ class V1 {
344
330
  Authorization: yield this._getAuthorizationHeader(),
345
331
  "X-Fern-Language": "JavaScript",
346
332
  "X-Fern-SDK-Name": "candidhealth",
347
- "X-Fern-SDK-Version": "0.24.5",
333
+ "X-Fern-SDK-Version": "0.25.0",
348
334
  "X-Fern-Runtime": core.RUNTIME.type,
349
335
  "X-Fern-Runtime-Version": core.RUNTIME.version,
350
336
  },
@@ -410,7 +396,7 @@ class V1 {
410
396
  Authorization: yield this._getAuthorizationHeader(),
411
397
  "X-Fern-Language": "JavaScript",
412
398
  "X-Fern-SDK-Name": "candidhealth",
413
- "X-Fern-SDK-Version": "0.24.5",
399
+ "X-Fern-SDK-Version": "0.25.0",
414
400
  "X-Fern-Runtime": core.RUNTIME.type,
415
401
  "X-Fern-Runtime-Version": core.RUNTIME.version,
416
402
  },
@@ -474,7 +460,7 @@ class V1 {
474
460
  Authorization: yield this._getAuthorizationHeader(),
475
461
  "X-Fern-Language": "JavaScript",
476
462
  "X-Fern-SDK-Name": "candidhealth",
477
- "X-Fern-SDK-Version": "0.24.5",
463
+ "X-Fern-SDK-Version": "0.25.0",
478
464
  "X-Fern-Runtime": core.RUNTIME.type,
479
465
  "X-Fern-Runtime-Version": core.RUNTIME.version,
480
466
  },
@@ -527,7 +513,7 @@ class V1 {
527
513
  Authorization: yield this._getAuthorizationHeader(),
528
514
  "X-Fern-Language": "JavaScript",
529
515
  "X-Fern-SDK-Name": "candidhealth",
530
- "X-Fern-SDK-Version": "0.24.5",
516
+ "X-Fern-SDK-Version": "0.25.0",
531
517
  "X-Fern-Runtime": core.RUNTIME.type,
532
518
  "X-Fern-Runtime-Version": core.RUNTIME.version,
533
519
  },
@@ -5,7 +5,6 @@ import * as CandidApi from "../../../../../../../index";
5
5
  export interface Contact {
6
6
  relationship: CandidApi.preEncounter.Relationship[];
7
7
  name: CandidApi.preEncounter.HumanName;
8
- gender?: CandidApi.preEncounter.Gender;
9
8
  telecoms: CandidApi.preEncounter.ContactPoint[];
10
9
  addresses: CandidApi.preEncounter.Address[];
11
10
  period?: CandidApi.preEncounter.Period;
@@ -9,11 +9,11 @@ export interface MutablePatient {
9
9
  name: CandidApi.preEncounter.HumanName;
10
10
  /** Other names for the patient. */
11
11
  otherNames: CandidApi.preEncounter.HumanName[];
12
- gender: CandidApi.preEncounter.Gender;
12
+ gender?: CandidApi.preEncounter.Gender;
13
13
  birthDate: string;
14
14
  socialSecurityNumber?: string;
15
- /** The biological sex of the patient. */
16
- biologicalSex?: CandidApi.preEncounter.Sex;
15
+ /** The biological sex of the patient. This corresponds to the HL7 AdministrativeGender https://www.hl7.org/fhir/valueset-administrative-gender.html */
16
+ biologicalSex: CandidApi.preEncounter.Sex;
17
17
  /** The sexual orientation of the patient. */
18
18
  sexualOrientation?: CandidApi.preEncounter.SexualOrientation;
19
19
  race?: CandidApi.preEncounter.Race;
@@ -40,6 +40,6 @@ export interface MutablePatient {
40
40
  externalProvenance?: CandidApi.preEncounter.patients.v1.ExternalProvenance;
41
41
  /** Contacts for the patient. */
42
42
  contacts: CandidApi.preEncounter.patients.v1.Contact[];
43
- generalPractitioners: CandidApi.preEncounter.patients.v1.ExternalProvider[];
43
+ generalPractitioners: CandidApi.preEncounter.ExternalProvider[];
44
44
  filingOrder: CandidApi.preEncounter.patients.v1.FilingOrder;
45
45
  }
@@ -2,7 +2,6 @@ export * from "./PatientId";
2
2
  export * from "./MaritalStatus";
3
3
  export * from "./ExternalProvenance";
4
4
  export * from "./Contact";
5
- export * from "./ExternalProvider";
6
5
  export * from "./FilingOrder";
7
6
  export * from "./MutablePatient";
8
7
  export * from "./Patient";
@@ -18,7 +18,6 @@ __exportStar(require("./PatientId"), exports);
18
18
  __exportStar(require("./MaritalStatus"), exports);
19
19
  __exportStar(require("./ExternalProvenance"), exports);
20
20
  __exportStar(require("./Contact"), exports);
21
- __exportStar(require("./ExternalProvider"), exports);
22
21
  __exportStar(require("./FilingOrder"), exports);
23
22
  __exportStar(require("./MutablePatient"), exports);
24
23
  __exportStar(require("./Patient"), exports);
@@ -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.24.5",
81
+ "X-Fern-SDK-Version": "0.25.0",
82
82
  "X-Fern-Runtime": core.RUNTIME.type,
83
83
  "X-Fern-Runtime-Version": core.RUNTIME.version,
84
84
  },