candidhealth 0.24.3 → 0.24.5

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 (554) hide show
  1. package/Client.d.ts +3 -3
  2. package/Client.js +6 -6
  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/ProcedureModifier.d.ts +4 -0
  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/customSchemas/resources/v1/client/Client.d.ts +19 -10
  9. package/api/resources/customSchemas/resources/v1/client/Client.js +23 -14
  10. package/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +12 -3
  11. package/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +4 -4
  12. package/api/resources/customSchemas/resources/v1/types/Schema.d.ts +44 -0
  13. package/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +31 -0
  14. package/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +23 -0
  15. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  16. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  17. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  18. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  19. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  20. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  21. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  22. package/api/resources/financials/types/AccountType.d.ts +2 -1
  23. package/api/resources/financials/types/AccountType.js +1 -0
  24. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  25. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  26. package/api/resources/index.d.ts +1 -1
  27. package/api/resources/index.js +2 -2
  28. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  29. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  30. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  31. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  32. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  33. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  34. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  35. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  36. package/api/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +8 -0
  37. package/api/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/DisabilityStatus.js} +4 -4
  38. package/api/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
  39. package/api/resources/preEncounter/resources/common/types/Ethnicity.js +12 -0
  40. package/api/resources/preEncounter/resources/common/types/Gender.d.ts +6 -3
  41. package/api/resources/preEncounter/resources/common/types/Gender.js +5 -2
  42. package/api/resources/preEncounter/resources/common/types/Race.d.ts +15 -0
  43. package/api/resources/preEncounter/resources/common/types/Race.js +17 -0
  44. package/api/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
  45. package/api/resources/preEncounter/resources/common/types/Sex.js +12 -0
  46. package/api/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +13 -0
  47. package/api/resources/preEncounter/resources/common/types/SexualOrientation.js +15 -0
  48. package/api/resources/preEncounter/resources/common/types/index.d.ts +5 -0
  49. package/api/resources/preEncounter/resources/common/types/index.js +5 -0
  50. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +108 -3
  51. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +420 -3
  52. package/api/resources/preEncounter/resources/coverages/resources/v1/client/create.d.ts +22 -0
  53. package/api/resources/preEncounter/resources/coverages/resources/v1/client/create.js +47 -0
  54. package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/get.d.ts +6 -6
  55. package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/client/get.js +2 -2
  56. package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/client/getHistory.d.ts +7 -7
  57. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/coverages/resources/v1}/client/getHistory.js +3 -3
  58. package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +22 -0
  59. package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.js +47 -0
  60. package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +7 -1
  61. package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +34 -0
  62. package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/client/scan.d.ts +6 -6
  63. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/coverages/resources/v1}/client/scan.js +2 -2
  64. package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/update.d.ts +8 -8
  65. package/api/resources/preEncounter/resources/{patients/resources/v1/resources/patients → coverages/resources/v1}/client/update.js +4 -4
  66. package/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -1
  67. package/api/resources/preEncounter/resources/coverages/resources/v1/index.js +1 -1
  68. package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +1 -1
  69. package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.d.ts +1 -1
  70. package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +2 -2
  71. package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.d.ts +1 -1
  72. package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +82 -0
  73. package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +27 -0
  74. package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/Subscriber.d.ts +1 -1
  75. package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
  76. package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.js +1 -1
  77. package/api/resources/preEncounter/resources/index.d.ts +2 -2
  78. package/api/resources/preEncounter/resources/index.js +3 -3
  79. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +167 -3
  80. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +554 -3
  81. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.d.ts +7 -7
  82. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +3 -3
  83. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/deactivate.d.ts +8 -8
  84. package/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +69 -0
  85. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/get.d.ts +7 -7
  86. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/get.js +3 -3
  87. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.d.ts +7 -7
  88. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.js +3 -3
  89. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +8 -1
  90. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +35 -0
  91. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/scan.d.ts +6 -6
  92. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/scan.js +2 -2
  93. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/search.d.ts +6 -6
  94. package/api/resources/preEncounter/resources/patients/resources/v1/client/search.js +47 -0
  95. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/update.d.ts +8 -8
  96. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/update.js +4 -4
  97. package/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -1
  98. package/api/resources/preEncounter/resources/patients/resources/v1/index.js +1 -1
  99. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/types/Contact.d.ts +1 -1
  100. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/types/ExternalProvider.d.ts +2 -1
  101. package/api/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +10 -0
  102. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.d.ts +12 -1
  103. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/types/Patient.d.ts +4 -1
  104. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +1 -1
  105. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
  106. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
  107. package/api/resources/serviceFacility/client/Client.js +1 -1
  108. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
  109. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  110. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  111. package/dist/Client.d.ts +3 -3
  112. package/dist/Client.js +6 -6
  113. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  114. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  115. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +4 -0
  116. package/dist/api/resources/commons/types/ProcedureModifier.js +1 -0
  117. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  118. package/dist/api/resources/customSchemas/resources/v1/client/Client.d.ts +19 -10
  119. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +23 -14
  120. package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +12 -3
  121. package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +4 -4
  122. package/dist/api/resources/customSchemas/resources/v1/types/Schema.d.ts +44 -0
  123. package/dist/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +31 -0
  124. package/dist/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +23 -0
  125. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  126. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  127. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  128. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  129. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  130. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  131. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  132. package/dist/api/resources/financials/types/AccountType.d.ts +2 -1
  133. package/dist/api/resources/financials/types/AccountType.js +1 -0
  134. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  135. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  136. package/dist/api/resources/index.d.ts +1 -1
  137. package/dist/api/resources/index.js +2 -2
  138. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  139. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  140. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  141. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  142. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  143. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  144. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  145. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  146. package/dist/api/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +8 -0
  147. package/dist/api/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/DisabilityStatus.js} +4 -4
  148. package/dist/api/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
  149. package/dist/api/resources/preEncounter/resources/common/types/Ethnicity.js +12 -0
  150. package/dist/api/resources/preEncounter/resources/common/types/Gender.d.ts +6 -3
  151. package/dist/api/resources/preEncounter/resources/common/types/Gender.js +5 -2
  152. package/dist/api/resources/preEncounter/resources/common/types/Race.d.ts +15 -0
  153. package/dist/api/resources/preEncounter/resources/common/types/Race.js +17 -0
  154. package/dist/api/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
  155. package/dist/api/resources/preEncounter/resources/common/types/Sex.js +12 -0
  156. package/dist/api/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +13 -0
  157. package/dist/api/resources/preEncounter/resources/common/types/SexualOrientation.js +15 -0
  158. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +5 -0
  159. package/dist/api/resources/preEncounter/resources/common/types/index.js +5 -0
  160. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +108 -3
  161. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +420 -3
  162. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/create.d.ts +22 -0
  163. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/create.js +47 -0
  164. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/get.d.ts +6 -6
  165. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/get.js +2 -2
  166. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/getHistory.d.ts +7 -7
  167. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +58 -0
  168. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +22 -0
  169. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.js +47 -0
  170. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +7 -1
  171. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +34 -0
  172. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/scan.d.ts +6 -6
  173. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/scan.js +47 -0
  174. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/update.d.ts +8 -8
  175. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/update.js +4 -4
  176. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -1
  177. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.js +1 -1
  178. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +1 -1
  179. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.d.ts +1 -1
  180. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +2 -2
  181. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.d.ts +1 -1
  182. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +82 -0
  183. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +27 -0
  184. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/Subscriber.d.ts +1 -1
  185. package/dist/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
  186. package/dist/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.js +1 -1
  187. package/dist/api/resources/preEncounter/resources/index.d.ts +2 -2
  188. package/dist/api/resources/preEncounter/resources/index.js +3 -3
  189. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +167 -3
  190. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +554 -3
  191. package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.d.ts +7 -7
  192. package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +3 -3
  193. package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/deactivate.d.ts +8 -8
  194. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +69 -0
  195. package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/get.d.ts +7 -7
  196. package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/get.js +3 -3
  197. package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.d.ts +7 -7
  198. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getHistory.js +58 -0
  199. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +8 -1
  200. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +35 -0
  201. package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/scan.d.ts +6 -6
  202. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/scan.js +47 -0
  203. package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/search.d.ts +6 -6
  204. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/search.js +47 -0
  205. package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/update.d.ts +8 -8
  206. package/dist/api/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages → patients/resources/v1}/client/update.js +4 -4
  207. package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -1
  208. package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.js +1 -1
  209. package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/types/Contact.d.ts +1 -1
  210. package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/types/ExternalProvider.d.ts +2 -1
  211. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +10 -0
  212. package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.d.ts +12 -1
  213. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +5 -0
  214. package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/types/Patient.d.ts +4 -1
  215. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.js +5 -0
  216. package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +1 -1
  217. package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
  218. package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
  219. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  220. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
  221. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  222. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  223. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  224. package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  225. package/dist/serialization/resources/financials/types/AccountType.d.ts +1 -1
  226. package/dist/serialization/resources/financials/types/AccountType.js +1 -1
  227. package/dist/serialization/resources/index.d.ts +1 -1
  228. package/dist/serialization/resources/index.js +2 -2
  229. package/dist/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +10 -0
  230. package/dist/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.js +31 -0
  231. package/dist/serialization/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
  232. package/dist/serialization/resources/preEncounter/resources/common/types/Ethnicity.js +31 -0
  233. package/dist/serialization/resources/preEncounter/resources/common/types/Gender.d.ts +1 -1
  234. package/dist/serialization/resources/preEncounter/resources/common/types/Gender.js +1 -1
  235. package/dist/serialization/resources/preEncounter/resources/common/types/Race.d.ts +10 -0
  236. package/dist/serialization/resources/preEncounter/resources/common/types/Race.js +41 -0
  237. package/dist/serialization/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
  238. package/dist/serialization/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/Sex.js} +3 -3
  239. package/dist/serialization/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +10 -0
  240. package/dist/serialization/resources/preEncounter/resources/common/types/SexualOrientation.js +31 -0
  241. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +5 -0
  242. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +5 -0
  243. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +20 -0
  244. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getHistory.js +4 -4
  245. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +11 -0
  246. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getMulti.js +1 -1
  247. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/scan.d.ts +11 -0
  248. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/scan.js +1 -1
  249. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +20 -0
  250. package/dist/serialization/resources/preEncounter/resources/{patients/resources/v1/resources/patients → coverages/resources/v1}/client/update.js +6 -6
  251. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -1
  252. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +2 -1
  253. package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +5 -5
  254. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Coverage.js +3 -3
  255. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.d.ts +3 -3
  256. package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.js +2 -2
  257. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +3 -3
  258. package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageStatus.js +1 -1
  259. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +7 -7
  260. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.js +5 -5
  261. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/MutableCoverage.d.ts +5 -5
  262. package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.js +3 -3
  263. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +10 -0
  264. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +51 -0
  265. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.d.ts +5 -5
  266. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.js +3 -3
  267. package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
  268. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/index.js +1 -1
  269. package/dist/serialization/resources/preEncounter/resources/index.d.ts +2 -2
  270. package/dist/serialization/resources/preEncounter/resources/index.js +3 -3
  271. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +15 -0
  272. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +4 -4
  273. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +20 -0
  274. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +67 -0
  275. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +15 -0
  276. package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/get.js +4 -4
  277. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +20 -0
  278. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.js +4 -4
  279. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/scan.d.ts +11 -0
  280. package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/scan.js +1 -1
  281. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/search.d.ts +11 -0
  282. package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/search.js +1 -1
  283. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +20 -0
  284. package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/update.js +6 -6
  285. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -1
  286. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +2 -1
  287. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +23 -0
  288. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Contact.js +7 -7
  289. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +3 -3
  290. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.js +1 -1
  291. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +20 -0
  292. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvider.js +6 -5
  293. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +13 -0
  294. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.js +34 -0
  295. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +3 -3
  296. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +1 -1
  297. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +50 -0
  298. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.js +20 -5
  299. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.d.ts +6 -5
  300. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.js +4 -3
  301. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +3 -3
  302. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +2 -2
  303. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
  304. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
  305. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
  306. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +3 -0
  307. package/package.json +1 -1
  308. package/reference.md +215 -401
  309. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  310. package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  311. package/serialization/resources/financials/types/AccountType.d.ts +1 -1
  312. package/serialization/resources/financials/types/AccountType.js +1 -1
  313. package/serialization/resources/index.d.ts +1 -1
  314. package/serialization/resources/index.js +2 -2
  315. package/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +10 -0
  316. package/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.js +31 -0
  317. package/serialization/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
  318. package/serialization/resources/preEncounter/resources/common/types/Ethnicity.js +31 -0
  319. package/serialization/resources/preEncounter/resources/common/types/Gender.d.ts +1 -1
  320. package/serialization/resources/preEncounter/resources/common/types/Gender.js +1 -1
  321. package/serialization/resources/preEncounter/resources/common/types/Race.d.ts +10 -0
  322. package/serialization/resources/preEncounter/resources/common/types/Race.js +41 -0
  323. package/serialization/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
  324. package/serialization/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/Sex.js} +3 -3
  325. package/serialization/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +10 -0
  326. package/serialization/resources/preEncounter/resources/common/types/SexualOrientation.js +31 -0
  327. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +5 -0
  328. package/serialization/resources/preEncounter/resources/common/types/index.js +5 -0
  329. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +20 -0
  330. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getHistory.js +4 -4
  331. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +11 -0
  332. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getMulti.js +1 -1
  333. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/scan.d.ts +11 -0
  334. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/scan.js +1 -1
  335. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +20 -0
  336. package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/client/update.js +6 -6
  337. package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -1
  338. package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +2 -1
  339. package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +5 -5
  340. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Coverage.js +3 -3
  341. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.d.ts +3 -3
  342. package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.js +2 -2
  343. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +3 -3
  344. package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageStatus.js +1 -1
  345. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +7 -7
  346. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.js +5 -5
  347. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/MutableCoverage.d.ts +5 -5
  348. package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.js +3 -3
  349. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +10 -0
  350. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +51 -0
  351. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.d.ts +5 -5
  352. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.js +3 -3
  353. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
  354. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/index.js +1 -1
  355. package/serialization/resources/preEncounter/resources/index.d.ts +2 -2
  356. package/serialization/resources/preEncounter/resources/index.js +3 -3
  357. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +15 -0
  358. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +4 -4
  359. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +20 -0
  360. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +67 -0
  361. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +15 -0
  362. package/{dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/preEncounter/resources/patients/resources/v1}/client/get.js +4 -4
  363. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +20 -0
  364. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.js +4 -4
  365. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/scan.d.ts +11 -0
  366. package/{dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/preEncounter/resources/patients/resources/v1}/client/scan.js +1 -1
  367. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/search.d.ts +11 -0
  368. package/{dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/preEncounter/resources/patients/resources/v1}/client/search.js +1 -1
  369. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +20 -0
  370. package/serialization/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages → patients/resources/v1}/client/update.js +6 -6
  371. package/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -1
  372. package/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +2 -1
  373. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +23 -0
  374. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Contact.js +7 -7
  375. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +3 -3
  376. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.js +1 -1
  377. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +20 -0
  378. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvider.js +6 -5
  379. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +13 -0
  380. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.js +34 -0
  381. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +3 -3
  382. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +1 -1
  383. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +50 -0
  384. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.js +20 -5
  385. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.d.ts +6 -5
  386. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.js +4 -3
  387. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +3 -3
  388. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +2 -2
  389. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
  390. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
  391. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
  392. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +3 -0
  393. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +0 -147
  394. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +0 -451
  395. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.d.ts +0 -22
  396. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.js +0 -47
  397. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.js +0 -58
  398. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -22
  399. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.js +0 -47
  400. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.d.ts +0 -7
  401. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.js +0 -36
  402. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.js +0 -47
  403. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +0 -2
  404. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +0 -18
  405. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -8
  406. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -3
  407. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -32
  408. package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -3
  409. package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -32
  410. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +0 -338
  411. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +0 -716
  412. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -69
  413. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +0 -8
  414. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.js +0 -37
  415. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.js +0 -47
  416. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +0 -2
  417. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +0 -18
  418. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +0 -147
  419. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +0 -451
  420. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.d.ts +0 -22
  421. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.js +0 -47
  422. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.js +0 -58
  423. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -22
  424. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.js +0 -47
  425. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.d.ts +0 -7
  426. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.js +0 -36
  427. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.js +0 -47
  428. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +0 -2
  429. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +0 -18
  430. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -8
  431. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -3
  432. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -32
  433. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -3
  434. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -32
  435. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +0 -338
  436. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +0 -716
  437. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -69
  438. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +0 -8
  439. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.js +0 -37
  440. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.js +0 -47
  441. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +0 -2
  442. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +0 -18
  443. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +0 -20
  444. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -11
  445. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +0 -11
  446. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +0 -20
  447. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +0 -2
  448. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +0 -18
  449. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -10
  450. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -2
  451. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -31
  452. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -2
  453. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -31
  454. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +0 -15
  455. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +0 -20
  456. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -67
  457. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +0 -15
  458. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +0 -20
  459. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +0 -11
  460. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +0 -11
  461. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +0 -20
  462. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +0 -2
  463. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +0 -18
  464. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +0 -23
  465. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +0 -19
  466. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +0 -35
  467. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +0 -20
  468. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -11
  469. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +0 -11
  470. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +0 -20
  471. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +0 -2
  472. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +0 -18
  473. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -10
  474. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -2
  475. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -31
  476. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -2
  477. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -31
  478. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +0 -15
  479. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +0 -20
  480. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -67
  481. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +0 -15
  482. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +0 -20
  483. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +0 -11
  484. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +0 -11
  485. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +0 -20
  486. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +0 -2
  487. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +0 -18
  488. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +0 -23
  489. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +0 -19
  490. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +0 -35
  491. /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/CoverageScanRequest.d.ts +0 -0
  492. /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/CoverageScanRequest.js +0 -0
  493. /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/GetAllCoveragesRequest.d.ts +0 -0
  494. /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/GetAllCoveragesRequest.js +0 -0
  495. /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/index.d.ts +0 -0
  496. /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/index.js +0 -0
  497. /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Coverage.js +0 -0
  498. /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.js +0 -0
  499. /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +0 -0
  500. /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.js +0 -0
  501. /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.js +0 -0
  502. /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/MutableCoverage.js +0 -0
  503. /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.js +0 -0
  504. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientScanRequest.d.ts +0 -0
  505. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientScanRequest.js +0 -0
  506. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientsSearchRequest.d.ts +0 -0
  507. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientsSearchRequest.js +0 -0
  508. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/index.d.ts +0 -0
  509. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/index.js +0 -0
  510. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Contact.js +0 -0
  511. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +0 -0
  512. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.js +0 -0
  513. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvider.js +0 -0
  514. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types/MutablePatient.js → types/FilingOrder.js} +0 -0
  515. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +0 -0
  516. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +0 -0
  517. /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/types/MutablePatient.js +0 -0
  518. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.js +0 -0
  519. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +0 -0
  520. /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/CoverageScanRequest.d.ts +0 -0
  521. /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/CoverageScanRequest.js +0 -0
  522. /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/GetAllCoveragesRequest.d.ts +0 -0
  523. /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/GetAllCoveragesRequest.js +0 -0
  524. /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/index.d.ts +0 -0
  525. /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/index.js +0 -0
  526. /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Coverage.js +0 -0
  527. /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.js +0 -0
  528. /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +0 -0
  529. /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.js +0 -0
  530. /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.js +0 -0
  531. /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/MutableCoverage.js +0 -0
  532. /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.js +0 -0
  533. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientScanRequest.d.ts +0 -0
  534. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientScanRequest.js +0 -0
  535. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientsSearchRequest.d.ts +0 -0
  536. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientsSearchRequest.js +0 -0
  537. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/index.d.ts +0 -0
  538. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/index.js +0 -0
  539. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Contact.js +0 -0
  540. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +0 -0
  541. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.js +0 -0
  542. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvider.js +0 -0
  543. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types/Patient.js → types/FilingOrder.js} +0 -0
  544. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +0 -0
  545. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +0 -0
  546. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +0 -0
  547. /package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.d.ts +0 -0
  548. /package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.js +0 -0
  549. /package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.d.ts +0 -0
  550. /package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.js +0 -0
  551. /package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.d.ts +0 -0
  552. /package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.js +0 -0
  553. /package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.d.ts +0 -0
  554. /package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.js +0 -0
