candidhealth 1.12.1 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (586) hide show
  1. package/Client.d.ts +3 -3
  2. package/Client.js +53 -53
  3. package/api/resources/commons/types/ProcedureModifier.d.ts +3 -0
  4. package/api/resources/commons/types/ProcedureModifier.js +3 -0
  5. package/api/resources/commons/types/index.d.ts +2 -0
  6. package/api/resources/commons/types/index.js +2 -0
  7. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +12 -1
  8. package/api/resources/encounterAttachments/resources/v1/client/Client.js +64 -1
  9. package/api/resources/encounterAttachments/resources/v1/client/createWithDescription.d.ts +19 -0
  10. package/api/resources/encounterAttachments/resources/v1/client/createWithDescription.js +55 -0
  11. package/api/resources/encounterAttachments/resources/v1/client/index.d.ts +1 -0
  12. package/api/resources/encounterAttachments/resources/v1/client/index.js +2 -1
  13. package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentV2Request.d.ts +5 -0
  14. package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentV2Request.js +3 -0
  15. package/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
  16. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +2 -0
  17. package/api/resources/encounterSupplementalInformation/client/Client.d.ts +14 -0
  18. package/api/resources/encounterSupplementalInformation/client/Client.js +15 -0
  19. package/api/resources/encounterSupplementalInformation/client/index.d.ts +1 -0
  20. package/api/resources/encounterSupplementalInformation/client/index.js +2 -0
  21. package/api/resources/encounterSupplementalInformation/index.d.ts +2 -0
  22. package/api/resources/encounterSupplementalInformation/index.js +18 -0
  23. package/api/resources/encounterSupplementalInformation/resources/index.d.ts +1 -0
  24. package/{dist/api/resources/serviceFacility/client → api/resources/encounterSupplementalInformation/resources}/index.js +2 -2
  25. package/api/resources/encounterSupplementalInformation/resources/v1/client/Client.d.ts +59 -0
  26. package/api/resources/encounterSupplementalInformation/resources/v1/client/Client.js +328 -0
  27. package/api/resources/encounterSupplementalInformation/resources/v1/client/create.d.ts +25 -0
  28. package/api/resources/encounterSupplementalInformation/resources/v1/client/create.js +66 -0
  29. package/api/resources/encounterSupplementalInformation/resources/v1/client/delete.d.ts +25 -0
  30. package/api/resources/encounterSupplementalInformation/resources/v1/client/delete.js +66 -0
  31. package/api/resources/encounterSupplementalInformation/resources/v1/client/get.d.ts +19 -0
  32. package/api/resources/{serviceFacility/client/update.js → encounterSupplementalInformation/resources/v1/client/get.js} +2 -2
  33. package/api/resources/encounterSupplementalInformation/resources/v1/client/index.d.ts +4 -0
  34. package/api/resources/encounterSupplementalInformation/resources/v1/client/index.js +40 -0
  35. package/api/resources/encounterSupplementalInformation/resources/v1/client/update.d.ts +25 -0
  36. package/api/resources/encounterSupplementalInformation/resources/v1/client/update.js +66 -0
  37. package/api/resources/encounterSupplementalInformation/resources/v1/index.d.ts +2 -0
  38. package/api/resources/encounterSupplementalInformation/resources/v1/index.js +18 -0
  39. package/api/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.d.ts +6 -0
  40. package/api/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.js +9 -0
  41. package/api/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.d.ts +8 -0
  42. package/api/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.js +3 -0
  43. package/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.d.ts +10 -0
  44. package/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.js +3 -0
  45. package/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.d.ts +5 -0
  46. package/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.js +7 -0
  47. package/api/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.d.ts +8 -0
  48. package/api/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.js +3 -0
  49. package/api/resources/encounterSupplementalInformation/resources/v1/types/index.d.ts +5 -0
  50. package/api/resources/encounterSupplementalInformation/resources/v1/types/index.js +21 -0
  51. package/api/resources/encounters/resources/v4/client/Client.d.ts +97 -0
  52. package/api/resources/encounters/resources/v4/client/Client.js +312 -0
  53. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +67 -0
  54. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +143 -0
  55. package/api/resources/encounters/resources/v4/client/createUniversal.d.ts +91 -0
  56. package/api/resources/encounters/resources/v4/client/createUniversal.js +187 -0
  57. package/api/resources/encounters/resources/v4/client/index.d.ts +3 -0
  58. package/api/resources/encounters/resources/v4/client/index.js +4 -1
  59. package/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +67 -0
  60. package/api/resources/encounters/resources/v4/client/updateUniversal.js +143 -0
  61. package/api/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +2 -2
  62. package/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +2 -2
  63. package/api/resources/encounters/resources/v4/types/index.d.ts +0 -2
  64. package/api/resources/encounters/resources/v4/types/index.js +0 -2
  65. package/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +46 -0
  66. package/api/resources/encountersUniversal/types/UniversalEncounterCreate.js +3 -0
  67. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +44 -0
  68. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +3 -0
  69. package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +36 -0
  70. package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.js +3 -0
  71. package/api/resources/encountersUniversal/types/index.d.ts +3 -0
  72. package/api/resources/encountersUniversal/types/index.js +3 -0
  73. package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +8 -0
  74. package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +3 -0
  75. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +8 -0
  76. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +3 -0
  77. package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +8 -0
  78. package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +3 -0
  79. package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +9 -0
  80. package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +3 -0
  81. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +27 -0
  82. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +3 -0
  83. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +15 -0
  84. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +3 -0
  85. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +9 -0
  86. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +3 -0
  87. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +9 -0
  88. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +3 -0
  89. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +15 -0
  90. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +3 -0
  91. package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +8 -0
  92. package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +3 -0
  93. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +9 -0
  94. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +3 -0
  95. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +15 -0
  96. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +3 -0
  97. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +8 -0
  98. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +3 -0
  99. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +9 -0
  100. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +3 -0
  101. package/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  102. package/api/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  103. package/api/resources/index.d.ts +2 -0
  104. package/api/resources/index.js +4 -2
  105. package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +2 -0
  106. package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +2 -0
  107. package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +2 -0
  108. package/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -1
  109. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -2
  110. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +6 -3
  111. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.d.ts +1 -0
  112. package/api/resources/serviceFacility/index.d.ts +0 -1
  113. package/api/resources/serviceFacility/index.js +0 -1
  114. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +8 -0
  115. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +3 -0
  116. package/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  117. package/api/resources/serviceLines/resources/v2/types/index.js +1 -0
  118. package/api/resources/users/index.d.ts +1 -0
  119. package/api/resources/users/index.js +17 -0
  120. package/api/resources/users/resources/index.d.ts +1 -0
  121. package/api/resources/{serviceFacility/client → users/resources}/index.js +2 -2
  122. package/api/resources/users/resources/v2/index.d.ts +1 -0
  123. package/api/resources/users/resources/v2/index.js +17 -0
  124. package/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +9 -0
  125. package/api/resources/users/resources/v2/types/AuthZeroMetadata.js +3 -0
  126. package/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +3 -0
  127. package/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +3 -0
  128. package/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +13 -0
  129. package/api/resources/users/resources/v2/types/HumanUserMetadata.js +3 -0
  130. package/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +20 -0
  131. package/api/resources/users/resources/v2/types/IdpUserMetadata.js +3 -0
  132. package/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +3 -0
  133. package/api/resources/users/resources/v2/types/MachineUserMetadata.js +3 -0
  134. package/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +3 -0
  135. package/api/resources/users/resources/v2/types/OtherIdpMetadata.js +3 -0
  136. package/api/resources/users/resources/v2/types/UserMetadata.d.ts +19 -0
  137. package/api/resources/users/resources/v2/types/UserMetadata.js +3 -0
  138. package/api/resources/users/resources/v2/types/UserV2.d.ts +24 -0
  139. package/api/resources/users/resources/v2/types/UserV2.js +3 -0
  140. package/api/resources/users/resources/v2/types/index.d.ts +8 -0
  141. package/api/resources/users/resources/v2/types/index.js +24 -0
  142. package/api/resources/x12/resources/v1/types/Carc.d.ts +1 -0
  143. package/api/resources/x12/resources/v1/types/Carc.js +1 -0
  144. package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +27 -0
  145. package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +3 -0
  146. package/api/resources/x12/resources/v1/types/index.d.ts +1 -0
  147. package/api/resources/x12/resources/v1/types/index.js +1 -0
  148. package/dist/Client.d.ts +3 -3
  149. package/dist/Client.js +53 -53
  150. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +3 -0
  151. package/dist/api/resources/commons/types/ProcedureModifier.js +3 -0
  152. package/dist/api/resources/commons/types/index.d.ts +2 -0
  153. package/dist/api/resources/commons/types/index.js +2 -0
  154. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +12 -1
  155. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +64 -1
  156. package/dist/api/resources/encounterAttachments/resources/v1/client/createWithDescription.d.ts +19 -0
  157. package/dist/api/resources/encounterAttachments/resources/v1/client/createWithDescription.js +55 -0
  158. package/dist/api/resources/encounterAttachments/resources/v1/client/index.d.ts +1 -0
  159. package/dist/api/resources/encounterAttachments/resources/v1/client/index.js +2 -1
  160. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentV2Request.d.ts +5 -0
  161. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentV2Request.js +3 -0
  162. package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
  163. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +2 -0
  164. package/dist/api/resources/encounterSupplementalInformation/client/Client.d.ts +14 -0
  165. package/dist/api/resources/encounterSupplementalInformation/client/Client.js +15 -0
  166. package/dist/api/resources/encounterSupplementalInformation/client/index.d.ts +1 -0
  167. package/dist/api/resources/encounterSupplementalInformation/client/index.js +2 -0
  168. package/dist/api/resources/encounterSupplementalInformation/index.d.ts +2 -0
  169. package/dist/api/resources/encounterSupplementalInformation/index.js +18 -0
  170. package/dist/api/resources/encounterSupplementalInformation/resources/index.d.ts +1 -0
  171. package/dist/api/resources/encounterSupplementalInformation/resources/index.js +37 -0
  172. package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/Client.d.ts +59 -0
  173. package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/Client.js +328 -0
  174. package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/create.d.ts +25 -0
  175. package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/create.js +66 -0
  176. package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/delete.d.ts +25 -0
  177. package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/delete.js +66 -0
  178. package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/get.d.ts +19 -0
  179. package/dist/api/resources/{serviceFacility/client/update.js → encounterSupplementalInformation/resources/v1/client/get.js} +2 -2
  180. package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/index.d.ts +4 -0
  181. package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/index.js +40 -0
  182. package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/update.d.ts +25 -0
  183. package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/update.js +66 -0
  184. package/dist/api/resources/encounterSupplementalInformation/resources/v1/index.d.ts +2 -0
  185. package/dist/api/resources/encounterSupplementalInformation/resources/v1/index.js +18 -0
  186. package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.d.ts +6 -0
  187. package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.js +9 -0
  188. package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.d.ts +8 -0
  189. package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.js +3 -0
  190. package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.d.ts +10 -0
  191. package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.js +3 -0
  192. package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.d.ts +5 -0
  193. package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.js +7 -0
  194. package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.d.ts +8 -0
  195. package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.js +3 -0
  196. package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/index.d.ts +5 -0
  197. package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/index.js +21 -0
  198. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +97 -0
  199. package/dist/api/resources/encounters/resources/v4/client/Client.js +312 -0
  200. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +67 -0
  201. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +143 -0
  202. package/dist/api/resources/encounters/resources/v4/client/createUniversal.d.ts +91 -0
  203. package/dist/api/resources/encounters/resources/v4/client/createUniversal.js +187 -0
  204. package/dist/api/resources/encounters/resources/v4/client/index.d.ts +3 -0
  205. package/dist/api/resources/encounters/resources/v4/client/index.js +4 -1
  206. package/dist/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +67 -0
  207. package/dist/api/resources/encounters/resources/v4/client/updateUniversal.js +143 -0
  208. package/dist/api/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +2 -2
  209. package/dist/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +2 -2
  210. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +0 -2
  211. package/dist/api/resources/encounters/resources/v4/types/index.js +0 -2
  212. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +46 -0
  213. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.js +3 -0
  214. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +44 -0
  215. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +3 -0
  216. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +36 -0
  217. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.js +3 -0
  218. package/dist/api/resources/encountersUniversal/types/index.d.ts +3 -0
  219. package/dist/api/resources/encountersUniversal/types/index.js +3 -0
  220. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +8 -0
  221. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +3 -0
  222. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +8 -0
  223. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +3 -0
  224. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +8 -0
  225. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +3 -0
  226. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +9 -0
  227. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +3 -0
  228. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +27 -0
  229. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +3 -0
  230. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +15 -0
  231. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +3 -0
  232. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +9 -0
  233. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +3 -0
  234. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +9 -0
  235. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +3 -0
  236. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +15 -0
  237. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +3 -0
  238. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +8 -0
  239. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +3 -0
  240. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +9 -0
  241. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +3 -0
  242. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +15 -0
  243. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +3 -0
  244. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +8 -0
  245. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +3 -0
  246. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +9 -0
  247. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +3 -0
  248. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  249. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  250. package/dist/api/resources/index.d.ts +2 -0
  251. package/dist/api/resources/index.js +4 -2
  252. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +2 -0
  253. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +2 -0
  254. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +2 -0
  255. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -1
  256. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -2
  257. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +6 -3
  258. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.d.ts +1 -0
  259. package/dist/api/resources/serviceFacility/index.d.ts +0 -1
  260. package/dist/api/resources/serviceFacility/index.js +0 -1
  261. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +8 -0
  262. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +3 -0
  263. package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  264. package/dist/api/resources/serviceLines/resources/v2/types/index.js +1 -0
  265. package/dist/api/resources/users/index.d.ts +1 -0
  266. package/dist/api/resources/users/index.js +17 -0
  267. package/dist/api/resources/users/resources/index.d.ts +1 -0
  268. package/dist/api/resources/users/resources/index.js +37 -0
  269. package/dist/api/resources/users/resources/v2/index.d.ts +1 -0
  270. package/dist/api/resources/users/resources/v2/index.js +17 -0
  271. package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +9 -0
  272. package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.js +3 -0
  273. package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +3 -0
  274. package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +3 -0
  275. package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +13 -0
  276. package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.js +3 -0
  277. package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +20 -0
  278. package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.js +3 -0
  279. package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +3 -0
  280. package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.js +3 -0
  281. package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +3 -0
  282. package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.js +3 -0
  283. package/dist/api/resources/users/resources/v2/types/UserMetadata.d.ts +19 -0
  284. package/dist/api/resources/users/resources/v2/types/UserMetadata.js +3 -0
  285. package/dist/api/resources/users/resources/v2/types/UserV2.d.ts +24 -0
  286. package/dist/api/resources/users/resources/v2/types/UserV2.js +3 -0
  287. package/dist/api/resources/users/resources/v2/types/index.d.ts +8 -0
  288. package/dist/api/resources/users/resources/v2/types/index.js +24 -0
  289. package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +1 -0
  290. package/dist/api/resources/x12/resources/v1/types/Carc.js +1 -0
  291. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +27 -0
  292. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +3 -0
  293. package/dist/api/resources/x12/resources/v1/types/index.d.ts +1 -0
  294. package/dist/api/resources/x12/resources/v1/types/index.js +1 -0
  295. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  296. package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  297. package/dist/serialization/resources/commons/types/ReportTransmissionCode.d.ts +7 -0
  298. package/dist/serialization/resources/{encounters/resources/v4 → commons}/types/ReportTransmissionCode.js +1 -1
  299. package/{serialization/resources/encounters/resources/v4 → dist/serialization/resources/commons}/types/ReportTypeCode.d.ts +4 -4
  300. package/{serialization/resources/encounters/resources/v4 → dist/serialization/resources/commons}/types/ReportTypeCode.js +1 -1
  301. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  302. package/dist/serialization/resources/commons/types/index.js +2 -0
  303. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +3 -0
  304. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +3 -0
  305. package/dist/serialization/resources/encounterSupplementalInformation/index.d.ts +1 -0
  306. package/dist/serialization/resources/encounterSupplementalInformation/index.js +17 -0
  307. package/dist/serialization/resources/encounterSupplementalInformation/resources/index.d.ts +1 -0
  308. package/dist/serialization/resources/encounterSupplementalInformation/resources/index.js +37 -0
  309. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/create.d.ts +12 -0
  310. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/create.js +69 -0
  311. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/delete.d.ts +12 -0
  312. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/delete.js +69 -0
  313. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/get.d.ts +8 -0
  314. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/get.js +40 -0
  315. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/index.d.ts +4 -0
  316. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/index.js +40 -0
  317. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/update.d.ts +12 -0
  318. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/update.js +69 -0
  319. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/index.d.ts +2 -0
  320. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/index.js +18 -0
  321. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.d.ts +7 -0
  322. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.js +39 -0
  323. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.d.ts +17 -0
  324. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.js +49 -0
  325. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.d.ts +21 -0
  326. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.js +53 -0
  327. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.d.ts +7 -0
  328. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.js +43 -0
  329. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.d.ts +17 -0
  330. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.js +49 -0
  331. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/index.d.ts +5 -0
  332. package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/index.js +21 -0
  333. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +46 -0
  334. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +110 -0
  335. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +66 -0
  336. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.js +134 -0
  337. package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +3 -0
  338. package/dist/serialization/resources/encounters/resources/v4/client/index.js +4 -1
  339. package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +47 -0
  340. package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.js +111 -0
  341. package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +2 -2
  342. package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.js +2 -2
  343. package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +2 -2
  344. package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +2 -2
  345. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -2
  346. package/dist/serialization/resources/encounters/resources/v4/types/index.js +0 -2
  347. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +36 -0
  348. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +70 -0
  349. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +34 -0
  350. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +68 -0
  351. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +29 -0
  352. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +63 -0
  353. package/dist/serialization/resources/encountersUniversal/types/index.d.ts +3 -0
  354. package/dist/serialization/resources/encountersUniversal/types/index.js +3 -0
  355. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +13 -0
  356. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +47 -0
  357. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +13 -0
  358. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +47 -0
  359. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +13 -0
  360. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +47 -0
  361. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +15 -0
  362. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +49 -0
  363. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +34 -0
  364. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +66 -0
  365. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +15 -0
  366. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +49 -0
  367. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +15 -0
  368. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +49 -0
  369. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +15 -0
  370. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +49 -0
  371. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +15 -0
  372. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +49 -0
  373. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +13 -0
  374. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +47 -0
  375. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +15 -0
  376. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +49 -0
  377. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +15 -0
  378. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +49 -0
  379. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +13 -0
  380. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +47 -0
  381. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +15 -0
  382. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +49 -0
  383. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  384. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  385. package/dist/serialization/resources/index.d.ts +2 -0
  386. package/dist/serialization/resources/index.js +4 -2
  387. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +1 -0
  388. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +1 -0
  389. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +1 -0
  390. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +1 -0
  391. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +1 -0
  392. package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +1 -0
  393. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +2 -2
  394. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +2 -2
  395. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +12 -0
  396. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +46 -0
  397. package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  398. package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
  399. package/dist/serialization/resources/users/index.d.ts +1 -0
  400. package/dist/serialization/resources/users/index.js +17 -0
  401. package/dist/serialization/resources/users/resources/index.d.ts +1 -0
  402. package/dist/serialization/resources/users/resources/index.js +37 -0
  403. package/dist/serialization/resources/users/resources/v2/index.d.ts +1 -0
  404. package/dist/serialization/resources/users/resources/v2/index.js +17 -0
  405. package/dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +9 -0
  406. package/dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js +41 -0
  407. package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +9 -0
  408. package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +41 -0
  409. package/dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +11 -0
  410. package/dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.js +43 -0
  411. package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +19 -0
  412. package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +51 -0
  413. package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +9 -0
  414. package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.js +41 -0
  415. package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +9 -0
  416. package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +41 -0
  417. package/dist/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +15 -0
  418. package/dist/serialization/resources/users/resources/v2/types/UserMetadata.js +49 -0
  419. package/dist/serialization/resources/users/resources/v2/types/UserV2.d.ts +16 -0
  420. package/dist/serialization/resources/users/resources/v2/types/UserV2.js +48 -0
  421. package/dist/serialization/resources/users/resources/v2/types/index.d.ts +8 -0
  422. package/dist/serialization/resources/users/resources/v2/types/index.js +24 -0
  423. package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
  424. package/dist/serialization/resources/x12/resources/v1/types/Carc.js +1 -0
  425. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +15 -0
  426. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +50 -0
  427. package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +1 -0
  428. package/dist/serialization/resources/x12/resources/v1/types/index.js +1 -0
  429. package/dist/version.d.ts +1 -1
  430. package/dist/version.js +1 -1
  431. package/package.json +1 -1
  432. package/reference.md +471 -60
  433. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  434. package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  435. package/serialization/resources/commons/types/ReportTransmissionCode.d.ts +7 -0
  436. package/serialization/resources/{encounters/resources/v4 → commons}/types/ReportTransmissionCode.js +1 -1
  437. package/{dist/serialization/resources/encounters/resources/v4 → serialization/resources/commons}/types/ReportTypeCode.d.ts +4 -4
  438. package/{dist/serialization/resources/encounters/resources/v4 → serialization/resources/commons}/types/ReportTypeCode.js +1 -1
  439. package/serialization/resources/commons/types/index.d.ts +2 -0
  440. package/serialization/resources/commons/types/index.js +2 -0
  441. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +3 -0
  442. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +3 -0
  443. package/serialization/resources/encounterSupplementalInformation/index.d.ts +1 -0
  444. package/serialization/resources/encounterSupplementalInformation/index.js +17 -0
  445. package/serialization/resources/encounterSupplementalInformation/resources/index.d.ts +1 -0
  446. package/serialization/resources/encounterSupplementalInformation/resources/index.js +37 -0
  447. package/serialization/resources/encounterSupplementalInformation/resources/v1/client/create.d.ts +12 -0
  448. package/serialization/resources/encounterSupplementalInformation/resources/v1/client/create.js +69 -0
  449. package/serialization/resources/encounterSupplementalInformation/resources/v1/client/delete.d.ts +12 -0
  450. package/serialization/resources/encounterSupplementalInformation/resources/v1/client/delete.js +69 -0
  451. package/serialization/resources/encounterSupplementalInformation/resources/v1/client/get.d.ts +8 -0
  452. package/serialization/resources/encounterSupplementalInformation/resources/v1/client/get.js +40 -0
  453. package/serialization/resources/encounterSupplementalInformation/resources/v1/client/index.d.ts +4 -0
  454. package/serialization/resources/encounterSupplementalInformation/resources/v1/client/index.js +40 -0
  455. package/serialization/resources/encounterSupplementalInformation/resources/v1/client/update.d.ts +12 -0
  456. package/serialization/resources/encounterSupplementalInformation/resources/v1/client/update.js +69 -0
  457. package/serialization/resources/encounterSupplementalInformation/resources/v1/index.d.ts +2 -0
  458. package/serialization/resources/encounterSupplementalInformation/resources/v1/index.js +18 -0
  459. package/serialization/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.d.ts +7 -0
  460. package/serialization/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.js +39 -0
  461. package/serialization/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.d.ts +17 -0
  462. package/serialization/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.js +49 -0
  463. package/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.d.ts +21 -0
  464. package/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.js +53 -0
  465. package/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.d.ts +7 -0
  466. package/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.js +43 -0
  467. package/serialization/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.d.ts +17 -0
  468. package/serialization/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.js +49 -0
  469. package/serialization/resources/encounterSupplementalInformation/resources/v1/types/index.d.ts +5 -0
  470. package/serialization/resources/encounterSupplementalInformation/resources/v1/types/index.js +21 -0
  471. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +46 -0
  472. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +110 -0
  473. package/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +66 -0
  474. package/serialization/resources/encounters/resources/v4/client/createUniversal.js +134 -0
  475. package/serialization/resources/encounters/resources/v4/client/index.d.ts +3 -0
  476. package/serialization/resources/encounters/resources/v4/client/index.js +4 -1
  477. package/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +47 -0
  478. package/serialization/resources/encounters/resources/v4/client/updateUniversal.js +111 -0
  479. package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +2 -2
  480. package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.js +2 -2
  481. package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +2 -2
  482. package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +2 -2
  483. package/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -2
  484. package/serialization/resources/encounters/resources/v4/types/index.js +0 -2
  485. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +36 -0
  486. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +70 -0
  487. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +34 -0
  488. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +68 -0
  489. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +29 -0
  490. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +63 -0
  491. package/serialization/resources/encountersUniversal/types/index.d.ts +3 -0
  492. package/serialization/resources/encountersUniversal/types/index.js +3 -0
  493. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +13 -0
  494. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +47 -0
  495. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +13 -0
  496. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +47 -0
  497. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +13 -0
  498. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +47 -0
  499. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +15 -0
  500. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +49 -0
  501. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +34 -0
  502. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +66 -0
  503. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +15 -0
  504. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +49 -0
  505. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +15 -0
  506. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +49 -0
  507. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +15 -0
  508. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +49 -0
  509. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +15 -0
  510. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +49 -0
  511. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +13 -0
  512. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +47 -0
  513. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +15 -0
  514. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +49 -0
  515. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +15 -0
  516. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +49 -0
  517. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +13 -0
  518. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +47 -0
  519. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +15 -0
  520. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +49 -0
  521. package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  522. package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  523. package/serialization/resources/index.d.ts +2 -0
  524. package/serialization/resources/index.js +4 -2
  525. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +1 -0
  526. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +1 -0
  527. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +1 -0
  528. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +1 -0
  529. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +1 -0
  530. package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +1 -0
  531. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +2 -2
  532. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +2 -2
  533. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +12 -0
  534. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +46 -0
  535. package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  536. package/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
  537. package/serialization/resources/users/index.d.ts +1 -0
  538. package/serialization/resources/users/index.js +17 -0
  539. package/serialization/resources/users/resources/index.d.ts +1 -0
  540. package/serialization/resources/users/resources/index.js +37 -0
  541. package/serialization/resources/users/resources/v2/index.d.ts +1 -0
  542. package/serialization/resources/users/resources/v2/index.js +17 -0
  543. package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +9 -0
  544. package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js +41 -0
  545. package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +9 -0
  546. package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +41 -0
  547. package/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +11 -0
  548. package/serialization/resources/users/resources/v2/types/HumanUserMetadata.js +43 -0
  549. package/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +19 -0
  550. package/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +51 -0
  551. package/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +9 -0
  552. package/serialization/resources/users/resources/v2/types/MachineUserMetadata.js +41 -0
  553. package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +9 -0
  554. package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +41 -0
  555. package/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +15 -0
  556. package/serialization/resources/users/resources/v2/types/UserMetadata.js +49 -0
  557. package/serialization/resources/users/resources/v2/types/UserV2.d.ts +16 -0
  558. package/serialization/resources/users/resources/v2/types/UserV2.js +48 -0
  559. package/serialization/resources/users/resources/v2/types/index.d.ts +8 -0
  560. package/serialization/resources/users/resources/v2/types/index.js +24 -0
  561. package/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
  562. package/serialization/resources/x12/resources/v1/types/Carc.js +1 -0
  563. package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +15 -0
  564. package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +50 -0
  565. package/serialization/resources/x12/resources/v1/types/index.d.ts +1 -0
  566. package/serialization/resources/x12/resources/v1/types/index.js +1 -0
  567. package/version.d.ts +1 -1
  568. package/version.js +1 -1
  569. package/api/resources/serviceFacility/client/Client.d.ts +0 -25
  570. package/api/resources/serviceFacility/client/Client.js +0 -119
  571. package/api/resources/serviceFacility/client/index.d.ts +0 -1
  572. package/api/resources/serviceFacility/client/update.d.ts +0 -19
  573. package/dist/api/resources/serviceFacility/client/Client.d.ts +0 -25
  574. package/dist/api/resources/serviceFacility/client/Client.js +0 -119
  575. package/dist/api/resources/serviceFacility/client/index.d.ts +0 -1
  576. package/dist/api/resources/serviceFacility/client/update.d.ts +0 -19
  577. package/dist/serialization/resources/encounters/resources/v4/types/ReportTransmissionCode.d.ts +0 -7
  578. package/serialization/resources/encounters/resources/v4/types/ReportTransmissionCode.d.ts +0 -7
  579. /package/api/resources/{encounters/resources/v4 → commons}/types/ReportTransmissionCode.d.ts +0 -0
  580. /package/api/resources/{encounters/resources/v4 → commons}/types/ReportTransmissionCode.js +0 -0
  581. /package/api/resources/{encounters/resources/v4 → commons}/types/ReportTypeCode.d.ts +0 -0
  582. /package/api/resources/{encounters/resources/v4 → commons}/types/ReportTypeCode.js +0 -0
  583. /package/dist/api/resources/{encounters/resources/v4 → commons}/types/ReportTransmissionCode.d.ts +0 -0
  584. /package/dist/api/resources/{encounters/resources/v4 → commons}/types/ReportTransmissionCode.js +0 -0
  585. /package/dist/api/resources/{encounters/resources/v4 → commons}/types/ReportTypeCode.d.ts +0 -0
  586. /package/dist/api/resources/{encounters/resources/v4 → commons}/types/ReportTypeCode.js +0 -0
