candidhealth 1.13.0 → 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 (250) hide show
  1. package/Client.d.ts +0 -3
  2. package/Client.js +10 -15
  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/encounters/resources/v4/client/Client.d.ts +97 -0
  6. package/api/resources/encounters/resources/v4/client/Client.js +312 -0
  7. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +67 -0
  8. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +143 -0
  9. package/api/resources/encounters/resources/v4/client/createUniversal.d.ts +91 -0
  10. package/api/resources/encounters/resources/v4/client/createUniversal.js +187 -0
  11. package/api/resources/encounters/resources/v4/client/index.d.ts +3 -0
  12. package/api/resources/encounters/resources/v4/client/index.js +4 -1
  13. package/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +67 -0
  14. package/api/resources/encounters/resources/v4/client/updateUniversal.js +143 -0
  15. package/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +46 -0
  16. package/api/resources/encountersUniversal/types/UniversalEncounterCreate.js +3 -0
  17. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +44 -0
  18. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +3 -0
  19. package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +36 -0
  20. package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.js +3 -0
  21. package/api/resources/encountersUniversal/types/index.d.ts +3 -0
  22. package/api/resources/encountersUniversal/types/index.js +3 -0
  23. package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +8 -0
  24. package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +3 -0
  25. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +8 -0
  26. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +3 -0
  27. package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +8 -0
  28. package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +3 -0
  29. package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +9 -0
  30. package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +3 -0
  31. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +27 -0
  32. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +3 -0
  33. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +15 -0
  34. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +3 -0
  35. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +9 -0
  36. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +3 -0
  37. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +9 -0
  38. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +3 -0
  39. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +15 -0
  40. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +3 -0
  41. package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +8 -0
  42. package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +3 -0
  43. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +9 -0
  44. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +3 -0
  45. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +15 -0
  46. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +3 -0
  47. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +8 -0
  48. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +3 -0
  49. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +9 -0
  50. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +3 -0
  51. package/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  52. package/api/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  53. package/api/resources/serviceFacility/index.d.ts +0 -1
  54. package/api/resources/serviceFacility/index.js +0 -1
  55. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +8 -0
  56. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +3 -0
  57. package/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  58. package/api/resources/serviceLines/resources/v2/types/index.js +1 -0
  59. package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +27 -0
  60. package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +3 -0
  61. package/api/resources/x12/resources/v1/types/index.d.ts +1 -0
  62. package/api/resources/x12/resources/v1/types/index.js +1 -0
  63. package/dist/Client.d.ts +0 -3
  64. package/dist/Client.js +10 -15
  65. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +3 -0
  66. package/dist/api/resources/commons/types/ProcedureModifier.js +3 -0
  67. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +97 -0
  68. package/dist/api/resources/encounters/resources/v4/client/Client.js +312 -0
  69. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +67 -0
  70. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +143 -0
  71. package/dist/api/resources/encounters/resources/v4/client/createUniversal.d.ts +91 -0
  72. package/dist/api/resources/encounters/resources/v4/client/createUniversal.js +187 -0
  73. package/dist/api/resources/encounters/resources/v4/client/index.d.ts +3 -0
  74. package/dist/api/resources/encounters/resources/v4/client/index.js +4 -1
  75. package/dist/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +67 -0
  76. package/dist/api/resources/encounters/resources/v4/client/updateUniversal.js +143 -0
  77. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +46 -0
  78. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.js +3 -0
  79. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +44 -0
  80. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +3 -0
  81. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +36 -0
  82. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.js +3 -0
  83. package/dist/api/resources/encountersUniversal/types/index.d.ts +3 -0
  84. package/dist/api/resources/encountersUniversal/types/index.js +3 -0
  85. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +8 -0
  86. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +3 -0
  87. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +8 -0
  88. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +3 -0
  89. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +8 -0
  90. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +3 -0
  91. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +9 -0
  92. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +3 -0
  93. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +27 -0
  94. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +3 -0
  95. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +15 -0
  96. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +3 -0
  97. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +9 -0
  98. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +3 -0
  99. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +9 -0
  100. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +3 -0
  101. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +15 -0
  102. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +3 -0
  103. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +8 -0
  104. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +3 -0
  105. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +9 -0
  106. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +3 -0
  107. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +15 -0
  108. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +3 -0
  109. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +8 -0
  110. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +3 -0
  111. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +9 -0
  112. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +3 -0
  113. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  114. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  115. package/dist/api/resources/serviceFacility/index.d.ts +0 -1
  116. package/dist/api/resources/serviceFacility/index.js +0 -1
  117. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +8 -0
  118. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +3 -0
  119. package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  120. package/dist/api/resources/serviceLines/resources/v2/types/index.js +1 -0
  121. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +27 -0
  122. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +3 -0
  123. package/dist/api/resources/x12/resources/v1/types/index.d.ts +1 -0
  124. package/dist/api/resources/x12/resources/v1/types/index.js +1 -0
  125. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  126. package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  127. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +46 -0
  128. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +110 -0
  129. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +66 -0
  130. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.js +134 -0
  131. package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +3 -0
  132. package/dist/serialization/resources/encounters/resources/v4/client/index.js +4 -1
  133. package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +47 -0
  134. package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.js +111 -0
  135. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +36 -0
  136. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +70 -0
  137. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +34 -0
  138. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +68 -0
  139. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +29 -0
  140. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +63 -0
  141. package/dist/serialization/resources/encountersUniversal/types/index.d.ts +3 -0
  142. package/dist/serialization/resources/encountersUniversal/types/index.js +3 -0
  143. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +13 -0
  144. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +47 -0
  145. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +13 -0
  146. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +47 -0
  147. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +13 -0
  148. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +47 -0
  149. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +15 -0
  150. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +49 -0
  151. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +34 -0
  152. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +66 -0
  153. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +15 -0
  154. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +49 -0
  155. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +15 -0
  156. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +49 -0
  157. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +15 -0
  158. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +49 -0
  159. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +15 -0
  160. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +49 -0
  161. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +13 -0
  162. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +47 -0
  163. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +15 -0
  164. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +49 -0
  165. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +15 -0
  166. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +49 -0
  167. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +13 -0
  168. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +47 -0
  169. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +15 -0
  170. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +49 -0
  171. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  172. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  173. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +12 -0
  174. package/dist/{api/resources/serviceFacility/client/index.js → serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js} +11 -2
  175. package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  176. package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
  177. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +15 -0
  178. package/{api/resources/serviceFacility/client/update.js → dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js} +14 -19
  179. package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +1 -0
  180. package/dist/serialization/resources/x12/resources/v1/types/index.js +1 -0
  181. package/dist/version.d.ts +1 -1
  182. package/dist/version.js +1 -1
  183. package/package.json +1 -1
  184. package/reference.md +236 -58
  185. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  186. package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  187. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +46 -0
  188. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +110 -0
  189. package/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +66 -0
  190. package/serialization/resources/encounters/resources/v4/client/createUniversal.js +134 -0
  191. package/serialization/resources/encounters/resources/v4/client/index.d.ts +3 -0
  192. package/serialization/resources/encounters/resources/v4/client/index.js +4 -1
  193. package/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +47 -0
  194. package/serialization/resources/encounters/resources/v4/client/updateUniversal.js +111 -0
  195. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +36 -0
  196. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +70 -0
  197. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +34 -0
  198. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +68 -0
  199. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +29 -0
  200. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +63 -0
  201. package/serialization/resources/encountersUniversal/types/index.d.ts +3 -0
  202. package/serialization/resources/encountersUniversal/types/index.js +3 -0
  203. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +13 -0
  204. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +47 -0
  205. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +13 -0
  206. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +47 -0
  207. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +13 -0
  208. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +47 -0
  209. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +15 -0
  210. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +49 -0
  211. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +34 -0
  212. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +66 -0
  213. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +15 -0
  214. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +49 -0
  215. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +15 -0
  216. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +49 -0
  217. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +15 -0
  218. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +49 -0
  219. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +15 -0
  220. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +49 -0
  221. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +13 -0
  222. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +47 -0
  223. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +15 -0
  224. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +49 -0
  225. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +15 -0
  226. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +49 -0
  227. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +13 -0
  228. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +47 -0
  229. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +15 -0
  230. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +49 -0
  231. package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  232. package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  233. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +12 -0
  234. package/{api/resources/serviceFacility/client/index.js → serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js} +11 -2
  235. package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  236. package/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
  237. package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +15 -0
  238. package/{dist/api/resources/serviceFacility/client/update.js → serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js} +14 -19
  239. package/serialization/resources/x12/resources/v1/types/index.d.ts +1 -0
  240. package/serialization/resources/x12/resources/v1/types/index.js +1 -0
  241. package/version.d.ts +1 -1
  242. package/version.js +1 -1
  243. package/api/resources/serviceFacility/client/Client.d.ts +0 -25
  244. package/api/resources/serviceFacility/client/Client.js +0 -119
  245. package/api/resources/serviceFacility/client/index.d.ts +0 -1
  246. package/api/resources/serviceFacility/client/update.d.ts +0 -19
  247. package/dist/api/resources/serviceFacility/client/Client.d.ts +0 -25
  248. package/dist/api/resources/serviceFacility/client/Client.js +0 -119
  249. package/dist/api/resources/serviceFacility/client/index.d.ts +0 -1
  250. package/dist/api/resources/serviceFacility/client/update.d.ts +0 -19
