candidhealth 1.7.0 → 1.8.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 (882) hide show
  1. package/api/resources/auth/resources/default/client/Client.d.ts +3 -1
  2. package/api/resources/auth/resources/default/client/Client.js +5 -3
  3. package/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +9 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  5. package/api/resources/chargeCapture/resources/v1/client/Client.js +76 -7
  6. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +36 -0
  7. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +42 -5
  8. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +20 -0
  9. package/api/resources/commons/types/Clearinghouse.d.ts +14 -0
  10. package/api/resources/commons/types/Clearinghouse.js +16 -0
  11. package/api/resources/commons/types/ProcedureModifier.d.ts +13 -2
  12. package/api/resources/commons/types/ProcedureModifier.js +11 -0
  13. package/api/resources/commons/types/index.d.ts +1 -0
  14. package/api/resources/commons/types/index.js +1 -0
  15. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  16. package/api/resources/credentialing/resources/v2/client/Client.js +10 -10
  17. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  18. package/api/resources/diagnoses/client/Client.js +3 -3
  19. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  20. package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  21. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  22. package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +1 -1
  23. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +1 -1
  24. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +1 -1
  25. package/api/resources/encounters/resources/v4/client/Client.d.ts +108 -9
  26. package/api/resources/encounters/resources/v4/client/Client.js +279 -15
  27. package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  28. package/api/resources/encounters/resources/v4/client/create.js +11 -0
  29. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +70 -0
  30. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +145 -0
  31. package/api/resources/encounters/resources/v4/client/createUniversal.d.ts +94 -0
  32. package/api/resources/encounters/resources/v4/client/createUniversal.js +189 -0
  33. package/api/resources/encounters/resources/v4/client/index.d.ts +3 -0
  34. package/api/resources/encounters/resources/v4/client/index.js +4 -1
  35. package/api/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
  36. package/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +70 -0
  37. package/api/resources/encounters/resources/v4/client/updateUniversal.js +145 -0
  38. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -29
  39. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +10 -11
  40. package/api/resources/encounters/resources/v4/types/EncounterCreate.d.ts +27 -0
  41. package/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +3 -36
  42. package/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +9 -4
  43. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +10 -16
  44. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -9
  45. package/api/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +5 -0
  46. package/api/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +17 -0
  47. package/api/resources/encounters/resources/v4/types/index.d.ts +7 -4
  48. package/api/resources/encounters/resources/v4/types/index.js +7 -4
  49. package/api/resources/encountersUniversal/index.d.ts +1 -0
  50. package/api/resources/encountersUniversal/index.js +17 -0
  51. package/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +49 -0
  52. package/api/resources/{encounters/resources/v4/client/requests/EncounterCreate.d.ts → encountersUniversal/types/UniversalEncounterCreateBase.d.ts} +9 -70
  53. package/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +5 -0
  54. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +47 -0
  55. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +5 -0
  56. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +40 -0
  57. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +5 -0
  58. package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +39 -0
  59. package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.js +5 -0
  60. package/api/resources/{encounters/resources/v4/client/requests/EncounterUpdate.d.ts → encountersUniversal/types/UniversalEncounterUpdateBase.d.ts} +9 -18
  61. package/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +5 -0
  62. package/api/resources/encountersUniversal/types/index.d.ts +6 -0
  63. package/api/resources/encountersUniversal/types/index.js +22 -0
  64. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  65. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  66. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  67. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  68. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +12 -0
  69. package/api/resources/feeSchedules/resources/v3/client/Client.js +55 -11
  70. package/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +22 -0
  71. package/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +57 -0
  72. package/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
  73. package/api/resources/feeSchedules/resources/v3/client/index.js +2 -1
  74. package/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
  75. package/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +5 -0
  76. package/api/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
  77. package/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
  78. package/api/resources/financials/types/PatientTransactionSource.d.ts +2 -1
  79. package/api/resources/financials/types/PatientTransactionSource.js +1 -0
  80. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  81. package/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +2 -0
  82. package/api/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +2 -0
  83. package/api/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
  84. package/api/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
  85. package/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +2 -2
  86. package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +11 -0
  87. package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +5 -0
  88. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +11 -0
  89. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +5 -0
  90. package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +11 -0
  91. package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +5 -0
  92. package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +12 -0
  93. package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +5 -0
  94. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +19 -0
  95. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +5 -0
  96. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +12 -0
  97. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +5 -0
  98. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +12 -0
  99. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +5 -0
  100. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +12 -0
  101. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +5 -0
  102. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +12 -0
  103. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +5 -0
  104. package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +11 -0
  105. package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +5 -0
  106. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +12 -0
  107. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +5 -0
  108. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +12 -0
  109. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +5 -0
  110. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +11 -0
  111. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +5 -0
  112. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +12 -0
  113. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +5 -0
  114. package/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  115. package/api/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  116. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  117. package/api/resources/index.d.ts +1 -0
  118. package/api/resources/index.js +3 -2
  119. package/api/resources/individual/types/Patient.d.ts +2 -0
  120. package/api/resources/individual/types/PatientBase.d.ts +2 -2
  121. package/api/resources/individual/types/PatientCreate.d.ts +2 -0
  122. package/api/resources/individual/types/PatientUpdate.d.ts +3 -2
  123. package/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +3 -2
  124. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  125. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  126. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  127. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  128. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  129. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  130. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +7 -7
  131. package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +3 -1
  132. package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
  133. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  134. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  135. package/api/resources/patientAr/resources/v1/client/Client.js +2 -2
  136. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  137. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  138. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  139. package/api/resources/payers/client/Client.d.ts +3 -0
  140. package/api/resources/payers/client/Client.js +5 -0
  141. package/api/resources/payers/resources/index.d.ts +1 -0
  142. package/api/resources/payers/resources/index.js +2 -1
  143. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  144. package/api/resources/payers/resources/v4/client/Client.d.ts +45 -0
  145. package/api/resources/payers/resources/v4/client/Client.js +157 -0
  146. package/api/resources/payers/resources/v4/client/get.d.ts +22 -0
  147. package/api/resources/payers/resources/v4/client/get.js +57 -0
  148. package/api/resources/payers/resources/v4/client/getAll.d.ts +22 -0
  149. package/api/resources/payers/resources/v4/client/getAll.js +57 -0
  150. package/api/resources/payers/resources/v4/client/index.d.ts +3 -0
  151. package/api/resources/payers/resources/v4/client/index.js +42 -0
  152. package/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.d.ts +16 -0
  153. package/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.js +5 -0
  154. package/api/resources/payers/resources/v4/client/requests/index.d.ts +1 -0
  155. package/api/resources/payers/resources/v4/client/requests/index.js +2 -0
  156. package/api/resources/payers/resources/v4/index.d.ts +2 -0
  157. package/api/resources/payers/resources/v4/index.js +18 -0
  158. package/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
  159. package/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +5 -0
  160. package/api/resources/payers/resources/v4/types/Payer.d.ts +14 -0
  161. package/api/resources/payers/resources/v4/types/Payer.js +5 -0
  162. package/api/resources/payers/resources/v4/types/PayerIds.d.ts +11 -0
  163. package/api/resources/payers/resources/v4/types/PayerIds.js +5 -0
  164. package/api/resources/payers/resources/v4/types/PayerPage.d.ts +7 -0
  165. package/api/resources/payers/resources/v4/types/PayerPage.js +5 -0
  166. package/api/resources/payers/resources/v4/types/PayerUuid.d.ts +8 -0
  167. package/api/resources/payers/resources/v4/types/PayerUuid.js +9 -0
  168. package/api/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +11 -0
  169. package/api/resources/payers/resources/v4/types/PrimaryPayerIds.js +5 -0
  170. package/api/resources/payers/resources/v4/types/SupportState.d.ts +9 -0
  171. package/api/resources/payers/resources/v4/types/SupportState.js +11 -0
  172. package/api/resources/payers/resources/v4/types/index.d.ts +7 -0
  173. package/api/resources/payers/resources/v4/types/index.js +23 -0
  174. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  175. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +0 -2
  176. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -12
  177. package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  178. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +6 -6
  179. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  180. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  181. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  182. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +10 -12
  183. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +64 -23
  184. package/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +28 -0
  185. package/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +68 -0
  186. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  187. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  188. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +0 -4
  189. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +0 -4
  190. package/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  191. package/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +7 -0
  192. package/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +5 -0
  193. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -1
  194. package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +2 -1
  195. package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -0
  196. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
  197. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
  198. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  199. package/api/resources/serviceFacility/client/Client.js +1 -1
  200. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +23 -2
  201. package/api/resources/serviceLines/resources/v2/client/Client.js +120 -5
  202. package/api/resources/serviceLines/resources/v2/client/createUniversal.d.ts +28 -0
  203. package/api/resources/serviceLines/resources/v2/client/createUniversal.js +68 -0
  204. package/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  205. package/api/resources/serviceLines/resources/v2/client/index.js +3 -1
  206. package/api/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +40 -0
  207. package/api/resources/serviceLines/resources/v2/client/updateUniversal.js +90 -0
  208. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -4
  209. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -45
  210. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +7 -0
  211. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +5 -0
  212. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +47 -0
  213. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +5 -0
  214. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +9 -9
  215. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -47
  216. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +7 -0
  217. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +5 -0
  218. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +49 -0
  219. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +5 -0
  220. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -45
  221. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +45 -0
  222. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +5 -0
  223. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +11 -0
  224. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +5 -0
  225. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +13 -0
  226. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +5 -0
  227. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +12 -0
  228. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +5 -0
  229. package/api/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
  230. package/api/resources/serviceLines/resources/v2/types/index.js +8 -0
  231. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  232. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  233. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  234. package/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +1 -7
  235. package/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +12 -0
  236. package/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +5 -0
  237. package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +30 -0
  238. package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +5 -0
  239. package/api/resources/x12/resources/v1/types/index.d.ts +2 -0
  240. package/api/resources/x12/resources/v1/types/index.js +2 -0
  241. package/dist/api/resources/auth/resources/default/client/Client.d.ts +3 -1
  242. package/dist/api/resources/auth/resources/default/client/Client.js +5 -3
  243. package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +9 -1
  244. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  245. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +76 -7
  246. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +36 -0
  247. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +42 -5
  248. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +20 -0
  249. package/dist/api/resources/commons/types/Clearinghouse.d.ts +14 -0
  250. package/dist/api/resources/commons/types/Clearinghouse.js +16 -0
  251. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +13 -2
  252. package/dist/api/resources/commons/types/ProcedureModifier.js +11 -0
  253. package/dist/api/resources/commons/types/index.d.ts +1 -0
  254. package/dist/api/resources/commons/types/index.js +1 -0
  255. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  256. package/dist/api/resources/credentialing/resources/v2/client/Client.js +10 -10
  257. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  258. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  259. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  260. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  261. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  262. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +1 -1
  263. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +1 -1
  264. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +1 -1
  265. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +108 -9
  266. package/dist/api/resources/encounters/resources/v4/client/Client.js +279 -15
  267. package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  268. package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
  269. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +70 -0
  270. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +145 -0
  271. package/dist/api/resources/encounters/resources/v4/client/createUniversal.d.ts +94 -0
  272. package/dist/api/resources/encounters/resources/v4/client/createUniversal.js +189 -0
  273. package/dist/api/resources/encounters/resources/v4/client/index.d.ts +3 -0
  274. package/dist/api/resources/encounters/resources/v4/client/index.js +4 -1
  275. package/dist/api/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
  276. package/dist/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +70 -0
  277. package/dist/api/resources/encounters/resources/v4/client/updateUniversal.js +145 -0
  278. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -29
  279. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +10 -11
  280. package/dist/api/resources/encounters/resources/v4/types/EncounterCreate.d.ts +27 -0
  281. package/dist/api/resources/encounters/resources/v4/types/EncounterCreate.js +5 -0
  282. package/dist/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +3 -36
  283. package/dist/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +9 -4
  284. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +10 -16
  285. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -9
  286. package/dist/api/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +5 -0
  287. package/dist/api/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js +5 -0
  288. package/dist/api/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +17 -0
  289. package/dist/api/resources/encounters/resources/v4/types/EncounterUpdate.js +5 -0
  290. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +7 -4
  291. package/dist/api/resources/encounters/resources/v4/types/index.js +7 -4
  292. package/dist/api/resources/encountersUniversal/index.d.ts +1 -0
  293. package/dist/api/resources/encountersUniversal/index.js +17 -0
  294. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +49 -0
  295. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.js +5 -0
  296. package/dist/api/resources/{encounters/resources/v4/client/requests/EncounterCreate.d.ts → encountersUniversal/types/UniversalEncounterCreateBase.d.ts} +9 -70
  297. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +5 -0
  298. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +47 -0
  299. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +5 -0
  300. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +40 -0
  301. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +5 -0
  302. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +39 -0
  303. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.js +5 -0
  304. package/dist/api/resources/{encounters/resources/v4/client/requests/EncounterUpdate.d.ts → encountersUniversal/types/UniversalEncounterUpdateBase.d.ts} +9 -18
  305. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +5 -0
  306. package/dist/api/resources/encountersUniversal/types/index.d.ts +6 -0
  307. package/dist/api/resources/encountersUniversal/types/index.js +22 -0
  308. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  309. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  310. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  311. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  312. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +12 -0
  313. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +55 -11
  314. package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +22 -0
  315. package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +57 -0
  316. package/dist/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
  317. package/dist/api/resources/feeSchedules/resources/v3/client/index.js +2 -1
  318. package/dist/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
  319. package/dist/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +5 -0
  320. package/dist/api/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
  321. package/dist/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
  322. package/dist/api/resources/financials/types/PatientTransactionSource.d.ts +2 -1
  323. package/dist/api/resources/financials/types/PatientTransactionSource.js +1 -0
  324. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  325. package/dist/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +2 -0
  326. package/dist/api/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +2 -0
  327. package/dist/api/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
  328. package/dist/api/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
  329. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +2 -2
  330. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +11 -0
  331. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +5 -0
  332. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +11 -0
  333. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +5 -0
  334. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +11 -0
  335. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +5 -0
  336. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +12 -0
  337. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +5 -0
  338. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +19 -0
  339. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +5 -0
  340. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +12 -0
  341. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +5 -0
  342. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +12 -0
  343. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +5 -0
  344. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +12 -0
  345. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +5 -0
  346. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +12 -0
  347. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +5 -0
  348. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +11 -0
  349. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +5 -0
  350. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +12 -0
  351. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +5 -0
  352. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +12 -0
  353. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +5 -0
  354. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +11 -0
  355. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +5 -0
  356. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +12 -0
  357. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +5 -0
  358. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  359. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  360. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  361. package/dist/api/resources/index.d.ts +1 -0
  362. package/dist/api/resources/index.js +3 -2
  363. package/dist/api/resources/individual/types/Patient.d.ts +2 -0
  364. package/dist/api/resources/individual/types/PatientBase.d.ts +2 -2
  365. package/dist/api/resources/individual/types/PatientCreate.d.ts +2 -0
  366. package/dist/api/resources/individual/types/PatientUpdate.d.ts +3 -2
  367. package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +3 -2
  368. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  369. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  370. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  371. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  372. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  373. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  374. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +7 -7
  375. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +3 -1
  376. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
  377. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  378. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  379. package/dist/api/resources/patientAr/resources/v1/client/Client.js +2 -2
  380. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  381. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  382. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  383. package/dist/api/resources/payers/client/Client.d.ts +3 -0
  384. package/dist/api/resources/payers/client/Client.js +5 -0
  385. package/dist/api/resources/payers/resources/index.d.ts +1 -0
  386. package/dist/api/resources/payers/resources/index.js +2 -1
  387. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  388. package/dist/api/resources/payers/resources/v4/client/Client.d.ts +45 -0
  389. package/dist/api/resources/payers/resources/v4/client/Client.js +157 -0
  390. package/dist/api/resources/payers/resources/v4/client/get.d.ts +22 -0
  391. package/dist/api/resources/payers/resources/v4/client/get.js +57 -0
  392. package/dist/api/resources/payers/resources/v4/client/getAll.d.ts +22 -0
  393. package/dist/api/resources/payers/resources/v4/client/getAll.js +57 -0
  394. package/dist/api/resources/payers/resources/v4/client/index.d.ts +3 -0
  395. package/dist/api/resources/payers/resources/v4/client/index.js +42 -0
  396. package/dist/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.d.ts +16 -0
  397. package/dist/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.js +5 -0
  398. package/dist/api/resources/payers/resources/v4/client/requests/index.d.ts +1 -0
  399. package/dist/api/resources/payers/resources/v4/client/requests/index.js +2 -0
  400. package/dist/api/resources/payers/resources/v4/index.d.ts +2 -0
  401. package/dist/api/resources/payers/resources/v4/index.js +18 -0
  402. package/dist/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
  403. package/dist/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +5 -0
  404. package/dist/api/resources/payers/resources/v4/types/Payer.d.ts +14 -0
  405. package/dist/api/resources/payers/resources/v4/types/Payer.js +5 -0
  406. package/dist/api/resources/payers/resources/v4/types/PayerIds.d.ts +11 -0
  407. package/dist/api/resources/payers/resources/v4/types/PayerIds.js +5 -0
  408. package/dist/api/resources/payers/resources/v4/types/PayerPage.d.ts +7 -0
  409. package/dist/api/resources/payers/resources/v4/types/PayerPage.js +5 -0
  410. package/dist/api/resources/payers/resources/v4/types/PayerUuid.d.ts +8 -0
  411. package/dist/api/resources/payers/resources/v4/types/PayerUuid.js +9 -0
  412. package/dist/api/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +11 -0
  413. package/dist/api/resources/payers/resources/v4/types/PrimaryPayerIds.js +5 -0
  414. package/dist/api/resources/payers/resources/v4/types/SupportState.d.ts +9 -0
  415. package/dist/api/resources/payers/resources/v4/types/SupportState.js +11 -0
  416. package/dist/api/resources/payers/resources/v4/types/index.d.ts +7 -0
  417. package/dist/api/resources/payers/resources/v4/types/index.js +23 -0
  418. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  419. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +0 -2
  420. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -12
  421. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  422. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +6 -6
  423. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  424. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  425. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  426. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +10 -12
  427. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +64 -23
  428. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +28 -0
  429. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +68 -0
  430. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  431. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  432. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +0 -4
  433. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +0 -4
  434. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  435. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +7 -0
  436. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +5 -0
  437. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -1
  438. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +2 -1
  439. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -0
  440. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
  441. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
  442. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  443. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  444. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +23 -2
  445. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +120 -5
  446. package/dist/api/resources/serviceLines/resources/v2/client/createUniversal.d.ts +28 -0
  447. package/dist/api/resources/serviceLines/resources/v2/client/createUniversal.js +68 -0
  448. package/dist/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  449. package/dist/api/resources/serviceLines/resources/v2/client/index.js +3 -1
  450. package/dist/api/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +40 -0
  451. package/dist/api/resources/serviceLines/resources/v2/client/updateUniversal.js +90 -0
  452. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -4
  453. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -45
  454. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +7 -0
  455. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +5 -0
  456. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +47 -0
  457. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +5 -0
  458. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +9 -9
  459. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -47
  460. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +7 -0
  461. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +5 -0
  462. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +49 -0
  463. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +5 -0
  464. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -45
  465. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +45 -0
  466. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +5 -0
  467. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +11 -0
  468. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +5 -0
  469. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +13 -0
  470. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +5 -0
  471. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +12 -0
  472. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +5 -0
  473. package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
  474. package/dist/api/resources/serviceLines/resources/v2/types/index.js +8 -0
  475. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  476. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  477. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  478. package/dist/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +1 -7
  479. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +12 -0
  480. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +5 -0
  481. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +30 -0
  482. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +5 -0
  483. package/dist/api/resources/x12/resources/v1/types/index.d.ts +2 -0
  484. package/dist/api/resources/x12/resources/v1/types/index.js +2 -0
  485. package/dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +3 -0
  486. package/dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +3 -0
  487. package/dist/serialization/resources/commons/types/Clearinghouse.d.ts +10 -0
  488. package/dist/serialization/resources/commons/types/Clearinghouse.js +50 -0
  489. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  490. package/dist/serialization/resources/commons/types/ProcedureModifier.js +11 -0
  491. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  492. package/dist/serialization/resources/commons/types/index.js +1 -0
  493. package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  494. package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  495. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +49 -0
  496. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +112 -0
  497. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +69 -0
  498. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.js +136 -0
  499. package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +3 -1
  500. package/dist/serialization/resources/encounters/resources/v4/client/index.js +4 -5
  501. package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +50 -0
  502. package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.js +113 -0
  503. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -4
  504. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -4
  505. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -2
  506. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +2 -2
  507. package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreate.d.ts +22 -0
  508. package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreate.js +55 -0
  509. package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +4 -28
  510. package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.js +4 -28
  511. package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
  512. package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +2 -0
  513. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -2
  514. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -2
  515. package/dist/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +11 -0
  516. package/dist/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js +41 -0
  517. package/dist/serialization/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +16 -0
  518. package/dist/serialization/resources/encounters/resources/v4/types/EncounterUpdate.js +49 -0
  519. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -4
  520. package/dist/serialization/resources/encounters/resources/v4/types/index.js +7 -4
  521. package/dist/serialization/resources/encountersUniversal/index.d.ts +1 -0
  522. package/dist/serialization/resources/encountersUniversal/index.js +17 -0
  523. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +39 -0
  524. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +72 -0
  525. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +50 -0
  526. package/{serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js → dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js} +21 -31
  527. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +37 -0
  528. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +70 -0
  529. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +36 -0
  530. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +69 -0
  531. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +32 -0
  532. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +65 -0
  533. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +46 -0
  534. package/{serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js → dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js} +20 -22
  535. package/dist/serialization/resources/encountersUniversal/types/index.d.ts +6 -0
  536. package/dist/serialization/resources/encountersUniversal/types/index.js +22 -0
  537. package/dist/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +9 -0
  538. package/dist/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +41 -0
  539. package/dist/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
  540. package/dist/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
  541. package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
  542. package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +44 -0
  543. package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
  544. package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/index.js +3 -1
  545. package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
  546. package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +1 -0
  547. package/dist/serialization/resources/financials/types/PatientTransactionSource.d.ts +1 -1
  548. package/dist/serialization/resources/financials/types/PatientTransactionSource.js +10 -1
  549. package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -0
  550. package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.js +1 -0
  551. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +1 -0
  552. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.js +1 -0
  553. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
  554. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +1 -0
  555. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
  556. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.js +1 -0
  557. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +16 -0
  558. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +49 -0
  559. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +16 -0
  560. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +49 -0
  561. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +16 -0
  562. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +49 -0
  563. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +18 -0
  564. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +51 -0
  565. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +37 -0
  566. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +68 -0
  567. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +18 -0
  568. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +51 -0
  569. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +18 -0
  570. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +51 -0
  571. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +18 -0
  572. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +51 -0
  573. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +18 -0
  574. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +51 -0
  575. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +16 -0
  576. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +49 -0
  577. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +18 -0
  578. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +51 -0
  579. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +18 -0
  580. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +51 -0
  581. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +16 -0
  582. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +49 -0
  583. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +18 -0
  584. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +51 -0
  585. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  586. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  587. package/dist/serialization/resources/index.d.ts +1 -0
  588. package/dist/serialization/resources/index.js +3 -2
  589. package/dist/serialization/resources/individual/types/Patient.d.ts +1 -0
  590. package/dist/serialization/resources/individual/types/Patient.js +1 -0
  591. package/dist/serialization/resources/individual/types/PatientCreate.d.ts +1 -0
  592. package/dist/serialization/resources/individual/types/PatientCreate.js +1 -0
  593. package/dist/serialization/resources/individual/types/PatientUpdate.d.ts +1 -0
  594. package/dist/serialization/resources/individual/types/PatientUpdate.js +1 -0
  595. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +1 -0
  596. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +1 -0
  597. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  598. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
  599. package/dist/serialization/resources/payers/resources/index.d.ts +1 -0
  600. package/dist/serialization/resources/payers/resources/index.js +2 -1
  601. package/dist/serialization/resources/payers/resources/v4/index.d.ts +1 -0
  602. package/dist/serialization/resources/payers/resources/v4/index.js +17 -0
  603. package/dist/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
  604. package/dist/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +51 -0
  605. package/dist/serialization/resources/payers/resources/v4/types/Payer.d.ts +21 -0
  606. package/dist/serialization/resources/payers/resources/v4/types/Payer.js +52 -0
  607. package/dist/serialization/resources/payers/resources/v4/types/PayerIds.d.ts +14 -0
  608. package/dist/serialization/resources/payers/resources/v4/types/PayerIds.js +45 -0
  609. package/dist/serialization/resources/payers/resources/v4/types/PayerPage.d.ts +14 -0
  610. package/dist/serialization/resources/payers/resources/v4/types/PayerPage.js +47 -0
  611. package/dist/serialization/resources/payers/resources/v4/types/PayerUuid.d.ts +10 -0
  612. package/dist/serialization/resources/payers/resources/v4/types/PayerUuid.js +45 -0
  613. package/dist/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +14 -0
  614. package/dist/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.js +45 -0
  615. package/dist/serialization/resources/payers/resources/v4/types/SupportState.d.ts +10 -0
  616. package/dist/serialization/resources/payers/resources/v4/types/SupportState.js +41 -0
  617. package/dist/serialization/resources/payers/resources/v4/types/index.d.ts +7 -0
  618. package/dist/serialization/resources/payers/resources/v4/types/index.js +23 -0
  619. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  620. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +1 -1
  621. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +15 -0
  622. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +71 -0
  623. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  624. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  625. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  626. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
  627. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +13 -0
  628. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +44 -0
  629. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -1
  630. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -1
  631. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +1 -1
  632. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -1
  633. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
  634. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
  635. package/dist/serialization/resources/serviceLines/resources/v2/client/createUniversal.d.ts +15 -0
  636. package/dist/serialization/resources/serviceLines/resources/v2/client/createUniversal.js +71 -0
  637. package/dist/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  638. package/dist/serialization/resources/serviceLines/resources/v2/client/index.js +3 -1
  639. package/dist/serialization/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +25 -0
  640. package/dist/serialization/resources/serviceLines/resources/v2/client/updateUniversal.js +83 -0
  641. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -23
  642. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +5 -24
  643. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +13 -0
  644. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +46 -0
  645. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +32 -0
  646. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +63 -0
  647. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
  648. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
  649. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -27
  650. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -28
  651. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +13 -0
  652. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +46 -0
  653. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +36 -0
  654. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +67 -0
  655. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -24
  656. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -25
  657. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +34 -0
  658. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +65 -0
  659. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +15 -0
  660. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +48 -0
  661. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +19 -0
  662. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +52 -0
  663. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +18 -0
  664. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +51 -0
  665. package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
  666. package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +8 -0
  667. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +2 -7
  668. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -8
  669. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +17 -0
  670. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +48 -0
  671. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +18 -0
  672. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +52 -0
  673. package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
  674. package/dist/serialization/resources/x12/resources/v1/types/index.js +2 -0
  675. package/dist/version.d.ts +1 -1
  676. package/dist/version.js +1 -1
  677. package/package.json +1 -1
  678. package/reference.md +682 -114
  679. package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +3 -0
  680. package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +3 -0
  681. package/serialization/resources/commons/types/Clearinghouse.d.ts +10 -0
  682. package/serialization/resources/commons/types/Clearinghouse.js +50 -0
  683. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  684. package/serialization/resources/commons/types/ProcedureModifier.js +11 -0
  685. package/serialization/resources/commons/types/index.d.ts +1 -0
  686. package/serialization/resources/commons/types/index.js +1 -0
  687. package/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  688. package/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  689. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +49 -0
  690. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +112 -0
  691. package/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +69 -0
  692. package/serialization/resources/encounters/resources/v4/client/createUniversal.js +136 -0
  693. package/serialization/resources/encounters/resources/v4/client/index.d.ts +3 -1
  694. package/serialization/resources/encounters/resources/v4/client/index.js +4 -5
  695. package/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +50 -0
  696. package/serialization/resources/encounters/resources/v4/client/updateUniversal.js +113 -0
  697. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -4
  698. package/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -4
  699. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -2
  700. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +2 -2
  701. package/serialization/resources/encounters/resources/v4/types/EncounterCreate.d.ts +22 -0
  702. package/serialization/resources/encounters/resources/v4/types/EncounterCreate.js +55 -0
  703. package/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +4 -28
  704. package/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.js +4 -28
  705. package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
  706. package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +2 -0
  707. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -2
  708. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -2
  709. package/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +11 -0
  710. package/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js +41 -0
  711. package/serialization/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +16 -0
  712. package/serialization/resources/encounters/resources/v4/types/EncounterUpdate.js +49 -0
  713. package/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -4
  714. package/serialization/resources/encounters/resources/v4/types/index.js +7 -4
  715. package/serialization/resources/encountersUniversal/index.d.ts +1 -0
  716. package/serialization/resources/encountersUniversal/index.js +17 -0
  717. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +39 -0
  718. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +72 -0
  719. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +50 -0
  720. package/{dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js → serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js} +21 -31
  721. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +37 -0
  722. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +70 -0
  723. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +36 -0
  724. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +69 -0
  725. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +32 -0
  726. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +65 -0
  727. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +46 -0
  728. package/{dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js → serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js} +20 -22
  729. package/serialization/resources/encountersUniversal/types/index.d.ts +6 -0
  730. package/serialization/resources/encountersUniversal/types/index.js +22 -0
  731. package/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +9 -0
  732. package/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +41 -0
  733. package/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
  734. package/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
  735. package/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
  736. package/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +44 -0
  737. package/serialization/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
  738. package/serialization/resources/feeSchedules/resources/v3/client/requests/index.js +3 -1
  739. package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
  740. package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +1 -0
  741. package/serialization/resources/financials/types/PatientTransactionSource.d.ts +1 -1
  742. package/serialization/resources/financials/types/PatientTransactionSource.js +10 -1
  743. package/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -0
  744. package/serialization/resources/guarantor/resources/v1/types/Guarantor.js +1 -0
  745. package/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +1 -0
  746. package/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.js +1 -0
  747. package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
  748. package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +1 -0
  749. package/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
  750. package/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.js +1 -0
  751. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +16 -0
  752. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +49 -0
  753. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +16 -0
  754. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +49 -0
  755. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +16 -0
  756. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +49 -0
  757. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +18 -0
  758. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +51 -0
  759. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +37 -0
  760. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +68 -0
  761. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +18 -0
  762. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +51 -0
  763. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +18 -0
  764. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +51 -0
  765. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +18 -0
  766. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +51 -0
  767. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +18 -0
  768. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +51 -0
  769. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +16 -0
  770. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +49 -0
  771. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +18 -0
  772. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +51 -0
  773. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +18 -0
  774. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +51 -0
  775. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +16 -0
  776. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +49 -0
  777. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +18 -0
  778. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +51 -0
  779. package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
  780. package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
  781. package/serialization/resources/index.d.ts +1 -0
  782. package/serialization/resources/index.js +3 -2
  783. package/serialization/resources/individual/types/Patient.d.ts +1 -0
  784. package/serialization/resources/individual/types/Patient.js +1 -0
  785. package/serialization/resources/individual/types/PatientCreate.d.ts +1 -0
  786. package/serialization/resources/individual/types/PatientCreate.js +1 -0
  787. package/serialization/resources/individual/types/PatientUpdate.d.ts +1 -0
  788. package/serialization/resources/individual/types/PatientUpdate.js +1 -0
  789. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +1 -0
  790. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +1 -0
  791. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  792. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
  793. package/serialization/resources/payers/resources/index.d.ts +1 -0
  794. package/serialization/resources/payers/resources/index.js +2 -1
  795. package/serialization/resources/payers/resources/v4/index.d.ts +1 -0
  796. package/serialization/resources/payers/resources/v4/index.js +17 -0
  797. package/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
  798. package/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +51 -0
  799. package/serialization/resources/payers/resources/v4/types/Payer.d.ts +21 -0
  800. package/serialization/resources/payers/resources/v4/types/Payer.js +52 -0
  801. package/serialization/resources/payers/resources/v4/types/PayerIds.d.ts +14 -0
  802. package/serialization/resources/payers/resources/v4/types/PayerIds.js +45 -0
  803. package/serialization/resources/payers/resources/v4/types/PayerPage.d.ts +14 -0
  804. package/serialization/resources/payers/resources/v4/types/PayerPage.js +47 -0
  805. package/serialization/resources/payers/resources/v4/types/PayerUuid.d.ts +10 -0
  806. package/serialization/resources/payers/resources/v4/types/PayerUuid.js +45 -0
  807. package/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +14 -0
  808. package/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.js +45 -0
  809. package/serialization/resources/payers/resources/v4/types/SupportState.d.ts +10 -0
  810. package/serialization/resources/payers/resources/v4/types/SupportState.js +41 -0
  811. package/serialization/resources/payers/resources/v4/types/index.d.ts +7 -0
  812. package/serialization/resources/payers/resources/v4/types/index.js +23 -0
  813. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  814. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +1 -1
  815. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +15 -0
  816. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +71 -0
  817. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  818. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  819. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  820. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
  821. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +13 -0
  822. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +44 -0
  823. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -1
  824. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -1
  825. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +1 -1
  826. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -1
  827. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
  828. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
  829. package/serialization/resources/serviceLines/resources/v2/client/createUniversal.d.ts +15 -0
  830. package/serialization/resources/serviceLines/resources/v2/client/createUniversal.js +71 -0
  831. package/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  832. package/serialization/resources/serviceLines/resources/v2/client/index.js +3 -1
  833. package/serialization/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +25 -0
  834. package/serialization/resources/serviceLines/resources/v2/client/updateUniversal.js +83 -0
  835. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -23
  836. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +5 -24
  837. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +13 -0
  838. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +46 -0
  839. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +32 -0
  840. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +63 -0
  841. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
  842. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
  843. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -27
  844. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -28
  845. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +13 -0
  846. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +46 -0
  847. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +36 -0
  848. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +67 -0
  849. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -24
  850. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -25
  851. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +34 -0
  852. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +65 -0
  853. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +15 -0
  854. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +48 -0
  855. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +19 -0
  856. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +52 -0
  857. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +18 -0
  858. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +51 -0
  859. package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
  860. package/serialization/resources/serviceLines/resources/v2/types/index.js +8 -0
  861. package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +2 -7
  862. package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -8
  863. package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +17 -0
  864. package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +48 -0
  865. package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +18 -0
  866. package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +52 -0
  867. package/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
  868. package/serialization/resources/x12/resources/v1/types/index.js +2 -0
  869. package/version.d.ts +1 -1
  870. package/version.js +1 -1
  871. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -60
  872. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +0 -48
  873. package/dist/serialization/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
  874. package/dist/serialization/resources/encounters/resources/v4/client/requests/index.js +0 -7
  875. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -60
  876. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +0 -48
  877. package/serialization/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
  878. package/serialization/resources/encounters/resources/v4/client/requests/index.js +0 -7
  879. /package/api/resources/encounters/resources/v4/{client/requests → types}/EncounterCreate.js +0 -0
  880. /package/api/resources/encounters/resources/v4/{client/requests/EncounterUpdate.js → types/EncounterRenderingOrAttendingProviderRequiredError.js} +0 -0
  881. /package/{dist/api/resources/encounters/resources/v4/client/requests → api/resources/encounters/resources/v4/types}/EncounterUpdate.js +0 -0
  882. /package/{dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.js → api/resources/encountersUniversal/types/UniversalEncounterCreate.js} +0 -0