@@ -7,6 +7,7 @@ export * from "./RemittanceAdviceRemarkCode";
7
7
  export * from "./TypeOfAdmissionOrVisitCode";
8
8
  export * from "./TypeOfBillComposite";
9
9
  export * from "./TypeOfBillCompositeBase";
10
+ export * from "./TypeOfBillCompositeUpdate";
10
11
  export * from "./TypeOfBillFrequencyCode";
11
12
  export * from "./TypeOfCareCode";
12
13
  export * from "./TypeOfFacilityCode";
@@ -23,6 +23,7 @@ __exportStar(require("./RemittanceAdviceRemarkCode"), exports);
23
23
  __exportStar(require("./TypeOfAdmissionOrVisitCode"), exports);
24
24
  __exportStar(require("./TypeOfBillComposite"), exports);
25
25
  __exportStar(require("./TypeOfBillCompositeBase"), exports);
26
+ __exportStar(require("./TypeOfBillCompositeUpdate"), exports);
26
27
  __exportStar(require("./TypeOfBillFrequencyCode"), exports);
27
28
  __exportStar(require("./TypeOfCareCode"), exports);
28
29
  __exportStar(require("./TypeOfFacilityCode"), exports);
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  export declare const ProcedureModifier: core.serialization.Schema<serializers.ProcedureModifier.Raw, CandidApi.ProcedureModifier>;
5
5
  export declare namespace ProcedureModifier {
6
- type Raw = "AV" | "AU" | "AW" | "07" | "08" | "09" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "32" | "33" | "47" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "62" | "63" | "66" | "74" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "90" | "91" | "92" | "93" | "95" | "96" | "97" | "99" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "A7" | "A8" | "A9" | "AA" | "AB" | "AD" | "AE" | "AF" | "AG" | "AH" | "AI" | "AJ" | "AK" | "AM" | "AO" | "AP" | "AQ" | "AR" | "AS" | "AT" | "AZ" | "BA" | "BL" | "BO" | "BP" | "BR" | "BU" | "CA" | "CB" | "CC" | "CD" | "CE" | "CF" | "CG" | "CH" | "CI" | "CJ" | "CK" | "CL" | "CM" | "CN" | "CR" | "CS" | "CT" | "CO" | "CQ" | "DA" | "E1" | "E2" | "E3" | "E4" | "EA" | "EB" | "EC" | "ED" | "EE" | "EJ" | "EM" | "EP" | "ER" | "ET" | "EX" | "EY" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "FA" | "FB" | "FC" | "FP" | "FQ" | "FR" | "FS" | "FT" | "FX" | "FY" | "G0" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9" | "GA" | "GB" | "GC" | "GE" | "GF" | "GG" | "GH" | "GJ" | "GK" | "GL" | "GM" | "GN" | "GO" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GV" | "GW" | "GX" | "GY" | "GZ" | "HA" | "HB" | "HC" | "HD" | "HE" | "HF" | "HG" | "HH" | "HI" | "HJ" | "HK" | "HL" | "HM" | "HN" | "HO" | "HP" | "HQ" | "HR" | "HS" | "HT" | "HU" | "HV" | "HW" | "HX" | "HY" | "HZ" | "J1" | "J2" | "J3" | "J4" | "J5" | "JA" | "JB" | "JC" | "JD" | "JE" | "JG" | "JW" | "JZ" | "K0" | "K1" | "K2" | "K3" | "K4" | "KA" | "KB" | "KC" | "KD" | "KE" | "KF" | "KG" | "KH" | "KI" | "KJ" | "KK" | "KL" | "KM" | "KN" | "KO" | "KP" | "KQ" | "KR" | "KS" | "KT" | "KU" | "KV" | "KW" | "KX" | "KY" | "KZ" | "LC" | "LD" | "LL" | "LM" | "LR" | "LS" | "LT" | "LU" | "M2" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MS" | "N1" | "N2" | "N3" | "NB" | "NR" | "NU" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "PA" | "PB" | "PC" | "PD" | "PI" | "PL" | "PM" | "PN" | "PO" | "PS" | "PT" | "Q0" | "Q1" | "Q2" | "Q3" | "Q4" | "Q5" | "Q6" | "Q7" | "Q8" | "Q9" | "QA" | "QB" | "QC" | "QD" | "QE" | "QF" | "QG" | "QH" | "QJ" | "QK" | "QL" | "QM" | "QN" | "QP" | "QQ" | "QR" | "QS" | "QT" | "QW" | "QX" | "QY" | "QZ" | "RA" | "RB" | "RC" | "RD" | "RE" | "RI" | "RR" | "RT" | "SA" | "SB" | "SC" | "SD" | "SE" | "SF" | "SG" | "SH" | "SJ" | "SL" | "SM" | "SN" | "SQ" | "SS" | "ST" | "SU" | "SV" | "SW" | "SY" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "TA" | "TB" | "TC" | "TD" | "TE" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TP" | "TQ" | "TR" | "TS" | "TT" | "TU" | "TV" | "TW" | "U1" | "U2" | "U3" | "U4" | "U5" | "U6" | "U7" | "U8" | "U9" | "UA" | "UB" | "UC" | "UD" | "UE" | "UF" | "UG" | "UH" | "UJ" | "UK" | "UN" | "UP" | "UQ" | "UR" | "US" | "V1" | "V2" | "V3" | "W1" | "W2" | "W3" | "X4" | "XE" | "XP" | "XS" | "XU" | "XY";
6
+ type Raw = "AV" | "AU" | "AW" | "07" | "08" | "09" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "32" | "33" | "47" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "62" | "63" | "66" | "74" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "90" | "91" | "92" | "93" | "95" | "96" | "97" | "99" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "A7" | "A8" | "A9" | "AA" | "AB" | "AD" | "AE" | "AF" | "AG" | "AH" | "AI" | "AJ" | "AK" | "AM" | "AO" | "AP" | "AQ" | "AR" | "AS" | "AT" | "AZ" | "BA" | "BL" | "BO" | "BP" | "BR" | "BU" | "CA" | "CB" | "CC" | "CD" | "CE" | "CF" | "CG" | "CH" | "CI" | "CJ" | "CK" | "CL" | "CM" | "CN" | "CR" | "CS" | "CT" | "CO" | "CQ" | "DA" | "E1" | "E2" | "E3" | "E4" | "EA" | "EB" | "EC" | "ED" | "EE" | "EJ" | "EM" | "EP" | "ER" | "ET" | "EV" | "EX" | "EY" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "FA" | "FB" | "FC" | "FP" | "FQ" | "FR" | "FS" | "FT" | "FX" | "FY" | "G0" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9" | "GA" | "GB" | "GC" | "GE" | "GF" | "GG" | "GH" | "GJ" | "GK" | "GL" | "GM" | "GN" | "GO" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GV" | "GW" | "GX" | "GY" | "GZ" | "HA" | "HB" | "HC" | "HD" | "HE" | "HF" | "HG" | "HH" | "HI" | "HJ" | "HK" | "HL" | "HM" | "HN" | "HO" | "HP" | "HQ" | "HR" | "HS" | "HT" | "HU" | "HV" | "HW" | "HX" | "HY" | "HZ" | "J1" | "J2" | "J3" | "J4" | "J5" | "JA" | "JB" | "JC" | "JD" | "JE" | "JG" | "JW" | "JZ" | "K0" | "K1" | "K2" | "K3" | "K4" | "KA" | "KB" | "KC" | "KD" | "KE" | "KF" | "KG" | "KH" | "KI" | "KJ" | "KK" | "KL" | "KM" | "KN" | "KO" | "KP" | "KQ" | "KR" | "KS" | "KT" | "KU" | "KV" | "KW" | "KX" | "KY" | "KZ" | "LC" | "LD" | "LL" | "LM" | "LR" | "LS" | "LT" | "LU" | "M2" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MS" | "N1" | "N2" | "N3" | "NB" | "NR" | "NU" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "PA" | "PB" | "PC" | "PD" | "PI" | "PL" | "PM" | "PN" | "PO" | "PS" | "PT" | "Q0" | "Q1" | "Q2" | "Q3" | "Q4" | "Q5" | "Q6" | "Q7" | "Q8" | "Q9" | "QA" | "QB" | "QC" | "QD" | "QE" | "QF" | "QG" | "QH" | "QJ" | "QK" | "QL" | "QM" | "QN" | "QP" | "QQ" | "QR" | "QS" | "QT" | "QW" | "QX" | "QY" | "QZ" | "RA" | "RB" | "RC" | "RD" | "RE" | "RI" | "RR" | "RT" | "SA" | "SB" | "SC" | "SD" | "SE" | "SF" | "SG" | "SH" | "SJ" | "SL" | "SM" | "SN" | "SQ" | "SS" | "ST" | "SU" | "SV" | "SW" | "SY" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "TA" | "TB" | "TC" | "TD" | "TE" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TP" | "TQ" | "TR" | "TS" | "TT" | "TU" | "TV" | "TW" | "U1" | "U2" | "U3" | "U4" | "U5" | "U6" | "U7" | "U8" | "U9" | "UA" | "UB" | "UC" | "UD" | "UE" | "UF" | "UG" | "UH" | "UJ" | "UK" | "UN" | "UP" | "UQ" | "UR" | "US" | "V1" | "V2" | "V3" | "W1" | "W2" | "W3" | "X4" | "XE" | "XP" | "XS" | "XU" | "XY";
7
7
  }
