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
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../core";
7
7
  export declare const ReferralType: core.serialization.Schema<serializers.preEncounter.patients.v1.ReferralType.Raw, CandidApi.preEncounter.patients.v1.ReferralType>;
8
8
  export declare namespace ReferralType {
9
- type Raw = "DIRECTED" | "ROTATION";
9
+ type Raw = "DIRECTED" | "ROTATION" | "OVERNIGHT";
10
10
  }
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ReferralType = void 0;
40
40
  const core = __importStar(require("../../../../../../../../core"));
41
- exports.ReferralType = core.serialization.enum_(["DIRECTED", "ROTATION"]);
41
+ exports.ReferralType = core.serialization.enum_(["DIRECTED", "ROTATION", "OVERNIGHT"]);
@@ -6,6 +6,7 @@ export * from "./FilingOrder";
6
6
  export * from "./DoNotInvoiceReason";
7
7
  export * from "./MutablePatient";
8
8
  export * from "./MutablePatientWithMrn";
9
+ export * from "./InferredPatientMetadata";
9
10
  export * from "./Patient";
10
11
  export * from "./PatientPage";
11
12
  export * from "./AuthorizationUnit";
@@ -22,6 +22,7 @@ __exportStar(require("./FilingOrder"), exports);
22
22
  __exportStar(require("./DoNotInvoiceReason"), exports);
23
23
  __exportStar(require("./MutablePatient"), exports);
24
24
  __exportStar(require("./MutablePatientWithMrn"), exports);
25
+ __exportStar(require("./InferredPatientMetadata"), exports);
25
26
  __exportStar(require("./Patient"), exports);
26
27
  __exportStar(require("./PatientPage"), exports);
27
28
  __exportStar(require("./AuthorizationUnit"), exports);
@@ -0,0 +1,15 @@
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 { RequestValidationError } from "../../../../commons/types/RequestValidationError";
8
+ export declare const Error: core.serialization.Schema<serializers.serviceLines.v2.createUniversal.Error.Raw, CandidApi.serviceLines.v2.createUniversal.Error>;
9
+ export declare namespace Error {
10
+ type Raw = Error.HttpRequestValidationError;
11
+ interface HttpRequestValidationError {
12
+ errorName: "HttpRequestValidationError";
13
+ content: RequestValidationError.Raw;
14
+ }
15
+ }
@@ -0,0 +1,71 @@
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
+ var __rest = (this && this.__rest) || function (s, e) {
39
+ var t = {};
40
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
41
+ t[p] = s[p];
42
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
43
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
44
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
45
+ t[p[i]] = s[p[i]];
46
+ }
47
+ return t;
48
+ };
49
+ Object.defineProperty(exports, "__esModule", { value: true });
50
+ exports.Error = void 0;
51
+ const CandidApi = __importStar(require("../../../../../../api/index"));
52
+ const core = __importStar(require("../../../../../../core"));
53
+ const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
54
+ exports.Error = core.serialization
55
+ .union("errorName", {
56
+ HttpRequestValidationError: core.serialization.object({
57
+ content: RequestValidationError_1.RequestValidationError,
58
+ }),
59
+ })
60
+ .transform({
61
+ transform: (value) => {
62
+ switch (value.errorName) {
63
+ case "HttpRequestValidationError":
64
+ return CandidApi.serviceLines.v2.createUniversal.Error.httpRequestValidationError(value.content);
65
+ }
66
+ },
67
+ untransform: (_a) => {
68
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
69
+ return value;
70
+ },
71
+ });
@@ -1,3 +1,5 @@
1
1
  export * as create from "./create";
2
+ export * as createUniversal from "./createUniversal";
3
+ export * as updateUniversal from "./updateUniversal";
2
4
  export * as update from "./update";
3
5
  export * as delete from "./delete";
@@ -33,7 +33,9 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.delete = exports.update = exports.create = void 0;
36
+ exports.delete = exports.update = exports.updateUniversal = exports.createUniversal = exports.create = void 0;
37
37
  exports.create = __importStar(require("./create"));
38
+ exports.createUniversal = __importStar(require("./createUniversal"));
39
+ exports.updateUniversal = __importStar(require("./updateUniversal"));
38
40
  exports.update = __importStar(require("./update"));
39
41
  exports.delete = __importStar(require("./delete"));