@@ -16,15 +16,20 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AdmittingDiagnosis"), exports);
18
18
  __exportStar(require("./AdmittingDiagnosisCodeQualifier"), exports);
19
+ __exportStar(require("./AdmittingDiagnosisNew"), exports);
19
20
  __exportStar(require("./ConditionCode"), exports);
20
21
  __exportStar(require("./ConditionInformation"), exports);
21
22
  __exportStar(require("./ConditionInformationCodeQualifier"), exports);
23
+ __exportStar(require("./ConditionInformationNew"), exports);
22
24
  __exportStar(require("./D8Date"), exports);
23
25
  __exportStar(require("./DiagnosisRelatedGroup"), exports);
24
26
  __exportStar(require("./DiagnosisRelatedGroupCodeQualifier"), exports);
27
+ __exportStar(require("./DiagnosisRelatedGroupNew"), exports);
25
28
  __exportStar(require("./ExternalCauseOfInjury"), exports);
26
29
  __exportStar(require("./ExternalCauseOfInjuryCodeQualifier"), exports);
30
+ __exportStar(require("./ExternalCauseOfInjuryNew"), exports);
27
31
  __exportStar(require("./HealthCareCodeInformation"), exports);
32
+ __exportStar(require("./HealthCareCodeInformationCreate"), exports);
28
33
  __exportStar(require("./HealthCareCodeInformationGetAllResponse"), exports);
