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
@@ -41,6 +41,7 @@ const FacilityTypeCode_1 = require("../../../../../commons/types/FacilityTypeCod
41
41
  const SubscriberCreate_1 = require("../../../../../individual/types/SubscriberCreate");
42
42
  const ServiceAuthorizationExceptionCode_1 = require("../../types/ServiceAuthorizationExceptionCode");
43
43
  const DelayReasonCode_1 = require("../../../../../commons/types/DelayReasonCode");
44
+ const SchemaInstance_1 = require("../../../../../customSchemas/resources/v1/types/SchemaInstance");
44
45
  exports.EncounterUpdate = core.serialization.object({
45
46
  priorAuthorizationNumber: core.serialization.property("prior_authorization_number", PriorAuthorizationNumber_1.PriorAuthorizationNumber.optional()),
46
47
  externalId: core.serialization.property("external_id", EncounterExternalId_1.EncounterExternalId.optional()),
@@ -68,4 +69,5 @@ exports.EncounterUpdate = core.serialization.object({
68
69
  lastMenstrualPeriodDate: core.serialization.property("last_menstrual_period_date", core.serialization.string().optional()),
69
70
  delayReasonCode: core.serialization.property("delay_reason_code", DelayReasonCode_1.DelayReasonCode.optional()),
70
71
  patientAuthorizedRelease: core.serialization.property("patient_authorized_release", core.serialization.boolean().optional()),
72
+ schemaInstances: core.serialization.property("schema_instances", core.serialization.list(SchemaInstance_1.SchemaInstance).optional()),
71
73
  });
@@ -8,9 +8,10 @@ import { EncounterExternalIdUniquenessErrorType } from "../types/EncounterExtern
8
8
  import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
9
9
  import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
10
10
  import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
11
+ import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
11
12
  export declare const Error: core.serialization.Schema<serializers.encounters.v4.update.Error.Raw, CandidApi.encounters.v4.update.Error>;
12
13
  export declare namespace Error {
13
- type Raw = Error.EncounterExternalIdUniquenessError | Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError;
14
+ type Raw = Error.EncounterExternalIdUniquenessError | Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure;
14
15
  interface EncounterExternalIdUniquenessError {
15
16
  errorName: "EncounterExternalIdUniquenessError";
16
17
  content: EncounterExternalIdUniquenessErrorType.Raw;
@@ -27,4 +28,8 @@ export declare namespace Error {
27
28
  errorName: "HttpRequestValidationsError";
28
29
  content: RequestValidationError.Raw[];
29
30
  }
31
+ interface SchemaInstanceValidationHttpFailure {
32
+ errorName: "SchemaInstanceValidationHttpFailure";
33
+ content: SchemaInstanceValidationFailure.Raw;
34
+ }
30
35
  }
@@ -44,6 +44,7 @@ const EncounterExternalIdUniquenessErrorType_1 = require("../types/EncounterExte
44
44
  const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
45
45
  const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
46
46
  const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
47
+ const SchemaInstanceValidationFailure_1 = require("../types/SchemaInstanceValidationFailure");
47
48
  exports.Error = core.serialization
48
49
  .union("errorName", {
49
50
  EncounterExternalIdUniquenessError: core.serialization.object({
@@ -58,6 +59,9 @@ exports.Error = core.serialization
58
59
  HttpRequestValidationsError: core.serialization.object({
59
60
  content: core.serialization.list(RequestValidationError_1.RequestValidationError),
60
61
  }),
62
+ SchemaInstanceValidationHttpFailure: core.serialization.object({
63
+ content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
64
+ }),
61
65
  })
62
66
  .transform({
63
67
  transform: (value) => {
@@ -70,6 +74,8 @@ exports.Error = core.serialization
70
74
  return CandidApi.encounters.v4.update.Error.unauthorizedError(value.content);
71
75
  case "HttpRequestValidationsError":
72
76
  return CandidApi.encounters.v4.update.Error.httpRequestValidationsError(value.content);
77
+ case "SchemaInstanceValidationHttpFailure":
78
+ return CandidApi.encounters.v4.update.Error.schemaInstanceValidationHttpFailure(value.content);
73
79
  }
74
80
  },
75
81
  untransform: (_a) => {
@@ -23,6 +23,7 @@ import { CodingAttributionType } from "./CodingAttributionType";
23
23
  import { WorkQueueId } from "../../../../commons/types/WorkQueueId";
24
24
  import { EncounterOwnerOfNextActionType } from "./EncounterOwnerOfNextActionType";
25
25
  import { EncounterSubmissionOriginType } from "./EncounterSubmissionOriginType";
26
+ import { SchemaInstance } from "../../../../customSchemas/resources/v1/types/SchemaInstance";
26
27
  import { EncounterBase } from "./EncounterBase";
27
28
  export declare const Encounter: core.serialization.ObjectSchema<serializers.encounters.v4.Encounter.Raw, CandidApi.encounters.v4.Encounter>;
28
29
  export declare namespace Encounter {
@@ -56,5 +57,6 @@ export declare namespace Encounter {
56
57
  work_queue_membership_activated_at?: string | null;
57
58
  owner_of_next_action: EncounterOwnerOfNextActionType.Raw;
58
59
  submission_origin: EncounterSubmissionOriginType.Raw;
60
+ schema_instances: SchemaInstance.Raw[];
59
61
  }
60
62
  }
@@ -47,6 +47,7 @@ const CodingAttributionType_1 = require("./CodingAttributionType");
47
47
  const WorkQueueId_1 = require("../../../../commons/types/WorkQueueId");
48
48
  const EncounterOwnerOfNextActionType_1 = require("./EncounterOwnerOfNextActionType");
49
49
  const EncounterSubmissionOriginType_1 = require("./EncounterSubmissionOriginType");
50
+ const SchemaInstance_1 = require("../../../../customSchemas/resources/v1/types/SchemaInstance");
50
51
  const EncounterBase_1 = require("./EncounterBase");
51
52
  exports.Encounter = core.serialization
52
53
  .object({
@@ -79,5 +80,6 @@ exports.Encounter = core.serialization
79
80
  workQueueMembershipActivatedAt: core.serialization.property("work_queue_membership_activated_at", core.serialization.date().optional()),
80
81
  ownerOfNextAction: core.serialization.property("owner_of_next_action", EncounterOwnerOfNextActionType_1.EncounterOwnerOfNextActionType),
81
82
  submissionOrigin: core.serialization.property("submission_origin", EncounterSubmissionOriginType_1.EncounterSubmissionOriginType),
83
+ schemaInstances: core.serialization.property("schema_instances", core.serialization.list(SchemaInstance_1.SchemaInstance)),
82
84
  })
83
85
  .extend(EncounterBase_1.EncounterBase);
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { SchemaId } from "../../../../commons/types/SchemaId";
8
+ export declare const KeyDoesNotExistError: core.serialization.ObjectSchema<serializers.encounters.v4.KeyDoesNotExistError.Raw, CandidApi.encounters.v4.KeyDoesNotExistError>;
9
+ export declare namespace KeyDoesNotExistError {
10
+ interface Raw {
11
+ key: string;
12
+ schema_id: SchemaId.Raw;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.KeyDoesNotExistError = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ const SchemaId_1 = require("../../../../commons/types/SchemaId");
32
+ exports.KeyDoesNotExistError = core.serialization.object({
33
+ key: core.serialization.string(),
34
+ schemaId: core.serialization.property("schema_id", SchemaId_1.SchemaId),
35
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { SchemaId } from "../../../../commons/types/SchemaId";
8
+ export declare const MultipleInstancesForSchemaError: core.serialization.ObjectSchema<serializers.encounters.v4.MultipleInstancesForSchemaError.Raw, CandidApi.encounters.v4.MultipleInstancesForSchemaError>;
9
+ export declare namespace MultipleInstancesForSchemaError {
10
+ interface Raw {
11
+ schema_id: SchemaId.Raw;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.MultipleInstancesForSchemaError = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ const SchemaId_1 = require("../../../../commons/types/SchemaId");
32
+ exports.MultipleInstancesForSchemaError = core.serialization.object({
33
+ schemaId: core.serialization.property("schema_id", SchemaId_1.SchemaId),
34
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { SchemaId } from "../../../../commons/types/SchemaId";
8
+ export declare const SchemaDoesNotExistError: core.serialization.ObjectSchema<serializers.encounters.v4.SchemaDoesNotExistError.Raw, CandidApi.encounters.v4.SchemaDoesNotExistError>;
9
+ export declare namespace SchemaDoesNotExistError {
10
+ interface Raw {
11
+ schema_id: SchemaId.Raw;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.SchemaDoesNotExistError = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ const SchemaId_1 = require("../../../../commons/types/SchemaId");
32
+ exports.SchemaDoesNotExistError = core.serialization.object({
33
+ schemaId: core.serialization.property("schema_id", SchemaId_1.SchemaId),
34
+ });
@@ -0,0 +1,30 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { MultipleInstancesForSchemaError } from "./MultipleInstancesForSchemaError";
8
+ import { ValueDoesNotMatchKeyTypeError } from "./ValueDoesNotMatchKeyTypeError";
9
+ import { KeyDoesNotExistError } from "./KeyDoesNotExistError";
10
+ import { SchemaDoesNotExistError } from "./SchemaDoesNotExistError";
11
+ import { SchemaUnauthorizedAccessError } from "./SchemaUnauthorizedAccessError";
12
+ export declare const SchemaInstanceValidationError: core.serialization.Schema<serializers.encounters.v4.SchemaInstanceValidationError.Raw, CandidApi.encounters.v4.SchemaInstanceValidationError>;
13
+ export declare namespace SchemaInstanceValidationError {
14
+ type Raw = SchemaInstanceValidationError.MultipleInstancesForSchema | SchemaInstanceValidationError.ValueDoesNotMatchKeyType | SchemaInstanceValidationError.KeyDoesNotExist | SchemaInstanceValidationError.SchemaDoesNotExist | SchemaInstanceValidationError.SchemaUnauthorizedAccess;
15
+ interface MultipleInstancesForSchema extends MultipleInstancesForSchemaError.Raw {
16
+ type: "multiple_instances_for_schema";
17
+ }
18
+ interface ValueDoesNotMatchKeyType extends ValueDoesNotMatchKeyTypeError.Raw {
19
+ type: "value_does_not_match_key_type";
20
+ }
21
+ interface KeyDoesNotExist extends KeyDoesNotExistError.Raw {
22
+ type: "key_does_not_exist";
23
+ }
24
+ interface SchemaDoesNotExist extends SchemaDoesNotExistError.Raw {
25
+ type: "schema_does_not_exist";
26
+ }
27
+ interface SchemaUnauthorizedAccess extends SchemaUnauthorizedAccessError.Raw {
28
+ type: "schema_unauthorized_access";
29
+ }
30
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.SchemaInstanceValidationError = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ const MultipleInstancesForSchemaError_1 = require("./MultipleInstancesForSchemaError");
32
+ const ValueDoesNotMatchKeyTypeError_1 = require("./ValueDoesNotMatchKeyTypeError");
33
+ const KeyDoesNotExistError_1 = require("./KeyDoesNotExistError");
34
+ const SchemaDoesNotExistError_1 = require("./SchemaDoesNotExistError");
35
+ const SchemaUnauthorizedAccessError_1 = require("./SchemaUnauthorizedAccessError");
36
+ exports.SchemaInstanceValidationError = core.serialization
37
+ .union("type", {
38
+ multiple_instances_for_schema: MultipleInstancesForSchemaError_1.MultipleInstancesForSchemaError,
39
+ value_does_not_match_key_type: ValueDoesNotMatchKeyTypeError_1.ValueDoesNotMatchKeyTypeError,
40
+ key_does_not_exist: KeyDoesNotExistError_1.KeyDoesNotExistError,
41
+ schema_does_not_exist: SchemaDoesNotExistError_1.SchemaDoesNotExistError,
42
+ schema_unauthorized_access: SchemaUnauthorizedAccessError_1.SchemaUnauthorizedAccessError,
43
+ })
44
+ .transform({
45
+ transform: (value) => value,
46
+ untransform: (value) => value,
47
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { SchemaInstanceValidationError } from "./SchemaInstanceValidationError";
8
+ export declare const SchemaInstanceValidationFailure: core.serialization.ObjectSchema<serializers.encounters.v4.SchemaInstanceValidationFailure.Raw, CandidApi.encounters.v4.SchemaInstanceValidationFailure>;
9
+ export declare namespace SchemaInstanceValidationFailure {
10
+ interface Raw {
11
+ errors: SchemaInstanceValidationError.Raw[];
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.SchemaInstanceValidationFailure = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ const SchemaInstanceValidationError_1 = require("./SchemaInstanceValidationError");
32
+ exports.SchemaInstanceValidationFailure = core.serialization.object({
33
+ errors: core.serialization.list(SchemaInstanceValidationError_1.SchemaInstanceValidationError),
34
+ });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { SchemaId } from "../../../../commons/types/SchemaId";
8
+ export declare const SchemaUnauthorizedAccessError: core.serialization.ObjectSchema<serializers.encounters.v4.SchemaUnauthorizedAccessError.Raw, CandidApi.encounters.v4.SchemaUnauthorizedAccessError>;
9
+ export declare namespace SchemaUnauthorizedAccessError {
10
+ interface Raw {
11
+ schema_id: SchemaId.Raw;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.SchemaUnauthorizedAccessError = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ const SchemaId_1 = require("../../../../commons/types/SchemaId");
32
+ exports.SchemaUnauthorizedAccessError = core.serialization.object({
33
+ schemaId: core.serialization.property("schema_id", SchemaId_1.SchemaId),
34
+ });
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { SchemaId } from "../../../../commons/types/SchemaId";
8
+ import { Primitive } from "../../../../commons/types/Primitive";
9
+ export declare const ValueDoesNotMatchKeyTypeError: core.serialization.ObjectSchema<serializers.encounters.v4.ValueDoesNotMatchKeyTypeError.Raw, CandidApi.encounters.v4.ValueDoesNotMatchKeyTypeError>;
10
+ export declare namespace ValueDoesNotMatchKeyTypeError {
11
+ interface Raw {
12
+ schema_id: SchemaId.Raw;
13
+ key: string;
14
+ expected_value_type: Primitive.Raw;
15
+ value?: unknown;
16
+ }
17
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ValueDoesNotMatchKeyTypeError = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ const SchemaId_1 = require("../../../../commons/types/SchemaId");
32
+ const Primitive_1 = require("../../../../commons/types/Primitive");
33
+ exports.ValueDoesNotMatchKeyTypeError = core.serialization.object({
34
+ schemaId: core.serialization.property("schema_id", SchemaId_1.SchemaId),
35
+ key: core.serialization.string(),
36
+ expectedValueType: core.serialization.property("expected_value_type", Primitive_1.Primitive),
37
+ value: core.serialization.unknown(),
38
+ });
@@ -32,3 +32,10 @@ export * from "./EncounterPatientControlNumberUniquenessErrorType";
32
32
  export * from "./EncounterGuarantorMissingContactInfoErrorType";
33
33
  export * from "./CashPayPayerErrorMessage";
34
34
  export * from "./ServiceAuthorizationExceptionCode";
35
+ export * from "./SchemaInstanceValidationFailure";
36
+ export * from "./KeyDoesNotExistError";
37
+ export * from "./SchemaDoesNotExistError";
38
+ export * from "./SchemaUnauthorizedAccessError";
39
+ export * from "./ValueDoesNotMatchKeyTypeError";
40
+ export * from "./MultipleInstancesForSchemaError";
41
+ export * from "./SchemaInstanceValidationError";
@@ -48,3 +48,10 @@ __exportStar(require("./EncounterPatientControlNumberUniquenessErrorType"), expo
48
48
  __exportStar(require("./EncounterGuarantorMissingContactInfoErrorType"), exports);
49
49
  __exportStar(require("./CashPayPayerErrorMessage"), exports);
50
50
  __exportStar(require("./ServiceAuthorizationExceptionCode"), exports);
51
+ __exportStar(require("./SchemaInstanceValidationFailure"), exports);
52
+ __exportStar(require("./KeyDoesNotExistError"), exports);
53
+ __exportStar(require("./SchemaDoesNotExistError"), exports);
54
+ __exportStar(require("./SchemaUnauthorizedAccessError"), exports);
55
+ __exportStar(require("./ValueDoesNotMatchKeyTypeError"), exports);
56
+ __exportStar(require("./MultipleInstancesForSchemaError"), exports);
57
+ __exportStar(require("./SchemaInstanceValidationError"), exports);
@@ -5,6 +5,7 @@ export * as auth from "./auth";
5
5
  export * as billingNotes from "./billingNotes";
6
6
  export * as claimSubmission from "./claimSubmission";
7
7
  export * as contracts from "./contracts";
8
+ export * as customSchemas from "./customSchemas";
8
9
  export * as encounterProviders from "./encounterProviders";
9
10
  export * as encounters from "./encounters";
10
11
  export * as expectedNetworkStatus from "./expectedNetworkStatus";
@@ -27,6 +28,7 @@ export * as serviceLines from "./serviceLines";
27
28
  export * as tasks from "./tasks";
28
29
  export * as writeOffs from "./writeOffs";
29
30
  export * as x12 from "./x12";
31
+ export * as preEncounter from "./preEncounter";
30
32
  export * as claims from "./claims";
31
33
  export * from "./claims/types";
32
34
  export * from "./commons/types";
@@ -49,6 +51,5 @@ export * as serviceFacility from "./serviceFacility";
49
51
  export * from "./serviceFacility/types";
50
52
  export * as tags from "./tags";
51
53
  export * from "./tags/types";
52
- export * as preEncounter from "./preEncounter";
53
54
  export * as eligibility from "./eligibility";
54
55
  export * from "./serviceFacility/client/requests";
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.eligibility = exports.preEncounter = exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.contracts = exports.claimSubmission = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
29
+ exports.eligibility = exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.contracts = exports.claimSubmission = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
30
30
  exports.feeSchedules = __importStar(require("./feeSchedules"));
31
31
  exports.commons = __importStar(require("./commons"));
32
32
  __exportStar(require("./commons/errors"), exports);
@@ -34,6 +34,7 @@ exports.auth = __importStar(require("./auth"));
34
34
  exports.billingNotes = __importStar(require("./billingNotes"));
35
35
  exports.claimSubmission = __importStar(require("./claimSubmission"));
36
36
  exports.contracts = __importStar(require("./contracts"));
37
+ exports.customSchemas = __importStar(require("./customSchemas"));
37
38
  exports.encounterProviders = __importStar(require("./encounterProviders"));
38
39
  exports.encounters = __importStar(require("./encounters"));
39
40
  exports.expectedNetworkStatus = __importStar(require("./expectedNetworkStatus"));
@@ -56,6 +57,7 @@ exports.serviceLines = __importStar(require("./serviceLines"));
56
57
  exports.tasks = __importStar(require("./tasks"));
57
58
  exports.writeOffs = __importStar(require("./writeOffs"));
58
59
  exports.x12 = __importStar(require("./x12"));
60
+ exports.preEncounter = __importStar(require("./preEncounter"));
59
61
  exports.claims = __importStar(require("./claims"));
60
62
  __exportStar(require("./claims/types"), exports);
61
63
  __exportStar(require("./commons/types"), exports);
@@ -78,6 +80,5 @@ exports.serviceFacility = __importStar(require("./serviceFacility"));
78
80
  __exportStar(require("./serviceFacility/types"), exports);
79
81
  exports.tags = __importStar(require("./tags"));
80
82
  __exportStar(require("./tags/types"), exports);
81
- exports.preEncounter = __importStar(require("./preEncounter"));
82
83
  exports.eligibility = __importStar(require("./eligibility"));
83
84
  __exportStar(require("./serviceFacility/client/requests"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const DisabilityStatus: core.serialization.Schema<serializers.preEncounter.DisabilityStatus.Raw, CandidApi.preEncounter.DisabilityStatus>;
8
+ export declare namespace DisabilityStatus {
9
+ type Raw = "DISABLED" | "NON_DISABLED";
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.DisabilityStatus = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.DisabilityStatus = core.serialization.enum_(["DISABLED", "NON_DISABLED"]);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const Ethnicity: core.serialization.Schema<serializers.preEncounter.Ethnicity.Raw, CandidApi.preEncounter.Ethnicity>;
8
+ export declare namespace Ethnicity {
9
+ type Raw = "HISPANIC_OR_LATINO" | "NOT_HISPANIC_OR_LATINO" | "UNKNOWN" | "REFUSED";
10
+ }