@@ -0,0 +1,25 @@
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 { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
+ import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
9
+ import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
10
+ export declare const Error: core.serialization.Schema<serializers.serviceLines.v2.updateUniversal.Error.Raw, CandidApi.serviceLines.v2.updateUniversal.Error>;
11
+ export declare namespace Error {
12
+ type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationError;
13
+ interface EntityNotFoundError {
14
+ errorName: "EntityNotFoundError";
15
+ content: EntityNotFoundErrorMessage.Raw;
16
+ }
17
+ interface UnauthorizedError {
18
+ errorName: "UnauthorizedError";
19
+ content: UnauthorizedErrorMessage.Raw;
20
+ }
21
+ interface HttpRequestValidationError {
22
+ errorName: "HttpRequestValidationError";
23
+ content: RequestValidationError.Raw;
24
+ }
25
+ }
@@ -0,0 +1,83 @@
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
+ var __rest = (this && this.__rest) || function (s, e) {
39
+ var t = {};
40
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
41
+ t[p] = s[p];
42
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
43
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
44
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
45
+ t[p[i]] = s[p[i]];
46
+ }
47
+ return t;
48
+ };
49
+ Object.defineProperty(exports, "__esModule", { value: true });
50
+ exports.Error = void 0;
51
+ const CandidApi = __importStar(require("../../../../../../api/index"));
52
+ const core = __importStar(require("../../../../../../core"));
53
+ const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
54
+ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
55
+ const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
56
+ exports.Error = core.serialization
57
+ .union("errorName", {
58
+ EntityNotFoundError: core.serialization.object({
59
+ content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
60
+ }),
61
+ UnauthorizedError: core.serialization.object({
62
+ content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
63
+ }),
64
+ HttpRequestValidationError: core.serialization.object({
65
+ content: RequestValidationError_1.RequestValidationError,
66
+ }),
67
+ })
68
+ .transform({
69
+ transform: (value) => {
70
+ switch (value.errorName) {
71
+ case "EntityNotFoundError":
72
+ return CandidApi.serviceLines.v2.updateUniversal.Error.entityNotFoundError(value.content);
73
+ case "UnauthorizedError":
74
+ return CandidApi.serviceLines.v2.updateUniversal.Error.unauthorizedError(value.content);
75
+ case "HttpRequestValidationError":
76
+ return CandidApi.serviceLines.v2.updateUniversal.Error.httpRequestValidationError(value.content);
77
+ }
78
+ },
79
+ untransform: (_a) => {
80
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
81
+ return value;
82
+ },
83
+ });
@@ -4,31 +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 { ProcedureModifier } from "../../../../commons/types/ProcedureModifier";
8
- import { Decimal } from "../../../../commons/types/Decimal";
9
- import { ServiceLineUnits } from "../../../../commons/types/ServiceLineUnits";
10
- import { DrugIdentification } from "./DrugIdentification";
11
- import { FacilityTypeCode } from "../../../../commons/types/FacilityTypeCode";
12
- import { OrderingProvider } from "../../../../encounterProviders/resources/v2/types/OrderingProvider";
13
- import { TestResult } from "./TestResult";
7
+ import { ServiceLineCreateBase } from "./ServiceLineCreateBase";
14
8
  export declare const ServiceLineCreate: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineCreate.Raw, CandidApi.serviceLines.v2.ServiceLineCreate>;
