candidhealth 1.17.0 → 1.17.1

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 (284) hide show
  1. package/Client.d.ts +0 -3
  2. package/Client.js +36 -41
  3. package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +6 -0
  4. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +6 -0
  5. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +6 -0
  6. package/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +6 -0
  7. package/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +4 -0
  8. package/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +6 -0
  9. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +6 -0
  10. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +6 -0
  11. package/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  12. package/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
  13. package/api/resources/encounters/resources/v4/client/Client.d.ts +15 -0
  14. package/api/resources/encounters/resources/v4/client/Client.js +19 -0
  15. package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  16. package/api/resources/encounters/resources/v4/client/create.js +11 -0
  17. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +7 -1
  18. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +11 -0
  19. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +7 -1
  20. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +11 -0
  21. package/api/resources/encounters/resources/v4/client/createUniversal.d.ts +7 -1
  22. package/api/resources/encounters/resources/v4/client/createUniversal.js +11 -0
  23. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  24. package/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
  25. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
  26. package/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
  27. package/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +14 -1
  28. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +9 -1
  29. package/api/resources/feeSchedules/resources/v3/client/Client.js +9 -1
  30. package/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +6 -1
  31. package/api/resources/index.d.ts +1 -1
  32. package/api/resources/index.js +2 -2
  33. package/api/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
  34. package/api/resources/{insurancePayments → relatedCausesInformation}/resources/v1/index.js +0 -1
  35. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +21 -0
  36. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js +24 -0
  37. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +6 -0
  38. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +3 -0
  39. package/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +3 -0
  40. package/api/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
  41. package/api/resources/{insurancePayments → relatedCausesInformation}/resources/v1/types/index.js +4 -4
  42. package/dist/Client.d.ts +0 -3
  43. package/dist/Client.js +36 -41
  44. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +6 -0
  45. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +6 -0
  46. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +6 -0
  47. package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +6 -0
  48. package/dist/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +4 -0
  49. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +6 -0
  50. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +6 -0
  51. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +6 -0
  52. package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  53. package/dist/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
  54. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +15 -0
  55. package/dist/api/resources/encounters/resources/v4/client/Client.js +19 -0
  56. package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  57. package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
  58. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +7 -1
  59. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +11 -0
  60. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +7 -1
  61. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +11 -0
  62. package/dist/api/resources/encounters/resources/v4/client/createUniversal.d.ts +7 -1
  63. package/dist/api/resources/encounters/resources/v4/client/createUniversal.js +11 -0
  64. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  65. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
  66. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
  67. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
  68. package/dist/api/resources/events/resources/v1/client/requests/GetEventScanRequest.d.ts +14 -1
  69. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +9 -1
  70. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +9 -1
  71. package/dist/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +6 -1
  72. package/dist/api/resources/index.d.ts +1 -1
  73. package/dist/api/resources/index.js +2 -2
  74. package/dist/api/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
  75. package/dist/api/resources/{insurancePayments → relatedCausesInformation}/resources/v1/index.js +0 -1
  76. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +21 -0
  77. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.js +24 -0
  78. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +6 -0
  79. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +3 -0
  80. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +3 -0
  81. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +3 -0
  82. package/dist/api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +3 -0
  83. package/dist/api/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
  84. package/dist/api/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
  85. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
  86. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
  87. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
  88. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
  89. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +2 -0
  90. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +2 -0
  91. package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
  92. package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
  93. package/dist/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +9 -0
  94. package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentId.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js} +3 -5
  95. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +2 -0
  96. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.js +2 -0
  97. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +2 -0
  98. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.js +2 -0
  99. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +2 -0
  100. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +2 -0
  101. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  102. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
  103. package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  104. package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  105. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +6 -1
  106. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +6 -0
  107. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +6 -1
  108. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +6 -0
  109. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +6 -1
  110. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.js +6 -0
  111. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  112. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  113. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
  114. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +2 -0
  115. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
  116. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +2 -0
  117. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
  118. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +2 -0
  119. package/dist/serialization/resources/index.d.ts +1 -1
  120. package/dist/serialization/resources/index.js +2 -2
  121. package/{api/resources/insurancePayments → dist/serialization/resources/relatedCausesInformation}/index.d.ts +0 -1
  122. package/{api/resources/insurancePayments → dist/serialization/resources/relatedCausesInformation}/index.js +0 -1
  123. package/dist/serialization/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
  124. package/{serialization/resources/insurancePayments → dist/serialization/resources/relatedCausesInformation}/resources/v1/index.js +0 -1
  125. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +7 -0
  126. package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentSortField.js → relatedCausesInformation/resources/v1/types/RelatedCausesCode.js} +2 -2
  127. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +12 -0
  128. package/dist/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentsPage.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js} +7 -8
  129. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +9 -0
  130. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +40 -0
  131. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +9 -0
  132. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +40 -0
  133. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
  134. package/dist/serialization/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
  135. package/dist/version.d.ts +1 -1
  136. package/dist/version.js +1 -1
  137. package/package.json +1 -1
  138. package/reference.md +48 -129
  139. package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +2 -0
  140. package/serialization/resources/encounterProviders/resources/v2/types/BillingProvider.js +2 -0
  141. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +2 -0
  142. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +2 -0
  143. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +2 -0
  144. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +2 -0
  145. package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
  146. package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
  147. package/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +9 -0
  148. package/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentId.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js} +3 -5
  149. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +2 -0
  150. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProvider.js +2 -0
  151. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.d.ts +2 -0
  152. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdate.js +2 -0
  153. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +2 -0
  154. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +2 -0
  155. package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  156. package/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
  157. package/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  158. package/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  159. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +6 -1
  160. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +6 -0
  161. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +6 -1
  162. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +6 -0
  163. package/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +6 -1
  164. package/serialization/resources/encounters/resources/v4/client/createUniversal.js +6 -0
  165. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  166. package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  167. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +2 -0
  168. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +2 -0
  169. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +2 -0
  170. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +2 -0
  171. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +2 -0
  172. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +2 -0
  173. package/serialization/resources/index.d.ts +1 -1
  174. package/serialization/resources/index.js +2 -2
  175. package/{dist/api/resources/insurancePayments → serialization/resources/relatedCausesInformation}/index.d.ts +0 -1
  176. package/{dist/api/resources/insurancePayments → serialization/resources/relatedCausesInformation}/index.js +0 -1
  177. package/serialization/resources/relatedCausesInformation/resources/v1/index.d.ts +1 -0
  178. package/{dist/serialization/resources/insurancePayments → serialization/resources/relatedCausesInformation}/resources/v1/index.js +0 -1
  179. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesCode.d.ts +7 -0
  180. package/serialization/resources/{insurancePayments/resources/v1/types/InsurancePaymentSortField.js → relatedCausesInformation/resources/v1/types/RelatedCausesCode.js} +2 -2
  181. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.d.ts +12 -0
  182. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js +44 -0
  183. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.d.ts +9 -0
  184. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js +40 -0
  185. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.d.ts +9 -0
  186. package/serialization/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js +40 -0
  187. package/serialization/resources/relatedCausesInformation/resources/v1/types/index.d.ts +4 -0
  188. package/serialization/resources/relatedCausesInformation/resources/v1/types/index.js +20 -0
  189. package/version.d.ts +1 -1
  190. package/version.js +1 -1
  191. package/api/resources/insurancePayments/client/Client.d.ts +0 -14
  192. package/api/resources/insurancePayments/client/Client.js +0 -15
  193. package/api/resources/insurancePayments/client/index.d.ts +0 -1
  194. package/api/resources/insurancePayments/client/index.js +0 -2
  195. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -38
  196. package/api/resources/insurancePayments/resources/v1/client/Client.js +0 -237
  197. package/api/resources/insurancePayments/resources/v1/client/get.d.ts +0 -31
  198. package/api/resources/insurancePayments/resources/v1/client/get.js +0 -77
  199. package/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -31
  200. package/api/resources/insurancePayments/resources/v1/client/getMulti.js +0 -77
  201. package/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
  202. package/api/resources/insurancePayments/resources/v1/client/index.js +0 -42
  203. package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +0 -18
  204. package/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  205. package/api/resources/insurancePayments/resources/v1/client/requests/index.js +0 -2
  206. package/api/resources/insurancePayments/resources/v1/index.d.ts +0 -2
  207. package/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -9
  208. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -5
  209. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +0 -7
  210. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -6
  211. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +0 -9
  212. package/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -4
  213. package/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
  214. package/dist/api/resources/insurancePayments/client/Client.d.ts +0 -14
  215. package/dist/api/resources/insurancePayments/client/Client.js +0 -15
  216. package/dist/api/resources/insurancePayments/client/index.d.ts +0 -1
  217. package/dist/api/resources/insurancePayments/client/index.js +0 -2
  218. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -38
  219. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +0 -237
  220. package/dist/api/resources/insurancePayments/resources/v1/client/get.d.ts +0 -31
  221. package/dist/api/resources/insurancePayments/resources/v1/client/get.js +0 -77
  222. package/dist/api/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -31
  223. package/dist/api/resources/insurancePayments/resources/v1/client/getMulti.js +0 -77
  224. package/dist/api/resources/insurancePayments/resources/v1/client/index.d.ts +0 -3
  225. package/dist/api/resources/insurancePayments/resources/v1/client/index.js +0 -42
  226. package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +0 -18
  227. package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.d.ts +0 -1
  228. package/dist/api/resources/insurancePayments/resources/v1/client/requests/index.js +0 -2
  229. package/dist/api/resources/insurancePayments/resources/v1/index.d.ts +0 -2
  230. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -9
  231. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -5
  232. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentId.js +0 -7
  233. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -6
  234. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.js +0 -9
  235. package/dist/api/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -4
  236. package/dist/api/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
  237. package/dist/api/resources/insurancePayments/resources/v1/types/index.js +0 -20
  238. package/dist/serialization/resources/insurancePayments/resources/v1/client/get.d.ts +0 -17
  239. package/dist/serialization/resources/insurancePayments/resources/v1/client/get.js +0 -75
  240. package/dist/serialization/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -17
  241. package/dist/serialization/resources/insurancePayments/resources/v1/client/getMulti.js +0 -75
  242. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -2
  243. package/dist/serialization/resources/insurancePayments/resources/v1/client/index.js +0 -38
  244. package/dist/serialization/resources/insurancePayments/resources/v1/index.d.ts +0 -2
  245. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -17
  246. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.js +0 -49
  247. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -7
  248. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -7
  249. package/dist/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -11
  250. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
  251. package/dist/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -20
  252. package/serialization/resources/insurancePayments/resources/v1/client/get.d.ts +0 -17
  253. package/serialization/resources/insurancePayments/resources/v1/client/get.js +0 -75
  254. package/serialization/resources/insurancePayments/resources/v1/client/getMulti.d.ts +0 -17
  255. package/serialization/resources/insurancePayments/resources/v1/client/getMulti.js +0 -75
  256. package/serialization/resources/insurancePayments/resources/v1/client/index.d.ts +0 -2
  257. package/serialization/resources/insurancePayments/resources/v1/client/index.js +0 -38
  258. package/serialization/resources/insurancePayments/resources/v1/index.d.ts +0 -2
  259. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.d.ts +0 -17
  260. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePayment.js +0 -49
  261. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentId.d.ts +0 -7
  262. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentSortField.d.ts +0 -7
  263. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.d.ts +0 -11
  264. package/serialization/resources/insurancePayments/resources/v1/types/InsurancePaymentsPage.js +0 -45
  265. package/serialization/resources/insurancePayments/resources/v1/types/index.d.ts +0 -4
  266. package/serialization/resources/insurancePayments/resources/v1/types/index.js +0 -20
  267. /package/api/resources/{insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js} +0 -0
  268. /package/{dist/serialization/resources/insurancePayments → api/resources/relatedCausesInformation}/index.d.ts +0 -0
  269. /package/{dist/serialization/resources/insurancePayments → api/resources/relatedCausesInformation}/index.js +0 -0
  270. /package/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
  271. /package/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
  272. /package/api/resources/{insurancePayments/resources/v1/types/InsurancePayment.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js} +0 -0
  273. /package/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentsPage.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate.js} +0 -0
  274. /package/{dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.js → api/resources/relatedCausesInformation/resources/v1/types/RelatedCausesInformationUpdate.js} +0 -0
  275. /package/dist/api/resources/{insurancePayments/resources/v1/types/InsurancePayment.js → encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js} +0 -0
  276. /package/{serialization/resources/insurancePayments → dist/api/resources/relatedCausesInformation}/index.d.ts +0 -0
  277. /package/{serialization/resources/insurancePayments → dist/api/resources/relatedCausesInformation}/index.js +0 -0
  278. /package/dist/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
  279. /package/dist/api/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
  280. /package/dist/api/resources/{insurancePayments/resources/v1/types/InsurancePaymentsPage.js → relatedCausesInformation/resources/v1/types/RelatedCausesInformation.js} +0 -0
  281. /package/dist/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
  282. /package/dist/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
  283. /package/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.d.ts +0 -0
  284. /package/serialization/resources/{insurancePayments → relatedCausesInformation}/resources/index.js +0 -0
