candidhealth 0.24.2 → 0.24.4

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 (802) hide show
  1. package/Client.d.ts +6 -3
  2. package/Client.js +46 -41
  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/Primitive.d.ts +14 -0
  6. package/api/resources/commons/types/Primitive.js +12 -0
  7. package/api/resources/commons/types/SchemaId.d.ts +8 -0
  8. package/api/resources/commons/types/SchemaId.js +10 -0
  9. package/api/resources/commons/types/index.d.ts +2 -0
  10. package/api/resources/commons/types/index.js +2 -0
  11. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  12. package/api/resources/customSchemas/client/Client.d.ts +26 -0
  13. package/api/resources/customSchemas/client/Client.js +17 -0
  14. package/api/resources/customSchemas/client/index.d.ts +1 -0
  15. package/api/resources/customSchemas/index.d.ts +2 -0
  16. package/api/resources/customSchemas/index.js +18 -0
  17. package/api/resources/customSchemas/resources/index.d.ts +1 -0
  18. package/api/resources/customSchemas/resources/index.js +27 -0
  19. package/api/resources/customSchemas/resources/v1/client/Client.d.ts +80 -0
  20. package/api/resources/customSchemas/resources/v1/client/Client.js +325 -0
  21. package/api/resources/customSchemas/resources/v1/client/create.d.ts +28 -0
  22. package/api/resources/customSchemas/resources/v1/client/create.js +58 -0
  23. package/api/resources/customSchemas/resources/v1/client/get.d.ts +34 -0
  24. package/api/resources/customSchemas/resources/v1/client/get.js +69 -0
  25. package/api/resources/customSchemas/resources/v1/client/getMulti.d.ts +28 -0
  26. package/api/resources/customSchemas/resources/v1/client/getMulti.js +58 -0
  27. package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages → customSchemas/resources/v1}/client/index.d.ts +2 -4
  28. package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages → customSchemas/resources/v1}/client/index.js +3 -5
  29. package/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +20 -0
  30. package/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +21 -0
  31. package/api/resources/customSchemas/resources/v1/client/requests/index.d.ts +2 -0
  32. package/api/resources/customSchemas/resources/v1/client/update.d.ts +40 -0
  33. package/api/resources/customSchemas/resources/v1/client/update.js +80 -0
  34. package/api/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.d.ts +8 -0
  35. package/api/resources/customSchemas/resources/v1/types/Schema.d.ts +10 -0
  36. package/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +8 -0
  37. package/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +7 -0
  38. package/api/resources/customSchemas/resources/v1/types/SchemaInstance.d.ts +22 -0
  39. package/api/resources/customSchemas/resources/v1/types/SchemaValidationError.d.ts +13 -0
  40. package/api/resources/customSchemas/resources/v1/types/SchemaValidationFailure.d.ts +7 -0
  41. package/api/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.d.ts +8 -0
  42. package/api/resources/customSchemas/resources/v1/types/index.d.ts +8 -0
  43. package/api/resources/customSchemas/resources/v1/types/index.js +24 -0
  44. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  45. package/api/resources/encounters/resources/v4/client/Client.d.ts +19 -1
  46. package/api/resources/encounters/resources/v4/client/Client.js +25 -5
  47. package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  48. package/api/resources/encounters/resources/v4/client/create.js +11 -0
  49. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +15 -0
  50. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -1
  51. package/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
  52. package/api/resources/encounters/resources/v4/client/update.js +11 -0
  53. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -1
  54. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +10 -1
  55. package/api/resources/encounters/resources/v4/types/KeyDoesNotExistError.d.ts +8 -0
  56. package/api/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.d.ts +7 -0
  57. package/api/resources/encounters/resources/v4/types/SchemaDoesNotExistError.d.ts +7 -0
  58. package/api/resources/encounters/resources/v4/types/SchemaInstanceValidationError.d.ts +22 -0
  59. package/api/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.d.ts +7 -0
  60. package/api/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.d.ts +7 -0
  61. package/api/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.d.ts +10 -0
  62. package/api/resources/encounters/resources/v4/types/index.d.ts +7 -0
  63. package/api/resources/encounters/resources/v4/types/index.js +7 -0
  64. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  65. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  66. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  67. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  68. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  69. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  70. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  71. package/api/resources/index.d.ts +2 -1
  72. package/api/resources/index.js +3 -2
  73. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  74. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  75. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  76. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  77. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  78. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  79. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  80. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  81. package/api/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +8 -0
  82. package/api/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/DisabilityStatus.js} +4 -4
  83. package/api/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
  84. package/api/resources/preEncounter/resources/common/types/Ethnicity.js +12 -0
  85. package/api/resources/preEncounter/resources/common/types/Gender.d.ts +6 -3
  86. package/api/resources/preEncounter/resources/common/types/Gender.js +5 -2
  87. package/api/resources/preEncounter/resources/common/types/Race.d.ts +15 -0
  88. package/api/resources/preEncounter/resources/common/types/Race.js +17 -0
  89. package/api/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
  90. package/api/resources/preEncounter/resources/common/types/Sex.js +12 -0
  91. package/api/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +13 -0
  92. package/api/resources/preEncounter/resources/common/types/SexualOrientation.js +15 -0
  93. package/api/resources/preEncounter/resources/common/types/index.d.ts +5 -0
  94. package/api/resources/preEncounter/resources/common/types/index.js +5 -0
  95. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +108 -3
  96. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +420 -3
  97. package/api/resources/preEncounter/resources/coverages/resources/v1/client/create.d.ts +22 -0
  98. package/api/resources/preEncounter/resources/coverages/resources/v1/client/create.js +47 -0
  99. package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/get.d.ts +6 -6
  100. package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/client/get.js +2 -2
  101. package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/client/getHistory.d.ts +7 -7
  102. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/coverages/resources/v1}/client/getHistory.js +3 -3
  103. package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +22 -0
  104. package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.js +47 -0
  105. package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +7 -1
  106. package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +34 -0
  107. package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/client/scan.d.ts +6 -6
  108. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/coverages/resources/v1}/client/scan.js +2 -2
  109. package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/update.d.ts +8 -8
  110. package/api/resources/preEncounter/resources/{patients/resources/v1/resources/patients → coverages/resources/v1}/client/update.js +4 -4
  111. package/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -1
  112. package/api/resources/preEncounter/resources/coverages/resources/v1/index.js +1 -1
  113. package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +1 -1
  114. package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.d.ts +1 -1
  115. package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +2 -2
  116. package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.d.ts +1 -1
  117. package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +82 -0
  118. package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +27 -0
  119. package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/Subscriber.d.ts +1 -1
  120. package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
  121. package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.js +1 -1
  122. package/api/resources/preEncounter/resources/index.d.ts +2 -2
  123. package/api/resources/preEncounter/resources/index.js +3 -3
  124. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +167 -3
  125. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +554 -3
  126. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.d.ts +7 -7
  127. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +3 -3
  128. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/deactivate.d.ts +8 -8
  129. package/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +69 -0
  130. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/get.d.ts +7 -7
  131. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/get.js +3 -3
  132. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.d.ts +7 -7
  133. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.js +3 -3
  134. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +8 -1
  135. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +35 -0
  136. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/scan.d.ts +6 -6
  137. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/scan.js +2 -2
  138. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/search.d.ts +6 -6
  139. package/api/resources/preEncounter/resources/patients/resources/v1/client/search.js +47 -0
  140. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/update.d.ts +8 -8
  141. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/update.js +4 -4
  142. package/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -1
  143. package/api/resources/preEncounter/resources/patients/resources/v1/index.js +1 -1
  144. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/types/Contact.d.ts +1 -1
  145. package/api/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvenance.js +5 -0
  146. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/types/ExternalProvider.d.ts +2 -1
  147. package/api/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.js +5 -0
  148. package/api/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +10 -0
  149. package/api/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.js +5 -0
  150. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.d.ts +12 -1
  151. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +5 -0
  152. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/types/Patient.d.ts +4 -1
  153. package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.js +5 -0
  154. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +1 -1
  155. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
  156. package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
  157. package/api/resources/serviceFacility/client/Client.js +1 -1
  158. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  159. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  160. package/dist/Client.d.ts +6 -3
  161. package/dist/Client.js +46 -41
  162. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  163. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  164. package/dist/api/resources/commons/types/Primitive.d.ts +14 -0
  165. package/dist/api/resources/commons/types/Primitive.js +12 -0
  166. package/dist/api/resources/commons/types/SchemaId.d.ts +8 -0
  167. package/dist/api/resources/commons/types/SchemaId.js +10 -0
  168. package/dist/api/resources/commons/types/index.d.ts +2 -0
  169. package/dist/api/resources/commons/types/index.js +2 -0
  170. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  171. package/dist/api/resources/customSchemas/client/Client.d.ts +26 -0
  172. package/dist/api/resources/customSchemas/client/Client.js +17 -0
  173. package/dist/api/resources/customSchemas/client/index.d.ts +1 -0
  174. package/dist/api/resources/customSchemas/client/index.js +2 -0
  175. package/dist/api/resources/customSchemas/index.d.ts +2 -0
  176. package/dist/api/resources/customSchemas/index.js +18 -0
  177. package/dist/api/resources/customSchemas/resources/index.d.ts +1 -0
  178. package/dist/api/resources/customSchemas/resources/index.js +27 -0
  179. package/dist/api/resources/customSchemas/resources/v1/client/Client.d.ts +80 -0
  180. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +325 -0
  181. package/dist/api/resources/customSchemas/resources/v1/client/create.d.ts +28 -0
  182. package/dist/api/resources/customSchemas/resources/v1/client/create.js +58 -0
  183. package/dist/api/resources/customSchemas/resources/v1/client/get.d.ts +34 -0
  184. package/dist/api/resources/customSchemas/resources/v1/client/get.js +69 -0
  185. package/dist/api/resources/customSchemas/resources/v1/client/getMulti.d.ts +28 -0
  186. package/dist/api/resources/customSchemas/resources/v1/client/getMulti.js +58 -0
  187. package/dist/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages → customSchemas/resources/v1}/client/index.d.ts +2 -4
  188. package/dist/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages → customSchemas/resources/v1}/client/index.js +3 -5
  189. package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +20 -0
  190. package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.js +5 -0
  191. package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +21 -0
  192. package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.js +5 -0
  193. package/dist/api/resources/customSchemas/resources/v1/client/requests/index.d.ts +2 -0
  194. package/dist/api/resources/customSchemas/resources/v1/client/requests/index.js +2 -0
  195. package/dist/api/resources/customSchemas/resources/v1/client/update.d.ts +40 -0
  196. package/dist/api/resources/customSchemas/resources/v1/client/update.js +80 -0
  197. package/dist/api/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.d.ts +8 -0
  198. package/dist/api/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.js +5 -0
  199. package/dist/api/resources/customSchemas/resources/v1/types/Schema.d.ts +10 -0
  200. package/dist/api/resources/customSchemas/resources/v1/types/Schema.js +5 -0
  201. package/dist/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +8 -0
  202. package/dist/api/resources/customSchemas/resources/v1/types/SchemaField.js +5 -0
  203. package/dist/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +7 -0
  204. package/dist/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.js +5 -0
  205. package/dist/api/resources/customSchemas/resources/v1/types/SchemaInstance.d.ts +22 -0
  206. package/dist/api/resources/customSchemas/resources/v1/types/SchemaInstance.js +5 -0
  207. package/dist/api/resources/customSchemas/resources/v1/types/SchemaValidationError.d.ts +13 -0
  208. package/dist/api/resources/customSchemas/resources/v1/types/SchemaValidationError.js +5 -0
  209. package/dist/api/resources/customSchemas/resources/v1/types/SchemaValidationFailure.d.ts +7 -0
  210. package/dist/api/resources/customSchemas/resources/v1/types/SchemaValidationFailure.js +5 -0
  211. package/dist/api/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.d.ts +8 -0
  212. package/dist/api/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.js +5 -0
  213. package/dist/api/resources/customSchemas/resources/v1/types/index.d.ts +8 -0
  214. package/dist/api/resources/customSchemas/resources/v1/types/index.js +24 -0
  215. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  216. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +19 -1
  217. package/dist/api/resources/encounters/resources/v4/client/Client.js +25 -5
  218. package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  219. package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
  220. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +15 -0
  221. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -1
  222. package/dist/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
  223. package/dist/api/resources/encounters/resources/v4/client/update.js +11 -0
  224. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -1
  225. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +10 -1
  226. package/dist/api/resources/encounters/resources/v4/types/KeyDoesNotExistError.d.ts +8 -0
  227. package/dist/api/resources/encounters/resources/v4/types/KeyDoesNotExistError.js +5 -0
  228. package/dist/api/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.d.ts +7 -0
  229. package/dist/api/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.js +5 -0
  230. package/dist/api/resources/encounters/resources/v4/types/SchemaDoesNotExistError.d.ts +7 -0
  231. package/dist/api/resources/encounters/resources/v4/types/SchemaDoesNotExistError.js +5 -0
  232. package/dist/api/resources/encounters/resources/v4/types/SchemaInstanceValidationError.d.ts +22 -0
  233. package/dist/api/resources/encounters/resources/v4/types/SchemaInstanceValidationError.js +5 -0
  234. package/dist/api/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.d.ts +7 -0
  235. package/dist/api/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.js +5 -0
  236. package/dist/api/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.d.ts +7 -0
  237. package/dist/api/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.js +5 -0
  238. package/dist/api/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.d.ts +10 -0
  239. package/dist/api/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.js +5 -0
  240. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +7 -0
  241. package/dist/api/resources/encounters/resources/v4/types/index.js +7 -0
  242. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  243. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  244. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  245. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  246. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  247. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  248. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  249. package/dist/api/resources/index.d.ts +2 -1
  250. package/dist/api/resources/index.js +3 -2
  251. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  252. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  253. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  254. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  255. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  256. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  257. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  258. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  259. package/dist/api/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +8 -0
  260. package/dist/api/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/DisabilityStatus.js} +4 -4
  261. package/dist/api/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
  262. package/dist/api/resources/preEncounter/resources/common/types/Ethnicity.js +12 -0
  263. package/dist/api/resources/preEncounter/resources/common/types/Gender.d.ts +6 -3
  264. package/dist/api/resources/preEncounter/resources/common/types/Gender.js +5 -2
  265. package/dist/api/resources/preEncounter/resources/common/types/Race.d.ts +15 -0
  266. package/dist/api/resources/preEncounter/resources/common/types/Race.js +17 -0
  267. package/dist/api/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
  268. package/dist/api/resources/preEncounter/resources/common/types/Sex.js +12 -0
  269. package/dist/api/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +13 -0
  270. package/dist/api/resources/preEncounter/resources/common/types/SexualOrientation.js +15 -0
  271. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +5 -0
  272. package/dist/api/resources/preEncounter/resources/common/types/index.js +5 -0
  273. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +108 -3
  274. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +420 -3
  275. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/create.d.ts +22 -0
  276. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/create.js +47 -0
  277. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/get.d.ts +6 -6
  278. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/get.js +2 -2
  279. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/getHistory.d.ts +7 -7
  280. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +58 -0
  281. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +22 -0
  282. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.js +47 -0
  283. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +7 -1
  284. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +34 -0
  285. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageScanRequest.js +5 -0
  286. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/GetAllCoveragesRequest.js +5 -0
  287. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.js +2 -0
  288. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/scan.d.ts +6 -6
  289. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/scan.js +47 -0
  290. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/update.d.ts +8 -8
  291. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/update.js +4 -4
  292. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -1
  293. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.js +1 -1
  294. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +1 -1
  295. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.js +5 -0
  296. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.d.ts +1 -1
  297. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +2 -2
  298. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +5 -0
  299. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.d.ts +1 -1
  300. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js +5 -0
  301. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +82 -0
  302. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +27 -0
  303. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/Subscriber.d.ts +1 -1
  304. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +5 -0
  305. package/dist/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
  306. package/dist/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.js +1 -1
  307. package/dist/api/resources/preEncounter/resources/index.d.ts +2 -2
  308. package/dist/api/resources/preEncounter/resources/index.js +3 -3
  309. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +167 -3
  310. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +554 -3
  311. package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.d.ts +7 -7
  312. package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +3 -3
  313. package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/deactivate.d.ts +8 -8
  314. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +69 -0
  315. package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/get.d.ts +7 -7
  316. package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/get.js +3 -3
  317. package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.d.ts +7 -7
  318. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getHistory.js +58 -0
  319. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +8 -1
  320. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +35 -0
  321. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.js +5 -0
  322. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequest.js +5 -0
  323. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.js +2 -0
  324. package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/scan.d.ts +6 -6
  325. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/scan.js +47 -0
  326. package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/search.d.ts +6 -6
  327. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/search.js +47 -0
  328. package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/update.d.ts +8 -8
  329. package/dist/api/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages → patients/resources/v1}/client/update.js +4 -4
  330. package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -1
  331. package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.js +1 -1
  332. package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/types/Contact.d.ts +1 -1
  333. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +5 -0
  334. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvenance.js +5 -0
  335. package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/types/ExternalProvider.d.ts +2 -1
  336. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.js +5 -0
  337. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +10 -0
  338. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.js +5 -0
  339. package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.d.ts +12 -1
  340. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +5 -0
  341. package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/types/Patient.d.ts +4 -1
  342. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.js +5 -0
  343. package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +1 -1
  344. package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
  345. package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
  346. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  347. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  348. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  349. package/dist/serialization/resources/commons/types/Primitive.d.ts +10 -0
  350. package/dist/serialization/resources/commons/types/Primitive.js +31 -0
  351. package/dist/serialization/resources/commons/types/SchemaId.d.ts +10 -0
  352. package/dist/serialization/resources/commons/types/SchemaId.js +37 -0
  353. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  354. package/dist/serialization/resources/commons/types/index.js +2 -0
  355. package/dist/serialization/resources/customSchemas/index.d.ts +1 -0
  356. package/dist/serialization/resources/customSchemas/index.js +17 -0
  357. package/dist/serialization/resources/customSchemas/resources/index.d.ts +1 -0
  358. package/dist/serialization/resources/customSchemas/resources/index.js +27 -0
  359. package/dist/serialization/resources/customSchemas/resources/v1/client/create.d.ts +15 -0
  360. package/dist/serialization/resources/customSchemas/resources/v1/client/create.js +61 -0
  361. package/dist/serialization/resources/customSchemas/resources/v1/client/get.d.ts +20 -0
  362. package/dist/serialization/resources/customSchemas/resources/v1/client/get.js +67 -0
  363. package/dist/serialization/resources/customSchemas/resources/v1/client/getMulti.d.ts +15 -0
  364. package/dist/serialization/resources/customSchemas/resources/v1/client/getMulti.js +61 -0
  365. package/dist/serialization/resources/customSchemas/resources/v1/client/index.d.ts +5 -0
  366. package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/customSchemas/resources/v1}/client/index.js +7 -10
  367. package/dist/serialization/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +15 -0
  368. package/dist/serialization/resources/customSchemas/resources/v1/client/requests/SchemaCreate.js +36 -0
  369. package/dist/serialization/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +15 -0
  370. package/dist/serialization/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.js +36 -0
  371. package/dist/serialization/resources/customSchemas/resources/v1/client/requests/index.d.ts +2 -0
  372. package/dist/serialization/resources/customSchemas/resources/v1/client/requests/index.js +7 -0
  373. package/dist/serialization/resources/customSchemas/resources/v1/client/update.d.ts +25 -0
  374. package/dist/serialization/resources/customSchemas/resources/v1/client/update.js +73 -0
  375. package/dist/serialization/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.d.ts +14 -0
  376. package/dist/serialization/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.js +35 -0
  377. package/dist/serialization/resources/customSchemas/resources/v1/types/Schema.d.ts +17 -0
  378. package/dist/serialization/resources/customSchemas/resources/v1/types/Schema.js +38 -0
  379. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaField.d.ts +14 -0
  380. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaField.js +35 -0
  381. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +13 -0
  382. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.js +34 -0
  383. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaInstance.d.ts +14 -0
  384. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaInstance.js +35 -0
  385. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaValidationError.d.ts +18 -0
  386. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaValidationError.js +41 -0
  387. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaValidationFailure.d.ts +13 -0
  388. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaValidationFailure.js +34 -0
  389. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.d.ts +14 -0
  390. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.js +35 -0
  391. package/dist/serialization/resources/customSchemas/resources/v1/types/index.d.ts +8 -0
  392. package/dist/serialization/resources/customSchemas/resources/v1/types/index.js +24 -0
  393. package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  394. package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  395. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
  396. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
  397. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
  398. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
  399. package/dist/serialization/resources/encounters/resources/v4/client/update.d.ts +6 -1
  400. package/dist/serialization/resources/encounters/resources/v4/client/update.js +6 -0
  401. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  402. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  403. package/dist/serialization/resources/encounters/resources/v4/types/KeyDoesNotExistError.d.ts +14 -0
  404. package/dist/serialization/resources/encounters/resources/v4/types/KeyDoesNotExistError.js +35 -0
  405. package/dist/serialization/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.d.ts +13 -0
  406. package/dist/serialization/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.js +34 -0
  407. package/dist/serialization/resources/encounters/resources/v4/types/SchemaDoesNotExistError.d.ts +13 -0
  408. package/dist/serialization/resources/encounters/resources/v4/types/SchemaDoesNotExistError.js +34 -0
  409. package/dist/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationError.d.ts +30 -0
  410. package/dist/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationError.js +47 -0
  411. package/dist/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.d.ts +13 -0
  412. package/dist/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.js +34 -0
  413. package/dist/serialization/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.d.ts +13 -0
  414. package/dist/serialization/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.js +34 -0
  415. package/dist/serialization/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.d.ts +17 -0
  416. package/dist/serialization/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.js +38 -0
  417. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -0
  418. package/dist/serialization/resources/encounters/resources/v4/types/index.js +7 -0
  419. package/dist/serialization/resources/index.d.ts +2 -1
  420. package/dist/serialization/resources/index.js +3 -2
  421. package/dist/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +10 -0
  422. package/dist/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.js +31 -0
  423. package/dist/serialization/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
  424. package/dist/serialization/resources/preEncounter/resources/common/types/Ethnicity.js +31 -0
  425. package/dist/serialization/resources/preEncounter/resources/common/types/Gender.d.ts +1 -1
  426. package/dist/serialization/resources/preEncounter/resources/common/types/Gender.js +1 -1
  427. package/dist/serialization/resources/preEncounter/resources/common/types/Race.d.ts +10 -0
  428. package/dist/serialization/resources/preEncounter/resources/common/types/Race.js +41 -0
  429. package/dist/serialization/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
  430. package/dist/serialization/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/Sex.js} +3 -3
  431. package/dist/serialization/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +10 -0
  432. package/dist/serialization/resources/preEncounter/resources/common/types/SexualOrientation.js +31 -0
  433. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +5 -0
  434. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +5 -0
  435. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +20 -0
  436. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getHistory.js +4 -4
  437. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +11 -0
  438. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getMulti.js +1 -1
  439. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/scan.d.ts +11 -0
  440. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/scan.js +1 -1
  441. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +20 -0
  442. package/dist/serialization/resources/preEncounter/resources/{patients/resources/v1/resources/patients → coverages/resources/v1}/client/update.js +6 -6
  443. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -1
  444. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +2 -1
  445. package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +5 -5
  446. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Coverage.js +3 -3
  447. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.d.ts +3 -3
  448. package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.js +2 -2
  449. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +3 -3
  450. package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageStatus.js +1 -1
  451. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +7 -7
  452. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.js +5 -5
  453. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/MutableCoverage.d.ts +5 -5
  454. package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.js +3 -3
  455. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +10 -0
  456. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +51 -0
  457. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.d.ts +5 -5
  458. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.js +3 -3
  459. package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
  460. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/index.js +1 -1
  461. package/dist/serialization/resources/preEncounter/resources/index.d.ts +2 -2
  462. package/dist/serialization/resources/preEncounter/resources/index.js +3 -3
  463. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +15 -0
  464. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +4 -4
  465. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +20 -0
  466. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +67 -0
  467. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +15 -0
  468. package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/get.js +4 -4
  469. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +20 -0
  470. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.js +4 -4
  471. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/scan.d.ts +11 -0
  472. package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/scan.js +1 -1
  473. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/search.d.ts +11 -0
  474. package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/search.js +1 -1
  475. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +20 -0
  476. package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/update.js +6 -6
  477. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -1
  478. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +2 -1
  479. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +23 -0
  480. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Contact.js +7 -7
  481. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +3 -3
  482. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.js +1 -1
  483. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +20 -0
  484. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvider.js +6 -5
  485. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +13 -0
  486. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.js +34 -0
  487. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +3 -3
  488. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +1 -1
  489. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +50 -0
  490. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.js +20 -5
  491. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.d.ts +6 -5
  492. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.js +4 -3
  493. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +3 -3
  494. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +2 -2
  495. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
  496. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
  497. package/package.json +1 -1
  498. package/reference.md +488 -391
  499. package/serialization/resources/commons/types/Primitive.d.ts +10 -0
  500. package/serialization/resources/commons/types/Primitive.js +31 -0
  501. package/serialization/resources/commons/types/SchemaId.d.ts +10 -0
  502. package/serialization/resources/commons/types/SchemaId.js +37 -0
  503. package/serialization/resources/commons/types/index.d.ts +2 -0
  504. package/serialization/resources/commons/types/index.js +2 -0
  505. package/serialization/resources/customSchemas/index.d.ts +1 -0
  506. package/serialization/resources/customSchemas/index.js +17 -0
  507. package/serialization/resources/customSchemas/resources/index.d.ts +1 -0
  508. package/serialization/resources/customSchemas/resources/index.js +27 -0
  509. package/serialization/resources/customSchemas/resources/v1/client/create.d.ts +15 -0
  510. package/serialization/resources/customSchemas/resources/v1/client/create.js +61 -0
  511. package/serialization/resources/customSchemas/resources/v1/client/get.d.ts +20 -0
  512. package/serialization/resources/customSchemas/resources/v1/client/get.js +67 -0
  513. package/serialization/resources/customSchemas/resources/v1/client/getMulti.d.ts +15 -0
  514. package/serialization/resources/customSchemas/resources/v1/client/getMulti.js +61 -0
  515. package/serialization/resources/customSchemas/resources/v1/client/index.d.ts +5 -0
  516. package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/customSchemas/resources/v1}/client/index.js +7 -10
  517. package/serialization/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +15 -0
  518. package/serialization/resources/customSchemas/resources/v1/client/requests/SchemaCreate.js +36 -0
  519. package/serialization/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +15 -0
  520. package/serialization/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.js +36 -0
  521. package/serialization/resources/customSchemas/resources/v1/client/requests/index.d.ts +2 -0
  522. package/serialization/resources/customSchemas/resources/v1/client/requests/index.js +7 -0
  523. package/serialization/resources/customSchemas/resources/v1/client/update.d.ts +25 -0
  524. package/serialization/resources/customSchemas/resources/v1/client/update.js +73 -0
  525. package/serialization/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.d.ts +14 -0
  526. package/serialization/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.js +35 -0
  527. package/serialization/resources/customSchemas/resources/v1/types/Schema.d.ts +17 -0
  528. package/serialization/resources/customSchemas/resources/v1/types/Schema.js +38 -0
  529. package/serialization/resources/customSchemas/resources/v1/types/SchemaField.d.ts +14 -0
  530. package/serialization/resources/customSchemas/resources/v1/types/SchemaField.js +35 -0
  531. package/serialization/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +13 -0
  532. package/serialization/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.js +34 -0
  533. package/serialization/resources/customSchemas/resources/v1/types/SchemaInstance.d.ts +14 -0
  534. package/serialization/resources/customSchemas/resources/v1/types/SchemaInstance.js +35 -0
  535. package/serialization/resources/customSchemas/resources/v1/types/SchemaValidationError.d.ts +18 -0
  536. package/serialization/resources/customSchemas/resources/v1/types/SchemaValidationError.js +41 -0
  537. package/serialization/resources/customSchemas/resources/v1/types/SchemaValidationFailure.d.ts +13 -0
  538. package/serialization/resources/customSchemas/resources/v1/types/SchemaValidationFailure.js +34 -0
  539. package/serialization/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.d.ts +14 -0
  540. package/serialization/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.js +35 -0
  541. package/serialization/resources/customSchemas/resources/v1/types/index.d.ts +8 -0
  542. package/serialization/resources/customSchemas/resources/v1/types/index.js +24 -0
  543. package/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  544. package/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  545. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
  546. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
  547. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
  548. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
  549. package/serialization/resources/encounters/resources/v4/client/update.d.ts +6 -1
  550. package/serialization/resources/encounters/resources/v4/client/update.js +6 -0
  551. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  552. package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  553. package/serialization/resources/encounters/resources/v4/types/KeyDoesNotExistError.d.ts +14 -0
  554. package/serialization/resources/encounters/resources/v4/types/KeyDoesNotExistError.js +35 -0
  555. package/serialization/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.d.ts +13 -0
  556. package/serialization/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.js +34 -0
  557. package/serialization/resources/encounters/resources/v4/types/SchemaDoesNotExistError.d.ts +13 -0
  558. package/serialization/resources/encounters/resources/v4/types/SchemaDoesNotExistError.js +34 -0
  559. package/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationError.d.ts +30 -0
  560. package/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationError.js +47 -0
  561. package/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.d.ts +13 -0
  562. package/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.js +34 -0
  563. package/serialization/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.d.ts +13 -0
  564. package/serialization/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.js +34 -0
  565. package/serialization/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.d.ts +17 -0
  566. package/serialization/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.js +38 -0
  567. package/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -0
  568. package/serialization/resources/encounters/resources/v4/types/index.js +7 -0
  569. package/serialization/resources/index.d.ts +2 -1
  570. package/serialization/resources/index.js +3 -2
  571. package/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +10 -0
  572. package/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.js +31 -0
  573. package/serialization/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
  574. package/serialization/resources/preEncounter/resources/common/types/Ethnicity.js +31 -0
  575. package/serialization/resources/preEncounter/resources/common/types/Gender.d.ts +1 -1
  576. package/serialization/resources/preEncounter/resources/common/types/Gender.js +1 -1
  577. package/serialization/resources/preEncounter/resources/common/types/Race.d.ts +10 -0
  578. package/serialization/resources/preEncounter/resources/common/types/Race.js +41 -0
  579. package/serialization/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
  580. package/serialization/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/Sex.js} +3 -3
  581. package/serialization/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +10 -0
  582. package/serialization/resources/preEncounter/resources/common/types/SexualOrientation.js +31 -0
  583. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +5 -0
  584. package/serialization/resources/preEncounter/resources/common/types/index.js +5 -0
  585. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +20 -0
  586. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getHistory.js +4 -4
  587. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +11 -0
  588. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getMulti.js +1 -1
  589. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/scan.d.ts +11 -0
  590. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/scan.js +1 -1
  591. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +20 -0
  592. package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/client/update.js +6 -6
  593. package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -1
  594. package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +2 -1
  595. package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +5 -5
  596. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Coverage.js +3 -3
  597. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.d.ts +3 -3
  598. package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.js +2 -2
  599. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +3 -3
  600. package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageStatus.js +1 -1
  601. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +7 -7
  602. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.js +5 -5
  603. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/MutableCoverage.d.ts +5 -5
  604. package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.js +3 -3
  605. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +10 -0
  606. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +51 -0
  607. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.d.ts +5 -5
  608. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.js +3 -3
  609. package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
  610. package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/index.js +1 -1
  611. package/serialization/resources/preEncounter/resources/index.d.ts +2 -2
  612. package/serialization/resources/preEncounter/resources/index.js +3 -3
  613. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +15 -0
  614. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +4 -4
  615. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +20 -0
  616. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +67 -0
  617. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +15 -0
  618. package/{dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/preEncounter/resources/patients/resources/v1}/client/get.js +4 -4
  619. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +20 -0
  620. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.js +4 -4
  621. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/scan.d.ts +11 -0
  622. package/{dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/preEncounter/resources/patients/resources/v1}/client/scan.js +1 -1
  623. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/search.d.ts +11 -0
  624. package/{dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/preEncounter/resources/patients/resources/v1}/client/search.js +1 -1
  625. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +20 -0
  626. package/serialization/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages → patients/resources/v1}/client/update.js +6 -6
  627. package/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -1
  628. package/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +2 -1
  629. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +23 -0
  630. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Contact.js +7 -7
  631. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +3 -3
  632. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.js +1 -1
  633. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +20 -0
  634. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvider.js +6 -5
  635. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +13 -0
  636. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.js +34 -0
  637. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +3 -3
  638. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +1 -1
  639. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +50 -0
  640. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.js +20 -5
  641. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.d.ts +6 -5
  642. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.js +4 -3
  643. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +3 -3
  644. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +2 -2
  645. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
  646. package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
  647. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +0 -147
  648. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +0 -451
  649. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.d.ts +0 -22
  650. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.js +0 -47
  651. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.js +0 -58
  652. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -22
  653. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.js +0 -47
  654. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.js +0 -47
  655. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -8
  656. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -3
  657. package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -32
  658. package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -3
  659. package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -32
  660. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +0 -338
  661. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +0 -716
  662. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -69
  663. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +0 -8
  664. package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.js +0 -47
  665. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +0 -147
  666. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +0 -451
  667. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.d.ts +0 -22
  668. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.js +0 -47
  669. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.js +0 -58
  670. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -22
  671. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.js +0 -47
  672. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.js +0 -47
  673. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -8
  674. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -3
  675. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -32
  676. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -3
  677. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -32
  678. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +0 -338
  679. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +0 -716
  680. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -69
  681. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +0 -8
  682. package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.js +0 -47
  683. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +0 -20
  684. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -11
  685. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +0 -11
  686. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +0 -20
  687. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +0 -2
  688. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +0 -18
  689. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -10
  690. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -2
  691. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -31
  692. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -2
  693. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -31
  694. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +0 -15
  695. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +0 -20
  696. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -67
  697. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +0 -15
  698. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +0 -20
  699. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +0 -11
  700. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +0 -11
  701. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +0 -20
  702. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +0 -2
  703. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +0 -18
  704. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +0 -23
  705. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +0 -19
  706. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +0 -35
  707. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +0 -20
  708. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -11
  709. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +0 -11
  710. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +0 -20
  711. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +0 -2
  712. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +0 -18
  713. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -10
  714. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -2
  715. package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -31
  716. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -2
  717. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -31
  718. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +0 -15
  719. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +0 -20
  720. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -67
  721. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +0 -15
  722. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +0 -20
  723. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +0 -11
  724. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +0 -11
  725. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +0 -20
  726. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +0 -2
  727. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +0 -18
  728. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +0 -23
  729. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +0 -19
  730. package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +0 -35
  731. /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests → customSchemas/client}/index.js +0 -0
  732. /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/CoverageScanRequest.js → customSchemas/resources/v1/client/requests/SchemaCreate.js} +0 -0
  733. /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/GetAllCoveragesRequest.js → customSchemas/resources/v1/client/requests/SchemaUpdate.js} +0 -0
  734. /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients → customSchemas/resources/v1}/client/requests/index.js +0 -0
  735. /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages → customSchemas/resources/v1}/index.d.ts +0 -0
  736. /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages → customSchemas/resources/v1}/index.js +0 -0
  737. /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.js → customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.js} +0 -0
  738. /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.js → customSchemas/resources/v1/types/Schema.js} +0 -0
  739. /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.js → customSchemas/resources/v1/types/SchemaField.js} +0 -0
  740. /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.js → customSchemas/resources/v1/types/SchemaGetMultiResponse.js} +0 -0
  741. /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientScanRequest.js → customSchemas/resources/v1/types/SchemaInstance.js} +0 -0
  742. /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientsSearchRequest.js → customSchemas/resources/v1/types/SchemaValidationError.js} +0 -0
  743. /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.js → customSchemas/resources/v1/types/SchemaValidationFailure.js} +0 -0
  744. /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.js → customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.js} +0 -0
  745. /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.js → encounters/resources/v4/types/KeyDoesNotExistError.js} +0 -0
  746. /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.js → encounters/resources/v4/types/MultipleInstancesForSchemaError.js} +0 -0
  747. /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.js → encounters/resources/v4/types/SchemaDoesNotExistError.js} +0 -0
  748. /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/CoverageScanRequest.js → api/resources/encounters/resources/v4/types/SchemaInstanceValidationError.js} +0 -0
  749. /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/GetAllCoveragesRequest.js → api/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.js} +0 -0
  750. /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.js → api/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.js} +0 -0
  751. /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.js → api/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.js} +0 -0
  752. /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/CoverageScanRequest.d.ts +0 -0
  753. /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.js → api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageScanRequest.js} +0 -0
  754. /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/GetAllCoveragesRequest.d.ts +0 -0
  755. /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.js → api/resources/preEncounter/resources/coverages/resources/v1/client/requests/GetAllCoveragesRequest.js} +0 -0
  756. /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/index.d.ts +0 -0
  757. /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/client/requests/index.js +0 -0
  758. /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientScanRequest.js → api/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.js} +0 -0
  759. /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.js +0 -0
  760. /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +0 -0
  761. /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.js +0 -0
  762. /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientsSearchRequest.js → api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js} +0 -0
  763. /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.js → api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js} +0 -0
  764. /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.js → api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js} +0 -0
  765. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientScanRequest.d.ts +0 -0
  766. /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.js → api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.js} +0 -0
  767. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientsSearchRequest.d.ts +0 -0
  768. /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.js → api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequest.js} +0 -0
  769. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/index.d.ts +0 -0
  770. /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/requests/index.js +0 -0
  771. /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.js → api/resources/preEncounter/resources/patients/resources/v1/types/Contact.js} +0 -0
  772. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +0 -0
  773. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +0 -0
  774. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +0 -0
  775. /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +0 -0
  776. /package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/customSchemas/resources/v1}/index.d.ts +0 -0
  777. /package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/customSchemas/resources/v1}/index.js +0 -0
  778. /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/CoverageScanRequest.d.ts +0 -0
  779. /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/GetAllCoveragesRequest.d.ts +0 -0
  780. /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/index.d.ts +0 -0
  781. /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.js +0 -0
  782. /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +0 -0
  783. /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.js +0 -0
  784. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientScanRequest.d.ts +0 -0
  785. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientsSearchRequest.d.ts +0 -0
  786. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/index.d.ts +0 -0
  787. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +0 -0
  788. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +0 -0
  789. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +0 -0
  790. /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +0 -0
  791. /package/dist/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/customSchemas/resources/v1}/index.d.ts +0 -0
  792. /package/dist/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/customSchemas/resources/v1}/index.js +0 -0
  793. /package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.d.ts +0 -0
  794. /package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.js +0 -0
  795. /package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.d.ts +0 -0
  796. /package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.js +0 -0
  797. /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/customSchemas/resources/v1}/index.d.ts +0 -0
  798. /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/customSchemas/resources/v1}/index.js +0 -0
  799. /package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.d.ts +0 -0
  800. /package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.js +0 -0
  801. /package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.d.ts +0 -0
  802. /package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.js +0 -0