15
9
  export declare namespace ServiceLineCreate {
16
- interface Raw {
17
- modifiers?: ProcedureModifier.Raw[] | null;
18
- has_epsdt_indicator?: boolean | null;
19
- has_family_planning_indicator?: boolean | null;
20
- procedure_code: string;
21
- quantity: Decimal.Raw;
22
- units: ServiceLineUnits.Raw;
23
- charge_amount_cents?: number | null;
10
+ interface Raw extends ServiceLineCreateBase.Raw {
24
11
  diagnosis_pointers: number[];
25
- drug_identification?: DrugIdentification.Raw | null;
26
- place_of_service_code?: FacilityTypeCode.Raw | null;
27
- description?: string | null;
28
- date_of_service?: string | null;
29
- end_date_of_service?: string | null;
30
- ordering_provider?: OrderingProvider.Raw | null;
31
- test_results?: TestResult.Raw[] | null;
32
- note?: string | null;
33
12
  }
34
13
  }
@@ -38,28 +38,9 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ServiceLineCreate = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
- const ProcedureModifier_1 = require("../../../../commons/types/ProcedureModifier");
42
- const Decimal_1 = require("../../../../commons/types/Decimal");
43
- const ServiceLineUnits_1 = require("../../../../commons/types/ServiceLineUnits");
44
- const DrugIdentification_1 = require("./DrugIdentification");
45
- const FacilityTypeCode_1 = require("../../../../commons/types/FacilityTypeCode");
46
- const OrderingProvider_1 = require("../../../../encounterProviders/resources/v2/types/OrderingProvider");
47
- const TestResult_1 = require("./TestResult");
48
- exports.ServiceLineCreate = core.serialization.object({
49
- modifiers: core.serialization.list(ProcedureModifier_1.ProcedureModifier).optional(),
50
- hasEpsdtIndicator: core.serialization.property("has_epsdt_indicator", core.serialization.boolean().optional()),
51
- hasFamilyPlanningIndicator: core.serialization.property("has_family_planning_indicator", core.serialization.boolean().optional()),
52
- procedureCode: core.serialization.property("procedure_code", core.serialization.string()),
53
- quantity: Decimal_1.Decimal,
54
- units: ServiceLineUnits_1.ServiceLineUnits,
55
- chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
41
+ const ServiceLineCreateBase_1 = require("./ServiceLineCreateBase");
42
+ exports.ServiceLineCreate = core.serialization
43
+ .object({
56
44
  diagnosisPointers: core.serialization.property("diagnosis_pointers", core.serialization.list(core.serialization.number())),
57
- drugIdentification: core.serialization.property("drug_identification", DrugIdentification_1.DrugIdentification.optional()),
58
- placeOfServiceCode: core.serialization.property("place_of_service_code", FacilityTypeCode_1.FacilityTypeCode.optional()),
59
- description: core.serialization.string().optional(),
60
- dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
61
- endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
62
- orderingProvider: core.serialization.property("ordering_provider", OrderingProvider_1.OrderingProvider.optional()),
63
- testResults: core.serialization.property("test_results", core.serialization.list(TestResult_1.TestResult).optional()),
64
- note: core.serialization.string().optional(),
65
- });
45
+ })
46
+ .extend(ServiceLineCreateBase_1.ServiceLineCreateBase);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { ServiceLineCreateBaseBase } from "./ServiceLineCreateBaseBase";
8
+ export declare const ServiceLineCreateBase: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineCreateBase.Raw, CandidApi.serviceLines.v2.ServiceLineCreateBase>;
9
+ export declare namespace ServiceLineCreateBase {
10
+ interface Raw extends ServiceLineCreateBaseBase.Raw {
11
+ procedure_code: string;
12
+ }
13
+ }
@@ -0,0 +1,46 @@
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.ServiceLineCreateBase = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const ServiceLineCreateBaseBase_1 = require("./ServiceLineCreateBaseBase");
42
+ exports.ServiceLineCreateBase = core.serialization
43
+ .object({
44
+ procedureCode: core.serialization.property("procedure_code", core.serialization.string()),
45
+ })
46
+ .extend(ServiceLineCreateBaseBase_1.ServiceLineCreateBaseBase);
@@ -0,0 +1,32 @@
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 { ProcedureModifier } from "../../../../commons/types/ProcedureModifier";
8
+ import { Decimal } from "../../../../commons/types/Decimal";
9
+ import { ServiceLineUnits } from "../../../../commons/types/ServiceLineUnits";
10
+ import { DrugIdentification } from "./DrugIdentification";
11
+ import { FacilityTypeCode } from "../../../../commons/types/FacilityTypeCode";
12
+ import { OrderingProvider } from "../../../../encounterProviders/resources/v2/types/OrderingProvider";
13
+ import { TestResult } from "./TestResult";
14
+ export declare const ServiceLineCreateBaseBase: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineCreateBaseBase.Raw, CandidApi.serviceLines.v2.ServiceLineCreateBaseBase>;
15
+ export declare namespace ServiceLineCreateBaseBase {
16
+ interface Raw {
17
+ modifiers?: ProcedureModifier.Raw[] | null;
18
+ has_epsdt_indicator?: boolean | null;
19
+ has_family_planning_indicator?: boolean | null;
20
+ quantity: Decimal.Raw;
21
+ units: ServiceLineUnits.Raw;
22
+ charge_amount_cents?: number | null;
23
+ drug_identification?: DrugIdentification.Raw | null;
24
+ place_of_service_code?: FacilityTypeCode.Raw | null;
25
+ description?: string | null;
26
+ date_of_service?: string | null;
27
+ end_date_of_service?: string | null;
28
+ ordering_provider?: OrderingProvider.Raw | null;
29
+ test_results?: TestResult.Raw[] | null;
30
+ note?: string | null;
31
+ }
32
+ }
@@ -0,0 +1,63 @@
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.ServiceLineCreateBaseBase = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const ProcedureModifier_1 = require("../../../../commons/types/ProcedureModifier");
42
+ const Decimal_1 = require("../../../../commons/types/Decimal");
43
+ const ServiceLineUnits_1 = require("../../../../commons/types/ServiceLineUnits");
44
+ const DrugIdentification_1 = require("./DrugIdentification");
45
+ const FacilityTypeCode_1 = require("../../../../commons/types/FacilityTypeCode");
46
+ const OrderingProvider_1 = require("../../../../encounterProviders/resources/v2/types/OrderingProvider");
47
+ const TestResult_1 = require("./TestResult");
48
+ exports.ServiceLineCreateBaseBase = core.serialization.object({
49
+ modifiers: core.serialization.list(ProcedureModifier_1.ProcedureModifier).optional(),
50
+ hasEpsdtIndicator: core.serialization.property("has_epsdt_indicator", core.serialization.boolean().optional()),
51
+ hasFamilyPlanningIndicator: core.serialization.property("has_family_planning_indicator", core.serialization.boolean().optional()),
52
+ quantity: Decimal_1.Decimal,
53
+ units: ServiceLineUnits_1.ServiceLineUnits,
54
+ chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
55
+ drugIdentification: core.serialization.property("drug_identification", DrugIdentification_1.DrugIdentification.optional()),
56
+ placeOfServiceCode: core.serialization.property("place_of_service_code", FacilityTypeCode_1.FacilityTypeCode.optional()),
57
+ description: core.serialization.string().optional(),
58
+ dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
59
+ endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
60
+ orderingProvider: core.serialization.property("ordering_provider", OrderingProvider_1.OrderingProvider.optional()),
61
+ testResults: core.serialization.property("test_results", core.serialization.list(TestResult_1.TestResult).optional()),
62
+ note: core.serialization.string().optional(),
63
+ });
@@ -30,5 +30,6 @@ export declare namespace ServiceLineCreateOptional {
30
30
  ordering_provider?: OrderingProviderOptional.Raw | null;
31
31
  test_results?: TestResultOptional.Raw[] | null;
32
32
  note?: string | null;
33
+ revenue_code?: string | null;
33
34
  }
34
35
  }