29
34
  __exportStar(require("./HealthCareCodeInformationNew"), exports);
30
35
  __exportStar(require("./HealthCareCodeInformationUpdate"), exports);
@@ -33,20 +38,27 @@ __exportStar(require("./MsdrgCode"), exports);
33
38
  __exportStar(require("./OccurrenceCode"), exports);
34
39
  __exportStar(require("./OccurrenceInformation"), exports);
35
40
  __exportStar(require("./OccurrenceInformationCodeQualifier"), exports);
41
+ __exportStar(require("./OccurrenceInformationNew"), exports);
36
42
  __exportStar(require("./OccurrenceSpanCode"), exports);
37
43
  __exportStar(require("./OccurrenceSpanCodeQualifier"), exports);
38
44
  __exportStar(require("./OccurrenceSpanInformation"), exports);
45
+ __exportStar(require("./OccurrenceSpanInformationNew"), exports);
39
46
  __exportStar(require("./OtherDiagnosisInformation"), exports);
40
47
  __exportStar(require("./OtherDiagnosisInformationCodeQualifier"), exports);
48
+ __exportStar(require("./OtherDiagnosisInformationNew"), exports);
41
49
  __exportStar(require("./OtherProcedureInformation"), exports);
42
50
  __exportStar(require("./OtherProcedureInformationCodeQualifier"), exports);
51
+ __exportStar(require("./OtherProcedureInformationNew"), exports);
43
52
  __exportStar(require("./PatientReasonForVisit"), exports);
44
53
  __exportStar(require("./PatientReasonForVisitCodeQualifier"), exports);
54
+ __exportStar(require("./PatientReasonForVisitNew"), exports);
45
55
  __exportStar(require("./PresentOnAdmissionIndicatorCode"), exports);
46
56
  __exportStar(require("./PrincipalDiagnosis"), exports);
47
57
  __exportStar(require("./PrincipalDiagnosisCodeQualifier"), exports);
58
+ __exportStar(require("./PrincipalDiagnosisNew"), exports);
48
59
  __exportStar(require("./PrincipalProcedureInformation"), exports);
49
60
  __exportStar(require("./PrincipalProcedureInformationCodeQualifier"), exports);
61
+ __exportStar(require("./PrincipalProcedureInformationNew"), exports);
50
62
  __exportStar(require("./Rd8Date"), exports);