@@ -4,15 +4,10 @@
4
4
  import * as serializers from "../../../../../index";
5
5
  import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
- import { TypeOfFacilityCode } from "./TypeOfFacilityCode";
8
- import { TypeOfCareCode } from "./TypeOfCareCode";
9
- import { TypeOfBillFrequencyCode } from "./TypeOfBillFrequencyCode";
7
+ import { TypeOfBillCompositeBase } from "./TypeOfBillCompositeBase";
10
8
  export declare const TypeOfBillComposite: core.serialization.ObjectSchema<serializers.x12.v1.TypeOfBillComposite.Raw, CandidApi.x12.v1.TypeOfBillComposite>;
11
9
  export declare namespace TypeOfBillComposite {
12
- interface Raw {
10
+ interface Raw extends TypeOfBillCompositeBase.Raw {
13
11
  code: string;
14
- type_of_facility: TypeOfFacilityCode.Raw;
15
- type_of_care: TypeOfCareCode.Raw;
16
- frequency_code: TypeOfBillFrequencyCode.Raw;
17
12
  }
18
13
  }
@@ -38,12 +38,9 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.TypeOfBillComposite = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
- const TypeOfFacilityCode_1 = require("./TypeOfFacilityCode");
42
- const TypeOfCareCode_1 = require("./TypeOfCareCode");
43
- const TypeOfBillFrequencyCode_1 = require("./TypeOfBillFrequencyCode");
44
- exports.TypeOfBillComposite = core.serialization.object({
41
+ const TypeOfBillCompositeBase_1 = require("./TypeOfBillCompositeBase");
42
+ exports.TypeOfBillComposite = core.serialization
43
+ .object({
45
44
  code: core.serialization.string(),
46
- typeOfFacility: core.serialization.property("type_of_facility", TypeOfFacilityCode_1.TypeOfFacilityCode),
47
- typeOfCare: core.serialization.property("type_of_care", TypeOfCareCode_1.TypeOfCareCode),
48
- frequencyCode: core.serialization.property("frequency_code", TypeOfBillFrequencyCode_1.TypeOfBillFrequencyCode),
49
- });
45
+ })
46
+ .extend(TypeOfBillCompositeBase_1.TypeOfBillCompositeBase);
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { TypeOfFacilityCode } from "./TypeOfFacilityCode";
8
+ import { TypeOfCareCode } from "./TypeOfCareCode";
9
+ import { TypeOfBillFrequencyCode } from "./TypeOfBillFrequencyCode";
10
+ export declare const TypeOfBillCompositeBase: core.serialization.ObjectSchema<serializers.x12.v1.TypeOfBillCompositeBase.Raw, CandidApi.x12.v1.TypeOfBillCompositeBase>;
11
+ export declare namespace TypeOfBillCompositeBase {
12
+ interface Raw {
13
+ type_of_facility: TypeOfFacilityCode.Raw;
14
+ type_of_care: TypeOfCareCode.Raw;
15
+ frequency_code: TypeOfBillFrequencyCode.Raw;
16
+ }
17
+ }
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.TypeOfBillCompositeBase = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const TypeOfFacilityCode_1 = require("./TypeOfFacilityCode");
42
+ const TypeOfCareCode_1 = require("./TypeOfCareCode");
43
+ const TypeOfBillFrequencyCode_1 = require("./TypeOfBillFrequencyCode");
44
+ exports.TypeOfBillCompositeBase = core.serialization.object({
45
+ typeOfFacility: core.serialization.property("type_of_facility", TypeOfFacilityCode_1.TypeOfFacilityCode),
46
+ typeOfCare: core.serialization.property("type_of_care", TypeOfCareCode_1.TypeOfCareCode),
47
+ frequencyCode: core.serialization.property("frequency_code", TypeOfBillFrequencyCode_1.TypeOfBillFrequencyCode),
48
+ });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { TypeOfBillCompositeBase } from "./TypeOfBillCompositeBase";
8
+ export declare const TypeOfBillCompositeUpdate: core.serialization.Schema<serializers.x12.v1.TypeOfBillCompositeUpdate.Raw, CandidApi.x12.v1.TypeOfBillCompositeUpdate>;
9
+ export declare namespace TypeOfBillCompositeUpdate {
10
+ type Raw = TypeOfBillCompositeUpdate.RawCode | TypeOfBillCompositeUpdate.CompositeCodes;
11
+ interface RawCode {
12
+ type: "raw_code";
13
+ value: string;
14
+ }
15
+ interface CompositeCodes extends TypeOfBillCompositeBase.Raw {
16
+ type: "composite_codes";
17
+ }
18
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.TypeOfBillCompositeUpdate = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const TypeOfBillCompositeBase_1 = require("./TypeOfBillCompositeBase");
42
+ exports.TypeOfBillCompositeUpdate = core.serialization
43
+ .union("type", {
44
+ raw_code: core.serialization.object({
45
+ value: core.serialization.string(),
46
+ }),
47
+ composite_codes: TypeOfBillCompositeBase_1.TypeOfBillCompositeBase,
48
+ })
49
+ .transform({
50
+ transform: (value) => value,
51
+ untransform: (value) => value,
52
+ });
@@ -5,7 +5,9 @@ export * from "./Rarc";
5
5
  export * from "./TypeOfFacilityCode";
6
6
  export * from "./TypeOfCareCode";
7
7
  export * from "./TypeOfBillFrequencyCode";
8
+ export * from "./TypeOfBillCompositeUpdate";
8
9
  export * from "./TypeOfBillComposite";
10
+ export * from "./TypeOfBillCompositeBase";
9
11
  export * from "./TypeOfAdmissionOrVisitCode";
10
12
  export * from "./PointOfOriginForAdmissionOrVisitCode";
11
13
  export * from "./PatientDischargeStatusCode";
@@ -21,7 +21,9 @@ __exportStar(require("./Rarc"), exports);
21
21
  __exportStar(require("./TypeOfFacilityCode"), exports);
22
22
  __exportStar(require("./TypeOfCareCode"), exports);
23
23
  __exportStar(require("./TypeOfBillFrequencyCode"), exports);
24
+ __exportStar(require("./TypeOfBillCompositeUpdate"), exports);
24
25
  __exportStar(require("./TypeOfBillComposite"), exports);
26
+ __exportStar(require("./TypeOfBillCompositeBase"), exports);
25
27
  __exportStar(require("./TypeOfAdmissionOrVisitCode"), exports);
26
28
  __exportStar(require("./PointOfOriginForAdmissionOrVisitCode"), exports);
27
29
  __exportStar(require("./PatientDischargeStatusCode"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.7.0";
1
+ export declare const SDK_VERSION = "1.8.1";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.7.0";
4
+ exports.SDK_VERSION = "1.8.1";
@@ -1,60 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../index";
5
- import * as CandidApi from "../../../../../../../api/index";
6
- import * as core from "../../../../../../../core";
7
- import { PatientCreate } from "../../../../../individual/types/PatientCreate";
8
- import { BillingProvider } from "../../../../../encounterProviders/resources/v2/types/BillingProvider";
9
- import { RenderingProvider } from "../../../../../encounterProviders/resources/v2/types/RenderingProvider";
10
- import { ReferringProvider } from "../../../../../encounterProviders/resources/v2/types/ReferringProvider";
11
- import { InitialReferringProvider } from "../../../../../encounterProviders/resources/v2/types/InitialReferringProvider";
12
- import { SupervisingProvider } from "../../../../../encounterProviders/resources/v2/types/SupervisingProvider";
13
- import { EncounterServiceFacilityBase } from "../../../../../serviceFacility/types/EncounterServiceFacilityBase";
14
- import { SubscriberCreate } from "../../../../../individual/types/SubscriberCreate";
15
- import { PriorAuthorizationNumber } from "../../types/PriorAuthorizationNumber";
16
- import { ResponsiblePartyType } from "../../types/ResponsiblePartyType";
17
- import { DiagnosisCreate } from "../../../../../diagnoses/types/DiagnosisCreate";
18
- import { ClinicalNoteCategoryCreate } from "../../types/ClinicalNoteCategoryCreate";
19
- import { BillingNoteBase } from "../../../../../billingNotes/resources/v2/types/BillingNoteBase";
20
- import { FacilityTypeCode } from "../../../../../commons/types/FacilityTypeCode";
21
- import { PatientHistoryCategory } from "../../types/PatientHistoryCategory";
22
- import { ServiceLineCreate } from "../../../../../serviceLines/resources/v2/types/ServiceLineCreate";
23
- import { GuarantorCreate } from "../../../../../guarantor/resources/v1/types/GuarantorCreate";
24
- import { ExternalClaimSubmissionCreate } from "../../../../../claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate";
25
- import { TagId } from "../../../../../tags/types/TagId";
26
- import { SchemaInstance } from "../../../../../customSchemas/resources/v1/types/SchemaInstance";
27
- import { EpsdtReferral } from "../../types/EpsdtReferral";
28
- import { ClaimSupplementalInformation } from "../../types/ClaimSupplementalInformation";
29
- import { EncounterBase } from "../../types/EncounterBase";
30
- export declare const EncounterCreate: core.serialization.Schema<serializers.encounters.v4.EncounterCreate.Raw, CandidApi.encounters.v4.EncounterCreate>;
31
- export declare namespace EncounterCreate {
32
- interface Raw extends EncounterBase.Raw {
33
- patient: PatientCreate.Raw;
34
- billing_provider: BillingProvider.Raw;
35
- rendering_provider: RenderingProvider.Raw;
36
- referring_provider?: ReferringProvider.Raw | null;
37
- initial_referring_provider?: InitialReferringProvider.Raw | null;
38
- supervising_provider?: SupervisingProvider.Raw | null;
39
- service_facility?: EncounterServiceFacilityBase.Raw | null;
40
- subscriber_primary?: SubscriberCreate.Raw | null;
41
- subscriber_secondary?: SubscriberCreate.Raw | null;
42
- subscriber_tertiary?: SubscriberCreate.Raw | null;
43
- prior_authorization_number?: PriorAuthorizationNumber.Raw | null;
44
- responsible_party: ResponsiblePartyType.Raw;
45
- diagnoses: DiagnosisCreate.Raw[];
46
- clinical_notes?: ClinicalNoteCategoryCreate.Raw[] | null;
47
- billing_notes?: BillingNoteBase.Raw[] | null;
48
- place_of_service_code: FacilityTypeCode.Raw;
49
- patient_histories?: PatientHistoryCategory.Raw[] | null;
50
- service_lines?: ServiceLineCreate.Raw[] | null;
51
- guarantor?: GuarantorCreate.Raw | null;
52
- external_claim_submission?: ExternalClaimSubmissionCreate.Raw | null;
53
- tag_ids?: TagId.Raw[] | null;
54
- schema_instances?: SchemaInstance.Raw[] | null;
55
- referral_number?: string | null;
56
- epsdt_referral?: EpsdtReferral.Raw | null;
57
- claim_supplemental_information?: ClaimSupplementalInformation.Raw[] | null;
58
- secondary_payer_carrier_code?: string | null;
59
- }
60
- }
@@ -1,48 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../index";
5
- import * as CandidApi from "../../../../../../../api/index";
6
- import * as core from "../../../../../../../core";
7
- import { EpsdtReferral } from "../../types/EpsdtReferral";
8
- import { ClinicalNoteCategoryCreate } from "../../types/ClinicalNoteCategoryCreate";
9
- import { ClaimSupplementalInformation } from "../../types/ClaimSupplementalInformation";
10
- import { SchemaInstance } from "../../../../../customSchemas/resources/v1/types/SchemaInstance";
11
- import { Medication } from "../../types/Medication";
12
- import { GuarantorUpdate } from "../../../../../guarantor/resources/v1/types/GuarantorUpdate";
13
- import { SubscriberCreate } from "../../../../../individual/types/SubscriberCreate";
14
- import { StreetAddressLongZip } from "../../../../../commons/types/StreetAddressLongZip";
15
- import { DiagnosisId } from "../../../../../diagnoses/types/DiagnosisId";
16
- import { InitialReferringProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdate";
17
- import { ReferringProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/ReferringProviderUpdate";
18
- import { PatientUpdate } from "../../../../../individual/types/PatientUpdate";
19
- import { RenderingProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/RenderingProviderUpdate";
20
- import { EncounterServiceFacilityUpdate } from "../../../../../serviceFacility/types/EncounterServiceFacilityUpdate";
21
- import { SupervisingProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdate";
22
- import { BillingProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/BillingProviderUpdate";
23
- import { FacilityTypeCode } from "../../../../../commons/types/FacilityTypeCode";
24
- import { EncounterOptional } from "../../types/EncounterOptional";
25
- export declare const EncounterUpdate: core.serialization.Schema<serializers.encounters.v4.EncounterUpdate.Raw, CandidApi.encounters.v4.EncounterUpdate>;
26
- export declare namespace EncounterUpdate {
27
- interface Raw extends EncounterOptional.Raw {
28
- epsdt_referral?: EpsdtReferral.Raw | null;
29
- clinical_notes?: ClinicalNoteCategoryCreate.Raw[] | null;
30
- claim_supplemental_information?: ClaimSupplementalInformation.Raw[] | null;
31
- schema_instances?: SchemaInstance.Raw[] | null;
32
- existing_medications?: Medication.Raw[] | null;
33
- guarantor?: GuarantorUpdate.Raw | null;
34
- subscriber_primary?: SubscriberCreate.Raw | null;
35
- subscriber_secondary?: SubscriberCreate.Raw | null;
36
- subscriber_tertiary?: SubscriberCreate.Raw | null;
37
- pay_to_address?: StreetAddressLongZip.Raw | null;
38
- diagnosis_ids?: DiagnosisId.Raw[] | null;
39
- initial_referring_provider?: InitialReferringProviderUpdate.Raw | null;
40
- referring_provider?: ReferringProviderUpdate.Raw | null;
41
- patient?: PatientUpdate.Raw | null;
42
- rendering_provider?: RenderingProviderUpdate.Raw | null;
43
- service_facility?: EncounterServiceFacilityUpdate.Raw | null;
44
- supervising_provider?: SupervisingProviderUpdate.Raw | null;
45
- billing_provider?: BillingProviderUpdate.Raw | null;
46
- place_of_service_code_as_submitted?: FacilityTypeCode.Raw | null;
47
- }
48
- }
@@ -1,2 +0,0 @@
1
- export { EncounterCreate } from "./EncounterCreate";
2
- export { EncounterUpdate } from "./EncounterUpdate";
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EncounterUpdate = exports.EncounterCreate = void 0;
4
- var EncounterCreate_1 = require("./EncounterCreate");
5
- Object.defineProperty(exports, "EncounterCreate", { enumerable: true, get: function () { return EncounterCreate_1.EncounterCreate; } });
6
- var EncounterUpdate_1 = require("./EncounterUpdate");
7
- Object.defineProperty(exports, "EncounterUpdate", { enumerable: true, get: function () { return EncounterUpdate_1.EncounterUpdate; } });
@@ -1,60 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../index";
5
- import * as CandidApi from "../../../../../../../api/index";
6
- import * as core from "../../../../../../../core";
7
- import { PatientCreate } from "../../../../../individual/types/PatientCreate";
8
- import { BillingProvider } from "../../../../../encounterProviders/resources/v2/types/BillingProvider";
9
- import { RenderingProvider } from "../../../../../encounterProviders/resources/v2/types/RenderingProvider";
10
- import { ReferringProvider } from "../../../../../encounterProviders/resources/v2/types/ReferringProvider";
11
- import { InitialReferringProvider } from "../../../../../encounterProviders/resources/v2/types/InitialReferringProvider";
12
- import { SupervisingProvider } from "../../../../../encounterProviders/resources/v2/types/SupervisingProvider";
13
- import { EncounterServiceFacilityBase } from "../../../../../serviceFacility/types/EncounterServiceFacilityBase";
14
- import { SubscriberCreate } from "../../../../../individual/types/SubscriberCreate";
15
- import { PriorAuthorizationNumber } from "../../types/PriorAuthorizationNumber";
16
- import { ResponsiblePartyType } from "../../types/ResponsiblePartyType";
17
- import { DiagnosisCreate } from "../../../../../diagnoses/types/DiagnosisCreate";
18
- import { ClinicalNoteCategoryCreate } from "../../types/ClinicalNoteCategoryCreate";
19
- import { BillingNoteBase } from "../../../../../billingNotes/resources/v2/types/BillingNoteBase";
20
- import { FacilityTypeCode } from "../../../../../commons/types/FacilityTypeCode";
21
- import { PatientHistoryCategory } from "../../types/PatientHistoryCategory";
22
- import { ServiceLineCreate } from "../../../../../serviceLines/resources/v2/types/ServiceLineCreate";
23
- import { GuarantorCreate } from "../../../../../guarantor/resources/v1/types/GuarantorCreate";
24
- import { ExternalClaimSubmissionCreate } from "../../../../../claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate";
25
- import { TagId } from "../../../../../tags/types/TagId";
26
- import { SchemaInstance } from "../../../../../customSchemas/resources/v1/types/SchemaInstance";
27
- import { EpsdtReferral } from "../../types/EpsdtReferral";
28
- import { ClaimSupplementalInformation } from "../../types/ClaimSupplementalInformation";
29
- import { EncounterBase } from "../../types/EncounterBase";
30
- export declare const EncounterCreate: core.serialization.Schema<serializers.encounters.v4.EncounterCreate.Raw, CandidApi.encounters.v4.EncounterCreate>;
31
- export declare namespace EncounterCreate {
32
- interface Raw extends EncounterBase.Raw {
33
- patient: PatientCreate.Raw;
34
- billing_provider: BillingProvider.Raw;
35
- rendering_provider: RenderingProvider.Raw;
36
- referring_provider?: ReferringProvider.Raw | null;
37
- initial_referring_provider?: InitialReferringProvider.Raw | null;
38
- supervising_provider?: SupervisingProvider.Raw | null;
39
- service_facility?: EncounterServiceFacilityBase.Raw | null;
40
- subscriber_primary?: SubscriberCreate.Raw | null;
41
- subscriber_secondary?: SubscriberCreate.Raw | null;
42
- subscriber_tertiary?: SubscriberCreate.Raw | null;
43
- prior_authorization_number?: PriorAuthorizationNumber.Raw | null;
44
- responsible_party: ResponsiblePartyType.Raw;
45
- diagnoses: DiagnosisCreate.Raw[];
46
- clinical_notes?: ClinicalNoteCategoryCreate.Raw[] | null;
47
- billing_notes?: BillingNoteBase.Raw[] | null;
48
- place_of_service_code: FacilityTypeCode.Raw;
49
- patient_histories?: PatientHistoryCategory.Raw[] | null;
50
- service_lines?: ServiceLineCreate.Raw[] | null;
51
- guarantor?: GuarantorCreate.Raw | null;
52
- external_claim_submission?: ExternalClaimSubmissionCreate.Raw | null;
53
- tag_ids?: TagId.Raw[] | null;
54
- schema_instances?: SchemaInstance.Raw[] | null;
55
- referral_number?: string | null;
56
- epsdt_referral?: EpsdtReferral.Raw | null;
57
- claim_supplemental_information?: ClaimSupplementalInformation.Raw[] | null;
58
- secondary_payer_carrier_code?: string | null;
59
- }
60
- }
@@ -1,48 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../index";
5
- import * as CandidApi from "../../../../../../../api/index";
6
- import * as core from "../../../../../../../core";
7
- import { EpsdtReferral } from "../../types/EpsdtReferral";
8
- import { ClinicalNoteCategoryCreate } from "../../types/ClinicalNoteCategoryCreate";
9
- import { ClaimSupplementalInformation } from "../../types/ClaimSupplementalInformation";
10
- import { SchemaInstance } from "../../../../../customSchemas/resources/v1/types/SchemaInstance";
11
- import { Medication } from "../../types/Medication";
12
- import { GuarantorUpdate } from "../../../../../guarantor/resources/v1/types/GuarantorUpdate";
13
- import { SubscriberCreate } from "../../../../../individual/types/SubscriberCreate";
14
- import { StreetAddressLongZip } from "../../../../../commons/types/StreetAddressLongZip";
15
- import { DiagnosisId } from "../../../../../diagnoses/types/DiagnosisId";
16
- import { InitialReferringProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdate";
17
- import { ReferringProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/ReferringProviderUpdate";
18
- import { PatientUpdate } from "../../../../../individual/types/PatientUpdate";
19
- import { RenderingProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/RenderingProviderUpdate";
20
- import { EncounterServiceFacilityUpdate } from "../../../../../serviceFacility/types/EncounterServiceFacilityUpdate";
21
- import { SupervisingProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdate";
22
- import { BillingProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/BillingProviderUpdate";
23
- import { FacilityTypeCode } from "../../../../../commons/types/FacilityTypeCode";
24
- import { EncounterOptional } from "../../types/EncounterOptional";
25
- export declare const EncounterUpdate: core.serialization.Schema<serializers.encounters.v4.EncounterUpdate.Raw, CandidApi.encounters.v4.EncounterUpdate>;
26
- export declare namespace EncounterUpdate {
27
- interface Raw extends EncounterOptional.Raw {
28
- epsdt_referral?: EpsdtReferral.Raw | null;
29
- clinical_notes?: ClinicalNoteCategoryCreate.Raw[] | null;
30
- claim_supplemental_information?: ClaimSupplementalInformation.Raw[] | null;
31
- schema_instances?: SchemaInstance.Raw[] | null;
32
- existing_medications?: Medication.Raw[] | null;
33
- guarantor?: GuarantorUpdate.Raw | null;
34
- subscriber_primary?: SubscriberCreate.Raw | null;
35
- subscriber_secondary?: SubscriberCreate.Raw | null;
36
- subscriber_tertiary?: SubscriberCreate.Raw | null;
37
- pay_to_address?: StreetAddressLongZip.Raw | null;
38
- diagnosis_ids?: DiagnosisId.Raw[] | null;
39
- initial_referring_provider?: InitialReferringProviderUpdate.Raw | null;
40
- referring_provider?: ReferringProviderUpdate.Raw | null;
41
- patient?: PatientUpdate.Raw | null;
42
- rendering_provider?: RenderingProviderUpdate.Raw | null;
43
- service_facility?: EncounterServiceFacilityUpdate.Raw | null;
44
- supervising_provider?: SupervisingProviderUpdate.Raw | null;
45
- billing_provider?: BillingProviderUpdate.Raw | null;
46
- place_of_service_code_as_submitted?: FacilityTypeCode.Raw | null;
47
- }
48
- }
@@ -1,2 +0,0 @@
1
- export { EncounterCreate } from "./EncounterCreate";
2
- export { EncounterUpdate } from "./EncounterUpdate";
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EncounterUpdate = exports.EncounterCreate = void 0;
4
- var EncounterCreate_1 = require("./EncounterCreate");
5
- Object.defineProperty(exports, "EncounterCreate", { enumerable: true, get: function () { return EncounterCreate_1.EncounterCreate; } });
6
- var EncounterUpdate_1 = require("./EncounterUpdate");
7
- Object.defineProperty(exports, "EncounterUpdate", { enumerable: true, get: function () { return EncounterUpdate_1.EncounterUpdate; } });