@@ -62,4 +62,5 @@ exports.ServiceLineCreateOptional = core.serialization.object({
62
62
  orderingProvider: core.serialization.property("ordering_provider", OrderingProviderOptional_1.OrderingProviderOptional.optional()),
63
63
  testResults: core.serialization.property("test_results", core.serialization.list(TestResultOptional_1.TestResultOptional).optional()),
64
64
  note: core.serialization.string().optional(),
65
+ revenueCode: core.serialization.property("revenue_code", core.serialization.string().optional()),
65
66
  });
@@ -4,39 +4,14 @@
4
4
  import * as serializers from "../../../../../index";
5
5
  import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
- import { ProcedureModifier } from "../../../../commons/types/ProcedureModifier";
8
7
  import { DiagnosisId } from "../../../../diagnoses/types/DiagnosisId";
9
- import { ServiceLineDenialReason } from "./ServiceLineDenialReason";
10
- import { FacilityTypeCode } from "../../../../commons/types/FacilityTypeCode";
11
- import { Decimal } from "../../../../commons/types/Decimal";
12
- import { ServiceLineUnits } from "../../../../commons/types/ServiceLineUnits";
13
- import { ClaimId } from "../../../../commons/types/ClaimId";
14
- import { DrugIdentification } from "./DrugIdentification";
15
- import { OrderingProvider } from "../../../../encounterProviders/resources/v2/types/OrderingProvider";
16
- import { TestResult } from "./TestResult";
8
+ import { ServiceLineCreateStandaloneBase } from "./ServiceLineCreateStandaloneBase";
17
9
  export declare const ServiceLineCreateStandalone: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineCreateStandalone.Raw, CandidApi.serviceLines.v2.ServiceLineCreateStandalone>;