package/reference.md CHANGED
@@ -462,6 +462,279 @@ await client.contracts.v2.update(CandidApi.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7
462
462
  </dl>
463
463
  </details>
464
464
 
465
+ ## CustomSchemas V1
466
+
467
+ <details><summary><code>client.customSchemas.v1.<a href="/src/api/resources/customSchemas/resources/v1/client/Client.ts">getMulti</a>() -> core.APIResponse<CandidApi.SchemaGetMultiResponse, CandidApi.customSchemas.v1.getMulti.Error></code></summary>
468
+ <dl>
469
+ <dd>
470
+
471
+ #### 📝 Description
472
+
473
+ <dl>
474
+ <dd>
475
+
476
+ <dl>
477
+ <dd>
478
+
479
+ Returns all custom schemas.
480
+
481
+ </dd>
482
+ </dl>
483
+ </dd>
484
+ </dl>
485
+
486
+ #### 🔌 Usage
487
+
488
+ <dl>
489
+ <dd>
490
+
491
+ <dl>
492
+ <dd>
493
+
494
+ ```typescript
495
+ await client.customSchemas.v1.getMulti();
496
+ ```
497
+
498
+ </dd>
499
+ </dl>
500
+ </dd>
501
+ </dl>
502
+
503
+ #### ⚙️ Parameters
504
+
505
+ <dl>
506
+ <dd>
507
+
508
+ <dl>
509
+ <dd>
510
+
511
+ **requestOptions:** `V1.RequestOptions`
512
+
513
+ </dd>
514
+ </dl>
515
+ </dd>
516
+ </dl>
517
+
518
+ </dd>
519
+ </dl>
520
+ </details>
521
+
522
+ <details><summary><code>client.customSchemas.v1.<a href="/src/api/resources/customSchemas/resources/v1/client/Client.ts">get</a>(schemaId) -> core.APIResponse<CandidApi.Schema, CandidApi.customSchemas.v1.get.Error></code></summary>
523
+ <dl>
524
+ <dd>
525
+
526
+ #### 📝 Description
527
+
528
+ <dl>
529
+ <dd>
530
+
531
+ <dl>
532
+ <dd>
533
+
534
+ Return a custom schema with a given ID.
535
+
536
+ </dd>
537
+ </dl>
538
+ </dd>
539
+ </dl>
540
+
541
+ #### 🔌 Usage
542
+
543
+ <dl>
544
+ <dd>
545
+
546
+ <dl>
547
+ <dd>
548
+
549
+ ```typescript
550
+ await client.customSchemas.v1.get(CandidApi.SchemaId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
551
+ ```
552
+
553
+ </dd>
554
+ </dl>
555
+ </dd>
556
+ </dl>
557
+
558
+ #### ⚙️ Parameters
559
+
560
+ <dl>
561
+ <dd>
562
+
563
+ <dl>
564
+ <dd>
565
+
566
+ **schemaId:** `CandidApi.SchemaId`
567
+
568
+ </dd>
569
+ </dl>
570
+
571
+ <dl>
572
+ <dd>
573
+
574
+ **requestOptions:** `V1.RequestOptions`
575
+
576
+ </dd>
577
+ </dl>
578
+ </dd>
579
+ </dl>
580
+
581
+ </dd>
582
+ </dl>
583
+ </details>
584
+
585
+ <details><summary><code>client.customSchemas.v1.<a href="/src/api/resources/customSchemas/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Schema, CandidApi.customSchemas.v1.create.Error></code></summary>
586
+ <dl>
587
+ <dd>
588
+
589
+ #### 📝 Description
590
+
591
+ <dl>
592
+ <dd>
593
+
594
+ <dl>
595
+ <dd>
596
+
597
+ Create a custom schema. Schema keys can be referenced as inputs in user-configurable rules in the Rules
598
+ Engine, and key-value pairs can be attached to claims via the Encounters API.
599
+
600
+ </dd>
601
+ </dl>
602
+ </dd>
603
+ </dl>
604
+
605
+ #### 🔌 Usage
606
+
607
+ <dl>
608
+ <dd>
609
+
610
+ <dl>
611
+ <dd>
612
+
613
+ ```typescript
614
+ await client.customSchemas.v1.create({
615
+ name: "string",
616
+ description: "string",
617
+ fields: [
618
+ {
619
+ key: "string",
620
+ type: CandidApi.Primitive.Boolean,
621
+ },
622
+ ],
623
+ });
624
+ ```
625
+
626
+ </dd>
627
+ </dl>
628
+ </dd>
629
+ </dl>
630
+
631
+ #### ⚙️ Parameters
632
+
633
+ <dl>
634
+ <dd>
635
+
636
+ <dl>
637
+ <dd>
638
+
639
+ **request:** `CandidApi.customSchemas.v1.SchemaCreate`
640
+
641
+ </dd>
642
+ </dl>
643
+
644
+ <dl>
645
+ <dd>
646
+
647
+ **requestOptions:** `V1.RequestOptions`
648
+
649
+ </dd>
650
+ </dl>
651
+ </dd>
652
+ </dl>
653
+
654
+ </dd>
655
+ </dl>
656
+ </details>
657
+
658
+ <details><summary><code>client.customSchemas.v1.<a href="/src/api/resources/customSchemas/resources/v1/client/Client.ts">update</a>(schemaId, { ...params }) -> core.APIResponse<CandidApi.Schema, CandidApi.customSchemas.v1.update.Error></code></summary>
659
+ <dl>
660
+ <dd>
661
+
662
+ #### 📝 Description
663
+
664
+ <dl>
665
+ <dd>
666
+
667
+ <dl>
668
+ <dd>
669
+
670
+ Update the name, description, or keys on a preexisting schema.
671
+
672
+ </dd>
673
+ </dl>
674
+ </dd>
675
+ </dl>
676
+
677
+ #### 🔌 Usage
678
+
679
+ <dl>
680
+ <dd>
681
+
682
+ <dl>
683
+ <dd>
684
+
685
+ ```typescript
686
+ await client.customSchemas.v1.update(CandidApi.SchemaId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
687
+ name: "string",
688
+ description: "string",
689
+ fieldsToAdd: [
690
+ {
691
+ key: "string",
692
+ type: CandidApi.Primitive.Boolean,
693
+ },
694
+ ],
695
+ });
696
+ ```
697
+
698
+ </dd>
699
+ </dl>
700
+ </dd>
701
+ </dl>
702
+
703
+ #### ⚙️ Parameters
704
+
705
+ <dl>
706
+ <dd>
707
+
708
+ <dl>
709
+ <dd>
710
+
711
+ **schemaId:** `CandidApi.SchemaId`
712
+
713
+ </dd>
714
+ </dl>
715
+
716
+ <dl>
717
+ <dd>
718
+
719
+ **request:** `CandidApi.customSchemas.v1.SchemaUpdate`
720
+
721
+ </dd>
722
+ </dl>
723
+
724
+ <dl>
725
+ <dd>
726
+
727
+ **requestOptions:** `V1.RequestOptions`
728
+
729
+ </dd>
730
+ </dl>
731
+ </dd>
732
+ </dl>
733
+
734
+ </dd>
735
+ </dl>
736
+ </details>
737
+
465
738
  ## Eligibility V2
466
739
 
467
740
  <details><summary><code>client.eligibility.v2.<a href="/src/api/resources/eligibility/resources/v2/client/Client.ts">submitEligibilityCheck</a>({ ...params }) -> core.APIResponse<unknown, CandidApi.eligibility.v2.submitEligibilityCheck.Error></code></summary>
@@ -1146,6 +1419,17 @@ await client.encounters.v4.create({
1146
1419
  ],
1147
1420
  },
1148
1421
  tagIds: [CandidApi.TagId("string")],
1422
+ schemaInstances: [
1423
+ {
1424
+ schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
1425
+ content: {
1426
+ provider_category: "internist",
1427
+ is_urgent_care: true,
1428
+ bmi: 24.2,
1429
+ age: 38,
1430
+ },
1431
+ },
1432
+ ],
1149
1433
  externalId: CandidApi.EncounterExternalId("string"),
1150
1434
  priorAuthorizationNumber: CandidApi.PriorAuthorizationNumber("string"),
1151
1435
  patientAuthorizedRelease: true,
@@ -1353,6 +1637,17 @@ await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0
1353
1637
  lastMenstrualPeriodDate: "2023-01-15",
1354
1638
  delayReasonCode: CandidApi.DelayReasonCode.C1,
1355
1639
  patientAuthorizedRelease: true,
1640
+ schemaInstances: [
1641
+ {
1642
+ schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
1643
+ content: {
1644
+ provider_category: "internist",
1645
+ is_urgent_care: true,
1646
+ bmi: 24.2,
1647
+ age: 38,
1648
+ },
1649
+ },
1650
+ ],
1356
1651
  });
