candidhealth 0.39.6 → 0.39.7

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 (498) hide show
  1. package/api/resources/auth/resources/v2/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.js +5 -5
  4. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  5. package/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
  6. package/api/resources/commons/types/ProcedureModifier.js +1 -0
  7. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  8. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  9. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  10. package/api/resources/diagnoses/client/Client.js +3 -3
  11. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  12. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  13. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  14. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  15. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  16. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  17. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  18. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +3 -0
  19. package/api/resources/feeSchedules/resources/v3/client/Client.js +31 -12
  20. package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -0
  21. package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +2 -0
  22. package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +2 -0
  23. package/api/resources/feeSchedules/resources/v3/types/DimensionMatch.d.ts +1 -0
  24. package/api/resources/feeSchedules/resources/v3/types/Dimensions.d.ts +2 -1
  25. package/api/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.d.ts +12 -0
  26. package/api/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.js +5 -0
  27. package/api/resources/feeSchedules/resources/v3/types/OptionalDimensions.d.ts +1 -0
  28. package/api/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.d.ts +8 -0
  29. package/api/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.js +5 -0
  30. package/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +7 -1
  31. package/api/resources/feeSchedules/resources/v3/types/index.d.ts +2 -0
  32. package/api/resources/feeSchedules/resources/v3/types/index.js +2 -0
  33. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  34. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  35. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  36. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  37. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  38. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  39. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  40. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  41. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  42. package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +5 -1
  43. package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
  44. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  45. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  46. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  47. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  48. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  49. package/api/resources/preEncounter/client/Client.d.ts +3 -0
  50. package/api/resources/preEncounter/client/Client.js +13 -8
  51. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +20 -2
  52. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +89 -8
  53. package/api/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.d.ts +28 -0
  54. package/api/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.js +68 -0
  55. package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
  56. package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
  57. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +27 -0
  58. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.js +5 -0
  59. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.d.ts +1 -0
  60. package/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -1
  61. package/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +13 -0
  62. package/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +5 -0
  63. package/api/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.d.ts +7 -0
  64. package/api/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.js +5 -0
  65. package/api/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +2 -0
  66. package/api/resources/preEncounter/resources/appointments/resources/v1/types/index.js +2 -0
  67. package/api/resources/preEncounter/resources/common/types/ExternalIdentifier.d.ts +12 -0
  68. package/api/resources/preEncounter/resources/common/types/ExternalIdentifier.js +5 -0
  69. package/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  70. package/api/resources/preEncounter/resources/common/types/PayerPlanGroupId.d.ts +11 -0
  71. package/api/resources/preEncounter/resources/common/types/PayerPlanGroupId.js +9 -0
  72. package/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  73. package/api/resources/preEncounter/resources/common/types/index.js +2 -0
  74. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +21 -16
  75. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +87 -24
  76. package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.d.ts +28 -0
  77. package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.js +68 -0
  78. package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
  79. package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -1
  80. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +22 -0
  81. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.js +5 -0
  82. package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +1 -0
  83. package/api/resources/preEncounter/resources/coverages/resources/v1/types/Address.d.ts +12 -0
  84. package/api/resources/preEncounter/resources/coverages/resources/v1/types/Address.js +5 -0
  85. package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +1 -0
  86. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.d.ts +7 -0
  87. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.js +5 -0
  88. package/api/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.d.ts +14 -0
  89. package/api/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.js +5 -0
  90. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
  91. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +4 -0
  92. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +1 -0
  93. package/api/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +9 -0
  94. package/api/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.js +5 -0
  95. package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +3 -0
  96. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +4 -0
  97. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +4 -0
  98. package/api/resources/preEncounter/resources/eligibilityChecks/client/Client.d.ts +30 -0
  99. package/api/resources/preEncounter/resources/eligibilityChecks/client/Client.js +17 -0
  100. package/api/resources/preEncounter/resources/eligibilityChecks/client/index.d.ts +1 -0
  101. package/api/resources/preEncounter/resources/eligibilityChecks/client/index.js +2 -0
  102. package/api/resources/preEncounter/resources/eligibilityChecks/index.d.ts +2 -0
  103. package/api/resources/preEncounter/resources/eligibilityChecks/index.js +18 -0
  104. package/api/resources/preEncounter/resources/eligibilityChecks/resources/index.d.ts +1 -0
  105. package/api/resources/preEncounter/resources/eligibilityChecks/resources/index.js +37 -0
  106. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +62 -0
  107. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +136 -0
  108. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
  109. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +37 -0
  110. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/post.d.ts +22 -0
  111. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/post.js +57 -0
  112. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.d.ts +2 -0
  113. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.js +18 -0
  114. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +11 -0
  115. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.js +5 -0
  116. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +17 -0
  117. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +5 -0
  118. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.d.ts +8 -0
  119. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.js +5 -0
  120. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.d.ts +12 -0
  121. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.js +5 -0
  122. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.d.ts +8 -0
  123. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.js +5 -0
  124. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.d.ts +7 -0
  125. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.js +5 -0
  126. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +9 -0
  127. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.js +5 -0
  128. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.d.ts +5 -0
  129. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.js +5 -0
  130. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.d.ts +8 -0
  131. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.js +5 -0
  132. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +9 -0
  133. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +25 -0
  134. package/api/resources/preEncounter/resources/index.d.ts +1 -0
  135. package/api/resources/preEncounter/resources/index.js +2 -1
  136. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  137. package/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -1
  138. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  139. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +36 -7
  140. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +84 -16
  141. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  142. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  143. package/api/resources/preEncounter/resources/patients/resources/v1/client/reactivate.d.ts +34 -0
  144. package/api/resources/preEncounter/resources/patients/resources/v1/client/reactivate.js +79 -0
  145. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +8 -2
  146. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +8 -2
  147. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  148. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  149. package/api/resources/serviceFacility/client/Client.js +1 -1
  150. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  151. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  152. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  153. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  154. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  155. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  156. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  157. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +5 -1
  158. package/dist/api/resources/commons/types/ProcedureModifier.js +1 -0
  159. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  160. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  161. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  162. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  163. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  164. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  165. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  166. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  167. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  168. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  169. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  170. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +3 -0
  171. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +31 -12
  172. package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -0
  173. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +2 -0
  174. package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +2 -0
  175. package/dist/api/resources/feeSchedules/resources/v3/types/DimensionMatch.d.ts +1 -0
  176. package/dist/api/resources/feeSchedules/resources/v3/types/Dimensions.d.ts +2 -1
  177. package/dist/api/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.d.ts +12 -0
  178. package/dist/api/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.js +5 -0
  179. package/dist/api/resources/feeSchedules/resources/v3/types/OptionalDimensions.d.ts +1 -0
  180. package/dist/api/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.d.ts +8 -0
  181. package/dist/api/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.js +5 -0
  182. package/dist/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +7 -1
  183. package/dist/api/resources/feeSchedules/resources/v3/types/index.d.ts +2 -0
  184. package/dist/api/resources/feeSchedules/resources/v3/types/index.js +2 -0
  185. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  186. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  187. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  188. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  189. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  190. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  191. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  192. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  193. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  194. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +5 -1
  195. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
  196. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  197. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  198. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  199. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  200. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  201. package/dist/api/resources/preEncounter/client/Client.d.ts +3 -0
  202. package/dist/api/resources/preEncounter/client/Client.js +13 -8
  203. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +20 -2
  204. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +89 -8
  205. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.d.ts +28 -0
  206. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.js +68 -0
  207. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
  208. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
  209. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +27 -0
  210. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.js +5 -0
  211. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.d.ts +1 -0
  212. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/MutableAppointment.d.ts +1 -1
  213. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +13 -0
  214. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +5 -0
  215. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.d.ts +7 -0
  216. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.js +5 -0
  217. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +2 -0
  218. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/index.js +2 -0
  219. package/dist/api/resources/preEncounter/resources/common/types/ExternalIdentifier.d.ts +12 -0
  220. package/dist/api/resources/preEncounter/resources/common/types/ExternalIdentifier.js +5 -0
  221. package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  222. package/dist/api/resources/preEncounter/resources/common/types/PayerPlanGroupId.d.ts +11 -0
  223. package/dist/api/resources/preEncounter/resources/common/types/PayerPlanGroupId.js +9 -0
  224. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  225. package/dist/api/resources/preEncounter/resources/common/types/index.js +2 -0
  226. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +21 -16
  227. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +87 -24
  228. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.d.ts +28 -0
  229. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.js +68 -0
  230. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
  231. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -1
  232. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +22 -0
  233. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.js +5 -0
  234. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.d.ts +1 -0
  235. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Address.d.ts +12 -0
  236. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Address.js +5 -0
  237. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +1 -0
  238. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.d.ts +7 -0
  239. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.js +5 -0
  240. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.d.ts +14 -0
  241. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.js +5 -0
  242. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
  243. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +4 -0
  244. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +1 -0
  245. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +9 -0
  246. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.js +5 -0
  247. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +3 -0
  248. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +4 -0
  249. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +4 -0
  250. package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/Client.d.ts +30 -0
  251. package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/Client.js +17 -0
  252. package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/index.d.ts +1 -0
  253. package/dist/api/resources/preEncounter/resources/eligibilityChecks/client/index.js +2 -0
  254. package/dist/api/resources/preEncounter/resources/eligibilityChecks/index.d.ts +2 -0
  255. package/dist/api/resources/preEncounter/resources/eligibilityChecks/index.js +18 -0
  256. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/index.d.ts +1 -0
  257. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/index.js +37 -0
  258. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +62 -0
  259. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +136 -0
  260. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
  261. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +37 -0
  262. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/post.d.ts +22 -0
  263. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/post.js +57 -0
  264. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.d.ts +2 -0
  265. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.js +18 -0
  266. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +11 -0
  267. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.js +5 -0
  268. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +17 -0
  269. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +5 -0
  270. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.d.ts +8 -0
  271. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.js +5 -0
  272. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.d.ts +12 -0
  273. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.js +5 -0
  274. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.d.ts +8 -0
  275. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.js +5 -0
  276. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.d.ts +7 -0
  277. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.js +5 -0
  278. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +9 -0
  279. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.js +5 -0
  280. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.d.ts +5 -0
  281. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.js +5 -0
  282. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.d.ts +8 -0
  283. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.js +5 -0
  284. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +9 -0
  285. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +25 -0
  286. package/dist/api/resources/preEncounter/resources/index.d.ts +1 -0
  287. package/dist/api/resources/preEncounter/resources/index.js +2 -1
  288. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  289. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -1
  290. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  291. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +36 -7
  292. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +84 -16
  293. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  294. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  295. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/reactivate.d.ts +34 -0
  296. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/reactivate.js +79 -0
  297. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +8 -2
  298. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +8 -2
  299. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  300. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  301. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  302. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  303. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  304. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  305. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  306. package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  307. package/dist/serialization/resources/feeSchedules/resources/v3/types/DimensionMatch.d.ts +2 -0
  308. package/dist/serialization/resources/feeSchedules/resources/v3/types/DimensionMatch.js +2 -0
  309. package/dist/serialization/resources/feeSchedules/resources/v3/types/Dimensions.d.ts +2 -0
  310. package/dist/serialization/resources/feeSchedules/resources/v3/types/Dimensions.js +2 -0
  311. package/dist/serialization/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.d.ts +15 -0
  312. package/dist/serialization/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.js +46 -0
  313. package/dist/serialization/resources/feeSchedules/resources/v3/types/OptionalDimensions.d.ts +2 -0
  314. package/dist/serialization/resources/feeSchedules/resources/v3/types/OptionalDimensions.js +2 -0
  315. package/dist/serialization/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.d.ts +14 -0
  316. package/dist/serialization/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.js +45 -0
  317. package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +8 -1
  318. package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +3 -0
  319. package/dist/serialization/resources/feeSchedules/resources/v3/types/index.d.ts +2 -0
  320. package/dist/serialization/resources/feeSchedules/resources/v3/types/index.js +2 -0
  321. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  322. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
  323. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.d.ts +15 -0
  324. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.js +71 -0
  325. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
  326. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
  327. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +18 -0
  328. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +49 -0
  329. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.d.ts +14 -0
  330. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.js +47 -0
  331. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +2 -0
  332. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.js +2 -0
  333. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalIdentifier.d.ts +15 -0
  334. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalIdentifier.js +46 -0
  335. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  336. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.js +1 -0
  337. package/dist/serialization/resources/preEncounter/resources/common/types/PayerPlanGroupId.d.ts +10 -0
  338. package/dist/serialization/resources/preEncounter/resources/common/types/PayerPlanGroupId.js +45 -0
  339. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  340. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  341. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.d.ts +15 -0
  342. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.js +71 -0
  343. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
  344. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -1
  345. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Address.d.ts +18 -0
  346. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Address.js +49 -0
  347. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +2 -0
  348. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.js +2 -0
  349. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.d.ts +14 -0
  350. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.js +47 -0
  351. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.d.ts +20 -0
  352. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.js +51 -0
  353. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
  354. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +2 -0
  355. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  356. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +1 -0
  357. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +15 -0
  358. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.js +46 -0
  359. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +4 -0
  360. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.js +4 -0
  361. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +4 -0
  362. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +4 -0
  363. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/index.d.ts +1 -0
  364. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/index.js +17 -0
  365. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/index.d.ts +1 -0
  366. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/index.js +37 -0
  367. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.d.ts +1 -0
  368. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.js +17 -0
  369. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +19 -0
  370. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.js +50 -0
  371. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +19 -0
  372. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +50 -0
  373. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.d.ts +11 -0
  374. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.js +8 -0
  375. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.d.ts +13 -0
  376. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.js +44 -0
  377. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.d.ts +14 -0
  378. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.js +45 -0
  379. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.d.ts +13 -0
  380. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.js +44 -0
  381. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +17 -0
  382. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.js +48 -0
  383. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.d.ts +12 -0
  384. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.js +43 -0
  385. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.d.ts +14 -0
  386. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.js +45 -0
  387. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +9 -0
  388. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +25 -0
  389. package/dist/serialization/resources/preEncounter/resources/index.d.ts +1 -0
  390. package/dist/serialization/resources/preEncounter/resources/index.js +2 -1
  391. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -2
  392. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -2
  393. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  394. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  395. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/reactivate.d.ts +20 -0
  396. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/reactivate.js +77 -0
  397. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  398. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
  399. package/dist/version.d.ts +1 -1
  400. package/dist/version.js +1 -1
  401. package/package.json +1 -1
  402. package/reference.md +330 -19
  403. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  404. package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  405. package/serialization/resources/feeSchedules/resources/v3/types/DimensionMatch.d.ts +2 -0
  406. package/serialization/resources/feeSchedules/resources/v3/types/DimensionMatch.js +2 -0
  407. package/serialization/resources/feeSchedules/resources/v3/types/Dimensions.d.ts +2 -0
  408. package/serialization/resources/feeSchedules/resources/v3/types/Dimensions.js +2 -0
  409. package/serialization/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.d.ts +15 -0
  410. package/serialization/resources/feeSchedules/resources/v3/types/MatchPayerPlanGroups.js +46 -0
  411. package/serialization/resources/feeSchedules/resources/v3/types/OptionalDimensions.d.ts +2 -0
  412. package/serialization/resources/feeSchedules/resources/v3/types/OptionalDimensions.js +2 -0
  413. package/serialization/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.d.ts +14 -0
  414. package/serialization/resources/feeSchedules/resources/v3/types/PayerPlanGroupDoesNotMatchRatePayerError.js +45 -0
  415. package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +8 -1
  416. package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +3 -0
  417. package/serialization/resources/feeSchedules/resources/v3/types/index.d.ts +2 -0
  418. package/serialization/resources/feeSchedules/resources/v3/types/index.js +2 -0
  419. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  420. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +4 -0
  421. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.d.ts +15 -0
  422. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getVisits.js +71 -0
  423. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
  424. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
  425. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +18 -0
  426. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +49 -0
  427. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.d.ts +14 -0
  428. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/VisitsPage.js +47 -0
  429. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.d.ts +2 -0
  430. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/index.js +2 -0
  431. package/serialization/resources/preEncounter/resources/common/types/ExternalIdentifier.d.ts +15 -0
  432. package/serialization/resources/preEncounter/resources/common/types/ExternalIdentifier.js +46 -0
  433. package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  434. package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.js +1 -0
  435. package/serialization/resources/preEncounter/resources/common/types/PayerPlanGroupId.d.ts +10 -0
  436. package/serialization/resources/preEncounter/resources/common/types/PayerPlanGroupId.js +45 -0
  437. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  438. package/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  439. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.d.ts +15 -0
  440. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMultiPaginated.js +71 -0
  441. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
  442. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -1
  443. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Address.d.ts +18 -0
  444. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Address.js +49 -0
  445. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.d.ts +2 -0
  446. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitsRelatedEntity.js +2 -0
  447. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.d.ts +14 -0
  448. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoveragesPage.js +47 -0
  449. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.d.ts +20 -0
  450. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/ExpandedMemberInfo.js +51 -0
  451. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -0
  452. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +2 -0
  453. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
  454. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +1 -0
  455. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +15 -0
  456. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.js +46 -0
  457. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.d.ts +4 -0
  458. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanMetadata.js +4 -0
  459. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +4 -0
  460. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +4 -0
  461. package/serialization/resources/preEncounter/resources/eligibilityChecks/index.d.ts +1 -0
  462. package/serialization/resources/preEncounter/resources/eligibilityChecks/index.js +17 -0
  463. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/index.d.ts +1 -0
  464. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/index.js +37 -0
  465. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.d.ts +1 -0
  466. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/index.js +17 -0
  467. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.d.ts +19 -0
  468. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityCheck.js +50 -0
  469. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.d.ts +19 -0
  470. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRequest.js +50 -0
  471. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.d.ts +11 -0
  472. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityResponse.js +8 -0
  473. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.d.ts +13 -0
  474. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Encounter.js +44 -0
  475. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.d.ts +14 -0
  476. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/IndividualProvider.js +45 -0
  477. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.d.ts +13 -0
  478. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/OrganizationProvider.js +44 -0
  479. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.d.ts +17 -0
  480. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/ParsedResponse.js +48 -0
  481. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.d.ts +12 -0
  482. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/Provider.js +43 -0
  483. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.d.ts +14 -0
  484. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/RequestCorrection.js +45 -0
  485. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +9 -0
  486. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +25 -0
  487. package/serialization/resources/preEncounter/resources/index.d.ts +1 -0
  488. package/serialization/resources/preEncounter/resources/index.js +2 -1
  489. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -2
  490. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -2
  491. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  492. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  493. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/reactivate.d.ts +20 -0
  494. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/reactivate.js +77 -0
  495. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  496. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
  497. package/version.d.ts +1 -1
  498. package/version.js +1 -1