@@ -156,6 +156,7 @@ exports.ProcedureModifier = core.serialization.enum_([
156
156
  "EP",
157
157
  "ER",
158
158
  "ET",
159
+ "EV",
159
160
  "EX",
160
161
  "EY",
161
162
  "F1",
@@ -0,0 +1,7 @@
1
+ import type * as CandidApi from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ export declare const ReportTransmissionCode: core.serialization.Schema<serializers.ReportTransmissionCode.Raw, CandidApi.ReportTransmissionCode>;
5
+ export declare namespace ReportTransmissionCode {
6
+ type Raw = "BM" | "EL" | "FX";
7
+ }
@@ -35,5 +35,5 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.ReportTransmissionCode = void 0;
38
- const core = __importStar(require("../../../../../../core"));
38
+ const core = __importStar(require("../../../../core"));
39
39
  exports.ReportTransmissionCode = core.serialization.enum_(["BM", "EL", "FX"]);
@@ -1,7 +1,7 @@
1
- import type * as CandidApi from "../../../../../../api/index";
2
- import * as core from "../../../../../../core";
3
- import type * as serializers from "../../../../../index";
4
- export declare const ReportTypeCode: core.serialization.Schema<serializers.encounters.v4.ReportTypeCode.Raw, CandidApi.encounters.v4.ReportTypeCode>;
1
+ import type * as CandidApi from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ export declare const ReportTypeCode: core.serialization.Schema<serializers.ReportTypeCode.Raw, CandidApi.ReportTypeCode>;
5
5
  export declare namespace ReportTypeCode {
6
6
  type Raw = "03" | "04" | "05" | "06" | "07" | "08" | "09" | "10" | "11" | "13" | "15" | "21" | "A3" | "A4" | "AM" | "AS" | "B2" | "B3" | "B4" | "BR" | "BS" | "BT" | "CB" | "CK" | "CT" | "D2" | "DA" | "DB" | "DG" | "DJ" | "DS" | "EB" | "HC" | "HR" | "I5" | "IR" | "LA" | "M1" | "MT" | "NN" | "OB" | "OC" | "OD" | "OE" | "OX" | "OZ" | "P4" | "P5" | "PE" | "PN" | "PO" | "PQ" | "PY" | "PZ" | "RB" | "RR" | "RT" | "RX" | "SG" | "V5" | "XP";
7
7
  }
@@ -35,7 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.ReportTypeCode = void 0;
38
- const core = __importStar(require("../../../../../../core"));
38
+ const core = __importStar(require("../../../../core"));
39
39
  exports.ReportTypeCode = core.serialization.enum_([
40
40
  "03",
41
41
  "04",
@@ -51,6 +51,8 @@ export * from "./RegionNational";
51
51
  export * from "./RegionStates";
52
52
  export * from "./Regions";
53
53
  export * from "./RemovableDateRangeOptionalEnd";
54
+ export * from "./ReportTransmissionCode";
55
+ export * from "./ReportTypeCode";
54
56
  export * from "./RequestValidationError";
55
57
  export * from "./ResourcePage";
56
58
  export * from "./SchemaId";
@@ -67,6 +67,8 @@ __exportStar(require("./RegionNational"), exports);
67
67
  __exportStar(require("./RegionStates"), exports);
68
68
  __exportStar(require("./Regions"), exports);
69
69
  __exportStar(require("./RemovableDateRangeOptionalEnd"), exports);
70
+ __exportStar(require("./ReportTransmissionCode"), exports);
71
+ __exportStar(require("./ReportTypeCode"), exports);
70
72
  __exportStar(require("./RequestValidationError"), exports);
71
73
  __exportStar(require("./ResourcePage"), exports);
72
74
  __exportStar(require("./SchemaId"), exports);
@@ -2,6 +2,7 @@ import type * as CandidApi from "../../../../../../api/index";
2
2
  import * as core from "../../../../../../core";
3
3
  import type * as serializers from "../../../../../index";
4
4
  import { EncounterId } from "../../../../commons/types/EncounterId";
5
+ import { UserV2 } from "../../../../users/resources/v2/types/UserV2";
5
6
  import { BaseAttachment } from "./BaseAttachment";
6
7
  import { EncounterAttachmentType } from "./EncounterAttachmentType";
7
8
  export declare const EncounterAttachment: core.serialization.ObjectSchema<serializers.encounterAttachments.v1.EncounterAttachment.Raw, CandidApi.encounterAttachments.v1.EncounterAttachment>;
@@ -9,5 +10,7 @@ export declare namespace EncounterAttachment {
9
10
  interface Raw extends BaseAttachment.Raw {
10
11
  encounter_id: EncounterId.Raw;
11
12
  attachment_type: EncounterAttachmentType.Raw;
13
+ created_at: string;
14
+ created_by: UserV2.Raw;
12
15
  }
13
16
  }
@@ -37,11 +37,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.EncounterAttachment = void 0;
38
38
  const core = __importStar(require("../../../../../../core"));
39
39
  const EncounterId_1 = require("../../../../commons/types/EncounterId");
40
+ const UserV2_1 = require("../../../../users/resources/v2/types/UserV2");
40
41
  const BaseAttachment_1 = require("./BaseAttachment");
41
42
  const EncounterAttachmentType_1 = require("./EncounterAttachmentType");
42
43
  exports.EncounterAttachment = core.serialization
43
44
  .object({
44
45
  encounterId: core.serialization.property("encounter_id", EncounterId_1.EncounterId),
45
46
  attachmentType: core.serialization.property("attachment_type", EncounterAttachmentType_1.EncounterAttachmentType),
47
+ createdAt: core.serialization.property("created_at", core.serialization.date()),
48
+ createdBy: core.serialization.property("created_by", UserV2_1.UserV2),
46
49
  })
47
50
  .extend(BaseAttachment_1.BaseAttachment);
@@ -0,0 +1 @@
1
+ export * from "./resources";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./resources"), exports);
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.v1 = void 0;
37
+ exports.v1 = __importStar(require("./v1"));
@@ -0,0 +1,12 @@
1
+ import * as CandidApi from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
5
+ export declare const Error: core.serialization.Schema<serializers.encounterSupplementalInformation.v1.create.Error.Raw, CandidApi.encounterSupplementalInformation.v1.create.Error>;
6
+ export declare namespace Error {
7
+ type Raw = Error.EntityNotFoundError;
8
+ interface EntityNotFoundError {
9
+ errorName: "EntityNotFoundError";
10
+ content: EntityNotFoundErrorMessage.Raw;
11
+ }
12
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __rest = (this && this.__rest) || function (s, e) {
37
+ var t = {};
38
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
39
+ t[p] = s[p];
40
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
41
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
42
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
43
+ t[p[i]] = s[p[i]];
44
+ }
45
+ return t;
46
+ };
47
+ Object.defineProperty(exports, "__esModule", { value: true });
48
+ exports.Error = void 0;
49
+ const CandidApi = __importStar(require("../../../../../../api/index"));
50
+ const core = __importStar(require("../../../../../../core"));
51
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
52
+ exports.Error = core.serialization
53
+ .union("errorName", {
54
+ EntityNotFoundError: core.serialization.object({
55
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
56
+ }),
57
+ })
58
+ .transform({
59
+ transform: (value) => {
60
+ switch (value.errorName) {
61
+ case "EntityNotFoundError":
62
+ return CandidApi.encounterSupplementalInformation.v1.create.Error.entityNotFoundError(value.content);
63
+ }
64
+ },
65
+ untransform: (_a) => {
66
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
67
+ return value;
68
+ },
69
+ });
@@ -0,0 +1,12 @@
1
+ import * as CandidApi from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
5
+ export declare const Error: core.serialization.Schema<serializers.encounterSupplementalInformation.v1.delete.Error.Raw, CandidApi.encounterSupplementalInformation.v1.delete.Error>;
6
+ export declare namespace Error {
7
+ type Raw = Error.EntityNotFoundError;
8
+ interface EntityNotFoundError {
9
+ errorName: "EntityNotFoundError";
10
+ content: EntityNotFoundErrorMessage.Raw;
11
+ }
12
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __rest = (this && this.__rest) || function (s, e) {
37
+ var t = {};
38
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
39
+ t[p] = s[p];
40
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
41
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
42
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
43
+ t[p[i]] = s[p[i]];
44
+ }
45
+ return t;
46
+ };
47
+ Object.defineProperty(exports, "__esModule", { value: true });
48
+ exports.Error = void 0;
49
+ const CandidApi = __importStar(require("../../../../../../api/index"));
50
+ const core = __importStar(require("../../../../../../core"));
51
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
52
+ exports.Error = core.serialization
53
+ .union("errorName", {
54
+ EntityNotFoundError: core.serialization.object({
55
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
56
+ }),
57
+ })
58
+ .transform({
59
+ transform: (value) => {
60
+ switch (value.errorName) {
61
+ case "EntityNotFoundError":
62
+ return CandidApi.encounterSupplementalInformation.v1.delete.Error.entityNotFoundError(value.content);
63
+ }
64
+ },
65
+ untransform: (_a) => {
66
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
67
+ return value;
68
+ },
69
+ });
@@ -0,0 +1,8 @@
1
+ import type * as CandidApi from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ import { SupplementalInformation } from "../types/SupplementalInformation";
5
+ export declare const Response: core.serialization.Schema<serializers.encounterSupplementalInformation.v1.get.Response.Raw, CandidApi.encounterSupplementalInformation.v1.SupplementalInformation[]>;
6
+ export declare namespace Response {
7
+ type Raw = SupplementalInformation.Raw[];
8
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.Response = void 0;
38
+ const core = __importStar(require("../../../../../../core"));
39
+ const SupplementalInformation_1 = require("../types/SupplementalInformation");
40
+ exports.Response = core.serialization.list(SupplementalInformation_1.SupplementalInformation);
@@ -0,0 +1,4 @@
1
+ export * as create from "./create";
2
+ export * as delete from "./delete";
3
+ export * as get from "./get";
4
+ export * as update from "./update";
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.update = exports.get = exports.delete = exports.create = void 0;
37
+ exports.create = __importStar(require("./create"));
38
+ exports.delete = __importStar(require("./delete"));
39
+ exports.get = __importStar(require("./get"));
40
+ exports.update = __importStar(require("./update"));
@@ -0,0 +1,12 @@
1
+ import * as CandidApi from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
5
+ export declare const Error: core.serialization.Schema<serializers.encounterSupplementalInformation.v1.update.Error.Raw, CandidApi.encounterSupplementalInformation.v1.update.Error>;
6
+ export declare namespace Error {
7
+ type Raw = Error.EntityNotFoundError;
8
+ interface EntityNotFoundError {
9
+ errorName: "EntityNotFoundError";
10
+ content: EntityNotFoundErrorMessage.Raw;
11
+ }
12
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __rest = (this && this.__rest) || function (s, e) {
37
+ var t = {};
38
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
39
+ t[p] = s[p];
40
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
41
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
42
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
43
+ t[p[i]] = s[p[i]];
44
+ }
45
+ return t;
46
+ };
47
+ Object.defineProperty(exports, "__esModule", { value: true });
48
+ exports.Error = void 0;
49
+ const CandidApi = __importStar(require("../../../../../../api/index"));
50
+ const core = __importStar(require("../../../../../../core"));
51
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
52
+ exports.Error = core.serialization
53
+ .union("errorName", {
54
+ EntityNotFoundError: core.serialization.object({
55
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
56
+ }),
57
+ })
58
+ .transform({
59
+ transform: (value) => {
60
+ switch (value.errorName) {
61
+ case "EntityNotFoundError":
62
+ return CandidApi.encounterSupplementalInformation.v1.update.Error.entityNotFoundError(value.content);
63
+ }
64
+ },
65
+ untransform: (_a) => {
66
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
67
+ return value;
68
+ },
69
+ });
@@ -0,0 +1,2 @@
1
+ export * from "./client";
2
+ export * from "./types";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
18
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,7 @@
1
+ import type * as CandidApi from "../../../../../../api/index";
2
+ import * as core from "../../../../../../core";
3
+ import type * as serializers from "../../../../../index";
4
+ export declare const AttachmentInclusion: core.serialization.Schema<serializers.encounterSupplementalInformation.v1.AttachmentInclusion.Raw, CandidApi.encounterSupplementalInformation.v1.AttachmentInclusion>;
5
+ export declare namespace AttachmentInclusion {
6
+ type Raw = "not_included" | "included_on_next_submission" | "included_on_all_submissions";
7
+ }