1357
1652
  ```
1358
1653
 
@@ -5902,78 +6197,9 @@ await client.writeOffs.v1.revert(CandidApi.WriteOffId("d5e9c84f-c2b2-4bf4-b4b0-7
5902
6197
  </dl>
5903
6198
  </details>
5904
6199
 
5905
- ## ServiceFacility
5906
-
5907
- <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>
5908
- <dl>
5909
- <dd>
5910
-
5911
- #### 🔌 Usage
5912
-
5913
- <dl>
5914
- <dd>
5915
-
5916
- <dl>
5917
- <dd>
5918
-
5919
- ```typescript
5920
- await client.serviceFacility.update(CandidApi.ServiceFacilityId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
5921
- organizationName: "string",
5922
- npi: "string",
5923
- address: {
5924
- address1: "123 Main St",
5925
- address2: "Apt 1",
5926
- city: "New York",
5927
- state: CandidApi.State.Ny,
5928
- zipCode: "10001",
5929
- zipPlusFourCode: "1234",
5930
- },
5931
- });
5932
- ```
5933
-
5934
- </dd>
5935
- </dl>
5936
- </dd>
5937
- </dl>
5938
-
5939
- #### ⚙️ Parameters
6200
+ ## PreEncounter Coverages V1
5940
6201
 
5941
- <dl>
5942
- <dd>
5943
-
5944
- <dl>
5945
- <dd>
5946
-
5947
- **serviceFacilityId:** `CandidApi.ServiceFacilityId`
5948
-
5949
- </dd>
5950
- </dl>
5951
-
5952
- <dl>
5953
- <dd>
5954
-
5955
- **request:** `CandidApi.EncounterServiceFacilityUpdate`
5956
-
5957
- </dd>
5958
- </dl>
5959
-
5960
- <dl>
5961
- <dd>
5962
-
5963
- **requestOptions:** `ServiceFacility.RequestOptions`
5964
-
5965
- </dd>
5966
- </dl>
5967
- </dd>
5968
- </dl>
5969
-
5970
- </dd>
5971
- </dl>
5972
- </details>
5973
-
5974
- ## PreEncounter Coverages V1 Coverages
5975
-
5976
- <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>
6202
+ <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>
5977
6203
  <dl>
5978
6204
  <dd>
5979
6205
 
@@ -6001,17 +6227,12 @@ Creates a new Coverage. A Coverage provides the high-level identifiers and descr
6001
6227
  <dd>
6002
6228
 
6003
6229
  ```typescript