@@ -73,7 +73,7 @@ class V1 {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}`),
75
75
  method: "GET",
76
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -116,7 +116,7 @@ class V1 {
116
116
  const _response = yield core.fetcher({
117
117
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/notes/v1"),
118
118
  method: "POST",
119
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
119
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
120
120
  contentType: "application/json",
121
121
  requestType: "json",
122
122
  body: serializers.preEncounter.notes.v1.MutableNote.jsonOrThrow(request, {
@@ -164,7 +164,7 @@ class V1 {
164
164
  const _response = yield core.fetcher({
165
165
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
166
166
  method: "PUT",
167
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
168
168
  contentType: "application/json",
169
169
  requestType: "json",
170
170
  body: serializers.preEncounter.notes.v1.MutableNote.jsonOrThrow(request, {
@@ -207,7 +207,7 @@ class V1 {
207
207
  const _response = yield core.fetcher({
208
208
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
209
209
  method: "DELETE",
210
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
210
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
211
211
  contentType: "application/json",
212
212
  requestType: "json",
213
213
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -47,6 +47,10 @@ export declare class V1 {
47
47
  * use: "USUAL",
48
48
  * period: {}
49
49
  * }],
50
+ * otherIdentifiers: [{
51
+ * value: "string",
52
+ * system: "string"
53
+ * }],
50
54
  * gender: "MAN",
51
55
  * birthDate: "2023-01-15",
52
56
  * socialSecurityNumber: "string",
@@ -131,7 +135,8 @@ export declare class V1 {
131
135
  * }],
132
136
  * addresses: [],
133
137
  * period: {},
134
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
138
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
139
+ * fax: "string"
135
140
  * }],
136
141
  * filingOrder: {
137
142
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
@@ -191,7 +196,8 @@ export declare class V1 {
191
196
  * }],
192
197
  * addresses: [],
193
198
  * period: {},
194
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
199
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
200
+ * fax: "string"
195
201
  * },
196
202
  * referralNumber: "string"
197
203
  * }],
@@ -226,6 +232,10 @@ export declare class V1 {
226
232
  * use: "USUAL",
227
233
  * period: {}
228
234
  * }],
235
+ * otherIdentifiers: [{
236
+ * value: "string",
237
+ * system: "string"
238
+ * }],
229
239
  * gender: "MAN",
230
240
  * birthDate: "2023-01-15",
231
241
  * socialSecurityNumber: "string",
@@ -310,7 +320,8 @@ export declare class V1 {
310
320
  * }],
311
321
  * addresses: [],
312
322
  * period: {},
313
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
323
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
324
+ * fax: "string"
314
325
  * }],
315
326
  * filingOrder: {
316
327
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
@@ -370,7 +381,8 @@ export declare class V1 {
370
381
  * }],
371
382
  * addresses: [],
372
383
  * period: {},
373
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
384
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
385
+ * fax: "string"
374
386
  * },
375
387
  * referralNumber: "string"
376
388
  * }],
@@ -440,6 +452,10 @@ export declare class V1 {
440
452
  * use: "USUAL",
441
453
  * period: {}
442
454
  * }],
455
+ * otherIdentifiers: [{
456
+ * value: "string",
457
+ * system: "string"
458
+ * }],
443
459
  * gender: "MAN",
444
460
  * birthDate: "2023-01-15",
445
461
  * socialSecurityNumber: "string",
@@ -524,7 +540,8 @@ export declare class V1 {
524
540
  * }],
525
541
  * addresses: [],
526
542
  * period: {},
527
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
543
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
544
+ * fax: "string"
528
545
  * }],
529
546
  * filingOrder: {
530
547
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
@@ -584,7 +601,8 @@ export declare class V1 {
584
601
  * }],
585
602
  * addresses: [],
586
603
  * period: {},
587
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
604
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
605
+ * fax: "string"
588
606
  * },
589
607
  * referralNumber: "string"
590
608
  * }],
@@ -596,7 +614,7 @@ export declare class V1 {
596
614
  */
597
615
  update(id: CandidApi.preEncounter.PatientId, version: string, request: CandidApi.preEncounter.patients.v1.MutablePatient, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.update.Error>>;
598
616
  /**
599
- * Sets a patient as deactivated. The path must contain the most recent version to prevent race conditions. Deactivating historic versions is not supported. Subsequent updates via PUT to the patient will "reactivate" the patient and set the deactivated flag to false.
617
+ * Sets a patient as deactivated. The path must contain the most recent version plus 1 to prevent race conditions. Deactivating historic versions is not supported.
600
618
  *
601
619
  * @param {CandidApi.preEncounter.PatientId} id
602
620
  * @param {string} version
@@ -606,6 +624,17 @@ export declare class V1 {
606
624
  * await client.preEncounter.patients.v1.deactivate(CandidApi.preEncounter.PatientId("string"), "string")
607
625
  */
608
626
  deactivate(id: CandidApi.preEncounter.PatientId, version: string, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<void, CandidApi.preEncounter.patients.v1.deactivate.Error>>;
627
+ /**
628
+ * Removes the deactivated flag for a patient. The path must contain the most recent version plus 1 to prevent race conditions. Reactivating historic versions is not supported.
629
+ *
630
+ * @param {CandidApi.preEncounter.PatientId} id
631
+ * @param {string} version
632
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
633
+ *
634
+ * @example
635
+ * await client.preEncounter.patients.v1.reactivate(CandidApi.preEncounter.PatientId("string"), "string")
636
+ */
637
+ reactivate(id: CandidApi.preEncounter.PatientId, version: string, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<void, CandidApi.preEncounter.patients.v1.reactivate.Error>>;
609
638
  /**
610
639
  * Returns a list of Patients based on the search criteria.
611
640
  *
@@ -80,6 +80,10 @@ class V1 {
80
80
  * use: "USUAL",
81
81
  * period: {}
82
82
  * }],
83
+ * otherIdentifiers: [{
84
+ * value: "string",
85
+ * system: "string"
86
+ * }],
83
87
  * gender: "MAN",
84
88
  * birthDate: "2023-01-15",
85
89
  * socialSecurityNumber: "string",
@@ -164,7 +168,8 @@ class V1 {
164
168
  * }],
165
169
  * addresses: [],
166
170
  * period: {},
167
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
171
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
172
+ * fax: "string"
168
173
  * }],
169
174
  * filingOrder: {
170
175
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
@@ -224,7 +229,8 @@ class V1 {
224
229
  * }],
225
230
  * addresses: [],
226
231
  * period: {},
227
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
232
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
233
+ * fax: "string"
228
234
  * },
229
235
  * referralNumber: "string"
230
236
  * }],
@@ -246,7 +252,7 @@ class V1 {
246
252
  const _response = yield core.fetcher({
247
253
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1"),
248
254
  method: "POST",
249
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
255
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
250
256
  contentType: "application/json",
251
257
  queryParameters: _queryParams,
252
258
  requestType: "json",
@@ -311,6 +317,10 @@ class V1 {
311
317
  * use: "USUAL",
312
318
  * period: {}
313
319
  * }],
320
+ * otherIdentifiers: [{
321
+ * value: "string",
322
+ * system: "string"
323
+ * }],
314
324
  * gender: "MAN",
315
325
  * birthDate: "2023-01-15",
316
326
  * socialSecurityNumber: "string",
@@ -395,7 +405,8 @@ class V1 {
395
405
  * }],
396
406
  * addresses: [],
397
407
  * period: {},
398
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
408
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
409
+ * fax: "string"
399
410
  * }],
400
411
  * filingOrder: {
401
412
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
@@ -455,7 +466,8 @@ class V1 {
455
466
  * }],
456
467
  * addresses: [],
457
468
  * period: {},
458
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
469
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
470
+ * fax: "string"
459
471
  * },
460
472
  * referralNumber: "string"
461
473
  * }],
@@ -477,7 +489,7 @@ class V1 {
477
489
  const _response = yield core.fetcher({
478
490
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/with_mrn"),
479
491
  method: "POST",
480
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
492
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
481
493
  contentType: "application/json",
482
494
  queryParameters: _queryParams,
483
495
  requestType: "json",
@@ -560,7 +572,7 @@ class V1 {
560
572
  const _response = yield core.fetcher({
561
573
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/get_multi"),
562
574
  method: "GET",
563
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
575
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
564
576
  contentType: "application/json",
565
577
  queryParameters: _queryParams,
566
578
  requestType: "json",
@@ -600,7 +612,7 @@ class V1 {
600
612
  const _response = yield core.fetcher({
601
613
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}`),
602
614
  method: "GET",