@@ -0,0 +1,20 @@
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("./RelatedCausesCode"), exports);
18
+ __exportStar(require("./RelatedCausesInformation"), exports);
19
+ __exportStar(require("./RelatedCausesInformationCreate"), exports);
20
+ __exportStar(require("./RelatedCausesInformationUpdate"), exports);
@@ -4,6 +4,7 @@ import type * as serializers from "../../../../../index";
4
4
  import { BillingProviderCommercialLicenseType } from "../../../../commons/types/BillingProviderCommercialLicenseType";
5
5
  import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
6
6
  import { EncounterProviderBase } from "./EncounterProviderBase";
7
+ import { ProviderSecondaryIdentification } from "./ProviderSecondaryIdentification";
7
8
  export declare const BillingProvider: core.serialization.ObjectSchema<serializers.encounterProviders.v2.BillingProvider.Raw, CandidApi.encounterProviders.v2.BillingProvider>;
8
9
  export declare namespace BillingProvider {
9
10
  interface Raw extends EncounterProviderBase.Raw {
@@ -12,5 +13,6 @@ export declare namespace BillingProvider {
12
13
  npi: string;
13
14
  taxonomy_code?: string | null;
14
15
  provider_commercial_license_type?: BillingProviderCommercialLicenseType.Raw | null;
16
+ secondary_identification?: ProviderSecondaryIdentification.Raw | null;
15
17
  }
16
18
  }
@@ -39,6 +39,7 @@ const core = __importStar(require("../../../../../../core"));
39
39
  const BillingProviderCommercialLicenseType_1 = require("../../../../commons/types/BillingProviderCommercialLicenseType");
40
40
  const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
41
41
  const EncounterProviderBase_1 = require("./EncounterProviderBase");
42
+ const ProviderSecondaryIdentification_1 = require("./ProviderSecondaryIdentification");
42
43
  exports.BillingProvider = core.serialization
43
44
  .object({
44
45
  address: StreetAddressLongZip_1.StreetAddressLongZip,
@@ -46,5 +47,6 @@ exports.BillingProvider = core.serialization
46
47
  npi: core.serialization.string(),
47
48
  taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
48
49
  providerCommercialLicenseType: core.serialization.property("provider_commercial_license_type", BillingProviderCommercialLicenseType_1.BillingProviderCommercialLicenseType.optional()),
50
+ secondaryIdentification: core.serialization.property("secondary_identification", ProviderSecondaryIdentification_1.ProviderSecondaryIdentification.optional()),
49
51
  })
50
52
  .extend(EncounterProviderBase_1.EncounterProviderBase);
@@ -4,6 +4,7 @@ import type * as serializers from "../../../../../index";
4
4
  import { BillingProviderCommercialLicenseType } from "../../../../commons/types/BillingProviderCommercialLicenseType";
5
5
  import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
6
6
  import { EncounterProviderBase } from "./EncounterProviderBase";
7
+ import { ProviderSecondaryIdentification } from "./ProviderSecondaryIdentification";
7
8
  export declare const BillingProviderUpdate: core.serialization.ObjectSchema<serializers.encounterProviders.v2.BillingProviderUpdate.Raw, CandidApi.encounterProviders.v2.BillingProviderUpdate>;
8
9
  export declare namespace BillingProviderUpdate {
9
10
  interface Raw extends EncounterProviderBase.Raw {
@@ -12,5 +13,6 @@ export declare namespace BillingProviderUpdate {
12
13
  npi?: string | null;
13
14
  taxonomy_code?: string | null;
14
15
  provider_commercial_license_type?: BillingProviderCommercialLicenseType.Raw | null;
16
+ secondary_identification?: ProviderSecondaryIdentification.Raw | null;
15
17
  }
16
18
  }
@@ -39,6 +39,7 @@ const core = __importStar(require("../../../../../../core"));
39
39
  const BillingProviderCommercialLicenseType_1 = require("../../../../commons/types/BillingProviderCommercialLicenseType");
40
40
  const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
41
41
  const EncounterProviderBase_1 = require("./EncounterProviderBase");
42
+ const ProviderSecondaryIdentification_1 = require("./ProviderSecondaryIdentification");
42
43
  exports.BillingProviderUpdate = core.serialization
43
44
  .object({
44
45
  address: StreetAddressLongZip_1.StreetAddressLongZip.optional(),
@@ -46,5 +47,6 @@ exports.BillingProviderUpdate = core.serialization
46
47
  npi: core.serialization.string().optional(),
47
48
  taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
48
49
  providerCommercialLicenseType: core.serialization.property("provider_commercial_license_type", BillingProviderCommercialLicenseType_1.BillingProviderCommercialLicenseType.optional()),
50
+ secondaryIdentification: core.serialization.property("secondary_identification", ProviderSecondaryIdentification_1.ProviderSecondaryIdentification.optional()),
49
51
  })
50
52
  .extend(EncounterProviderBase_1.EncounterProviderBase);
@@ -4,6 +4,7 @@ import type * as serializers from "../../../../../index";
4
4
  import { BillingProviderCommercialLicenseType } from "../../../../commons/types/BillingProviderCommercialLicenseType";
5
5
  import { StreetAddressShortZipOptional } from "../../../../commons/types/StreetAddressShortZipOptional";
6
6
  import { EncounterProviderBase } from "./EncounterProviderBase";
7
+ import { ProviderSecondaryIdentification } from "./ProviderSecondaryIdentification";
7
8
  export declare const BillingProviderUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.encounterProviders.v2.BillingProviderUpdateWithOptionalAddress.Raw, CandidApi.encounterProviders.v2.BillingProviderUpdateWithOptionalAddress>;
8
9
  export declare namespace BillingProviderUpdateWithOptionalAddress {
9
10
  interface Raw extends EncounterProviderBase.Raw {
@@ -12,5 +13,6 @@ export declare namespace BillingProviderUpdateWithOptionalAddress {
12
13
  npi?: string | null;
13
14
  taxonomy_code?: string | null;
14
15
  provider_commercial_license_type?: BillingProviderCommercialLicenseType.Raw | null;
16
+ secondary_identification?: ProviderSecondaryIdentification.Raw | null;
15
17
  }
16
18
  }
@@ -39,6 +39,7 @@ const core = __importStar(require("../../../../../../core"));
39
39
  const BillingProviderCommercialLicenseType_1 = require("../../../../commons/types/BillingProviderCommercialLicenseType");
40
40
  const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
41
41
  const EncounterProviderBase_1 = require("./EncounterProviderBase");
42
+ const ProviderSecondaryIdentification_1 = require("./ProviderSecondaryIdentification");
42
43
  exports.BillingProviderUpdateWithOptionalAddress = core.serialization
43
44
  .object({
44
45
  address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
@@ -46,5 +47,6 @@ exports.BillingProviderUpdateWithOptionalAddress = core.serialization
46
47
  npi: core.serialization.string().optional(),
47
48
  taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
48
49
  providerCommercialLicenseType: core.serialization.property("provider_commercial_license_type", BillingProviderCommercialLicenseType_1.BillingProviderCommercialLicenseType.optional()),
50
+ secondaryIdentification: core.serialization.property("secondary_identification", ProviderSecondaryIdentification_1.ProviderSecondaryIdentification.optional()),
49
51
  })
50
52
  .extend(EncounterProviderBase_1.EncounterProviderBase);
@@ -6,6 +6,7 @@ import { QualifierCode } from "../../../../commons/types/QualifierCode";
6
6
  import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
7
7
  import { EncounterProviderBase } from "./EncounterProviderBase";
8
8
  import { ProviderId } from "./ProviderId";
9
+ import { ProviderSecondaryIdentification } from "./ProviderSecondaryIdentification";
9
10
  export declare const EncounterProvider: core.serialization.ObjectSchema<serializers.encounterProviders.v2.EncounterProvider.Raw, CandidApi.encounterProviders.v2.EncounterProvider>;
10
11
  export declare namespace EncounterProvider {
11
12
  interface Raw extends EncounterProviderBase.Raw {
@@ -16,5 +17,6 @@ export declare namespace EncounterProvider {
16
17
  taxonomy_code?: string | null;
17
18
  qualifier?: QualifierCode.Raw | null;
18
19
  provider_commercial_license_type?: BillingProviderCommercialLicenseType.Raw | null;
20
+ secondary_identification?: ProviderSecondaryIdentification.Raw | null;
19
21
  }
20
22
  }
@@ -41,6 +41,7 @@ const QualifierCode_1 = require("../../../../commons/types/QualifierCode");
41
41
  const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
42
42
  const EncounterProviderBase_1 = require("./EncounterProviderBase");
43
43
  const ProviderId_1 = require("./ProviderId");
44
+ const ProviderSecondaryIdentification_1 = require("./ProviderSecondaryIdentification");
44
45
  exports.EncounterProvider = core.serialization
45
46
  .object({
46
47
  providerId: core.serialization.property("provider_id", ProviderId_1.ProviderId),
@@ -50,5 +51,6 @@ exports.EncounterProvider = core.serialization
50
51
  taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
51
52
  qualifier: QualifierCode_1.QualifierCode.optional(),
52
53
  providerCommercialLicenseType: core.serialization.property("provider_commercial_license_type", BillingProviderCommercialLicenseType_1.BillingProviderCommercialLicenseType.optional()),
54
+ secondaryIdentification: core.serialization.property("secondary_identification", ProviderSecondaryIdentification_1.ProviderSecondaryIdentification.optional()),
53
55
  })
54
56
  .extend(EncounterProviderBase_1.EncounterProviderBase);
@@ -0,0 +1,9 @@
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 ProviderSecondaryIdentification: core.serialization.ObjectSchema<serializers.encounterProviders.v2.ProviderSecondaryIdentification.Raw, CandidApi.encounterProviders.v2.ProviderSecondaryIdentification>;
5
+ export declare namespace ProviderSecondaryIdentification {
6
+ interface Raw {
7
+ reference_identification: string;
8
+ }
9
+ }
@@ -34,10 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.InsurancePaymentId = void 0;
38
- const CandidApi = __importStar(require("../../../../../../api/index"));
37
+ exports.ProviderSecondaryIdentification = void 0;
39
38
  const core = __importStar(require("../../../../../../core"));
40
- exports.InsurancePaymentId = core.serialization.string().transform({
41
- transform: CandidApi.insurancePayments.v1.InsurancePaymentId,
42
- untransform: (value) => value,
39
+ exports.ProviderSecondaryIdentification = core.serialization.object({
40
+ referenceIdentification: core.serialization.property("reference_identification", core.serialization.string()),
43
41
  });
@@ -3,11 +3,13 @@ import * as core from "../../../../../../core";
3
3
  import type * as serializers from "../../../../../index";
4
4
  import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
5
5
  import { EncounterProviderBase } from "./EncounterProviderBase";
6
+ import { ProviderSecondaryIdentification } from "./ProviderSecondaryIdentification";
6
7
  export declare const RenderingProvider: core.serialization.ObjectSchema<serializers.encounterProviders.v2.RenderingProvider.Raw, CandidApi.encounterProviders.v2.RenderingProvider>;
7
8
  export declare namespace RenderingProvider {
8
9
  interface Raw extends EncounterProviderBase.Raw {
9
10
  npi: string;
10
11
  taxonomy_code?: string | null;
11
12
  address?: StreetAddressLongZip.Raw | null;
13
+ secondary_identification?: ProviderSecondaryIdentification.Raw | null;
12
14
  }
13
15
  }
@@ -38,10 +38,12 @@ exports.RenderingProvider = void 0;
38
38
  const core = __importStar(require("../../../../../../core"));
39
39
  const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
40
40
  const EncounterProviderBase_1 = require("./EncounterProviderBase");
41
+ const ProviderSecondaryIdentification_1 = require("./ProviderSecondaryIdentification");
41
42
  exports.RenderingProvider = core.serialization
42
43
  .object({
43
44
  npi: core.serialization.string(),
44
45
  taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
45
46
  address: StreetAddressLongZip_1.StreetAddressLongZip.optional(),
47
+ secondaryIdentification: core.serialization.property("secondary_identification", ProviderSecondaryIdentification_1.ProviderSecondaryIdentification.optional()),
46
48
  })
47
49
  .extend(EncounterProviderBase_1.EncounterProviderBase);
@@ -3,11 +3,13 @@ import * as core from "../../../../../../core";
3
3
  import type * as serializers from "../../../../../index";
4
4
  import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
5
5
  import { EncounterProviderBase } from "./EncounterProviderBase";
6
+ import { ProviderSecondaryIdentification } from "./ProviderSecondaryIdentification";
6
7
  export declare const RenderingProviderUpdate: core.serialization.ObjectSchema<serializers.encounterProviders.v2.RenderingProviderUpdate.Raw, CandidApi.encounterProviders.v2.RenderingProviderUpdate>;
7
8
  export declare namespace RenderingProviderUpdate {
8
9
  interface Raw extends EncounterProviderBase.Raw {
9
10
  npi?: string | null;
10
11
  taxonomy_code?: string | null;
11
12
  address?: StreetAddressLongZip.Raw | null;
13
+ secondary_identification?: ProviderSecondaryIdentification.Raw | null;
12
14
  }
13
15
  }
@@ -38,10 +38,12 @@ exports.RenderingProviderUpdate = void 0;
38
38
  const core = __importStar(require("../../../../../../core"));
39
39
  const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
40
40
  const EncounterProviderBase_1 = require("./EncounterProviderBase");
41
+ const ProviderSecondaryIdentification_1 = require("./ProviderSecondaryIdentification");
41
42
  exports.RenderingProviderUpdate = core.serialization
42
43
  .object({
43
44
  npi: core.serialization.string().optional(),
44
45
  taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
45
46
  address: StreetAddressLongZip_1.StreetAddressLongZip.optional(),
47
+ secondaryIdentification: core.serialization.property("secondary_identification", ProviderSecondaryIdentification_1.ProviderSecondaryIdentification.optional()),
46
48
  })
47
49
  .extend(EncounterProviderBase_1.EncounterProviderBase);
@@ -3,11 +3,13 @@ import * as core from "../../../../../../core";
3
3
  import type * as serializers from "../../../../../index";
4
4
  import { StreetAddressShortZipOptional } from "../../../../commons/types/StreetAddressShortZipOptional";
5
5
  import { EncounterProviderBase } from "./EncounterProviderBase";
6
+ import { ProviderSecondaryIdentification } from "./ProviderSecondaryIdentification";
6
7
  export declare const RenderingProviderUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.encounterProviders.v2.RenderingProviderUpdateWithOptionalAddress.Raw, CandidApi.encounterProviders.v2.RenderingProviderUpdateWithOptionalAddress>;
7
8
  export declare namespace RenderingProviderUpdateWithOptionalAddress {
8
9
  interface Raw extends EncounterProviderBase.Raw {
9
10
  npi?: string | null;
10
11
  taxonomy_code?: string | null;
11
12
  address?: StreetAddressShortZipOptional.Raw | null;
13
+ secondary_identification?: ProviderSecondaryIdentification.Raw | null;
12
14
  }
13
15
  }
@@ -38,10 +38,12 @@ exports.RenderingProviderUpdateWithOptionalAddress = void 0;
38
38
  const core = __importStar(require("../../../../../../core"));
39
39
  const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
40
40
  const EncounterProviderBase_1 = require("./EncounterProviderBase");
41
+ const ProviderSecondaryIdentification_1 = require("./ProviderSecondaryIdentification");
41
42
  exports.RenderingProviderUpdateWithOptionalAddress = core.serialization
42
43
  .object({
43
44
  npi: core.serialization.string().optional(),
44
45
  taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
45
46
  address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
47
+ secondaryIdentification: core.serialization.property("secondary_identification", ProviderSecondaryIdentification_1.ProviderSecondaryIdentification.optional()),
46
48
  })
47
49
  .extend(EncounterProviderBase_1.EncounterProviderBase);
@@ -10,6 +10,7 @@ export * from "./OrderingProvider";
10
10
  export * from "./OrderingProviderOptional";
11
11
  export * from "./OrderingProviderUpdate";
12
12
  export * from "./ProviderId";
13
+ export * from "./ProviderSecondaryIdentification";
13
14
  export * from "./ReferringProvider";
14
15
  export * from "./ReferringProviderUpdate";
15
16
  export * from "./ReferringProviderUpdateWithOptionalAddress";
@@ -26,6 +26,7 @@ __exportStar(require("./OrderingProvider"), exports);
26
26
  __exportStar(require("./OrderingProviderOptional"), exports);
27
27
  __exportStar(require("./OrderingProviderUpdate"), exports);
28
28
  __exportStar(require("./ProviderId"), exports);
29
+ __exportStar(require("./ProviderSecondaryIdentification"), exports);
29
30
  __exportStar(require("./ReferringProvider"), exports);
30
31
  __exportStar(require("./ReferringProviderUpdate"), exports);
31
32
  __exportStar(require("./ReferringProviderUpdateWithOptionalAddress"), exports);
@@ -4,6 +4,7 @@ import type * as serializers from "../../../../../index";
4
4
  import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
5
5
  import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
6
6
  import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
7
+ import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
7
8
  import { CashPayPayerErrorMessage } from "../types/CashPayPayerErrorMessage";
8
9
  import { EncounterExternalIdUniquenessErrorType } from "../types/EncounterExternalIdUniquenessErrorType";
9
10
  import { EncounterGuarantorMissingContactInfoErrorType } from "../types/EncounterGuarantorMissingContactInfoErrorType";
@@ -14,7 +15,7 @@ import { PayerPlanGroupPayerDoesNotMatchInsuranceCardError } from "../types/Paye
14
15
  import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
15
16
  export declare const Error: core.serialization.Schema<serializers.encounters.v4.create.Error.Raw, CandidApi.encounters.v4.create.Error>;
16
17
  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
+ type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.UnauthorizedError | Error.EncounterGuarantorMissingContactInfoError | Error.HttpRequestValidationsError | Error.CashPayPayerError | Error.SchemaInstanceValidationHttpFailure | Error.UnprocessableEntityError | Error.InvalidTagNamesError | Error.HttpRequestValidationError | Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | Error.EncounterRenderingOrAttendingProviderRequired;
18
19
  interface EncounterExternalIdUniquenessError {
19
20
  errorName: "EncounterExternalIdUniquenessError";
20
21
  content: EncounterExternalIdUniquenessErrorType.Raw;
@@ -47,6 +48,10 @@ export declare namespace Error {
47
48
  errorName: "SchemaInstanceValidationHttpFailure";
48
49
  content: SchemaInstanceValidationFailure.Raw;
49
50
  }
51
+ interface UnprocessableEntityError {
52
+ errorName: "UnprocessableEntityError";
53
+ content: UnprocessableEntityErrorMessage.Raw;
54
+ }
50
55
  interface InvalidTagNamesError {
51
56
  errorName: "InvalidTagNamesError";
52
57
  content: InvalidTagNamesErrorType.Raw;
@@ -51,6 +51,7 @@ const core = __importStar(require("../../../../../../core"));
51
51
  const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
52
52
  const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
53
53
  const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
54
+ const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
54
55
  const CashPayPayerErrorMessage_1 = require("../types/CashPayPayerErrorMessage");
55
56
  const EncounterExternalIdUniquenessErrorType_1 = require("../types/EncounterExternalIdUniquenessErrorType");
56
57
  const EncounterGuarantorMissingContactInfoErrorType_1 = require("../types/EncounterGuarantorMissingContactInfoErrorType");
@@ -85,6 +86,9 @@ exports.Error = core.serialization
85
86
  SchemaInstanceValidationHttpFailure: core.serialization.object({
86
87
  content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
87
88
  }),
89
+ UnprocessableEntityError: core.serialization.object({
90
+ content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
91
+ }),
88
92
  InvalidTagNamesError: core.serialization.object({
89
93
  content: InvalidTagNamesErrorType_1.InvalidTagNamesErrorType,
90
94
  }),
@@ -117,6 +121,8 @@ exports.Error = core.serialization
117
121
  return CandidApi.encounters.v4.create.Error.cashPayPayerError(value.content);
118
122
  case "SchemaInstanceValidationHttpFailure":
119
123
  return CandidApi.encounters.v4.create.Error.schemaInstanceValidationHttpFailure(value.content);
124
+ case "UnprocessableEntityError":
125
+ return CandidApi.encounters.v4.create.Error.unprocessableEntityError(value.content);
120
126
  case "InvalidTagNamesError":
121
127
  return CandidApi.encounters.v4.create.Error.invalidTagNamesError(value.content);
122
128
  case "HttpRequestValidationError":
@@ -4,13 +4,14 @@ import type * as serializers from "../../../../../index";
4
4
  import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
5
5
  import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
6
6
  import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
7
+ import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
7
8
  import { EncounterExternalIdUniquenessErrorType } from "../types/EncounterExternalIdUniquenessErrorType";
8
9
  import { EncounterPatientControlNumberUniquenessErrorType } from "../types/EncounterPatientControlNumberUniquenessErrorType";
9
10
  import { PayerPlanGroupPayerDoesNotMatchInsuranceCardError } from "../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError";
10
11
  import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
11
12
  export declare const Error: core.serialization.Schema<serializers.encounters.v4.createFromPreEncounterPatient.Error.Raw, CandidApi.encounters.v4.createFromPreEncounterPatient.Error>;
12
13
  export declare namespace Error {
13
- type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.HttpRequestValidationError | Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
14
+ type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.UnprocessableEntityError | Error.HttpRequestValidationError | Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
14
15
  interface EncounterExternalIdUniquenessError {
15
16
  errorName: "EncounterExternalIdUniquenessError";
16
17
  content: EncounterExternalIdUniquenessErrorType.Raw;
@@ -35,6 +36,10 @@ export declare namespace Error {
35
36
  errorName: "SchemaInstanceValidationHttpFailure";
36
37
  content: SchemaInstanceValidationFailure.Raw;
37
38
  }
39
+ interface UnprocessableEntityError {
40
+ errorName: "UnprocessableEntityError";
41
+ content: UnprocessableEntityErrorMessage.Raw;
42
+ }
38
43
  interface HttpRequestValidationError {
39
44
  errorName: "HttpRequestValidationError";
40
45
  content: RequestValidationError.Raw;
@@ -51,6 +51,7 @@ const core = __importStar(require("../../../../../../core"));
51
51
  const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
52
52
  const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
53
53
  const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
54
+ const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
54
55
  const EncounterExternalIdUniquenessErrorType_1 = require("../types/EncounterExternalIdUniquenessErrorType");
55
56
  const EncounterPatientControlNumberUniquenessErrorType_1 = require("../types/EncounterPatientControlNumberUniquenessErrorType");
56
57
  const PayerPlanGroupPayerDoesNotMatchInsuranceCardError_1 = require("../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError");
@@ -75,6 +76,9 @@ exports.Error = core.serialization
75
76
  SchemaInstanceValidationHttpFailure: core.serialization.object({
76
77
  content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
77
78
  }),
79
+ UnprocessableEntityError: core.serialization.object({
80
+ content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
81
+ }),
78
82
  HttpRequestValidationError: core.serialization.object({
79
83
  content: RequestValidationError_1.RequestValidationError,
80
84
  }),
@@ -97,6 +101,8 @@ exports.Error = core.serialization
97
101
  return CandidApi.encounters.v4.createFromPreEncounterPatient.Error.httpRequestValidationsError(value.content);
98
102
  case "SchemaInstanceValidationHttpFailure":
99
103
  return CandidApi.encounters.v4.createFromPreEncounterPatient.Error.schemaInstanceValidationHttpFailure(value.content);
104
+ case "UnprocessableEntityError":
105
+ return CandidApi.encounters.v4.createFromPreEncounterPatient.Error.unprocessableEntityError(value.content);
100
106
  case "HttpRequestValidationError":
101
107
  return CandidApi.encounters.v4.createFromPreEncounterPatient.Error.httpRequestValidationError(value.content);
102
108
  case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
@@ -4,13 +4,14 @@ import type * as serializers from "../../../../../index";
4
4
  import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
5
5
  import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
6
6
  import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
7
+ import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
7
8
  import { EncounterExternalIdUniquenessErrorType } from "../types/EncounterExternalIdUniquenessErrorType";
8
9
  import { EncounterPatientControlNumberUniquenessErrorType } from "../types/EncounterPatientControlNumberUniquenessErrorType";
9
10
  import { PayerPlanGroupPayerDoesNotMatchInsuranceCardError } from "../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError";
10
11
  import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
11
12
  export declare const Error: core.serialization.Schema<serializers.encounters.v4.createFromPreEncounterPatientUniversal.Error.Raw, CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error>;
12
13
  export declare namespace Error {
13
- type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.HttpRequestValidationError | Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
14
+ type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.UnprocessableEntityError | Error.HttpRequestValidationError | Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
14
15
  interface EncounterExternalIdUniquenessError {
15
16
  errorName: "EncounterExternalIdUniquenessError";
16
17
  content: EncounterExternalIdUniquenessErrorType.Raw;
@@ -35,6 +36,10 @@ export declare namespace Error {
35
36
  errorName: "SchemaInstanceValidationHttpFailure";
36
37
  content: SchemaInstanceValidationFailure.Raw;
37
38
  }
39
+ interface UnprocessableEntityError {
40
+ errorName: "UnprocessableEntityError";
41
+ content: UnprocessableEntityErrorMessage.Raw;
42
+ }
38
43
  interface HttpRequestValidationError {
39
44
  errorName: "HttpRequestValidationError";
40
45
  content: RequestValidationError.Raw;
@@ -51,6 +51,7 @@ const core = __importStar(require("../../../../../../core"));
51
51
  const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
52
52
  const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
53
53
  const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
54
+ const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
54
55
  const EncounterExternalIdUniquenessErrorType_1 = require("../types/EncounterExternalIdUniquenessErrorType");
55
56
  const EncounterPatientControlNumberUniquenessErrorType_1 = require("../types/EncounterPatientControlNumberUniquenessErrorType");
56
57
  const PayerPlanGroupPayerDoesNotMatchInsuranceCardError_1 = require("../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError");
@@ -75,6 +76,9 @@ exports.Error = core.serialization
75
76
  SchemaInstanceValidationHttpFailure: core.serialization.object({
76
77
  content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
77
78
  }),
79
+ UnprocessableEntityError: core.serialization.object({
80
+ content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
81
+ }),
78
82
  HttpRequestValidationError: core.serialization.object({
79
83
  content: RequestValidationError_1.RequestValidationError,
80
84
  }),
@@ -97,6 +101,8 @@ exports.Error = core.serialization
97
101
  return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.httpRequestValidationsError(value.content);
98
102
  case "SchemaInstanceValidationHttpFailure":
99
103
  return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.schemaInstanceValidationHttpFailure(value.content);
104
+ case "UnprocessableEntityError":
105
+ return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.unprocessableEntityError(value.content);
100
106
  case "HttpRequestValidationError":
101
107
  return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.httpRequestValidationError(value.content);
102
108
  case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
@@ -4,6 +4,7 @@ import type * as serializers from "../../../../../index";
4
4
  import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
5
5
  import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
6
6
  import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
7
+ import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
7
8
  import { CashPayPayerErrorMessage } from "../types/CashPayPayerErrorMessage";
8
9
  import { EncounterExternalIdUniquenessErrorType } from "../types/EncounterExternalIdUniquenessErrorType";
9
10
  import { EncounterGuarantorMissingContactInfoErrorType } from "../types/EncounterGuarantorMissingContactInfoErrorType";
@@ -14,7 +15,7 @@ import { PayerPlanGroupPayerDoesNotMatchInsuranceCardError } from "../types/Paye
14
15
  import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
15
16
  export declare const Error: core.serialization.Schema<serializers.encounters.v4.createUniversal.Error.Raw, CandidApi.encounters.v4.createUniversal.Error>;
16
17
  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
+ type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.UnauthorizedError | Error.EncounterGuarantorMissingContactInfoError | Error.HttpRequestValidationsError | Error.CashPayPayerError | Error.SchemaInstanceValidationHttpFailure | Error.UnprocessableEntityError | Error.InvalidTagNamesError | Error.HttpRequestValidationError | Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | Error.EncounterRenderingOrAttendingProviderRequired;
18
19
  interface EncounterExternalIdUniquenessError {
19
20
  errorName: "EncounterExternalIdUniquenessError";
20
21
  content: EncounterExternalIdUniquenessErrorType.Raw;
@@ -47,6 +48,10 @@ export declare namespace Error {
47
48
  errorName: "SchemaInstanceValidationHttpFailure";
48
49
  content: SchemaInstanceValidationFailure.Raw;
49
50
  }
51
+ interface UnprocessableEntityError {
52
+ errorName: "UnprocessableEntityError";
53
+ content: UnprocessableEntityErrorMessage.Raw;
54
+ }
50
55
  interface InvalidTagNamesError {
51
56
  errorName: "InvalidTagNamesError";
52
57
  content: InvalidTagNamesErrorType.Raw;
@@ -51,6 +51,7 @@ const core = __importStar(require("../../../../../../core"));
51
51
  const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
52
52
  const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
53
53
  const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
54
+ const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
54
55
  const CashPayPayerErrorMessage_1 = require("../types/CashPayPayerErrorMessage");
55
56
  const EncounterExternalIdUniquenessErrorType_1 = require("../types/EncounterExternalIdUniquenessErrorType");
56
57
  const EncounterGuarantorMissingContactInfoErrorType_1 = require("../types/EncounterGuarantorMissingContactInfoErrorType");
@@ -85,6 +86,9 @@ exports.Error = core.serialization
85
86
  SchemaInstanceValidationHttpFailure: core.serialization.object({
86
87
  content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
87
88
  }),
89
+ UnprocessableEntityError: core.serialization.object({
90
+ content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
91
+ }),
88
92
  InvalidTagNamesError: core.serialization.object({
89
93
  content: InvalidTagNamesErrorType_1.InvalidTagNamesErrorType,
90
94
  }),
@@ -117,6 +121,8 @@ exports.Error = core.serialization
117
121
  return CandidApi.encounters.v4.createUniversal.Error.cashPayPayerError(value.content);
118
122
  case "SchemaInstanceValidationHttpFailure":
119
123
  return CandidApi.encounters.v4.createUniversal.Error.schemaInstanceValidationHttpFailure(value.content);
124
+ case "UnprocessableEntityError":
125
+ return CandidApi.encounters.v4.createUniversal.Error.unprocessableEntityError(value.content);
120
126
  case "InvalidTagNamesError":
121
127
  return CandidApi.encounters.v4.createUniversal.Error.invalidTagNamesError(value.content);
122
128
  case "HttpRequestValidationError":
@@ -17,6 +17,7 @@ import { Guarantor } from "../../../../guarantor/resources/v1/types/Guarantor";
17
17
  import { Patient } from "../../../../individual/types/Patient";
18
18
  import { Subscriber } from "../../../../individual/types/Subscriber";
19
19
  import { PatientPayment } from "../../../../patientPayments/resources/v3/types/PatientPayment";
20
+ import { RelatedCausesInformation } from "../../../../relatedCausesInformation/resources/v1/types/RelatedCausesInformation";
20
21
  import { EncounterServiceFacility } from "../../../../serviceFacility/types/EncounterServiceFacility";
21
22
  import { Tag } from "../../../../tags/types/Tag";
22
23
  import { PatientDischargeStatusCode } from "../../../../x12/resources/v1/types/PatientDischargeStatusCode";
@@ -54,6 +55,7 @@ export declare namespace Encounter {
54
55
  discharge_status?: PatientDischargeStatusCode.Raw | null;
55
56
  operating_provider?: EncounterProvider.Raw | null;
56
57
  other_operating_provider?: EncounterProvider.Raw | null;
58
+ related_causes_information?: RelatedCausesInformation.Raw | null;
57
59
  submission_expectation?: EncounterSubmissionExpectation.Raw | null;
58
60
  type_of_bill?: TypeOfBillComposite.Raw | null;
59
61
  referring_provider?: EncounterProvider.Raw | null;
@@ -52,6 +52,7 @@ const Guarantor_1 = require("../../../../guarantor/resources/v1/types/Guarantor"
52
52
  const Patient_1 = require("../../../../individual/types/Patient");
53
53
  const Subscriber_1 = require("../../../../individual/types/Subscriber");
54
54
  const PatientPayment_1 = require("../../../../patientPayments/resources/v3/types/PatientPayment");
55
+ const RelatedCausesInformation_1 = require("../../../../relatedCausesInformation/resources/v1/types/RelatedCausesInformation");
55
56
  const EncounterServiceFacility_1 = require("../../../../serviceFacility/types/EncounterServiceFacility");
56
57
  const Tag_1 = require("../../../../tags/types/Tag");
57
58
  const PatientDischargeStatusCode_1 = require("../../../../x12/resources/v1/types/PatientDischargeStatusCode");
@@ -88,6 +89,7 @@ exports.Encounter = core.serialization
88
89
  dischargeStatus: core.serialization.property("discharge_status", PatientDischargeStatusCode_1.PatientDischargeStatusCode.optional()),
89
90
  operatingProvider: core.serialization.property("operating_provider", EncounterProvider_1.EncounterProvider.optional()),
90
91
  otherOperatingProvider: core.serialization.property("other_operating_provider", EncounterProvider_1.EncounterProvider.optional()),
92
+ relatedCausesInformation: core.serialization.property("related_causes_information", RelatedCausesInformation_1.RelatedCausesInformation.optional()),
91
93
  submissionExpectation: core.serialization.property("submission_expectation", EncounterSubmissionExpectation_1.EncounterSubmissionExpectation.optional()),
92
94
  typeOfBill: core.serialization.property("type_of_bill", TypeOfBillComposite_1.TypeOfBillComposite.optional()),
93
95
  referringProvider: core.serialization.property("referring_provider", EncounterProvider_1.EncounterProvider.optional()),
@@ -17,6 +17,7 @@ import { ResponsiblePartyType } from "../../encounters/resources/v4/types/Respon
17
17
  import { GuarantorCreate } from "../../guarantor/resources/v1/types/GuarantorCreate";
18
18
  import { PatientCreate } from "../../individual/types/PatientCreate";
19
19
  import { SubscriberCreate } from "../../individual/types/SubscriberCreate";
20
+ import { RelatedCausesInformationCreate } from "../../relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate";
20
21
  import { EncounterServiceFacilityBase } from "../../serviceFacility/types/EncounterServiceFacilityBase";
21
22
  import { TagId } from "../../tags/types/TagId";
22
23
  export declare const UniversalEncounterCreateBase: core.serialization.ObjectSchema<serializers.encountersUniversal.UniversalEncounterCreateBase.Raw, CandidApi.encountersUniversal.UniversalEncounterCreateBase>;
@@ -43,5 +44,6 @@ export declare namespace UniversalEncounterCreateBase {
43
44
  epsdt_referral?: EpsdtReferral.Raw | null;
44
45
  claim_supplemental_information?: ClaimSupplementalInformation.Raw[] | null;
45
46
  secondary_payer_carrier_code?: string | null;
47
+ related_causes_information?: RelatedCausesInformationCreate.Raw | null;
46
48
  }
47
49
  }
@@ -52,6 +52,7 @@ const ResponsiblePartyType_1 = require("../../encounters/resources/v4/types/Resp
52
52
  const GuarantorCreate_1 = require("../../guarantor/resources/v1/types/GuarantorCreate");
53
53
  const PatientCreate_1 = require("../../individual/types/PatientCreate");
54
54
  const SubscriberCreate_1 = require("../../individual/types/SubscriberCreate");
55
+ const RelatedCausesInformationCreate_1 = require("../../relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate");
55
56
  const EncounterServiceFacilityBase_1 = require("../../serviceFacility/types/EncounterServiceFacilityBase");
56
57
  const TagId_1 = require("../../tags/types/TagId");
57
58
  exports.UniversalEncounterCreateBase = core.serialization
@@ -77,5 +78,6 @@ exports.UniversalEncounterCreateBase = core.serialization
77
78
  epsdtReferral: core.serialization.property("epsdt_referral", EpsdtReferral_1.EpsdtReferral.optional()),
78
79
  claimSupplementalInformation: core.serialization.property("claim_supplemental_information", core.serialization.list(ClaimSupplementalInformation_1.ClaimSupplementalInformation).optional()),
79
80
  secondaryPayerCarrierCode: core.serialization.property("secondary_payer_carrier_code", core.serialization.string().optional()),
81
+ relatedCausesInformation: core.serialization.property("related_causes_information", RelatedCausesInformationCreate_1.RelatedCausesInformationCreate.optional()),
80
82
  })
81
83
  .extend(EncounterBase_1.EncounterBase);
@@ -12,6 +12,7 @@ import { SupervisingProvider } from "../../encounterProviders/resources/v2/types
12
12
  import { ClinicalNoteCategoryCreate } from "../../encounters/resources/v4/types/ClinicalNoteCategoryCreate";
13
13
  import { EncounterBase } from "../../encounters/resources/v4/types/EncounterBase";
14
14
  import { PatientHistoryCategory } from "../../encounters/resources/v4/types/PatientHistoryCategory";
15
+ import { RelatedCausesInformationCreate } from "../../relatedCausesInformation/resources/v1/types/RelatedCausesInformationCreate";
15
16
  import { EncounterServiceFacilityBase } from "../../serviceFacility/types/EncounterServiceFacilityBase";
16
17
  import { TagId } from "../../tags/types/TagId";
17
18
  export declare const UniversalEncounterCreateFromPreEncounterBase: core.serialization.ObjectSchema<serializers.encountersUniversal.UniversalEncounterCreateFromPreEncounterBase.Raw, CandidApi.encountersUniversal.UniversalEncounterCreateFromPreEncounterBase>;
@@ -29,5 +30,6 @@ export declare namespace UniversalEncounterCreateFromPreEncounterBase {
29
30
  external_claim_submission?: ExternalClaimSubmissionCreate.Raw | null;
30
31
  tag_ids?: TagId.Raw[] | null;
31
32
  schema_instances?: SchemaInstance.Raw[] | null;
33
+ related_causes_information?: RelatedCausesInformationCreate.Raw | null;
32
34
  }
33
35
  }