package/reference.md CHANGED
@@ -547,7 +547,7 @@ Return a custom schema with a given ID.
547
547
  <dd>
548
548
 
549
549
  ```typescript
550
- await client.customSchemas.v1.get(CandidApi.SchemaId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
550
+ await client.customSchemas.v1.get(CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"));
551
551
  ```
552
552
 
553
553
  </dd>
@@ -594,7 +594,7 @@ await client.customSchemas.v1.get(CandidApi.SchemaId("d5e9c84f-c2b2-4bf4-b4b0-7f
594
594
  <dl>
595
595
  <dd>
596
596
 
597
- Create a custom schema. Schema keys can be referenced as inputs in user-configurable rules in the Rules
597
+ Create custom schema with a set of typed keys. Schema keys can be referenced as inputs in user-configurable rules in the Rules
598
598
  Engine, and key-value pairs can be attached to claims via the Encounters API.
599
599
 
600
600
  </dd>
@@ -612,13 +612,25 @@ Engine, and key-value pairs can be attached to claims via the Encounters API.
612
612
 
613
613
  ```typescript
614
614
  await client.customSchemas.v1.create({
615
- name: "string",
616
- description: "string",
615
+ name: "General Medicine",
616
+ description: "Values associated with a generic visit",
617
617
  fields: [
618
618
  {
619
- key: "string",
619
+ key: "provider_category",
620
+ type: CandidApi.Primitive.String,
621
+ },
622
+ {
623
+ key: "is_urgent_care",
620
624
  type: CandidApi.Primitive.Boolean,
621
625
  },
626
+ {
627
+ key: "bmi",
628
+ type: CandidApi.Primitive.Double,
629
+ },
630
+ {
631
+ key: "age",
632
+ type: CandidApi.Primitive.Integer,
633
+ },
622
634
  ],
623
635
  });
624
636
  ```
@@ -683,13 +695,13 @@ Update the name, description, or keys on a preexisting schema.
683
695
  <dd>
684
696
 
685
697
  ```typescript
686
- await client.customSchemas.v1.update(CandidApi.SchemaId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
687
- name: "string",
688
- description: "string",
698
+ await client.customSchemas.v1.update(CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"), {
699
+ name: "General Medicine and Health",
700
+ description: "Values collected during all visits",
689
701
  fieldsToAdd: [
690
702
  {
691
- key: "string",
692
- type: CandidApi.Primitive.Boolean,
703
+ key: "visit_type",
704
+ type: CandidApi.Primitive.String,
693
705
  },
694
706
  ],
695
707
  });
@@ -6197,78 +6209,9 @@ await client.writeOffs.v1.revert(CandidApi.WriteOffId("d5e9c84f-c2b2-4bf4-b4b0-7
6197
6209
  </dl>
6198
6210
  </details>
6199
6211
 
6200
- ## ServiceFacility
6201
-
6202
- <details><summary><code>client.serviceFacility.<a href="/src/api/resources/serviceFacility/client/Client.ts">update</a>(serviceFacilityId, { ...params }) -> core.APIResponse<CandidApi.EncounterServiceFacility, CandidApi.serviceFacility.update.Error></code></summary>
6203
- <dl>
6204
- <dd>
6205
-
6206
- #### 🔌 Usage
6207
-
6208
- <dl>
6209
- <dd>
6210
-
6211
- <dl>
6212
- <dd>
6213
-
6214
- ```typescript
6215
- await client.serviceFacility.update(CandidApi.ServiceFacilityId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
6216
- organizationName: "string",
6217
- npi: "string",
6218
- address: {
6219
- address1: "123 Main St",
6220
- address2: "Apt 1",
6221
- city: "New York",
6222
- state: CandidApi.State.Ny,
6223
- zipCode: "10001",
6224
- zipPlusFourCode: "1234",
6225
- },
6226
- });
6227
- ```
6228
-
6229
- </dd>
6230
- </dl>
6231
- </dd>
6232
- </dl>
6233
-
6234
- #### ⚙️ Parameters
6235
-
6236
- <dl>
6237
- <dd>
6238
-
6239
- <dl>
6240
- <dd>
6241
-
6242
- **serviceFacilityId:** `CandidApi.ServiceFacilityId`
6243
-
6244
- </dd>
6245
- </dl>
6246
-
6247
- <dl>
6248
- <dd>
6249
-
6250
- **request:** `CandidApi.EncounterServiceFacilityUpdate`
6251
-
6252
- </dd>
6253
- </dl>
6254
-
6255
- <dl>
6256
- <dd>
6257
-
6258
- **requestOptions:** `ServiceFacility.RequestOptions`
6259
-
6260
- </dd>
6261
- </dl>
6262
- </dd>
6263
- </dl>
6264
-
6265
- </dd>
6266
- </dl>
6267
- </details>
6268
-
6269
- ## PreEncounter Coverages V1 Coverages
6212
+ ## PreEncounter Coverages V1
6270
6213
 
6271
- <details><summary><code>client.preEncounter.coverages.v1.coverages.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Coverage, CandidApi.preEncounter.coverages.v1.coverages.create.Error></code></summary>
6214
+ <details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Coverage, CandidApi.preEncounter.coverages.v1.create.Error></code></summary>
6272
6215
  <dl>
6273
6216
  <dd>
6274
6217
 
@@ -6296,17 +6239,12 @@ Creates a new Coverage. A Coverage provides the high-level identifiers and descr
6296
6239
  <dd>
6297
6240
 
6298
6241
  ```typescript
6299
- await client.preEncounter.coverages.v1.coverages.create({
6242
+ await client.preEncounter.coverages.v1.create({
6300
6243
  status: CandidApi.CoverageStatus.Active,
6301
6244
  subscriber: {
6302
- name: {
6303
- family: "string",
6304
- given: ["string"],
6305
- use: CandidApi.NameUse.Usual,
6306
- period: {},
6307
- },
6245
+ name: {},
6308
6246
  dateOfBirth: "2023-01-15",
6309
- gender: CandidApi.Gender.Female,
6247
+ gender: CandidApi.Gender.Man,
6310
6248
  },
6311
6249
  relationship: CandidApi.Relationship.Self,
6312
6250
  patient: CandidApi.PatientId("string"),
@@ -6316,11 +6254,8 @@ await client.preEncounter.coverages.v1.coverages.create({
6316
6254
  payerName: "string",
6317
6255
  groupNumber: "string",
6318
6256
  name: "string",
6319
- type: CandidApi.CoverageType.Ppo,
6320
- period: {
6321
- start: "2023-01-15",
6322
- end: "2023-01-15",
6323
- },
6257
+ type: CandidApi.NetworkType.Ppo,
6258
+ period: {},
6324
6259
  insuranceCardImageLocator: "string",
6325
6260
  },
6326
6261
  verified: true,
@@ -6348,7 +6283,7 @@ await client.preEncounter.coverages.v1.coverages.create({
6348
6283
  <dl>
6349
6284
  <dd>
6350
6285
 
6351
- **requestOptions:** `Coverages.RequestOptions`
6286
+ **requestOptions:** `V1.RequestOptions`
6352
6287
 
6353
6288
  </dd>
6354
6289
  </dl>
@@ -6359,7 +6294,7 @@ await client.preEncounter.coverages.v1.coverages.create({
6359
6294
  </dl>
6360
6295
  </details>
6361
6296
 
6362
- <details><summary><code>client.preEncounter.coverages.v1.coverages.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.ts">update</a>(id, version, { ...params }) -> core.APIResponse<CandidApi.Coverage, CandidApi.preEncounter.coverages.v1.coverages.update.Error></code></summary>
6297
+ <details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">update</a>(id, version, { ...params }) -> core.APIResponse<CandidApi.Coverage, CandidApi.preEncounter.coverages.v1.update.Error></code></summary>
6363
6298
  <dl>
6364
6299
  <dd>
6365
6300
 
@@ -6387,39 +6322,27 @@ Updates a Coverage. The path must contain the most recent version to prevent rac
6387
6322
  <dd>
6388
6323
 
6389
6324
  ```typescript
6390
- await client.preEncounter.coverages.v1.coverages.update(
6391
- CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
6392
- 1,
6393
- {
6394
- status: CandidApi.CoverageStatus.Active,
6395
- subscriber: {
6396
- name: {
6397
- family: "string",
6398
- given: ["string"],
6399
- use: CandidApi.NameUse.Usual,
6400
- period: {},
6401
- },
6402
- dateOfBirth: "2023-01-15",
6403
- gender: CandidApi.Gender.Female,
6404
- },
6405
- relationship: CandidApi.Relationship.Self,
6406
- patient: CandidApi.PatientId("string"),
6407
- insurancePlan: {
6408
- memberId: "string",
6409
- payerId: CandidApi.PayerId("string"),
6410
- payerName: "string",
6411
- groupNumber: "string",
6412
- name: "string",
6413
- type: CandidApi.CoverageType.Ppo,
6414
- period: {
6415
- start: "2023-01-15",
6416
- end: "2023-01-15",
6417
- },
6418
- insuranceCardImageLocator: "string",
6419
- },
6420
- verified: true,
6421
- }
6422
- );
6325
+ await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), "string", {
6326
+ status: CandidApi.CoverageStatus.Active,
6327
+ subscriber: {
6328
+ name: {},
6329
+ dateOfBirth: "2023-01-15",
6330
+ gender: CandidApi.Gender.Man,
6331
+ },
6332
+ relationship: CandidApi.Relationship.Self,
6333
+ patient: CandidApi.PatientId("string"),
6334
+ insurancePlan: {
6335
+ memberId: "string",
6336
+ payerId: CandidApi.PayerId("string"),
6337
+ payerName: "string",
6338
+ groupNumber: "string",
6339
+ name: "string",
6340
+ type: CandidApi.NetworkType.Ppo,
6341
+ period: {},
6342
+ insuranceCardImageLocator: "string",
6343
+ },
6344
+ verified: true,
6345
+ });
6423
6346
  ```
6424
6347
 
6425
6348
  </dd>
@@ -6443,7 +6366,7 @@ await client.preEncounter.coverages.v1.coverages.update(
6443
6366
  <dl>
6444
6367
  <dd>
6445
6368
 
6446
- **version:** `number`
6369
+ **version:** `string`
6447
6370
 
6448
6371
  </dd>
6449
6372
  </dl>
@@ -6459,7 +6382,7 @@ await client.preEncounter.coverages.v1.coverages.update(
6459
6382
  <dl>
6460
6383
  <dd>
6461
6384
 
6462
- **requestOptions:** `Coverages.RequestOptions`
6385
+ **requestOptions:** `V1.RequestOptions`
6463
6386
 
6464
6387
  </dd>
6465
6388
  </dl>
@@ -6470,7 +6393,7 @@ await client.preEncounter.coverages.v1.coverages.update(
6470
6393
  </dl>
6471
6394
  </details>
6472
6395
 
6473
- <details><summary><code>client.preEncounter.coverages.v1.coverages.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.ts">get</a>(id) -> core.APIResponse<CandidApi.Coverage, CandidApi.preEncounter.coverages.v1.coverages.get.Error></code></summary>
6396
+ <details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">get</a>(id) -> core.APIResponse<CandidApi.Coverage, CandidApi.preEncounter.coverages.v1.get.Error></code></summary>
6474
6397
  <dl>
6475
6398
  <dd>
6476
6399
 
@@ -6498,7 +6421,7 @@ gets a specific Coverage
6498
6421
  <dd>
6499
6422
 
6500
6423
  ```typescript
6501
- await client.preEncounter.coverages.v1.coverages.get(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
6424
+ await client.preEncounter.coverages.v1.get(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
6502
6425
  ```
6503
6426
 
6504
6427
  </dd>
@@ -6522,7 +6445,7 @@ await client.preEncounter.coverages.v1.coverages.get(CandidApi.CoverageId("d5e9c
6522
6445
  <dl>
6523
6446
  <dd>
6524
6447
 
6525
- **requestOptions:** `Coverages.RequestOptions`
6448
+ **requestOptions:** `V1.RequestOptions`
6526
6449
 
6527
6450
  </dd>
6528
6451
  </dl>
@@ -6533,7 +6456,7 @@ await client.preEncounter.coverages.v1.coverages.get(CandidApi.CoverageId("d5e9c
6533
6456
  </dl>
6534
6457
  </details>
6535
6458
 
6536
- <details><summary><code>client.preEncounter.coverages.v1.coverages.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.ts">getHistory</a>(id) -> core.APIResponse<CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.coverages.getHistory.Error></code></summary>
6459
+ <details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">getHistory</a>(id) -> core.APIResponse<CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.getHistory.Error></code></summary>
6537
6460
  <dl>
6538
6461
  <dd>
6539
6462
 
@@ -6561,9 +6484,7 @@ Gets a coverage along with it's full history. The return list is ordered by vers
6561
6484
  <dd>
6562
6485
 
6563
6486
  ```typescript
6564
- await client.preEncounter.coverages.v1.coverages.getHistory(
6565
- CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
6566
- );
6487
+ await client.preEncounter.coverages.v1.getHistory(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
6567
6488
  ```
6568
6489
 
6569
6490
  </dd>
@@ -6587,7 +6508,7 @@ await client.preEncounter.coverages.v1.coverages.getHistory(
6587
6508
  <dl>
6588
6509
  <dd>
6589
6510
 
6590
- **requestOptions:** `Coverages.RequestOptions`
6511
+ **requestOptions:** `V1.RequestOptions`
6591
6512
 
6592
6513
  </dd>
6593
6514
  </dl>
@@ -6598,7 +6519,7 @@ await client.preEncounter.coverages.v1.coverages.getHistory(
6598
6519
  </dl>
6599
6520
  </details>
6600
6521
 
6601
- <details><summary><code>client.preEncounter.coverages.v1.coverages.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse<CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.coverages.getMulti.Error></code></summary>
6522
+ <details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse<CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.getMulti.Error></code></summary>
6602
6523
  <dl>
6603
6524
  <dd>
6604
6525
 
@@ -6626,7 +6547,7 @@ returns a list of Coverages based on the search criteria
6626
6547
  <dd>
6627
6548
 
6628
6549
  ```typescript
6629
- await client.preEncounter.coverages.v1.coverages.getMulti({
6550
+ await client.preEncounter.coverages.v1.getMulti({
6630
6551
  patientId: "string",
6631
6552
  });
6632
6553
  ```
@@ -6652,7 +6573,7 @@ await client.preEncounter.coverages.v1.coverages.getMulti({
6652
6573
  <dl>
6653
6574
  <dd>
6654
6575
 
6655
- **requestOptions:** `Coverages.RequestOptions`
6576
+ **requestOptions:** `V1.RequestOptions`
6656
6577
 
6657
6578
  </dd>
6658
6579
  </dl>
@@ -6663,7 +6584,7 @@ await client.preEncounter.coverages.v1.coverages.getMulti({
6663
6584
  </dl>
6664
6585
  </details>
6665
6586
 
6666
- <details><summary><code>client.preEncounter.coverages.v1.coverages.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.ts">scan</a>({ ...params }) -> core.APIResponse<CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.coverages.scan.Error></code></summary>
6587
+ <details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">scan</a>({ ...params }) -> core.APIResponse<CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.scan.Error></code></summary>
6667
6588
  <dl>
6668
6589
  <dd>
6669
6590
 
@@ -6691,7 +6612,7 @@ Scans up to 100 coverage updates. The since query parameter is inclusive, and th
6691
6612
  <dd>
6692
6613
 
6693
6614
  ```typescript
6694
- await client.preEncounter.coverages.v1.coverages.scan({
6615
+ await client.preEncounter.coverages.v1.scan({
6695
6616
  since: new Date("2024-01-15T09:30:00.000Z"),
6696
6617
  });
6697
6618
  ```
@@ -6717,7 +6638,7 @@ await client.preEncounter.coverages.v1.coverages.scan({
6717
6638
  <dl>
6718
6639
  <dd>
6719
6640
 
6720
- **requestOptions:** `Coverages.RequestOptions`
6641
+ **requestOptions:** `V1.RequestOptions`
6721
6642
 
6722
6643
  </dd>
6723
6644
  </dl>
@@ -6728,9 +6649,9 @@ await client.preEncounter.coverages.v1.coverages.scan({
6728
6649
  </dl>
6729
6650
  </details>
6730
6651
 
6731
- ## PreEncounter Patients V1 Patients
6652
+ ## PreEncounter Patients V1
6732
6653
 
6733
- <details><summary><code>client.preEncounter.patients.v1.patients.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.patients.create.Error></code></summary>
6654
+ <details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.create.Error></code></summary>
6734
6655
  <dl>
6735
6656
  <dd>
6736
6657
 
@@ -6758,64 +6679,26 @@ Adds a patient. VersionConflictError is returned when the patient's external ID
6758
6679
  <dd>
6759
6680
 
6760
6681
  ```typescript
6761
- await client.preEncounter.patients.v1.patients.create({
6762
- name: {
6763
- family: "string",
6764
- given: ["string"],
6765
- use: CandidApi.NameUse.Usual,
6766
- period: {},
6767
- },
6768
- otherNames: [
6769
- {
6770
- family: "string",
6771
- given: ["string"],
6772
- use: CandidApi.NameUse.Usual,
6773
- period: {},
6774
- },
6775
- ],
6776
- gender: CandidApi.Gender.Female,
6682
+ await client.preEncounter.patients.v1.create({
6683
+ name: {},
6684
+ otherNames: [{}],
6685
+ gender: CandidApi.Gender.Man,
6777
6686
  birthDate: "2023-01-15",
6687
+ socialSecurityNumber: "string",
6688
+ biologicalSex: CandidApi.Sex.Female,
6689
+ sexualOrientation: CandidApi.SexualOrientation.Heterosexual,
6690
+ race: CandidApi.Race.AmericanIndianOrAlaskaNative,
6691
+ ethnicity: CandidApi.Ethnicity.HispanicOrLatino,
6692
+ disabilityStatus: CandidApi.DisabilityStatus.Disabled,
6778
6693
  maritalStatus: CandidApi.MaritalStatus.Annulled,
6779
6694
  deceased: new Date("2024-01-15T09:30:00.000Z"),
6780
6695
  multipleBirth: 1,
6781
- primaryAddress: {
6782
- use: CandidApi.AddressUse.Home,
6783
- line: ["string"],
6784
- city: "string",
6785
- state: "string",
6786
- postalCode: "string",
6787
- country: "string",
6788
- period: {},
6789
- },
6790
- otherAddresses: [
6791
- {
6792
- use: CandidApi.AddressUse.Home,
6793
- line: ["string"],
6794
- city: "string",
6795
- state: "string",
6796
- postalCode: "string",
6797
- country: "string",
6798
- period: {},
6799
- },
6800
- ],
6801
- primaryTelecom: {
6802
- value: "string",
6803
- use: CandidApi.ContactPointUse.Home,
6804
- period: {
6805
- start: "2023-01-15",
6806
- end: "2023-01-15",
6807
- },
6808
- },
6809
- otherTelecoms: [
6810
- {
6811
- value: "string",
6812
- use: CandidApi.ContactPointUse.Home,
6813
- period: {
6814
- start: "2023-01-15",
6815
- end: "2023-01-15",
6816
- },
6817
- },
6818
- ],
6696
+ primaryAddress: {},
6697
+ otherAddresses: [{}],
6698
+ primaryTelecom: {},
6699
+ otherTelecoms: [{}],
6700
+ email: "string",
6701
+ electronicCommunicationOptIn: true,
6819
6702
  photo: "string",
6820
6703
  language: "string",
6821
6704
  externalProvenance: {
@@ -6825,75 +6708,25 @@ await client.preEncounter.patients.v1.patients.create({
6825
6708
  contacts: [
6826
6709
  {
6827
6710
  relationship: [CandidApi.Relationship.Self],
6828
- name: {
6829
- family: "string",
6830
- given: ["string"],
6831
- use: CandidApi.NameUse.Usual,
6832
- period: {},
6833
- },
6834
- gender: CandidApi.Gender.Female,
6835
- telecoms: [
6836
- {
6837
- value: "string",
6838
- use: CandidApi.ContactPointUse.Home,
6839
- period: {
6840
- start: "2023-01-15",
6841
- end: "2023-01-15",
6842
- },
6843
- },
6844
- ],
6845
- addresses: [
6846
- {
6847
- use: CandidApi.AddressUse.Home,
6848
- line: ["string"],
6849
- city: "string",
6850
- state: "string",
6851
- postalCode: "string",
6852
- country: "string",
6853
- period: {},
6854
- },
6855
- ],
6856
- period: {
6857
- start: "2023-01-15",
6858
- end: "2023-01-15",
6859
- },
6711
+ name: {},
6712
+ gender: CandidApi.Gender.Man,
6713
+ telecoms: [{}],
6714
+ addresses: [{}],
6715
+ period: {},
6860
6716
  },
6861
6717
  ],
6862
6718
  generalPractitioners: [
6863
6719
  {
6864
- name: {
6865
- family: "string",
6866
- given: ["string"],
6867
- use: CandidApi.NameUse.Usual,
6868
- period: {},
6869
- },
6870
- telecoms: [
6871
- {
6872
- value: "string",
6873
- use: CandidApi.ContactPointUse.Home,
6874
- period: {
6875
- start: "2023-01-15",
6876
- end: "2023-01-15",
6877
- },
6878
- },
6879
- ],
6880
- addresses: [
6881
- {
6882
- use: CandidApi.AddressUse.Home,
6883
- line: ["string"],
6884
- city: "string",
6885
- state: "string",
6886
- postalCode: "string",
6887
- country: "string",
6888
- period: {},
6889
- },
6890
- ],
6891
- period: {
6892
- start: "2023-01-15",
6893
- end: "2023-01-15",
6894
- },
6720
+ name: {},
6721
+ npi: "string",
6722
+ telecoms: [{}],
6723
+ addresses: [{}],
6724
+ period: {},
6895
6725
  },
6896
6726
  ],
6727
+ filingOrder: {
6728
+ coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
6729
+ },
6897
6730
  });
6898
6731
  ```
6899
6732
 
@@ -6918,7 +6751,7 @@ await client.preEncounter.patients.v1.patients.create({
6918
6751
  <dl>
6919
6752
  <dd>
6920
6753
 
6921
- **requestOptions:** `Patients.RequestOptions`
6754
+ **requestOptions:** `V1.RequestOptions`
6922
6755
 
6923
6756
  </dd>
6924
6757
  </dl>
@@ -6929,7 +6762,7 @@ await client.preEncounter.patients.v1.patients.create({
6929
6762
  </dl>
6930
6763
  </details>
6931
6764
 
6932
- <details><summary><code>client.preEncounter.patients.v1.patients.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.ts">get</a>(id) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.patients.get.Error></code></summary>
6765
+ <details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">get</a>(id) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.get.Error></code></summary>
6933
6766
  <dl>
6934
6767
  <dd>
6935
6768
 
@@ -6957,7 +6790,7 @@ Gets a patient.
6957
6790
  <dd>
6958
6791
 
6959
6792
  ```typescript
6960
- await client.preEncounter.patients.v1.patients.get(CandidApi.PatientId("string"));
6793
+ await client.preEncounter.patients.v1.get(CandidApi.PatientId("string"));
6961
6794
  ```
6962
6795
 
6963
6796
  </dd>
@@ -6981,7 +6814,7 @@ await client.preEncounter.patients.v1.patients.get(CandidApi.PatientId("string")
6981
6814
  <dl>
6982
6815
  <dd>
6983
6816
 
6984
- **requestOptions:** `Patients.RequestOptions`
6817
+ **requestOptions:** `V1.RequestOptions`
6985
6818
 
6986
6819
  </dd>
6987
6820
  </dl>
@@ -6992,7 +6825,7 @@ await client.preEncounter.patients.v1.patients.get(CandidApi.PatientId("string")
6992
6825
  </dl>
6993
6826
  </details>
6994
6827
 
6995
- <details><summary><code>client.preEncounter.patients.v1.patients.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.ts">getHistory</a>(id) -> core.APIResponse<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.patients.getHistory.Error></code></summary>
6828
+ <details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">getHistory</a>(id) -> core.APIResponse<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.getHistory.Error></code></summary>
6996
6829
  <dl>
6997
6830
  <dd>
6998
6831
 
@@ -7020,7 +6853,7 @@ Gets a patient along with it's full history. The return list is ordered by versi
7020
6853
  <dd>
7021
6854
 
7022
6855
  ```typescript
7023
- await client.preEncounter.patients.v1.patients.getHistory(CandidApi.PatientId("string"));
6856
+ await client.preEncounter.patients.v1.getHistory(CandidApi.PatientId("string"));
7024
6857
  ```
7025
6858
 
7026
6859
  </dd>
@@ -7044,7 +6877,7 @@ await client.preEncounter.patients.v1.patients.getHistory(CandidApi.PatientId("s
7044
6877
  <dl>
7045
6878
  <dd>
7046
6879
 
7047
- **requestOptions:** `Patients.RequestOptions`
6880
+ **requestOptions:** `V1.RequestOptions`
7048
6881
 
7049
6882
  </dd>
7050
6883
  </dl>
@@ -7055,7 +6888,7 @@ await client.preEncounter.patients.v1.patients.getHistory(CandidApi.PatientId("s
7055
6888
  </dl>
7056
6889
  </details>
7057
6890
 
7058
- <details><summary><code>client.preEncounter.patients.v1.patients.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.ts">update</a>(id, version, { ...params }) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.patients.update.Error></code></summary>
6891
+ <details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">update</a>(id, version, { ...params }) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.update.Error></code></summary>
7059
6892
  <dl>
7060
6893
  <dd>
7061
6894
 
@@ -7083,64 +6916,26 @@ Updates a patient. The path must contain the most recent version to prevent race
7083
6916
  <dd>
7084
6917
 
7085
6918
  ```typescript
7086
- await client.preEncounter.patients.v1.patients.update(CandidApi.PatientId("string"), 1, {
7087
- name: {
7088
- family: "string",
7089
- given: ["string"],
7090
- use: CandidApi.NameUse.Usual,
7091
- period: {},
7092
- },
7093
- otherNames: [
7094
- {
7095
- family: "string",
7096
- given: ["string"],
7097
- use: CandidApi.NameUse.Usual,
7098
- period: {},
7099
- },
7100
- ],
7101
- gender: CandidApi.Gender.Female,
6919
+ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "string", {
6920
+ name: {},
6921
+ otherNames: [{}],
6922
+ gender: CandidApi.Gender.Man,
7102
6923
  birthDate: "2023-01-15",
6924
+ socialSecurityNumber: "string",
6925
+ biologicalSex: CandidApi.Sex.Female,
6926
+ sexualOrientation: CandidApi.SexualOrientation.Heterosexual,
6927
+ race: CandidApi.Race.AmericanIndianOrAlaskaNative,
6928
+ ethnicity: CandidApi.Ethnicity.HispanicOrLatino,
6929
+ disabilityStatus: CandidApi.DisabilityStatus.Disabled,
7103
6930
  maritalStatus: CandidApi.MaritalStatus.Annulled,
7104
6931
  deceased: new Date("2024-01-15T09:30:00.000Z"),
7105
6932
  multipleBirth: 1,
7106
- primaryAddress: {
7107
- use: CandidApi.AddressUse.Home,
7108
- line: ["string"],
7109
- city: "string",
7110
- state: "string",
7111
- postalCode: "string",
7112
- country: "string",
7113
- period: {},
7114
- },
7115
- otherAddresses: [
7116
- {
7117
- use: CandidApi.AddressUse.Home,
7118
- line: ["string"],
7119
- city: "string",
7120
- state: "string",
7121
- postalCode: "string",
7122
- country: "string",
7123
- period: {},
7124
- },
7125
- ],
7126
- primaryTelecom: {
7127
- value: "string",
7128
- use: CandidApi.ContactPointUse.Home,
7129
- period: {
7130
- start: "2023-01-15",
7131
- end: "2023-01-15",
7132
- },
7133
- },
7134
- otherTelecoms: [
7135
- {
7136
- value: "string",
7137
- use: CandidApi.ContactPointUse.Home,
7138
- period: {
7139
- start: "2023-01-15",
7140
- end: "2023-01-15",
7141
- },
7142
- },
7143
- ],
6933
+ primaryAddress: {},
6934
+ otherAddresses: [{}],
6935
+ primaryTelecom: {},
6936
+ otherTelecoms: [{}],
6937
+ email: "string",
6938
+ electronicCommunicationOptIn: true,
7144
6939
  photo: "string",
7145
6940
  language: "string",
7146
6941
  externalProvenance: {
@@ -7150,75 +6945,25 @@ await client.preEncounter.patients.v1.patients.update(CandidApi.PatientId("strin
7150
6945
  contacts: [
7151
6946
  {
7152
6947
  relationship: [CandidApi.Relationship.Self],
7153
- name: {
7154
- family: "string",
7155
- given: ["string"],
7156
- use: CandidApi.NameUse.Usual,
7157
- period: {},
7158
- },
7159
- gender: CandidApi.Gender.Female,
7160
- telecoms: [
7161
- {
7162
- value: "string",
7163
- use: CandidApi.ContactPointUse.Home,
7164
- period: {
7165
- start: "2023-01-15",
7166
- end: "2023-01-15",
7167
- },
7168
- },
7169
- ],
7170
- addresses: [
7171
- {
7172
- use: CandidApi.AddressUse.Home,
7173
- line: ["string"],
7174
- city: "string",
7175
- state: "string",
7176
- postalCode: "string",
7177
- country: "string",
7178
- period: {},
7179
- },
7180
- ],
7181
- period: {
7182
- start: "2023-01-15",
7183
- end: "2023-01-15",
7184
- },
6948
+ name: {},
6949
+ gender: CandidApi.Gender.Man,
6950
+ telecoms: [{}],
6951
+ addresses: [{}],
6952
+ period: {},
7185
6953
  },
7186
6954
  ],
7187
6955
  generalPractitioners: [
7188
6956
  {
7189
- name: {
7190
- family: "string",
7191
- given: ["string"],
7192
- use: CandidApi.NameUse.Usual,
7193
- period: {},
7194
- },
7195
- telecoms: [
7196
- {
7197
- value: "string",
7198
- use: CandidApi.ContactPointUse.Home,
7199
- period: {
7200
- start: "2023-01-15",
7201
- end: "2023-01-15",
7202
- },
7203
- },
7204
- ],
7205
- addresses: [
7206
- {
7207
- use: CandidApi.AddressUse.Home,
7208
- line: ["string"],
7209
- city: "string",
7210
- state: "string",
7211
- postalCode: "string",
7212
- country: "string",
7213
- period: {},
7214
- },
7215
- ],
7216
- period: {
7217
- start: "2023-01-15",
7218
- end: "2023-01-15",
7219
- },
6957
+ name: {},
6958
+ npi: "string",
6959
+ telecoms: [{}],
6960
+ addresses: [{}],
6961
+ period: {},
7220
6962
  },
7221
6963
  ],
6964
+ filingOrder: {
6965
+ coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
6966
+ },
7222
6967
  });
7223
6968
  ```
7224
6969
 
@@ -7243,7 +6988,7 @@ await client.preEncounter.patients.v1.patients.update(CandidApi.PatientId("strin
7243
6988
  <dl>
7244
6989
  <dd>
7245
6990
 
7246
- **version:** `number`
6991
+ **version:** `string`
7247
6992
 
7248
6993
  </dd>
7249
6994
  </dl>
@@ -7259,7 +7004,7 @@ await client.preEncounter.patients.v1.patients.update(CandidApi.PatientId("strin
7259
7004
  <dl>
7260
7005
  <dd>
7261
7006
 
7262
- **requestOptions:** `Patients.RequestOptions`
7007
+ **requestOptions:** `V1.RequestOptions`
7263
7008
 
7264
7009
  </dd>
7265
7010
  </dl>
@@ -7270,7 +7015,7 @@ await client.preEncounter.patients.v1.patients.update(CandidApi.PatientId("strin
7270
7015
  </dl>
7271
7016
  </details>
7272
7017
 
7273
- <details><summary><code>client.preEncounter.patients.v1.patients.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.ts">deactivate</a>(id, version) -> core.APIResponse<void, CandidApi.preEncounter.patients.v1.patients.deactivate.Error></code></summary>
7018
+ <details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">deactivate</a>(id, version) -> core.APIResponse<void, CandidApi.preEncounter.patients.v1.deactivate.Error></code></summary>
7274
7019
  <dl>
7275
7020
  <dd>
7276
7021
 
@@ -7298,7 +7043,7 @@ Sets a patient as deactivated. The path must contain the most recent version to
7298
7043
  <dd>
7299
7044
 
7300
7045
  ```typescript
7301
- await client.preEncounter.patients.v1.patients.deactivate(CandidApi.PatientId("string"), 1);
7046
+ await client.preEncounter.patients.v1.deactivate(CandidApi.PatientId("string"), "string");
7302
7047
  ```
7303
7048
 
7304
7049
  </dd>
@@ -7322,7 +7067,7 @@ await client.preEncounter.patients.v1.patients.deactivate(CandidApi.PatientId("s
7322
7067
  <dl>
7323
7068
  <dd>
7324
7069
 
7325
- **version:** `number`
7070
+ **version:** `string`
7326
7071
 
7327
7072
  </dd>
7328
7073
  </dl>
@@ -7330,7 +7075,7 @@ await client.preEncounter.patients.v1.patients.deactivate(CandidApi.PatientId("s
7330
7075
  <dl>
7331
7076
  <dd>
7332
7077
 
7333
- **requestOptions:** `Patients.RequestOptions`
7078
+ **requestOptions:** `V1.RequestOptions`
7334
7079
 
7335
7080
  </dd>
7336
7081
  </dl>
@@ -7341,7 +7086,7 @@ await client.preEncounter.patients.v1.patients.deactivate(CandidApi.PatientId("s
7341
7086
  </dl>
7342
7087
  </details>
7343
7088
 
7344
- <details><summary><code>client.preEncounter.patients.v1.patients.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.ts">search</a>({ ...params }) -> core.APIResponse<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.patients.search.Error></code></summary>
7089
+ <details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">search</a>({ ...params }) -> core.APIResponse<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.search.Error></code></summary>
7345
7090
  <dl>
7346
7091
  <dd>
7347
7092
 
@@ -7369,7 +7114,7 @@ Searches for patients that match the query parameters.
7369
7114
  <dd>
7370
7115
 
7371
7116
  ```typescript
7372
- await client.preEncounter.patients.v1.patients.search({
7117
+ await client.preEncounter.patients.v1.search({
7373
7118
  nameContains: "string",
7374
7119
  });
7375
7120
  ```
@@ -7395,7 +7140,7 @@ await client.preEncounter.patients.v1.patients.search({
7395
7140
  <dl>
7396
7141
  <dd>
7397
7142
 
7398
- **requestOptions:** `Patients.RequestOptions`
7143
+ **requestOptions:** `V1.RequestOptions`
7399
7144
 
7400
7145
  </dd>
7401
7146
  </dl>
@@ -7406,7 +7151,7 @@ await client.preEncounter.patients.v1.patients.search({
7406
7151
  </dl>
7407
7152
  </details>
7408
7153
 
7409
- <details><summary><code>client.preEncounter.patients.v1.patients.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.ts">scan</a>({ ...params }) -> core.APIResponse<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.patients.scan.Error></code></summary>
7154
+ <details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">scan</a>({ ...params }) -> core.APIResponse<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.scan.Error></code></summary>
7410
7155
  <dl>
7411
7156
  <dd>
7412
7157
 
@@ -7434,7 +7179,7 @@ Scans up to 100 patient updates. The since query parameter is inclusive, and the
7434
7179
  <dd>
7435
7180
 
7436
7181
  ```typescript
7437
- await client.preEncounter.patients.v1.patients.scan({
7182
+ await client.preEncounter.patients.v1.scan({
7438
7183
  since: new Date("2024-01-15T09:30:00.000Z"),
7439
7184
  });
7440
7185
  ```
@@ -7460,7 +7205,76 @@ await client.preEncounter.patients.v1.patients.scan({
7460
7205
  <dl>
7461
7206
  <dd>
7462
7207
 
7463
- **requestOptions:** `Patients.RequestOptions`
7208
+ **requestOptions:** `V1.RequestOptions`
7209
+
7210
+ </dd>
7211
+ </dl>
7212
+ </dd>
7213
+ </dl>
7214
+
7215
+ </dd>
7216
+ </dl>
7217
+ </details>
7218
+
7219
+ ## ServiceFacility
7220
+
7221
+ <details><summary><code>client.serviceFacility.<a href="/src/api/resources/serviceFacility/client/Client.ts">update</a>(serviceFacilityId, { ...params }) -> core.APIResponse<CandidApi.EncounterServiceFacility, CandidApi.serviceFacility.update.Error></code></summary>
7222
+ <dl>
7223
+ <dd>
7224
+
7225
+ #### 🔌 Usage
7226
+
7227
+ <dl>
7228
+ <dd>
7229
+
7230
+ <dl>
7231
+ <dd>
7232
+
7233
+ ```typescript
7234
+ await client.serviceFacility.update(CandidApi.ServiceFacilityId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
7235
+ organizationName: "string",
7236
+ npi: "string",
7237
+ address: {
7238
+ address1: "123 Main St",
7239
+ address2: "Apt 1",
7240
+ city: "New York",
7241
+ state: CandidApi.State.Ny,
7242
+ zipCode: "10001",
7243
+ zipPlusFourCode: "1234",
7244
+ },
7245
+ });
7246
+ ```
7247
+
7248
+ </dd>
7249
+ </dl>
7250
+ </dd>
7251
+ </dl>
7252
+
7253
+ #### ⚙️ Parameters
7254
+
7255
+ <dl>
7256
+ <dd>
7257
+
7258
+ <dl>
7259
+ <dd>
7260
+
7261
+ **serviceFacilityId:** `CandidApi.ServiceFacilityId`
7262
+
7263
+ </dd>
7264
+ </dl>
7265
+
7266
+ <dl>
7267
+ <dd>
7268
+
7269
+ **request:** `CandidApi.EncounterServiceFacilityUpdate`
7270
+
7271
+ </dd>
7272
+ </dl>
7273
+
7274
+ <dl>
7275
+ <dd>
7276
+
7277
+ **requestOptions:** `ServiceFacility.RequestOptions`
7464
7278
 
7465
7279
  </dd>
7466
7280
  </dl>