603
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
615
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
604
616
  contentType: "application/json",
605
617
  requestType: "json",
606
618
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -653,7 +665,7 @@ class V1 {
653
665
  const _response = yield core.fetcher({
654
666
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/history`),
655
667
  method: "GET",
656
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
668
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
657
669
  contentType: "application/json",
658
670
  requestType: "json",
659
671
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -713,6 +725,10 @@ class V1 {
713
725
  * use: "USUAL",
714
726
  * period: {}
715
727
  * }],
728
+ * otherIdentifiers: [{
729
+ * value: "string",
730
+ * system: "string"
731
+ * }],
716
732
  * gender: "MAN",
717
733
  * birthDate: "2023-01-15",
718
734
  * socialSecurityNumber: "string",
@@ -797,7 +813,8 @@ class V1 {
797
813
  * }],
798
814
  * addresses: [],
799
815
  * period: {},
800
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
816
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
817
+ * fax: "string"
801
818
  * }],
802
819
  * filingOrder: {
803
820
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
@@ -857,7 +874,8 @@ class V1 {
857
874
  * }],
858
875
  * addresses: [],
859
876
  * period: {},
860
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
877
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
878
+ * fax: "string"
861
879
  * },
862
880
  * referralNumber: "string"
863
881
  * }],
@@ -873,7 +891,7 @@ class V1 {
873
891
  const _response = yield core.fetcher({
874
892
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
875
893
  method: "PUT",
876
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
894
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
877
895
  contentType: "application/json",
878
896
  requestType: "json",
879
897
  body: serializers.preEncounter.patients.v1.MutablePatient.jsonOrThrow(request, {
@@ -916,7 +934,7 @@ class V1 {
916
934
  });
917
935
  }
918
936
  /**
919
- * Sets a patient as deactivated. The path must contain the most recent version to prevent race conditions. Deactivating historic versions is not supported. Subsequent updates via PUT to the patient will "reactivate" the patient and set the deactivated flag to false.
937
+ * Sets a patient as deactivated. The path must contain the most recent version plus 1 to prevent race conditions. Deactivating historic versions is not supported.
920
938
  *
921
939
  * @param {CandidApi.preEncounter.PatientId} id
922
940
  * @param {string} version
@@ -931,7 +949,7 @@ class V1 {
931
949
  const _response = yield core.fetcher({
932
950
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
933
951
  method: "DELETE",
934
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
952
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
935
953
  contentType: "application/json",
936
954
  requestType: "json",
937
955
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -965,6 +983,56 @@ class V1 {
965
983
  };
966
984
  });
967
985
  }
986
+ /**
987
+ * Removes the deactivated flag for a patient. The path must contain the most recent version plus 1 to prevent race conditions. Reactivating historic versions is not supported.
988
+ *
989
+ * @param {CandidApi.preEncounter.PatientId} id
990
+ * @param {string} version
991
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
992
+ *
993
+ * @example
994
+ * await client.preEncounter.patients.v1.reactivate(CandidApi.preEncounter.PatientId("string"), "string")
995
+ */
996
+ reactivate(id, version, requestOptions) {
997
+ return __awaiter(this, void 0, void 0, function* () {
998
+ var _a, _b, _c;
999
+ const _response = yield core.fetcher({
1000
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
1001
+ method: "PATCH",
1002
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1003
+ contentType: "application/json",
1004
+ requestType: "json",
1005
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1006
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1007
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1008
+ });
1009
+ if (_response.ok) {
1010
+ return {
1011
+ ok: true,
1012
+ body: undefined,
1013
+ };
1014
+ }
1015
+ if (_response.error.reason === "status-code") {
1016
+ switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
1017
+ case "NotFoundError":
1018
+ case "VersionConflictError":
1019
+ return {
1020
+ ok: false,
1021
+ error: serializers.preEncounter.patients.v1.reactivate.Error.parseOrThrow(_response.error.body, {
1022
+ unrecognizedObjectKeys: "passthrough",
1023
+ allowUnrecognizedUnionMembers: true,
1024
+ allowUnrecognizedEnumValues: true,
1025
+ breadcrumbsPrefix: ["response"],
1026
+ }),
1027
+ };
1028
+ }
1029
+ }
1030
+ return {
1031
+ ok: false,
1032
+ error: CandidApi.preEncounter.patients.v1.reactivate.Error._unknown(_response.error),
1033
+ };
1034
+ });
1035
+ }
968
1036
  /**
969
1037
  * Returns a list of Patients based on the search criteria.
970
1038
  *
@@ -991,7 +1059,7 @@ class V1 {
991
1059
  const _response = yield core.fetcher({
992
1060
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1"),
993
1061
  method: "GET",
994
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1062
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
995
1063
  contentType: "application/json",
996
1064
  queryParameters: _queryParams,
997
1065
  requestType: "json",
@@ -1036,7 +1104,7 @@ class V1 {
1036
1104
  const _response = yield core.fetcher({
1037
1105
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/updates/scan"),
1038
1106
  method: "GET",
1039
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.6", "User-Agent": "candidhealth/0.39.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1107
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1040
1108
  contentType: "application/json",
1041
1109
  queryParameters: _queryParams,
1042
1110
  requestType: "json",
@@ -6,5 +6,6 @@ export * as get from "./get";
6
6
  export * as getHistory from "./getHistory";
7
7
  export * as update from "./update";
8
8
  export * as deactivate from "./deactivate";
9
+ export * as reactivate from "./reactivate";
9
10
  export * as search from "./search";
10
11
  export * as scan from "./scan";
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.scan = exports.search = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.getMulti = exports.createWithMrn = exports.create = void 0;
39
+ exports.scan = exports.search = exports.reactivate = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.getMulti = exports.createWithMrn = exports.create = void 0;
40
40
  __exportStar(require("./requests"), exports);
41
41
  exports.create = __importStar(require("./create"));
42
42
  exports.createWithMrn = __importStar(require("./createWithMrn"));
@@ -45,5 +45,6 @@ exports.get = __importStar(require("./get"));
45
45
  exports.getHistory = __importStar(require("./getHistory"));
46
46
  exports.update = __importStar(require("./update"));
47
47
  exports.deactivate = __importStar(require("./deactivate"));
48
+ exports.reactivate = __importStar(require("./reactivate"));
48
49
  exports.search = __importStar(require("./search"));
49
50
  exports.scan = __importStar(require("./scan"));
@@ -0,0 +1,34 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../../../index";
5
+ import * as core from "../../../../../../../../core";
6
+ export type Error = CandidApi.preEncounter.patients.v1.reactivate.Error.NotFoundError | CandidApi.preEncounter.patients.v1.reactivate.Error.VersionConflictError | CandidApi.preEncounter.patients.v1.reactivate.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface NotFoundError extends _Utils {
9
+ errorName: "NotFoundError";
10
+ content: CandidApi.preEncounter.ErrorBase4Xx;
11
+ }
12
+ interface VersionConflictError extends _Utils {
13
+ errorName: "VersionConflictError";
14
+ content: CandidApi.preEncounter.VersionConflictErrorBody;
15
+ }
16
+ interface _Unknown extends _Utils {
17
+ errorName: void;
18
+ content: core.Fetcher.Error;
19
+ }
20
+ interface _Utils {
21
+ _visit: <_Result>(visitor: CandidApi.preEncounter.patients.v1.reactivate.Error._Visitor<_Result>) => _Result;
22
+ }
23
+ interface _Visitor<_Result> {
24
+ notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => _Result;
25
+ versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => _Result;
26
+ _other: (value: core.Fetcher.Error) => _Result;
27
+ }
28
+ }
29
+ export declare const Error: {
30
+ readonly notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => CandidApi.preEncounter.patients.v1.reactivate.Error.NotFoundError;
31
+ readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.patients.v1.reactivate.Error.VersionConflictError;
32
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.v1.reactivate.Error._Unknown;
33
+ readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.v1.reactivate.Error, visitor: CandidApi.preEncounter.patients.v1.reactivate.Error._Visitor<_Result>) => _Result;
34
+ };
@@ -0,0 +1,79 @@
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.Error = void 0;
40
+ const CandidApi = __importStar(require("../../../../../../../index"));
41
+ exports.Error = {
42
+ notFoundError: (value) => {
43
+ return {
44
+ content: value,
45
+ errorName: "NotFoundError",
46
+ _visit: function (visitor) {
47
+ return CandidApi.preEncounter.patients.v1.reactivate.Error._visit(this, visitor);
48
+ },
49
+ };
50
+ },
51
+ versionConflictError: (value) => {
52
+ return {
53
+ content: value,
54
+ errorName: "VersionConflictError",
55
+ _visit: function (visitor) {
56
+ return CandidApi.preEncounter.patients.v1.reactivate.Error._visit(this, visitor);
57
+ },
58
+ };
59
+ },
60
+ _unknown: (fetcherError) => {
61
+ return {
62
+ errorName: undefined,
63
+ content: fetcherError,
64
+ _visit: function (visitor) {
65
+ return CandidApi.preEncounter.patients.v1.reactivate.Error._visit(this, visitor);
66
+ },
67
+ };
68
+ },
69
+ _visit: (value, visitor) => {
70
+ switch (value.errorName) {
71
+ case "NotFoundError":
72
+ return visitor.notFoundError(value.content);
73
+ case "VersionConflictError":
74
+ return visitor.versionConflictError(value.content);
75
+ default:
76
+ return visitor._other(value);
77
+ }
78
+ },
79
+ };
@@ -19,6 +19,10 @@ import * as CandidApi from "../../../../../../../../index";
19
19
  * use: "USUAL",
20
20
  * period: {}
21
21
  * }],
22
+ * otherIdentifiers: [{
23
+ * value: "string",
24
+ * system: "string"
25
+ * }],
22
26
  * gender: "MAN",
23
27
  * birthDate: "2023-01-15",
24
28
  * socialSecurityNumber: "string",
@@ -103,7 +107,8 @@ import * as CandidApi from "../../../../../../../../index";
103
107
  * }],
104
108
  * addresses: [],
105
109
  * period: {},
106
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
110
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
111
+ * fax: "string"
107
112
  * }],
108
113
  * filingOrder: {
109
114
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
@@ -163,7 +168,8 @@ import * as CandidApi from "../../../../../../../../index";
163
168
  * }],
164
169
  * addresses: [],
165
170
  * period: {},
166
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
171
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
172
+ * fax: "string"
167
173
  * },
168
174
  * referralNumber: "string"
169
175
  * }],
@@ -20,6 +20,10 @@ import * as CandidApi from "../../../../../../../../index";
20
20
  * use: "USUAL",
21
21
  * period: {}
22
22
  * }],
23
+ * otherIdentifiers: [{
24
+ * value: "string",
25
+ * system: "string"
26
+ * }],
23
27
  * gender: "MAN",
24
28
  * birthDate: "2023-01-15",
25
29
  * socialSecurityNumber: "string",
@@ -104,7 +108,8 @@ import * as CandidApi from "../../../../../../../../index";
104
108
  * }],
105
109
  * addresses: [],
106
110
  * period: {},
107
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
111
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
112
+ * fax: "string"
108
113
  * }],
109
114
  * filingOrder: {
110
115
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
@@ -164,7 +169,8 @@ import * as CandidApi from "../../../../../../../../index";
164
169
  * }],
165
170
  * addresses: [],
166
171
  * period: {},
167
- * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string")
172
+ * canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
173
+ * fax: "string"
168
174
  * },
169
175
  * referralNumber: "string"
170
176
  * }],
@@ -9,6 +9,8 @@ export interface MutablePatient {
9
9
  name: CandidApi.preEncounter.HumanName;
10
10
  /** Other names for the patient. */
11
11
  otherNames: CandidApi.preEncounter.HumanName[];
12
+ /** Other identifiers for the patient. */
13
+ otherIdentifiers?: CandidApi.preEncounter.ExternalIdentifier[];
12
14
  gender?: CandidApi.preEncounter.Gender;
13
15
  birthDate: string;
14
16
  socialSecurityNumber?: string;