51
63
  __exportStar(require("./SetOrClearAdmittingDiagnosis"), exports);
52
64
  __exportStar(require("./SetOrClearDiagnosisRelatedGroup"), exports);
@@ -54,7 +66,9 @@ __exportStar(require("./SetOrClearPrincipalDiagnosis"), exports);
54
66
  __exportStar(require("./SetOrClearPrincipalProcedureInformation"), exports);
55
67
  __exportStar(require("./TreatmentCode"), exports);
56
68
  __exportStar(require("./TreatmentCodeInformation"), exports);
69
+ __exportStar(require("./TreatmentCodeInformationNew"), exports);
57
70
  __exportStar(require("./TreatmentCodeQualifier"), exports);
58
71
  __exportStar(require("./ValueCode"), exports);
59
72
  __exportStar(require("./ValueCodeQualifier"), exports);
60
73
  __exportStar(require("./ValueInformation"), exports);
74
+ __exportStar(require("./ValueInformationNew"), exports);
@@ -1,2 +1 @@
1
- export * from "./client";
2
1
  export * from "./types";
@@ -14,5 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./client"), exports);
18
17
  __exportStar(require("./types"), exports);
@@ -0,0 +1,8 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ export interface UniversalServiceLineCreate extends CandidApi.serviceLines.v2.ServiceLineCreateBaseBase {
3
+ /** Indices (zero-indexed) of all the diagnoses this service line references */
4
+ diagnosisPointers?: number[];
5
+ /** A 4 digit code that specifies facility department or type of service arrangement for institutional service line items (837i). This code is not required for professional claim billing (837p). */
6
+ revenueCode?: string;
7
+ procedureCode?: string;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -19,5 +19,6 @@ export * from "./ServiceLineUpdateBase";
19
19
  export * from "./TestResult";
20
20
  export * from "./TestResultOptional";
21
21
  export * from "./TestResultType";
22
+ export * from "./UniversalServiceLineCreate";
22
23
  export * from "./UniversalServiceLineCreateStandalone";
23
24
  export * from "./UniversalServiceLineUpdate";
@@ -35,5 +35,6 @@ __exportStar(require("./ServiceLineUpdateBase"), exports);
35
35
  __exportStar(require("./TestResult"), exports);
36
36
  __exportStar(require("./TestResultOptional"), exports);
37
37
  __exportStar(require("./TestResultType"), exports);
38
+ __exportStar(require("./UniversalServiceLineCreate"), exports);
38
39
  __exportStar(require("./UniversalServiceLineCreateStandalone"), exports);
39
40
  __exportStar(require("./UniversalServiceLineUpdate"), exports);
@@ -0,0 +1,27 @@
1
+ import type * as CandidApi from "../../../../../index";
2
+ /**
3
+ * A type of bill can either be seen as a compositio of structured parts, or as a literal string.
4
+ * This union represents the potential to express a type of bill either as one of those two shapes.
5
+ * Passing a string, this update will be seen as a complete 4 digit code, along with a padding code 0, that
6
+ * should match a valid composition.
7
+ * Passing as a structure, the update will be seen as three parts and will be joined together by the server
8
+ * to represent a valid composition for you.
9
+ * Which you use depends upon whether you are "passing through" coded information or making a decision about its
10
+ * structure explicitly.
11
+ */
12
+ export type TypeOfBillCompositeUpdate =
13
+ /**
14
+ * Full 4 digit type of bill code, starting with a leading 0. */
15
+ CandidApi.x12.v1.TypeOfBillCompositeUpdate.RawCode
16
+ /**
17
+ * Use composite_codes to send type_of_care, type_of_facility and frequency_code as separate enums. */
18
+ | CandidApi.x12.v1.TypeOfBillCompositeUpdate.CompositeCodes;
19
+ export declare namespace TypeOfBillCompositeUpdate {
20
+ interface RawCode {
21
+ type: "raw_code";
22
+ value: string;
23
+ }
24
+ interface CompositeCodes extends CandidApi.x12.v1.TypeOfBillCompositeBase {
25
+ type: "composite_codes";
26
+ }
27
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,46 @@
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
+ import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
6
+ import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
7
+ import { EncounterExternalIdUniquenessErrorType } from "../types/EncounterExternalIdUniquenessErrorType";
8
+ import { EncounterPatientControlNumberUniquenessErrorType } from "../types/EncounterPatientControlNumberUniquenessErrorType";
9
+ import { PayerPlanGroupPayerDoesNotMatchInsuranceCardError } from "../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError";
10
+ import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
11
+ export declare const Error: core.serialization.Schema<serializers.encounters.v4.createFromPreEncounterPatientUniversal.Error.Raw, CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error>;
12
+ export declare namespace Error {
13
+ type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.HttpRequestValidationError | Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
14
+ interface EncounterExternalIdUniquenessError {
15
+ errorName: "EncounterExternalIdUniquenessError";
16
+ content: EncounterExternalIdUniquenessErrorType.Raw;
17
+ }
18
+ interface EncounterPatientControlNumberUniquenessError {
19
+ errorName: "EncounterPatientControlNumberUniquenessError";
20
+ content: EncounterPatientControlNumberUniquenessErrorType.Raw;
21
+ }
22
+ interface EntityNotFoundError {
23
+ errorName: "EntityNotFoundError";
24
+ content: EntityNotFoundErrorMessage.Raw;
25
+ }
26
+ interface UnauthorizedError {
27
+ errorName: "UnauthorizedError";
28
+ content: UnauthorizedErrorMessage.Raw;
29
+ }
30
+ interface HttpRequestValidationsError {
31
+ errorName: "HttpRequestValidationsError";
32
+ content: RequestValidationError.Raw[];
33
+ }
34
+ interface SchemaInstanceValidationHttpFailure {
35
+ errorName: "SchemaInstanceValidationHttpFailure";
36
+ content: SchemaInstanceValidationFailure.Raw;
37
+ }
38
+ interface HttpRequestValidationError {
39
+ errorName: "HttpRequestValidationError";
40
+ content: RequestValidationError.Raw;
41
+ }
42
+ interface PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError {
43
+ errorName: "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError";
44
+ content: PayerPlanGroupPayerDoesNotMatchInsuranceCardError.Raw;
45
+ }
46
+ }
@@ -0,0 +1,110 @@
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
+ const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
53
+ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
54
+ const EncounterExternalIdUniquenessErrorType_1 = require("../types/EncounterExternalIdUniquenessErrorType");
55
+ const EncounterPatientControlNumberUniquenessErrorType_1 = require("../types/EncounterPatientControlNumberUniquenessErrorType");
56
+ const PayerPlanGroupPayerDoesNotMatchInsuranceCardError_1 = require("../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError");
57
+ const SchemaInstanceValidationFailure_1 = require("../types/SchemaInstanceValidationFailure");
58
+ exports.Error = core.serialization
59
+ .union("errorName", {
60
+ EncounterExternalIdUniquenessError: core.serialization.object({
61
+ content: EncounterExternalIdUniquenessErrorType_1.EncounterExternalIdUniquenessErrorType,
62
+ }),
63
+ EncounterPatientControlNumberUniquenessError: core.serialization.object({
64
+ content: EncounterPatientControlNumberUniquenessErrorType_1.EncounterPatientControlNumberUniquenessErrorType,
65
+ }),
66
+ EntityNotFoundError: core.serialization.object({
67
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
68
+ }),
69
+ UnauthorizedError: core.serialization.object({
70
+ content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
71
+ }),
72
+ HttpRequestValidationsError: core.serialization.object({
73
+ content: core.serialization.list(RequestValidationError_1.RequestValidationError),
74
+ }),
75
+ SchemaInstanceValidationHttpFailure: core.serialization.object({
76
+ content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
77
+ }),
78
+ HttpRequestValidationError: core.serialization.object({
79
+ content: RequestValidationError_1.RequestValidationError,
80
+ }),
81
+ PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: core.serialization.object({
82
+ content: PayerPlanGroupPayerDoesNotMatchInsuranceCardError_1.PayerPlanGroupPayerDoesNotMatchInsuranceCardError,
83
+ }),
84
+ })
85
+ .transform({
86
+ transform: (value) => {
87
+ switch (value.errorName) {
88
+ case "EncounterExternalIdUniquenessError":
89
+ return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.encounterExternalIdUniquenessError(value.content);
90
+ case "EncounterPatientControlNumberUniquenessError":
91
+ return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.encounterPatientControlNumberUniquenessError(value.content);
92
+ case "EntityNotFoundError":
93
+ return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.entityNotFoundError(value.content);
94
+ case "UnauthorizedError":
95
+ return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.unauthorizedError(value.content);
96
+ case "HttpRequestValidationsError":
97
+ return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.httpRequestValidationsError(value.content);
98
+ case "SchemaInstanceValidationHttpFailure":
99
+ return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.schemaInstanceValidationHttpFailure(value.content);
100
+ case "HttpRequestValidationError":
101
+ return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.httpRequestValidationError(value.content);
102
+ case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
103
+ return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError(value.content);
104
+ }
105
+ },
106
+ untransform: (_a) => {
107
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
108
+ return value;
109
+ },
110
+ });
@@ -0,0 +1,66 @@
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
+ import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
6
+ import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
7
+ import { CashPayPayerErrorMessage } from "../types/CashPayPayerErrorMessage";
8
+ import { EncounterExternalIdUniquenessErrorType } from "../types/EncounterExternalIdUniquenessErrorType";
9
+ import { EncounterGuarantorMissingContactInfoErrorType } from "../types/EncounterGuarantorMissingContactInfoErrorType";
10
+ import { EncounterPatientControlNumberUniquenessErrorType } from "../types/EncounterPatientControlNumberUniquenessErrorType";
11
+ import { EncounterRenderingOrAttendingProviderRequiredError } from "../types/EncounterRenderingOrAttendingProviderRequiredError";
12
+ import { InvalidTagNamesErrorType } from "../types/InvalidTagNamesErrorType";
13
+ import { PayerPlanGroupPayerDoesNotMatchInsuranceCardError } from "../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError";
14
+ import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
15
+ export declare const Error: core.serialization.Schema<serializers.encounters.v4.createUniversal.Error.Raw, CandidApi.encounters.v4.createUniversal.Error>;
16
+ export declare namespace Error {
17
+ type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.UnauthorizedError | Error.EncounterGuarantorMissingContactInfoError | Error.HttpRequestValidationsError | Error.CashPayPayerError | Error.SchemaInstanceValidationHttpFailure | Error.InvalidTagNamesError | Error.HttpRequestValidationError | Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | Error.EncounterRenderingOrAttendingProviderRequired;
18
+ interface EncounterExternalIdUniquenessError {
19
+ errorName: "EncounterExternalIdUniquenessError";
20
+ content: EncounterExternalIdUniquenessErrorType.Raw;
21
+ }
22
+ interface EncounterPatientControlNumberUniquenessError {
23
+ errorName: "EncounterPatientControlNumberUniquenessError";
24
+ content: EncounterPatientControlNumberUniquenessErrorType.Raw;
25
+ }
26
+ interface EntityNotFoundError {
27
+ errorName: "EntityNotFoundError";
28
+ content: EntityNotFoundErrorMessage.Raw;
29
+ }
30
+ interface UnauthorizedError {
31
+ errorName: "UnauthorizedError";
32
+ content: UnauthorizedErrorMessage.Raw;
33
+ }
34
+ interface EncounterGuarantorMissingContactInfoError {
35
+ errorName: "EncounterGuarantorMissingContactInfoError";
36
+ content: EncounterGuarantorMissingContactInfoErrorType.Raw;
37
+ }
38
+ interface HttpRequestValidationsError {
39
+ errorName: "HttpRequestValidationsError";
40
+ content: RequestValidationError.Raw[];
41
+ }
42
+ interface CashPayPayerError {
43
+ errorName: "CashPayPayerError";
44
+ content: CashPayPayerErrorMessage.Raw;
45
+ }
46
+ interface SchemaInstanceValidationHttpFailure {
47
+ errorName: "SchemaInstanceValidationHttpFailure";
48
+ content: SchemaInstanceValidationFailure.Raw;
49
+ }
50
+ interface InvalidTagNamesError {
51
+ errorName: "InvalidTagNamesError";
52
+ content: InvalidTagNamesErrorType.Raw;
53
+ }
54
+ interface HttpRequestValidationError {
55
+ errorName: "HttpRequestValidationError";
56
+ content: RequestValidationError.Raw;
57
+ }
58
+ interface PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError {
59
+ errorName: "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError";
60
+ content: PayerPlanGroupPayerDoesNotMatchInsuranceCardError.Raw;
61
+ }
62
+ interface EncounterRenderingOrAttendingProviderRequired {
63
+ errorName: "EncounterRenderingOrAttendingProviderRequired";
64
+ content: EncounterRenderingOrAttendingProviderRequiredError.Raw;
65
+ }
66
+ }
@@ -0,0 +1,134 @@
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
+ const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
53
+ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
54
+ const CashPayPayerErrorMessage_1 = require("../types/CashPayPayerErrorMessage");
55
+ const EncounterExternalIdUniquenessErrorType_1 = require("../types/EncounterExternalIdUniquenessErrorType");
56
+ const EncounterGuarantorMissingContactInfoErrorType_1 = require("../types/EncounterGuarantorMissingContactInfoErrorType");
57
+ const EncounterPatientControlNumberUniquenessErrorType_1 = require("../types/EncounterPatientControlNumberUniquenessErrorType");
58
+ const EncounterRenderingOrAttendingProviderRequiredError_1 = require("../types/EncounterRenderingOrAttendingProviderRequiredError");
59
+ const InvalidTagNamesErrorType_1 = require("../types/InvalidTagNamesErrorType");
60
+ const PayerPlanGroupPayerDoesNotMatchInsuranceCardError_1 = require("../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError");
61
+ const SchemaInstanceValidationFailure_1 = require("../types/SchemaInstanceValidationFailure");
62
+ exports.Error = core.serialization
63
+ .union("errorName", {
64
+ EncounterExternalIdUniquenessError: core.serialization.object({
65
+ content: EncounterExternalIdUniquenessErrorType_1.EncounterExternalIdUniquenessErrorType,
66
+ }),
67
+ EncounterPatientControlNumberUniquenessError: core.serialization.object({
68
+ content: EncounterPatientControlNumberUniquenessErrorType_1.EncounterPatientControlNumberUniquenessErrorType,
69
+ }),
70
+ EntityNotFoundError: core.serialization.object({
71
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
72
+ }),
73
+ UnauthorizedError: core.serialization.object({
74
+ content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
75
+ }),
76
+ EncounterGuarantorMissingContactInfoError: core.serialization.object({
77
+ content: EncounterGuarantorMissingContactInfoErrorType_1.EncounterGuarantorMissingContactInfoErrorType,
78
+ }),
79
+ HttpRequestValidationsError: core.serialization.object({
80
+ content: core.serialization.list(RequestValidationError_1.RequestValidationError),
81
+ }),
82
+ CashPayPayerError: core.serialization.object({
83
+ content: CashPayPayerErrorMessage_1.CashPayPayerErrorMessage,
84
+ }),
85
+ SchemaInstanceValidationHttpFailure: core.serialization.object({
86
+ content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
87
+ }),
88
+ InvalidTagNamesError: core.serialization.object({
89
+ content: InvalidTagNamesErrorType_1.InvalidTagNamesErrorType,
90
+ }),
91
+ HttpRequestValidationError: core.serialization.object({
92
+ content: RequestValidationError_1.RequestValidationError,
93
+ }),
94
+ PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: core.serialization.object({
95
+ content: PayerPlanGroupPayerDoesNotMatchInsuranceCardError_1.PayerPlanGroupPayerDoesNotMatchInsuranceCardError,
96
+ }),
97
+ EncounterRenderingOrAttendingProviderRequired: core.serialization.object({
98
+ content: EncounterRenderingOrAttendingProviderRequiredError_1.EncounterRenderingOrAttendingProviderRequiredError,
99
+ }),
100
+ })
101
+ .transform({
102
+ transform: (value) => {
103
+ switch (value.errorName) {
104
+ case "EncounterExternalIdUniquenessError":
105
+ return CandidApi.encounters.v4.createUniversal.Error.encounterExternalIdUniquenessError(value.content);
106
+ case "EncounterPatientControlNumberUniquenessError":
107
+ return CandidApi.encounters.v4.createUniversal.Error.encounterPatientControlNumberUniquenessError(value.content);
108
+ case "EntityNotFoundError":
109
+ return CandidApi.encounters.v4.createUniversal.Error.entityNotFoundError(value.content);
110
+ case "UnauthorizedError":
111
+ return CandidApi.encounters.v4.createUniversal.Error.unauthorizedError(value.content);
112
+ case "EncounterGuarantorMissingContactInfoError":
113
+ return CandidApi.encounters.v4.createUniversal.Error.encounterGuarantorMissingContactInfoError(value.content);
114
+ case "HttpRequestValidationsError":
115
+ return CandidApi.encounters.v4.createUniversal.Error.httpRequestValidationsError(value.content);
116
+ case "CashPayPayerError":
117
+ return CandidApi.encounters.v4.createUniversal.Error.cashPayPayerError(value.content);
118
+ case "SchemaInstanceValidationHttpFailure":
119
+ return CandidApi.encounters.v4.createUniversal.Error.schemaInstanceValidationHttpFailure(value.content);
120
+ case "InvalidTagNamesError":
121
+ return CandidApi.encounters.v4.createUniversal.Error.invalidTagNamesError(value.content);
122
+ case "HttpRequestValidationError":
123
+ return CandidApi.encounters.v4.createUniversal.Error.httpRequestValidationError(value.content);
124
+ case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
125
+ return CandidApi.encounters.v4.createUniversal.Error.payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError(value.content);
126
+ case "EncounterRenderingOrAttendingProviderRequired":
127
+ return CandidApi.encounters.v4.createUniversal.Error.encounterRenderingOrAttendingProviderRequired(value.content);
128
+ }
129
+ },
130
+ untransform: (_a) => {
131
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
132
+ return value;
133
+ },
134
+ });
@@ -1,3 +1,6 @@
1
1
  export * as create from "./create";
2
2
  export * as createFromPreEncounterPatient from "./createFromPreEncounterPatient";
3
+ export * as createFromPreEncounterPatientUniversal from "./createFromPreEncounterPatientUniversal";
4
+ export * as createUniversal from "./createUniversal";
3
5
  export * as update from "./update";
6
+ export * as updateUniversal from "./updateUniversal";
@@ -33,7 +33,10 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.update = exports.createFromPreEncounterPatient = exports.create = void 0;
36
+ exports.updateUniversal = exports.update = exports.createUniversal = exports.createFromPreEncounterPatientUniversal = exports.createFromPreEncounterPatient = exports.create = void 0;
37
37
  exports.create = __importStar(require("./create"));
38
38
  exports.createFromPreEncounterPatient = __importStar(require("./createFromPreEncounterPatient"));
39
+ exports.createFromPreEncounterPatientUniversal = __importStar(require("./createFromPreEncounterPatientUniversal"));
40
+ exports.createUniversal = __importStar(require("./createUniversal"));
39
41
  exports.update = __importStar(require("./update"));
42
+ exports.updateUniversal = __importStar(require("./updateUniversal"));
@@ -0,0 +1,47 @@
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
+ import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
6
+ import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
7
+ import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
8
+ import { EncounterExternalIdUniquenessErrorType } from "../types/EncounterExternalIdUniquenessErrorType";
9
+ import { InvalidTagNamesErrorType } from "../types/InvalidTagNamesErrorType";
10
+ import { PayerPlanGroupPayerDoesNotMatchInsuranceCardError } from "../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError";
11
+ import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
12
+ export declare const Error: core.serialization.Schema<serializers.encounters.v4.updateUniversal.Error.Raw, CandidApi.encounters.v4.updateUniversal.Error>;
13
+ export declare namespace Error {
14
+ type Raw = Error.EncounterExternalIdUniquenessError | Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.UnprocessableEntityError | Error.InvalidTagNamesError | Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
15
+ interface EncounterExternalIdUniquenessError {
16
+ errorName: "EncounterExternalIdUniquenessError";
17
+ content: EncounterExternalIdUniquenessErrorType.Raw;
18
+ }
19
+ interface EntityNotFoundError {
20
+ errorName: "EntityNotFoundError";
21
+ content: EntityNotFoundErrorMessage.Raw;
22
+ }
23
+ interface UnauthorizedError {
24
+ errorName: "UnauthorizedError";
25
+ content: UnauthorizedErrorMessage.Raw;
26
+ }
27
+ interface HttpRequestValidationsError {
28
+ errorName: "HttpRequestValidationsError";
29
+ content: RequestValidationError.Raw[];
30
+ }
31
+ interface SchemaInstanceValidationHttpFailure {
32
+ errorName: "SchemaInstanceValidationHttpFailure";
33
+ content: SchemaInstanceValidationFailure.Raw;
34
+ }
35
+ interface UnprocessableEntityError {
36
+ errorName: "UnprocessableEntityError";
37
+ content: UnprocessableEntityErrorMessage.Raw;
38
+ }
39
+ interface InvalidTagNamesError {
40
+ errorName: "InvalidTagNamesError";
41
+ content: InvalidTagNamesErrorType.Raw;
42
+ }
43
+ interface PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError {
44
+ errorName: "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError";
45
+ content: PayerPlanGroupPayerDoesNotMatchInsuranceCardError.Raw;
46
+ }
47
+ }