18
10
  export declare namespace ServiceLineCreateStandalone {
19
- interface Raw {
20
- modifiers?: ProcedureModifier.Raw[] | null;
21
- charge_amount_cents?: number | null;
11
+ interface Raw extends ServiceLineCreateStandaloneBase.Raw {
22
12
  diagnosis_id_zero?: DiagnosisId.Raw | null;
23
13
  diagnosis_id_one?: DiagnosisId.Raw | null;
24
14
  diagnosis_id_two?: DiagnosisId.Raw | null;
25
15
  diagnosis_id_three?: DiagnosisId.Raw | null;
26
- denial_reason?: ServiceLineDenialReason.Raw | null;
27
- place_of_service_code?: FacilityTypeCode.Raw | null;
28
- procedure_code: string;
29
- quantity: Decimal.Raw;
30
- units: ServiceLineUnits.Raw;
31
- claim_id: ClaimId.Raw;
32
- description?: string | null;
33
- date_of_service?: string | null;
34
- end_date_of_service?: string | null;
35
- drug_identification?: DrugIdentification.Raw | null;
36
- ordering_provider?: OrderingProvider.Raw | null;
37
- test_results?: TestResult.Raw[] | null;
38
- has_epsdt_indicator?: boolean | null;
39
- has_family_planning_indicator?: boolean | null;
40
- note?: string | null;
41
16
  }
42
17
  }
@@ -38,36 +38,13 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ServiceLineCreateStandalone = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
- const ProcedureModifier_1 = require("../../../../commons/types/ProcedureModifier");
42
41
  const DiagnosisId_1 = require("../../../../diagnoses/types/DiagnosisId");
43
- const ServiceLineDenialReason_1 = require("./ServiceLineDenialReason");
44
- const FacilityTypeCode_1 = require("../../../../commons/types/FacilityTypeCode");
45
- const Decimal_1 = require("../../../../commons/types/Decimal");
46
- const ServiceLineUnits_1 = require("../../../../commons/types/ServiceLineUnits");
47
- const ClaimId_1 = require("../../../../commons/types/ClaimId");
48
- const DrugIdentification_1 = require("./DrugIdentification");
49
- const OrderingProvider_1 = require("../../../../encounterProviders/resources/v2/types/OrderingProvider");
50
- const TestResult_1 = require("./TestResult");
51
- exports.ServiceLineCreateStandalone = core.serialization.object({
52
- modifiers: core.serialization.list(ProcedureModifier_1.ProcedureModifier).optional(),
53
- chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
42
+ const ServiceLineCreateStandaloneBase_1 = require("./ServiceLineCreateStandaloneBase");
43
+ exports.ServiceLineCreateStandalone = core.serialization
44
+ .object({
54
45
  diagnosisIdZero: core.serialization.property("diagnosis_id_zero", DiagnosisId_1.DiagnosisId.optional()),
55
46
  diagnosisIdOne: core.serialization.property("diagnosis_id_one", DiagnosisId_1.DiagnosisId.optional()),
56
47
  diagnosisIdTwo: core.serialization.property("diagnosis_id_two", DiagnosisId_1.DiagnosisId.optional()),
57
48
  diagnosisIdThree: core.serialization.property("diagnosis_id_three", DiagnosisId_1.DiagnosisId.optional()),
58
- denialReason: core.serialization.property("denial_reason", ServiceLineDenialReason_1.ServiceLineDenialReason.optional()),
59
- placeOfServiceCode: core.serialization.property("place_of_service_code", FacilityTypeCode_1.FacilityTypeCode.optional()),
60
- procedureCode: core.serialization.property("procedure_code", core.serialization.string()),
61
- quantity: Decimal_1.Decimal,
62
- units: ServiceLineUnits_1.ServiceLineUnits,
63
- claimId: core.serialization.property("claim_id", ClaimId_1.ClaimId),
64
- description: core.serialization.string().optional(),
65
- dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
66
- endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
67
- drugIdentification: core.serialization.property("drug_identification", DrugIdentification_1.DrugIdentification.optional()),
68
- orderingProvider: core.serialization.property("ordering_provider", OrderingProvider_1.OrderingProvider.optional()),
69
- testResults: core.serialization.property("test_results", core.serialization.list(TestResult_1.TestResult).optional()),
70
- hasEpsdtIndicator: core.serialization.property("has_epsdt_indicator", core.serialization.boolean().optional()),
71
- hasFamilyPlanningIndicator: core.serialization.property("has_family_planning_indicator", core.serialization.boolean().optional()),
72
- note: core.serialization.string().optional(),
73
- });
49
+ })
50
+ .extend(ServiceLineCreateStandaloneBase_1.ServiceLineCreateStandaloneBase);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { ServiceLineCreateStandaloneBaseBase } from "./ServiceLineCreateStandaloneBaseBase";
8
+ export declare const ServiceLineCreateStandaloneBase: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineCreateStandaloneBase.Raw, CandidApi.serviceLines.v2.ServiceLineCreateStandaloneBase>;
9
+ export declare namespace ServiceLineCreateStandaloneBase {
10
+ interface Raw extends ServiceLineCreateStandaloneBaseBase.Raw {
11
+ procedure_code: string;
12
+ }
13
+ }