6004
- await client.preEncounter.coverages.v1.coverages.create({
6230
+ await client.preEncounter.coverages.v1.create({
6005
6231
  status: CandidApi.CoverageStatus.Active,
6006
6232
  subscriber: {
6007
- name: {
6008
- family: "string",
6009
- given: ["string"],
6010
- use: CandidApi.NameUse.Usual,
6011
- period: {},
6012
- },
6233
+ name: {},
6013
6234
  dateOfBirth: "2023-01-15",
6014
- gender: CandidApi.Gender.Female,
6235
+ gender: CandidApi.Gender.Man,
6015
6236
  },
6016
6237
  relationship: CandidApi.Relationship.Self,
6017
6238
  patient: CandidApi.PatientId("string"),
@@ -6021,11 +6242,8 @@ await client.preEncounter.coverages.v1.coverages.create({
6021
6242
  payerName: "string",
6022
6243
  groupNumber: "string",
6023
6244
  name: "string",
6024
- type: CandidApi.CoverageType.Ppo,
6025
- period: {
6026
- start: "2023-01-15",
6027
- end: "2023-01-15",
6028
- },
6245
+ type: CandidApi.NetworkType.Ppo,
6246
+ period: {},
6029
6247
  insuranceCardImageLocator: "string",
6030
6248
  },
6031
6249
  verified: true,
@@ -6053,7 +6271,7 @@ await client.preEncounter.coverages.v1.coverages.create({
6053
6271
  <dl>
6054
6272
  <dd>
6055
6273
 
6056
- **requestOptions:** `Coverages.RequestOptions`
6274
+ **requestOptions:** `V1.RequestOptions`
6057
6275
 
6058
6276
  </dd>
6059
6277
  </dl>
@@ -6064,7 +6282,7 @@ await client.preEncounter.coverages.v1.coverages.create({
6064
6282
  </dl>
6065
6283
  </details>
6066
6284
 
6067
- <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>
6285
+ <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>
6068
6286
  <dl>
6069
6287
  <dd>
6070
6288
 
@@ -6092,39 +6310,27 @@ Updates a Coverage. The path must contain the most recent version to prevent rac
6092
6310
  <dd>
6093
6311
 
6094
6312
  ```typescript
6095
- await client.preEncounter.coverages.v1.coverages.update(
6096
- CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
6097
- 1,
6098
- {
6099
- status: CandidApi.CoverageStatus.Active,
6100
- subscriber: {
6101
- name: {
6102
- family: "string",
6103
- given: ["string"],
6104
- use: CandidApi.NameUse.Usual,
6105
- period: {},
6106
- },
6107
- dateOfBirth: "2023-01-15",
6108
- gender: CandidApi.Gender.Female,
6109
- },
6110
- relationship: CandidApi.Relationship.Self,
6111
- patient: CandidApi.PatientId("string"),
6112
- insurancePlan: {
6113
- memberId: "string",
6114
- payerId: CandidApi.PayerId("string"),
6115
- payerName: "string",
6116
- groupNumber: "string",
6117
- name: "string",
6118
- type: CandidApi.CoverageType.Ppo,
6119
- period: {
6120
- start: "2023-01-15",
6121
- end: "2023-01-15",
6122
- },
6123
- insuranceCardImageLocator: "string",
6124
- },
6125
- verified: true,
6126
- }
6127
- );
6313
+ await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), "string", {
6314
+ status: CandidApi.CoverageStatus.Active,
6315
+ subscriber: {
6316
+ name: {},
6317
+ dateOfBirth: "2023-01-15",
6318
+ gender: CandidApi.Gender.Man,
6319
+ },
6320
+ relationship: CandidApi.Relationship.Self,
6321
+ patient: CandidApi.PatientId("string"),
6322
+ insurancePlan: {
6323
+ memberId: "string",
6324
+ payerId: CandidApi.PayerId("string"),
6325
+ payerName: "string",
6326
+ groupNumber: "string",
6327
+ name: "string",
6328
+ type: CandidApi.NetworkType.Ppo,
6329
+ period: {},
6330
+ insuranceCardImageLocator: "string",
6331
+ },
6332
+ verified: true,
6333
+ });
6128
6334
  ```
6129
6335
 
6130
6336
  </dd>
@@ -6148,7 +6354,7 @@ await client.preEncounter.coverages.v1.coverages.update(
6148
6354
  <dl>
6149
6355
  <dd>
6150
6356
 
6151
- **version:** `number`
6357
+ **version:** `string`
6152
6358
 
6153
6359
  </dd>
6154
6360
  </dl>
@@ -6164,7 +6370,7 @@ await client.preEncounter.coverages.v1.coverages.update(
6164
6370
  <dl>
6165
6371
  <dd>
6166
6372
 
6167
- **requestOptions:** `Coverages.RequestOptions`
6373
+ **requestOptions:** `V1.RequestOptions`
6168
6374
 
6169
6375
  </dd>
6170
6376
  </dl>
@@ -6175,7 +6381,7 @@ await client.preEncounter.coverages.v1.coverages.update(
6175
6381
  </dl>
6176
6382
  </details>
6177
6383
 
6178
- <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>
6384
+ <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>
6179
6385
  <dl>
6180
6386
  <dd>
6181
6387
 
@@ -6203,7 +6409,7 @@ gets a specific Coverage
6203
6409
  <dd>
6204
6410
 
6205
6411
  ```typescript
6206
- await client.preEncounter.coverages.v1.coverages.get(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
6412
+ await client.preEncounter.coverages.v1.get(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
6207
6413
  ```
6208
6414
 
6209
6415
  </dd>
@@ -6227,7 +6433,7 @@ await client.preEncounter.coverages.v1.coverages.get(CandidApi.CoverageId("d5e9c
6227
6433
  <dl>
6228
6434
  <dd>
6229
6435
 
6230
- **requestOptions:** `Coverages.RequestOptions`
6436
+ **requestOptions:** `V1.RequestOptions`
6231
6437
 
6232
6438
  </dd>
6233
6439
  </dl>
@@ -6238,7 +6444,7 @@ await client.preEncounter.coverages.v1.coverages.get(CandidApi.CoverageId("d5e9c
6238
6444
  </dl>
6239
6445
  </details>
6240
6446
 
6241
- <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>
6447
+ <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>
6242
6448
  <dl>
6243
6449
  <dd>
6244
6450
 
@@ -6266,9 +6472,7 @@ Gets a coverage along with it's full history. The return list is ordered by vers
6266
6472
  <dd>
6267
6473
 
6268
6474
  ```typescript
6269
- await client.preEncounter.coverages.v1.coverages.getHistory(
6270
- CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
6271
- );
6475
+ await client.preEncounter.coverages.v1.getHistory(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
6272
6476
  ```
6273
6477
 
6274
6478
  </dd>
@@ -6292,7 +6496,7 @@ await client.preEncounter.coverages.v1.coverages.getHistory(
6292
6496
  <dl>
6293
6497
  <dd>
6294
6498
 
6295
- **requestOptions:** `Coverages.RequestOptions`
6499
+ **requestOptions:** `V1.RequestOptions`
6296
6500
 
6297
6501
  </dd>
6298
6502
  </dl>
@@ -6303,7 +6507,7 @@ await client.preEncounter.coverages.v1.coverages.getHistory(
6303
6507
  </dl>
6304
6508
  </details>
6305
6509
 
6306
- <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>
6510
+ <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>
6307
6511
  <dl>
6308
6512
  <dd>
6309
6513
 
@@ -6331,7 +6535,7 @@ returns a list of Coverages based on the search criteria
6331
6535
  <dd>
6332
6536
 
6333
6537
  ```typescript
6334
- await client.preEncounter.coverages.v1.coverages.getMulti({
6538
+ await client.preEncounter.coverages.v1.getMulti({
6335
6539
  patientId: "string",
6336
6540
  });
6337
6541
  ```
@@ -6357,7 +6561,7 @@ await client.preEncounter.coverages.v1.coverages.getMulti({
6357
6561
  <dl>
6358
6562
  <dd>
6359
6563
 
6360
- **requestOptions:** `Coverages.RequestOptions`
6564
+ **requestOptions:** `V1.RequestOptions`
6361
6565
 
6362
6566
  </dd>
6363
6567
  </dl>
@@ -6368,7 +6572,7 @@ await client.preEncounter.coverages.v1.coverages.getMulti({
6368
6572
  </dl>
6369
6573
  </details>
6370
6574
 
6371
- <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>
6575
+ <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>
6372
6576
  <dl>
6373
6577
  <dd>
6374
6578
 
@@ -6396,7 +6600,7 @@ Scans up to 100 coverage updates. The since query parameter is inclusive, and th
6396
6600
  <dd>
6397
6601
 
6398
6602
  ```typescript
6399
- await client.preEncounter.coverages.v1.coverages.scan({
6603
+ await client.preEncounter.coverages.v1.scan({
6400
6604
  since: new Date("2024-01-15T09:30:00.000Z"),
6401
6605
  });
6402
6606
  ```
@@ -6422,7 +6626,7 @@ await client.preEncounter.coverages.v1.coverages.scan({
6422
6626
  <dl>
6423
6627
  <dd>
6424
6628
 
6425
- **requestOptions:** `Coverages.RequestOptions`
6629
+ **requestOptions:** `V1.RequestOptions`
6426
6630
 
6427
6631
  </dd>
6428
6632
  </dl>
@@ -6433,9 +6637,9 @@ await client.preEncounter.coverages.v1.coverages.scan({
6433
6637
  </dl>
6434
6638
  </details>
6435
6639
 
6436
- ## PreEncounter Patients V1 Patients
6640
+ ## PreEncounter Patients V1
6437
6641
 
6438
- <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>
6642
+ <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>
6439
6643
  <dl>
6440
6644
  <dd>
6441
6645
 
@@ -6463,64 +6667,26 @@ Adds a patient. VersionConflictError is returned when the patient's external ID
6463
6667
  <dd>
6464
6668
 
6465
6669
  ```typescript
6466
- await client.preEncounter.patients.v1.patients.create({
6467
- name: {
6468
- family: "string",
6469
- given: ["string"],
6470
- use: CandidApi.NameUse.Usual,
6471
- period: {},
6472
- },
6473
- otherNames: [
6474
- {
6475
- family: "string",
6476
- given: ["string"],
6477
- use: CandidApi.NameUse.Usual,
6478
- period: {},
6479
- },
6480
- ],
6481
- gender: CandidApi.Gender.Female,
6670
+ await client.preEncounter.patients.v1.create({
6671
+ name: {},
6672
+ otherNames: [{}],
6673
+ gender: CandidApi.Gender.Man,
6482
6674
  birthDate: "2023-01-15",
6675
+ socialSecurityNumber: "string",
6676
+ biologicalSex: CandidApi.Sex.Female,
6677
+ sexualOrientation: CandidApi.SexualOrientation.Heterosexual,
6678
+ race: CandidApi.Race.AmericanIndianOrAlaskaNative,
6679
+ ethnicity: CandidApi.Ethnicity.HispanicOrLatino,
6680
+ disabilityStatus: CandidApi.DisabilityStatus.Disabled,
6483
6681
  maritalStatus: CandidApi.MaritalStatus.Annulled,
6484
6682
  deceased: new Date("2024-01-15T09:30:00.000Z"),
6485
6683
  multipleBirth: 1,
6486
- primaryAddress: {
6487
- use: CandidApi.AddressUse.Home,
6488
- line: ["string"],
6489
- city: "string",
6490
- state: "string",
6491
- postalCode: "string",
6492
- country: "string",
6493
- period: {},
6494
- },
6495
- otherAddresses: [
6496
- {
6497
- use: CandidApi.AddressUse.Home,
6498
- line: ["string"],
6499
- city: "string",
6500
- state: "string",
6501
- postalCode: "string",
6502
- country: "string",
6503
- period: {},
6504
- },
6505
- ],
6506
- primaryTelecom: {
6507
- value: "string",
6508
- use: CandidApi.ContactPointUse.Home,
6509
- period: {
6510
- start: "2023-01-15",
6511
- end: "2023-01-15",
6512
- },
6513
- },
6514
- otherTelecoms: [
6515
- {
6516
- value: "string",
6517
- use: CandidApi.ContactPointUse.Home,
6518
- period: {
6519
- start: "2023-01-15",
6520
- end: "2023-01-15",
6521
- },
6522
- },
6523
- ],
6684
+ primaryAddress: {},
6685
+ otherAddresses: [{}],
6686
+ primaryTelecom: {},
6687
+ otherTelecoms: [{}],
6688
+ email: "string",
6689
+ electronicCommunicationOptIn: true,
6524
6690
  photo: "string",
6525
6691
  language: "string",
6526
6692
  externalProvenance: {
@@ -6530,75 +6696,25 @@ await client.preEncounter.patients.v1.patients.create({
6530
6696
  contacts: [
6531
6697
  {
6532
6698
  relationship: [CandidApi.Relationship.Self],
6533
- name: {
6534
- family: "string",
6535
- given: ["string"],
6536
- use: CandidApi.NameUse.Usual,
6537
- period: {},
6538
- },
6539
- gender: CandidApi.Gender.Female,
6540
- telecoms: [
6541
- {
6542
- value: "string",
6543
- use: CandidApi.ContactPointUse.Home,
6544
- period: {
6545
- start: "2023-01-15",
6546
- end: "2023-01-15",
6547
- },
6548
- },
6549
- ],
6550
- addresses: [
6551
- {
6552
- use: CandidApi.AddressUse.Home,
6553
- line: ["string"],
6554
- city: "string",
6555
- state: "string",
6556
- postalCode: "string",
6557
- country: "string",
6558
- period: {},
6559
- },
6560
- ],
6561
- period: {
6562
- start: "2023-01-15",
6563
- end: "2023-01-15",
6564
- },
6699
+ name: {},
6700
+ gender: CandidApi.Gender.Man,
6701
+ telecoms: [{}],
6702
+ addresses: [{}],
6703
+ period: {},
6565
6704
  },
6566
6705
  ],
6567
6706
  generalPractitioners: [
6568
6707
  {
6569
- name: {
6570
- family: "string",
6571
- given: ["string"],
6572
- use: CandidApi.NameUse.Usual,
6573
- period: {},
6574
- },
6575
- telecoms: [
6576
- {
6577
- value: "string",
6578
- use: CandidApi.ContactPointUse.Home,
6579
- period: {
6580
- start: "2023-01-15",
6581
- end: "2023-01-15",
6582
- },
6583
- },
6584
- ],
6585
- addresses: [
6586
- {
6587
- use: CandidApi.AddressUse.Home,
6588
- line: ["string"],
6589
- city: "string",
6590
- state: "string",
6591
- postalCode: "string",
6592
- country: "string",
6593
- period: {},
6594
- },
6595
- ],
6596
- period: {
6597
- start: "2023-01-15",
6598
- end: "2023-01-15",
6599
- },
6708
+ name: {},
6709
+ npi: "string",
6710
+ telecoms: [{}],
6711
+ addresses: [{}],
6712
+ period: {},
6600
6713
  },
6601
6714
  ],
6715
+ filingOrder: {
6716
+ coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
6717
+ },
6602
6718
  });
6603
6719
  ```
6604
6720
 
@@ -6623,7 +6739,7 @@ await client.preEncounter.patients.v1.patients.create({
6623
6739
  <dl>
6624
6740
  <dd>
6625
6741
 
6626
- **requestOptions:** `Patients.RequestOptions`
6742
+ **requestOptions:** `V1.RequestOptions`
6627
6743
 
6628
6744
  </dd>
6629
6745
  </dl>
@@ -6634,7 +6750,7 @@ await client.preEncounter.patients.v1.patients.create({
6634
6750
  </dl>
6635
6751
  </details>
6636
6752
 
6637
- <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>
6753
+ <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>
6638
6754
  <dl>
6639
6755
  <dd>
6640
6756
 
@@ -6662,7 +6778,7 @@ Gets a patient.
6662
6778
  <dd>
6663
6779
 
6664
6780
  ```typescript
6665
- await client.preEncounter.patients.v1.patients.get(CandidApi.PatientId("string"));
6781
+ await client.preEncounter.patients.v1.get(CandidApi.PatientId("string"));
6666
6782
  ```
6667
6783
 
6668
6784
  </dd>
@@ -6686,7 +6802,7 @@ await client.preEncounter.patients.v1.patients.get(CandidApi.PatientId("string")
6686
6802
  <dl>
6687
6803
  <dd>
6688
6804
 
6689
- **requestOptions:** `Patients.RequestOptions`
6805
+ **requestOptions:** `V1.RequestOptions`
6690
6806
 
6691
6807
  </dd>
6692
6808
  </dl>
@@ -6697,7 +6813,7 @@ await client.preEncounter.patients.v1.patients.get(CandidApi.PatientId("string")
6697
6813
  </dl>
6698
6814
  </details>
6699
6815
 
6700
- <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>
6816
+ <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>
6701
6817
  <dl>
6702
6818
  <dd>
6703
6819
 
@@ -6725,7 +6841,7 @@ Gets a patient along with it's full history. The return list is ordered by versi
6725
6841
  <dd>
6726
6842
 
6727
6843
  ```typescript
6728
- await client.preEncounter.patients.v1.patients.getHistory(CandidApi.PatientId("string"));
6844
+ await client.preEncounter.patients.v1.getHistory(CandidApi.PatientId("string"));
6729
6845
  ```
6730
6846
 
6731
6847
  </dd>
@@ -6749,7 +6865,7 @@ await client.preEncounter.patients.v1.patients.getHistory(CandidApi.PatientId("s
6749
6865
  <dl>
6750
6866
  <dd>
6751
6867
 
6752
- **requestOptions:** `Patients.RequestOptions`
6868
+ **requestOptions:** `V1.RequestOptions`
6753
6869
 
6754
6870
  </dd>
6755
6871
  </dl>
@@ -6760,7 +6876,7 @@ await client.preEncounter.patients.v1.patients.getHistory(CandidApi.PatientId("s
6760
6876
  </dl>
6761
6877
  </details>
6762
6878
 
6763
- <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>
6879
+ <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>
6764
6880
  <dl>
6765
6881
  <dd>
6766
6882
 
@@ -6788,64 +6904,26 @@ Updates a patient. The path must contain the most recent version to prevent race
6788
6904
  <dd>
6789
6905
 
6790
6906
  ```typescript
6791
- await client.preEncounter.patients.v1.patients.update(CandidApi.PatientId("string"), 1, {
6792
- name: {
6793
- family: "string",
6794
- given: ["string"],
6795
- use: CandidApi.NameUse.Usual,
6796
- period: {},
6797
- },
6798
- otherNames: [
6799
- {
6800
- family: "string",
6801
- given: ["string"],
6802
- use: CandidApi.NameUse.Usual,
6803
- period: {},
6804
- },
6805
- ],
6806
- gender: CandidApi.Gender.Female,
6907
+ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "string", {
6908
+ name: {},
6909
+ otherNames: [{}],
6910
+ gender: CandidApi.Gender.Man,
6807
6911
  birthDate: "2023-01-15",
6912
+ socialSecurityNumber: "string",
6913
+ biologicalSex: CandidApi.Sex.Female,
6914
+ sexualOrientation: CandidApi.SexualOrientation.Heterosexual,
6915
+ race: CandidApi.Race.AmericanIndianOrAlaskaNative,
6916
+ ethnicity: CandidApi.Ethnicity.HispanicOrLatino,
6917
+ disabilityStatus: CandidApi.DisabilityStatus.Disabled,
6808
6918
  maritalStatus: CandidApi.MaritalStatus.Annulled,
6809
6919
  deceased: new Date("2024-01-15T09:30:00.000Z"),
6810
6920
  multipleBirth: 1,
6811
- primaryAddress: {
6812
- use: CandidApi.AddressUse.Home,
6813
- line: ["string"],
6814
- city: "string",
6815
- state: "string",
6816
- postalCode: "string",
6817
- country: "string",
6818
- period: {},
6819
- },
6820
- otherAddresses: [
6821
- {
6822
- use: CandidApi.AddressUse.Home,
6823
- line: ["string"],
6824
- city: "string",
6825
- state: "string",
6826
- postalCode: "string",
6827
- country: "string",
6828
- period: {},
6829
- },
6830
- ],
6831
- primaryTelecom: {
6832
- value: "string",
6833
- use: CandidApi.ContactPointUse.Home,
6834
- period: {
6835
- start: "2023-01-15",
6836
- end: "2023-01-15",
6837
- },
6838
- },
6839
- otherTelecoms: [
6840
- {
6841
- value: "string",
6842
- use: CandidApi.ContactPointUse.Home,
6843
- period: {
6844
- start: "2023-01-15",
6845
- end: "2023-01-15",
6846
- },
6847
- },
6848
- ],
6921
+ primaryAddress: {},
6922
+ otherAddresses: [{}],
6923
+ primaryTelecom: {},
6924
+ otherTelecoms: [{}],
6925
+ email: "string",
6926
+ electronicCommunicationOptIn: true,
6849
6927
  photo: "string",
6850
6928
  language: "string",
6851
6929
  externalProvenance: {
@@ -6855,75 +6933,25 @@ await client.preEncounter.patients.v1.patients.update(CandidApi.PatientId("strin
6855
6933
  contacts: [
6856
6934
  {
6857
6935
  relationship: [CandidApi.Relationship.Self],
6858
- name: {
6859
- family: "string",
6860
- given: ["string"],
6861
- use: CandidApi.NameUse.Usual,
6862
- period: {},
6863
- },
6864
- gender: CandidApi.Gender.Female,
6865
- telecoms: [
6866
- {
6867
- value: "string",
6868
- use: CandidApi.ContactPointUse.Home,
6869
- period: {
6870
- start: "2023-01-15",
6871
- end: "2023-01-15",
6872
- },
6873
- },
6874
- ],
6875
- addresses: [
6876
- {
6877
- use: CandidApi.AddressUse.Home,
6878
- line: ["string"],
6879
- city: "string",
6880
- state: "string",
6881
- postalCode: "string",
6882
- country: "string",
6883
- period: {},
6884
- },
6885
- ],
6886
- period: {
6887
- start: "2023-01-15",
6888
- end: "2023-01-15",
6889
- },
6936
+ name: {},
6937
+ gender: CandidApi.Gender.Man,
6938
+ telecoms: [{}],
6939
+ addresses: [{}],
6940
+ period: {},
6890
6941
  },
6891
6942
  ],
6892
6943
  generalPractitioners: [
6893
6944
  {
6894
- name: {
6895
- family: "string",
6896
- given: ["string"],
6897
- use: CandidApi.NameUse.Usual,
6898
- period: {},
6899
- },
6900
- telecoms: [
6901
- {
6902
- value: "string",
6903
- use: CandidApi.ContactPointUse.Home,
6904
- period: {
6905
- start: "2023-01-15",
6906
- end: "2023-01-15",
6907
- },
6908
- },
6909
- ],
6910
- addresses: [
6911
- {
6912
- use: CandidApi.AddressUse.Home,
6913
- line: ["string"],
6914
- city: "string",
6915
- state: "string",
6916
- postalCode: "string",
6917
- country: "string",
6918
- period: {},
6919
- },
6920
- ],
6921
- period: {
6922
- start: "2023-01-15",
6923
- end: "2023-01-15",
6924
- },
6945
+ name: {},
6946
+ npi: "string",
6947
+ telecoms: [{}],
6948
+ addresses: [{}],
6949
+ period: {},
6925
6950
  },
6926
6951
  ],
6952
+ filingOrder: {
6953
+ coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
6954
+ },
6927
6955
  });
6928
6956
  ```
6929
6957
 
@@ -6948,7 +6976,7 @@ await client.preEncounter.patients.v1.patients.update(CandidApi.PatientId("strin
6948
6976
  <dl>
6949
6977
  <dd>
6950
6978
 
6951
- **version:** `number`
6979
+ **version:** `string`
6952
6980
 
6953
6981
  </dd>
6954
6982
  </dl>
@@ -6964,7 +6992,7 @@ await client.preEncounter.patients.v1.patients.update(CandidApi.PatientId("strin
6964
6992
  <dl>
6965
6993
  <dd>
6966
6994
 
6967
- **requestOptions:** `Patients.RequestOptions`
6995
+ **requestOptions:** `V1.RequestOptions`
6968
6996
 
6969
6997
  </dd>
6970
6998
  </dl>
@@ -6975,7 +7003,7 @@ await client.preEncounter.patients.v1.patients.update(CandidApi.PatientId("strin
6975
7003
  </dl>
6976
7004
  </details>
6977
7005
 
6978
- <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>
7006
+ <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>
6979
7007
  <dl>
6980
7008
  <dd>
6981
7009
 
@@ -7003,7 +7031,7 @@ Sets a patient as deactivated. The path must contain the most recent version to
7003
7031
  <dd>
7004
7032
 
7005
7033
  ```typescript
7006
- await client.preEncounter.patients.v1.patients.deactivate(CandidApi.PatientId("string"), 1);
7034
+ await client.preEncounter.patients.v1.deactivate(CandidApi.PatientId("string"), "string");
7007
7035
  ```
7008
7036
 
7009
7037
  </dd>
@@ -7027,7 +7055,7 @@ await client.preEncounter.patients.v1.patients.deactivate(CandidApi.PatientId("s
7027
7055
  <dl>
7028
7056
  <dd>
7029
7057
 
7030
- **version:** `number`
7058
+ **version:** `string`
7031
7059
 
7032
7060
  </dd>
7033
7061
  </dl>
@@ -7035,7 +7063,7 @@ await client.preEncounter.patients.v1.patients.deactivate(CandidApi.PatientId("s
7035
7063
  <dl>
7036
7064
  <dd>
7037
7065
 
7038
- **requestOptions:** `Patients.RequestOptions`
7066
+ **requestOptions:** `V1.RequestOptions`
7039
7067
 
7040
7068
  </dd>
7041
7069
  </dl>
@@ -7046,7 +7074,7 @@ await client.preEncounter.patients.v1.patients.deactivate(CandidApi.PatientId("s
7046
7074
  </dl>
7047
7075
  </details>
7048
7076
 
7049
- <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>
7077
+ <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>
7050
7078
  <dl>
7051
7079
  <dd>
7052
7080
 
@@ -7074,7 +7102,7 @@ Searches for patients that match the query parameters.
7074
7102
  <dd>
7075
7103
 
7076
7104
  ```typescript
7077
- await client.preEncounter.patients.v1.patients.search({
7105
+ await client.preEncounter.patients.v1.search({
7078
7106
  nameContains: "string",
7079
7107
  });
7080
7108
  ```
@@ -7100,7 +7128,7 @@ await client.preEncounter.patients.v1.patients.search({
7100
7128
  <dl>
7101
7129
  <dd>
7102
7130
 
7103
- **requestOptions:** `Patients.RequestOptions`
7131
+ **requestOptions:** `V1.RequestOptions`
7104
7132
 
7105
7133
  </dd>
7106
7134
  </dl>
@@ -7111,7 +7139,7 @@ await client.preEncounter.patients.v1.patients.search({
7111
7139
  </dl>
7112
7140
  </details>
7113
7141
 
7114
- <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>
7142
+ <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>
7115
7143
  <dl>
7116
7144
  <dd>
7117
7145
 
@@ -7139,7 +7167,7 @@ Scans up to 100 patient updates. The since query parameter is inclusive, and the
7139
7167
  <dd>
7140
7168
 
7141
7169
  ```typescript
7142
- await client.preEncounter.patients.v1.patients.scan({
7170
+ await client.preEncounter.patients.v1.scan({
7143
7171
  since: new Date("2024-01-15T09:30:00.000Z"),
7144
7172
  });
7145
7173
  ```
@@ -7165,7 +7193,76 @@ await client.preEncounter.patients.v1.patients.scan({
7165
7193
  <dl>
7166
7194
  <dd>
7167
7195
 
7168
- **requestOptions:** `Patients.RequestOptions`
7196
+ **requestOptions:** `V1.RequestOptions`
7197
+
7198
+ </dd>
7199
+ </dl>
7200
+ </dd>
7201
+ </dl>
7202
+
7203
+ </dd>
7204
+ </dl>
7205
+ </details>
7206
+
7207
+ ## ServiceFacility
7208
+
7209
+ <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>
7210
+ <dl>
7211
+ <dd>
7212
+
7213
+ #### 🔌 Usage
7214
+
7215
+ <dl>
7216
+ <dd>
7217
+
7218
+ <dl>
7219
+ <dd>
7220
+
7221
+ ```typescript
7222
+ await client.serviceFacility.update(CandidApi.ServiceFacilityId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
7223
+ organizationName: "string",
7224
+ npi: "string",
7225
+ address: {
7226
+ address1: "123 Main St",
7227
+ address2: "Apt 1",
7228
+ city: "New York",
7229
+ state: CandidApi.State.Ny,
7230
+ zipCode: "10001",
7231
+ zipPlusFourCode: "1234",
7232
+ },
7233
+ });
7234
+ ```
7235
+
7236
+ </dd>
7237
+ </dl>
7238
+ </dd>
7239
+ </dl>
7240
+
7241
+ #### ⚙️ Parameters
7242
+
7243
+ <dl>
7244
+ <dd>
7245
+
7246
+ <dl>
7247
+ <dd>
7248
+
7249
+ **serviceFacilityId:** `CandidApi.ServiceFacilityId`
7250
+
7251
+ </dd>
7252
+ </dl>
7253
+
7254
+ <dl>
7255
+ <dd>
7256
+
7257
+ **request:** `CandidApi.EncounterServiceFacilityUpdate`
7258
+
7259
+ </dd>
7260
+ </dl>
7261
+
7262
+ <dl>
7263
+ <dd>
7264
+
7265
+ **requestOptions:** `ServiceFacility.RequestOptions`
7169
7266
 
7170
7267
  </dd>
7171
7268
  </dl>