candidhealth 1.6.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 (1657) hide show
  1. package/Client.d.ts +9 -3
  2. package/Client.js +52 -42
  3. package/README.md +1 -1
  4. package/api/resources/auth/resources/default/client/Client.d.ts +12 -0
  5. package/api/resources/auth/resources/default/client/Client.js +45 -1
  6. package/api/resources/auth/resources/default/client/getMachineTokenForOrgId.d.ts +22 -0
  7. package/api/resources/auth/resources/default/client/getMachineTokenForOrgId.js +57 -0
  8. package/api/resources/auth/resources/default/client/index.d.ts +1 -0
  9. package/api/resources/auth/resources/default/client/index.js +2 -1
  10. package/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +21 -0
  11. package/api/resources/auth/resources/default/client/requests/index.d.ts +1 -0
  12. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  13. package/api/resources/chargeCapture/resources/v1/client/Client.js +76 -7
  14. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +36 -0
  15. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +42 -5
  16. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +20 -0
  17. package/api/resources/commons/types/Clearinghouse.d.ts +14 -0
  18. package/api/resources/commons/types/Clearinghouse.js +16 -0
  19. package/api/resources/commons/types/ProcedureModifier.d.ts +13 -2
  20. package/api/resources/commons/types/ProcedureModifier.js +11 -0
  21. package/api/resources/commons/types/index.d.ts +1 -0
  22. package/api/resources/commons/types/index.js +1 -0
  23. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  24. package/api/resources/credentialing/resources/v2/client/Client.d.ts +49 -0
  25. package/api/resources/credentialing/resources/v2/client/Client.js +295 -5
  26. package/api/resources/credentialing/resources/v2/client/createFacility.d.ts +34 -0
  27. package/api/resources/credentialing/resources/v2/client/createFacility.js +79 -0
  28. package/api/resources/credentialing/resources/v2/client/deleteFacility.d.ts +34 -0
  29. package/api/resources/credentialing/resources/v2/client/deleteFacility.js +79 -0
  30. package/api/resources/credentialing/resources/v2/client/getAllFacilities.d.ts +34 -0
  31. package/api/resources/credentialing/resources/v2/client/getAllFacilities.js +79 -0
  32. package/api/resources/credentialing/resources/v2/client/getFacility.d.ts +34 -0
  33. package/api/resources/credentialing/resources/v2/client/getFacility.js +79 -0
  34. package/api/resources/credentialing/resources/v2/client/index.d.ts +5 -0
  35. package/api/resources/credentialing/resources/v2/client/index.js +6 -1
  36. package/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.d.ts +27 -0
  37. package/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.d.ts +26 -0
  38. package/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.d.ts +27 -0
  39. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +1 -1
  40. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +1 -1
  41. package/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
  42. package/api/resources/credentialing/resources/v2/client/updateFacility.d.ts +46 -0
  43. package/api/resources/credentialing/resources/v2/client/updateFacility.js +101 -0
  44. package/api/resources/credentialing/resources/v2/types/BaseCredentialingSpan.d.ts +22 -0
  45. package/api/resources/credentialing/resources/v2/types/BaseCredentialingSpan.js +5 -0
  46. package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.d.ts +9 -0
  47. package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.js +5 -0
  48. package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.d.ts +8 -0
  49. package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.js +9 -0
  50. package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.d.ts +7 -0
  51. package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.js +5 -0
  52. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +3 -19
  53. package/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  54. package/api/resources/credentialing/resources/v2/types/index.js +4 -0
  55. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  56. package/api/resources/diagnoses/client/Client.js +3 -3
  57. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  58. package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  59. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  60. package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +1 -1
  61. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +1 -1
  62. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +1 -1
  63. package/api/resources/encounters/resources/v4/client/Client.d.ts +108 -9
  64. package/api/resources/encounters/resources/v4/client/Client.js +279 -15
  65. package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  66. package/api/resources/encounters/resources/v4/client/create.js +11 -0
  67. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +70 -0
  68. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +145 -0
  69. package/api/resources/encounters/resources/v4/client/createUniversal.d.ts +94 -0
  70. package/api/resources/encounters/resources/v4/client/createUniversal.js +189 -0
  71. package/api/resources/encounters/resources/v4/client/index.d.ts +3 -0
  72. package/api/resources/encounters/resources/v4/client/index.js +4 -1
  73. package/api/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
  74. package/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +70 -0
  75. package/api/resources/encounters/resources/v4/client/updateUniversal.js +145 -0
  76. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -29
  77. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +10 -11
  78. package/api/resources/encounters/resources/v4/types/EncounterCreate.d.ts +27 -0
  79. package/api/resources/encounters/resources/v4/types/EncounterCreate.js +5 -0
  80. package/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +3 -36
  81. package/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +9 -4
  82. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +10 -16
  83. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -9
  84. package/api/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +5 -0
  85. package/api/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js +5 -0
  86. package/api/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +17 -0
  87. package/api/resources/encounters/resources/v4/types/EncounterUpdate.js +5 -0
  88. package/api/resources/encounters/resources/v4/types/index.d.ts +7 -4
  89. package/api/resources/encounters/resources/v4/types/index.js +7 -4
  90. package/api/resources/encountersUniversal/index.d.ts +1 -0
  91. package/api/resources/encountersUniversal/index.js +17 -0
  92. package/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +49 -0
  93. package/api/resources/encountersUniversal/types/UniversalEncounterCreate.js +5 -0
  94. package/api/resources/{encounters/resources/v4/client/requests/EncounterCreate.d.ts → encountersUniversal/types/UniversalEncounterCreateBase.d.ts} +9 -70
  95. package/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +5 -0
  96. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +47 -0
  97. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +5 -0
  98. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +40 -0
  99. package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +5 -0
  100. package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +39 -0
  101. package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.js +5 -0
  102. package/api/resources/{encounters/resources/v4/client/requests/EncounterUpdate.d.ts → encountersUniversal/types/UniversalEncounterUpdateBase.d.ts} +9 -18
  103. package/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +5 -0
  104. package/api/resources/encountersUniversal/types/index.d.ts +6 -0
  105. package/api/resources/encountersUniversal/types/index.js +22 -0
  106. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  107. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  108. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  109. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  110. package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +12 -0
  111. package/api/resources/feeSchedules/resources/v3/client/Client.js +55 -11
  112. package/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +22 -0
  113. package/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +57 -0
  114. package/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
  115. package/api/resources/feeSchedules/resources/v3/client/index.js +2 -1
  116. package/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
  117. package/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +5 -0
  118. package/api/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
  119. package/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
  120. package/api/resources/financials/types/PatientTransactionSource.d.ts +2 -1
  121. package/api/resources/financials/types/PatientTransactionSource.js +1 -0
  122. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  123. package/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +2 -0
  124. package/api/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +2 -0
  125. package/api/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
  126. package/api/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
  127. package/api/resources/healthCareCodeInformation/client/Client.d.ts +30 -0
  128. package/api/resources/healthCareCodeInformation/client/Client.js +17 -0
  129. package/api/resources/healthCareCodeInformation/client/index.d.ts +1 -0
  130. package/api/resources/healthCareCodeInformation/client/index.js +2 -0
  131. package/api/resources/healthCareCodeInformation/index.d.ts +2 -0
  132. package/api/resources/healthCareCodeInformation/index.js +18 -0
  133. package/api/resources/healthCareCodeInformation/resources/index.d.ts +1 -0
  134. package/api/resources/healthCareCodeInformation/resources/index.js +37 -0
  135. package/api/resources/healthCareCodeInformation/resources/v1/client/Client.d.ts +46 -0
  136. package/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +179 -0
  137. package/api/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.d.ts +28 -0
  138. package/api/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.js +68 -0
  139. package/api/resources/healthCareCodeInformation/resources/v1/client/index.d.ts +2 -0
  140. package/api/resources/healthCareCodeInformation/resources/v1/client/index.js +38 -0
  141. package/api/resources/healthCareCodeInformation/resources/v1/client/update.d.ts +34 -0
  142. package/api/resources/healthCareCodeInformation/resources/v1/client/update.js +79 -0
  143. package/api/resources/healthCareCodeInformation/resources/v1/index.d.ts +2 -0
  144. package/api/resources/healthCareCodeInformation/resources/v1/index.js +18 -0
  145. package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.d.ts +11 -0
  146. package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.js +5 -0
  147. package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.d.ts +14 -0
  148. package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.js +10 -0
  149. package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +11 -0
  150. package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +5 -0
  151. package/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +4230 -0
  152. package/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +1064 -0
  153. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +242 -0
  154. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +67 -0
  155. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.d.ts +11 -0
  156. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.js +5 -0
  157. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.d.ts +10 -0
  158. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.js +9 -0
  159. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +11 -0
  160. package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +5 -0
  161. package/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +4 -0
  162. package/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +5 -0
  163. package/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +174 -0
  164. package/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +50 -0
  165. package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.d.ts +11 -0
  166. package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.js +5 -0
  167. package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.d.ts +10 -0
  168. package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.js +9 -0
  169. package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +11 -0
  170. package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +5 -0
  171. package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.d.ts +12 -0
  172. package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.js +5 -0
  173. package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.d.ts +14 -0
  174. package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.js +10 -0
  175. package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +12 -0
  176. package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +5 -0
  177. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.d.ts +18 -0
  178. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.js +5 -0
  179. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +19 -0
  180. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +5 -0
  181. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +19 -0
  182. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +5 -0
  183. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +57 -0
  184. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +5 -0
  185. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +19 -0
  186. package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +5 -0
  187. package/api/resources/healthCareCodeInformation/resources/v1/types/IcdCode.d.ts +8 -0
  188. package/api/resources/healthCareCodeInformation/resources/v1/types/IcdCode.js +9 -0
  189. package/api/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.d.ts +8 -0
  190. package/api/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.js +9 -0
  191. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +242 -0
  192. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +67 -0
  193. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +12 -0
  194. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.js +5 -0
  195. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.d.ts +10 -0
  196. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.js +9 -0
  197. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +12 -0
  198. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +5 -0
  199. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +58 -0
  200. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +21 -0
  201. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.d.ts +10 -0
  202. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.js +9 -0
  203. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.d.ts +12 -0
  204. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.js +5 -0
  205. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +12 -0
  206. package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +5 -0
  207. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.d.ts +12 -0
  208. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.js +5 -0
  209. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.d.ts +14 -0
  210. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.js +10 -0
  211. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +12 -0
  212. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +5 -0
  213. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +12 -0
  214. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.js +5 -0
  215. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.d.ts +14 -0
  216. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.js +10 -0
  217. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +12 -0
  218. package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +5 -0
  219. package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.d.ts +11 -0
  220. package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.js +5 -0
  221. package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.d.ts +14 -0
  222. package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.js +10 -0
  223. package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +11 -0
  224. package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +5 -0
  225. package/api/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.d.ts +26 -0
  226. package/api/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.js +13 -0
  227. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.d.ts +12 -0
  228. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.js +5 -0
  229. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.d.ts +14 -0
  230. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.js +10 -0
  231. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +12 -0
  232. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +5 -0
  233. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +12 -0
  234. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.js +5 -0
  235. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.d.ts +18 -0
  236. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.js +11 -0
  237. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +12 -0
  238. package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +5 -0
  239. package/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +7 -0
  240. package/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +5 -0
  241. package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.d.ts +7 -0
  242. package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.js +5 -0
  243. package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.d.ts +7 -0
  244. package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.js +5 -0
  245. package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.d.ts +7 -0
  246. package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.js +5 -0
  247. package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.d.ts +7 -0
  248. package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.js +5 -0
  249. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.d.ts +8 -0
  250. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.js +9 -0
  251. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.d.ts +11 -0
  252. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.js +5 -0
  253. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +11 -0
  254. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +5 -0
  255. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.d.ts +10 -0
  256. package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.js +9 -0
  257. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueCode.d.ts +541 -0
  258. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueCode.js +115 -0
  259. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.d.ts +10 -0
  260. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.js +9 -0
  261. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.d.ts +12 -0
  262. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.js +5 -0
  263. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +12 -0
  264. package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +5 -0
  265. package/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +60 -0
  266. package/api/resources/healthCareCodeInformation/resources/v1/types/index.js +76 -0
  267. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  268. package/api/resources/index.d.ts +4 -1
  269. package/api/resources/index.js +6 -3
  270. package/api/resources/individual/types/Patient.d.ts +2 -0
  271. package/api/resources/individual/types/PatientBase.d.ts +2 -2
  272. package/api/resources/individual/types/PatientCreate.d.ts +2 -0
  273. package/api/resources/individual/types/PatientUpdate.d.ts +3 -2
  274. package/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +3 -2
  275. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  276. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  277. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  278. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  279. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  280. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  281. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +7 -7
  282. package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +3 -1
  283. package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
  284. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  285. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  286. package/api/resources/patientAr/client/Client.d.ts +30 -0
  287. package/api/resources/patientAr/client/Client.js +17 -0
  288. package/api/resources/patientAr/client/index.d.ts +1 -0
  289. package/api/resources/patientAr/client/index.js +2 -0
  290. package/api/resources/patientAr/index.d.ts +2 -0
  291. package/api/resources/patientAr/index.js +18 -0
  292. package/api/resources/patientAr/resources/index.d.ts +1 -0
  293. package/api/resources/patientAr/resources/index.js +37 -0
  294. package/api/resources/patientAr/resources/v1/client/Client.d.ts +54 -0
  295. package/api/resources/patientAr/resources/v1/client/Client.js +196 -0
  296. package/api/resources/patientAr/resources/v1/client/index.d.ts +3 -0
  297. package/api/resources/patientAr/resources/v1/client/index.js +42 -0
  298. package/api/resources/patientAr/resources/v1/client/itemize.d.ts +34 -0
  299. package/api/resources/patientAr/resources/v1/client/itemize.js +79 -0
  300. package/api/resources/patientAr/resources/v1/client/listInventory.d.ts +34 -0
  301. package/api/resources/patientAr/resources/v1/client/listInventory.js +79 -0
  302. package/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.d.ts +19 -0
  303. package/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.js +5 -0
  304. package/api/resources/patientAr/resources/v1/client/requests/index.d.ts +1 -0
  305. package/api/resources/patientAr/resources/v1/client/requests/index.js +2 -0
  306. package/api/resources/patientAr/resources/v1/index.d.ts +2 -0
  307. package/api/resources/patientAr/resources/v1/index.js +18 -0
  308. package/api/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.d.ts +7 -0
  309. package/api/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.js +5 -0
  310. package/api/resources/patientAr/resources/v1/types/InsurancePaymentInfo.d.ts +7 -0
  311. package/api/resources/patientAr/resources/v1/types/InsurancePaymentInfo.js +5 -0
  312. package/api/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.d.ts +6 -0
  313. package/api/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.js +5 -0
  314. package/api/resources/patientAr/resources/v1/types/InventoryRecord.d.ts +11 -0
  315. package/api/resources/patientAr/resources/v1/types/InventoryRecord.js +5 -0
  316. package/api/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.d.ts +13 -0
  317. package/api/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.js +5 -0
  318. package/api/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.d.ts +10 -0
  319. package/api/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.js +5 -0
  320. package/api/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.d.ts +7 -0
  321. package/api/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.js +5 -0
  322. package/api/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.d.ts +7 -0
  323. package/api/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.js +5 -0
  324. package/api/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.d.ts +7 -0
  325. package/api/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.js +5 -0
  326. package/api/resources/patientAr/resources/v1/types/PatientArStatus.d.ts +8 -0
  327. package/api/resources/patientAr/resources/v1/types/PatientArStatus.js +10 -0
  328. package/api/resources/patientAr/resources/v1/types/PatientPaymentAllocation.d.ts +12 -0
  329. package/api/resources/patientAr/resources/v1/types/PatientPaymentAllocation.js +5 -0
  330. package/api/resources/patientAr/resources/v1/types/PatientPaymentInfo.d.ts +10 -0
  331. package/api/resources/patientAr/resources/v1/types/PatientPaymentInfo.js +5 -0
  332. package/api/resources/patientAr/resources/v1/types/ServiceLineItemization.d.ts +28 -0
  333. package/api/resources/patientAr/resources/v1/types/ServiceLineItemization.js +5 -0
  334. package/api/resources/patientAr/resources/v1/types/index.d.ts +13 -0
  335. package/api/resources/patientAr/resources/v1/types/index.js +29 -0
  336. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  337. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  338. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  339. package/api/resources/payers/client/Client.d.ts +3 -0
  340. package/api/resources/payers/client/Client.js +5 -0
  341. package/api/resources/payers/resources/index.d.ts +1 -0
  342. package/api/resources/payers/resources/index.js +2 -1
  343. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  344. package/api/resources/payers/resources/v4/client/Client.d.ts +45 -0
  345. package/api/resources/payers/resources/v4/client/Client.js +157 -0
  346. package/api/resources/payers/resources/v4/client/get.d.ts +22 -0
  347. package/api/resources/payers/resources/v4/client/get.js +57 -0
  348. package/api/resources/payers/resources/v4/client/getAll.d.ts +22 -0
  349. package/api/resources/payers/resources/v4/client/getAll.js +57 -0
  350. package/api/resources/payers/resources/v4/client/index.d.ts +3 -0
  351. package/api/resources/payers/resources/v4/client/index.js +42 -0
  352. package/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.d.ts +16 -0
  353. package/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.js +5 -0
  354. package/api/resources/payers/resources/v4/client/requests/index.d.ts +1 -0
  355. package/api/resources/payers/resources/v4/client/requests/index.js +2 -0
  356. package/api/resources/payers/resources/v4/index.d.ts +2 -0
  357. package/api/resources/payers/resources/v4/index.js +18 -0
  358. package/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
  359. package/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +5 -0
  360. package/api/resources/payers/resources/v4/types/Payer.d.ts +14 -0
  361. package/api/resources/payers/resources/v4/types/Payer.js +5 -0
  362. package/api/resources/payers/resources/v4/types/PayerIds.d.ts +11 -0
  363. package/api/resources/payers/resources/v4/types/PayerIds.js +5 -0
  364. package/api/resources/payers/resources/v4/types/PayerPage.d.ts +7 -0
  365. package/api/resources/payers/resources/v4/types/PayerPage.js +5 -0
  366. package/api/resources/payers/resources/v4/types/PayerUuid.d.ts +8 -0
  367. package/api/resources/payers/resources/v4/types/PayerUuid.js +9 -0
  368. package/api/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +11 -0
  369. package/api/resources/payers/resources/v4/types/PrimaryPayerIds.js +5 -0
  370. package/api/resources/payers/resources/v4/types/SupportState.d.ts +9 -0
  371. package/api/resources/payers/resources/v4/types/SupportState.js +11 -0
  372. package/api/resources/payers/resources/v4/types/index.d.ts +7 -0
  373. package/api/resources/payers/resources/v4/types/index.js +23 -0
  374. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  375. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +0 -2
  376. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -12
  377. package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  378. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +6 -6
  379. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  380. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  381. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  382. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +10 -12
  383. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +64 -23
  384. package/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +28 -0
  385. package/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +68 -0
  386. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  387. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  388. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +0 -4
  389. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +0 -4
  390. package/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  391. package/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +7 -0
  392. package/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +5 -0
  393. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +5 -1
  394. package/api/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.d.ts +10 -0
  395. package/api/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.js +5 -0
  396. package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.d.ts +10 -0
  397. package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.js +12 -0
  398. package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +9 -0
  399. package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +11 -0
  400. package/api/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.d.ts +34 -0
  401. package/api/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.js +36 -0
  402. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +5 -0
  403. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +5 -0
  404. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  405. package/api/resources/serviceFacility/client/Client.js +1 -1
  406. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +23 -2
  407. package/api/resources/serviceLines/resources/v2/client/Client.js +120 -5
  408. package/api/resources/serviceLines/resources/v2/client/createUniversal.d.ts +28 -0
  409. package/api/resources/serviceLines/resources/v2/client/createUniversal.js +68 -0
  410. package/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  411. package/api/resources/serviceLines/resources/v2/client/index.js +3 -1
  412. package/api/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +40 -0
  413. package/api/resources/serviceLines/resources/v2/client/updateUniversal.js +90 -0
  414. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -4
  415. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -45
  416. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +7 -0
  417. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +5 -0
  418. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +47 -0
  419. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +5 -0
  420. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +9 -9
  421. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -47
  422. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +7 -0
  423. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +5 -0
  424. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +49 -0
  425. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +5 -0
  426. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -45
  427. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +45 -0
  428. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +5 -0
  429. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +11 -0
  430. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +5 -0
  431. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +13 -0
  432. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +5 -0
  433. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +12 -0
  434. package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +5 -0
  435. package/api/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
  436. package/api/resources/serviceLines/resources/v2/types/index.js +8 -0
  437. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  438. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  439. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  440. package/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +1 -7
  441. package/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +12 -0
  442. package/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +5 -0
  443. package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +30 -0
  444. package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +5 -0
  445. package/api/resources/x12/resources/v1/types/index.d.ts +2 -0
  446. package/api/resources/x12/resources/v1/types/index.js +2 -0
  447. package/dist/Client.d.ts +9 -3
  448. package/dist/Client.js +52 -42
  449. package/dist/api/resources/auth/resources/default/client/Client.d.ts +12 -0
  450. package/dist/api/resources/auth/resources/default/client/Client.js +45 -1
  451. package/dist/api/resources/auth/resources/default/client/getMachineTokenForOrgId.d.ts +22 -0
  452. package/dist/api/resources/auth/resources/default/client/getMachineTokenForOrgId.js +57 -0
  453. package/dist/api/resources/auth/resources/default/client/index.d.ts +1 -0
  454. package/dist/api/resources/auth/resources/default/client/index.js +2 -1
  455. package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +21 -0
  456. package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +5 -0
  457. package/dist/api/resources/auth/resources/default/client/requests/index.d.ts +1 -0
  458. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  459. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +76 -7
  460. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +36 -0
  461. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +42 -5
  462. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +20 -0
  463. package/dist/api/resources/commons/types/Clearinghouse.d.ts +14 -0
  464. package/dist/api/resources/commons/types/Clearinghouse.js +16 -0
  465. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +13 -2
  466. package/dist/api/resources/commons/types/ProcedureModifier.js +11 -0
  467. package/dist/api/resources/commons/types/index.d.ts +1 -0
  468. package/dist/api/resources/commons/types/index.js +1 -0
  469. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  470. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +49 -0
  471. package/dist/api/resources/credentialing/resources/v2/client/Client.js +295 -5
  472. package/dist/api/resources/credentialing/resources/v2/client/createFacility.d.ts +34 -0
  473. package/dist/api/resources/credentialing/resources/v2/client/createFacility.js +79 -0
  474. package/dist/api/resources/credentialing/resources/v2/client/deleteFacility.d.ts +34 -0
  475. package/dist/api/resources/credentialing/resources/v2/client/deleteFacility.js +79 -0
  476. package/dist/api/resources/credentialing/resources/v2/client/getAllFacilities.d.ts +34 -0
  477. package/dist/api/resources/credentialing/resources/v2/client/getAllFacilities.js +79 -0
  478. package/dist/api/resources/credentialing/resources/v2/client/getFacility.d.ts +34 -0
  479. package/dist/api/resources/credentialing/resources/v2/client/getFacility.js +79 -0
  480. package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +5 -0
  481. package/dist/api/resources/credentialing/resources/v2/client/index.js +6 -1
  482. package/dist/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.d.ts +27 -0
  483. package/dist/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.js +5 -0
  484. package/dist/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.d.ts +26 -0
  485. package/dist/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.js +5 -0
  486. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.d.ts +27 -0
  487. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.js +5 -0
  488. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +1 -1
  489. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +1 -1
  490. package/dist/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
  491. package/dist/api/resources/credentialing/resources/v2/client/updateFacility.d.ts +46 -0
  492. package/dist/api/resources/credentialing/resources/v2/client/updateFacility.js +101 -0
  493. package/dist/api/resources/credentialing/resources/v2/types/BaseCredentialingSpan.d.ts +22 -0
  494. package/dist/api/resources/credentialing/resources/v2/types/BaseCredentialingSpan.js +5 -0
  495. package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.d.ts +9 -0
  496. package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.js +5 -0
  497. package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.d.ts +8 -0
  498. package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.js +9 -0
  499. package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.d.ts +7 -0
  500. package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.js +5 -0
  501. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +3 -19
  502. package/dist/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  503. package/dist/api/resources/credentialing/resources/v2/types/index.js +4 -0
  504. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  505. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  506. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  507. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  508. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  509. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +1 -1
  510. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +1 -1
  511. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +1 -1
  512. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +108 -9
  513. package/dist/api/resources/encounters/resources/v4/client/Client.js +279 -15
  514. package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  515. package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
  516. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +70 -0
  517. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +145 -0
  518. package/dist/api/resources/encounters/resources/v4/client/createUniversal.d.ts +94 -0
  519. package/dist/api/resources/encounters/resources/v4/client/createUniversal.js +189 -0
  520. package/dist/api/resources/encounters/resources/v4/client/index.d.ts +3 -0
  521. package/dist/api/resources/encounters/resources/v4/client/index.js +4 -1
  522. package/dist/api/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
  523. package/dist/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +70 -0
  524. package/dist/api/resources/encounters/resources/v4/client/updateUniversal.js +145 -0
  525. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -29
  526. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +10 -11
  527. package/dist/api/resources/encounters/resources/v4/types/EncounterCreate.d.ts +27 -0
  528. package/dist/api/resources/encounters/resources/v4/types/EncounterCreate.js +5 -0
  529. package/dist/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +3 -36
  530. package/dist/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +9 -4
  531. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +10 -16
  532. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -9
  533. package/dist/api/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +5 -0
  534. package/dist/api/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js +5 -0
  535. package/dist/api/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +17 -0
  536. package/dist/api/resources/encounters/resources/v4/types/EncounterUpdate.js +5 -0
  537. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +7 -4
  538. package/dist/api/resources/encounters/resources/v4/types/index.js +7 -4
  539. package/dist/api/resources/encountersUniversal/index.d.ts +1 -0
  540. package/dist/api/resources/encountersUniversal/index.js +17 -0
  541. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +49 -0
  542. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.js +5 -0
  543. package/dist/api/resources/{encounters/resources/v4/client/requests/EncounterCreate.d.ts → encountersUniversal/types/UniversalEncounterCreateBase.d.ts} +9 -70
  544. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +5 -0
  545. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +47 -0
  546. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +5 -0
  547. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +40 -0
  548. package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +5 -0
  549. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +39 -0
  550. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.js +5 -0
  551. package/dist/api/resources/{encounters/resources/v4/client/requests/EncounterUpdate.d.ts → encountersUniversal/types/UniversalEncounterUpdateBase.d.ts} +9 -18
  552. package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +5 -0
  553. package/dist/api/resources/encountersUniversal/types/index.d.ts +6 -0
  554. package/dist/api/resources/encountersUniversal/types/index.js +22 -0
  555. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  556. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  557. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  558. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  559. package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +12 -0
  560. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +55 -11
  561. package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +22 -0
  562. package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +57 -0
  563. package/dist/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
  564. package/dist/api/resources/feeSchedules/resources/v3/client/index.js +2 -1
  565. package/dist/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
  566. package/dist/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +5 -0
  567. package/dist/api/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
  568. package/dist/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
  569. package/dist/api/resources/financials/types/PatientTransactionSource.d.ts +2 -1
  570. package/dist/api/resources/financials/types/PatientTransactionSource.js +1 -0
  571. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  572. package/dist/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +2 -0
  573. package/dist/api/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +2 -0
  574. package/dist/api/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
  575. package/dist/api/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
  576. package/dist/api/resources/healthCareCodeInformation/client/Client.d.ts +30 -0
  577. package/dist/api/resources/healthCareCodeInformation/client/Client.js +17 -0
  578. package/dist/api/resources/healthCareCodeInformation/client/index.d.ts +1 -0
  579. package/dist/api/resources/healthCareCodeInformation/client/index.js +2 -0
  580. package/dist/api/resources/healthCareCodeInformation/index.d.ts +2 -0
  581. package/dist/api/resources/healthCareCodeInformation/index.js +18 -0
  582. package/dist/api/resources/healthCareCodeInformation/resources/index.d.ts +1 -0
  583. package/dist/api/resources/healthCareCodeInformation/resources/index.js +37 -0
  584. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.d.ts +46 -0
  585. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +179 -0
  586. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.d.ts +28 -0
  587. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.js +68 -0
  588. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/index.d.ts +2 -0
  589. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/index.js +38 -0
  590. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/update.d.ts +34 -0
  591. package/dist/api/resources/healthCareCodeInformation/resources/v1/client/update.js +79 -0
  592. package/dist/api/resources/healthCareCodeInformation/resources/v1/index.d.ts +2 -0
  593. package/dist/api/resources/healthCareCodeInformation/resources/v1/index.js +18 -0
  594. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.d.ts +11 -0
  595. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.js +5 -0
  596. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.d.ts +14 -0
  597. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.js +10 -0
  598. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +11 -0
  599. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +5 -0
  600. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +4230 -0
  601. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +1064 -0
  602. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +242 -0
  603. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +67 -0
  604. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.d.ts +11 -0
  605. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.js +5 -0
  606. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.d.ts +10 -0
  607. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.js +9 -0
  608. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +11 -0
  609. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +5 -0
  610. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +4 -0
  611. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +5 -0
  612. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +174 -0
  613. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +50 -0
  614. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.d.ts +11 -0
  615. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.js +5 -0
  616. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.d.ts +10 -0
  617. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.js +9 -0
  618. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +11 -0
  619. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +5 -0
  620. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.d.ts +12 -0
  621. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.js +5 -0
  622. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.d.ts +14 -0
  623. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.js +10 -0
  624. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +12 -0
  625. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +5 -0
  626. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.d.ts +18 -0
  627. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.js +5 -0
  628. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +19 -0
  629. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +5 -0
  630. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +19 -0
  631. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +5 -0
  632. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +57 -0
  633. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +5 -0
  634. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +19 -0
  635. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +5 -0
  636. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/IcdCode.d.ts +8 -0
  637. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/IcdCode.js +9 -0
  638. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.d.ts +8 -0
  639. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.js +9 -0
  640. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +242 -0
  641. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +67 -0
  642. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +12 -0
  643. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.js +5 -0
  644. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.d.ts +10 -0
  645. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.js +9 -0
  646. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +12 -0
  647. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +5 -0
  648. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +58 -0
  649. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +21 -0
  650. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.d.ts +10 -0
  651. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.js +9 -0
  652. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.d.ts +12 -0
  653. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.js +5 -0
  654. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +12 -0
  655. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +5 -0
  656. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.d.ts +12 -0
  657. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.js +5 -0
  658. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.d.ts +14 -0
  659. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.js +10 -0
  660. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +12 -0
  661. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +5 -0
  662. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +12 -0
  663. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.js +5 -0
  664. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.d.ts +14 -0
  665. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.js +10 -0
  666. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +12 -0
  667. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +5 -0
  668. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.d.ts +11 -0
  669. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.js +5 -0
  670. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.d.ts +14 -0
  671. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.js +10 -0
  672. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +11 -0
  673. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +5 -0
  674. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.d.ts +26 -0
  675. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.js +13 -0
  676. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.d.ts +12 -0
  677. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.js +5 -0
  678. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.d.ts +14 -0
  679. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.js +10 -0
  680. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +12 -0
  681. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +5 -0
  682. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +12 -0
  683. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.js +5 -0
  684. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.d.ts +18 -0
  685. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.js +11 -0
  686. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +12 -0
  687. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +5 -0
  688. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +7 -0
  689. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +5 -0
  690. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.d.ts +7 -0
  691. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.js +5 -0
  692. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.d.ts +7 -0
  693. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.js +5 -0
  694. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.d.ts +7 -0
  695. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.js +5 -0
  696. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.d.ts +7 -0
  697. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.js +5 -0
  698. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.d.ts +8 -0
  699. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.js +9 -0
  700. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.d.ts +11 -0
  701. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.js +5 -0
  702. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +11 -0
  703. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +5 -0
  704. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.d.ts +10 -0
  705. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.js +9 -0
  706. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueCode.d.ts +541 -0
  707. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueCode.js +115 -0
  708. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.d.ts +10 -0
  709. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.js +9 -0
  710. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.d.ts +12 -0
  711. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.js +5 -0
  712. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +12 -0
  713. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +5 -0
  714. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +60 -0
  715. package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.js +76 -0
  716. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  717. package/dist/api/resources/index.d.ts +4 -1
  718. package/dist/api/resources/index.js +6 -3
  719. package/dist/api/resources/individual/types/Patient.d.ts +2 -0
  720. package/dist/api/resources/individual/types/PatientBase.d.ts +2 -2
  721. package/dist/api/resources/individual/types/PatientCreate.d.ts +2 -0
  722. package/dist/api/resources/individual/types/PatientUpdate.d.ts +3 -2
  723. package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +3 -2
  724. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  725. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  726. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  727. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  728. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  729. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  730. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +7 -7
  731. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +3 -1
  732. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
  733. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  734. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  735. package/dist/api/resources/patientAr/client/Client.d.ts +30 -0
  736. package/dist/api/resources/patientAr/client/Client.js +17 -0
  737. package/dist/api/resources/patientAr/client/index.d.ts +1 -0
  738. package/dist/api/resources/patientAr/client/index.js +2 -0
  739. package/dist/api/resources/patientAr/index.d.ts +2 -0
  740. package/dist/api/resources/patientAr/index.js +18 -0
  741. package/dist/api/resources/patientAr/resources/index.d.ts +1 -0
  742. package/dist/api/resources/patientAr/resources/index.js +37 -0
  743. package/dist/api/resources/patientAr/resources/v1/client/Client.d.ts +54 -0
  744. package/dist/api/resources/patientAr/resources/v1/client/Client.js +196 -0
  745. package/dist/api/resources/patientAr/resources/v1/client/index.d.ts +3 -0
  746. package/dist/api/resources/patientAr/resources/v1/client/index.js +42 -0
  747. package/dist/api/resources/patientAr/resources/v1/client/itemize.d.ts +34 -0
  748. package/dist/api/resources/patientAr/resources/v1/client/itemize.js +79 -0
  749. package/dist/api/resources/patientAr/resources/v1/client/listInventory.d.ts +34 -0
  750. package/dist/api/resources/patientAr/resources/v1/client/listInventory.js +79 -0
  751. package/dist/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.d.ts +19 -0
  752. package/dist/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.js +5 -0
  753. package/dist/api/resources/patientAr/resources/v1/client/requests/index.d.ts +1 -0
  754. package/dist/api/resources/patientAr/resources/v1/client/requests/index.js +2 -0
  755. package/dist/api/resources/patientAr/resources/v1/index.d.ts +2 -0
  756. package/dist/api/resources/patientAr/resources/v1/index.js +18 -0
  757. package/dist/api/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.d.ts +7 -0
  758. package/dist/api/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.js +5 -0
  759. package/dist/api/resources/patientAr/resources/v1/types/InsurancePaymentInfo.d.ts +7 -0
  760. package/dist/api/resources/patientAr/resources/v1/types/InsurancePaymentInfo.js +5 -0
  761. package/dist/api/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.d.ts +6 -0
  762. package/dist/api/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.js +5 -0
  763. package/dist/api/resources/patientAr/resources/v1/types/InventoryRecord.d.ts +11 -0
  764. package/dist/api/resources/patientAr/resources/v1/types/InventoryRecord.js +5 -0
  765. package/dist/api/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.d.ts +13 -0
  766. package/dist/api/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.js +5 -0
  767. package/dist/api/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.d.ts +10 -0
  768. package/dist/api/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.js +5 -0
  769. package/dist/api/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.d.ts +7 -0
  770. package/dist/api/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.js +5 -0
  771. package/dist/api/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.d.ts +7 -0
  772. package/dist/api/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.js +5 -0
  773. package/dist/api/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.d.ts +7 -0
  774. package/dist/api/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.js +5 -0
  775. package/dist/api/resources/patientAr/resources/v1/types/PatientArStatus.d.ts +8 -0
  776. package/dist/api/resources/patientAr/resources/v1/types/PatientArStatus.js +10 -0
  777. package/dist/api/resources/patientAr/resources/v1/types/PatientPaymentAllocation.d.ts +12 -0
  778. package/dist/api/resources/patientAr/resources/v1/types/PatientPaymentAllocation.js +5 -0
  779. package/dist/api/resources/patientAr/resources/v1/types/PatientPaymentInfo.d.ts +10 -0
  780. package/dist/api/resources/patientAr/resources/v1/types/PatientPaymentInfo.js +5 -0
  781. package/dist/api/resources/patientAr/resources/v1/types/ServiceLineItemization.d.ts +28 -0
  782. package/dist/api/resources/patientAr/resources/v1/types/ServiceLineItemization.js +5 -0
  783. package/dist/api/resources/patientAr/resources/v1/types/index.d.ts +13 -0
  784. package/dist/api/resources/patientAr/resources/v1/types/index.js +29 -0
  785. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  786. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  787. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  788. package/dist/api/resources/payers/client/Client.d.ts +3 -0
  789. package/dist/api/resources/payers/client/Client.js +5 -0
  790. package/dist/api/resources/payers/resources/index.d.ts +1 -0
  791. package/dist/api/resources/payers/resources/index.js +2 -1
  792. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  793. package/dist/api/resources/payers/resources/v4/client/Client.d.ts +45 -0
  794. package/dist/api/resources/payers/resources/v4/client/Client.js +157 -0
  795. package/dist/api/resources/payers/resources/v4/client/get.d.ts +22 -0
  796. package/dist/api/resources/payers/resources/v4/client/get.js +57 -0
  797. package/dist/api/resources/payers/resources/v4/client/getAll.d.ts +22 -0
  798. package/dist/api/resources/payers/resources/v4/client/getAll.js +57 -0
  799. package/dist/api/resources/payers/resources/v4/client/index.d.ts +3 -0
  800. package/dist/api/resources/payers/resources/v4/client/index.js +42 -0
  801. package/dist/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.d.ts +16 -0
  802. package/dist/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.js +5 -0
  803. package/dist/api/resources/payers/resources/v4/client/requests/index.d.ts +1 -0
  804. package/dist/api/resources/payers/resources/v4/client/requests/index.js +2 -0
  805. package/dist/api/resources/payers/resources/v4/index.d.ts +2 -0
  806. package/dist/api/resources/payers/resources/v4/index.js +18 -0
  807. package/dist/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
  808. package/dist/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +5 -0
  809. package/dist/api/resources/payers/resources/v4/types/Payer.d.ts +14 -0
  810. package/dist/api/resources/payers/resources/v4/types/Payer.js +5 -0
  811. package/dist/api/resources/payers/resources/v4/types/PayerIds.d.ts +11 -0
  812. package/dist/api/resources/payers/resources/v4/types/PayerIds.js +5 -0
  813. package/dist/api/resources/payers/resources/v4/types/PayerPage.d.ts +7 -0
  814. package/dist/api/resources/payers/resources/v4/types/PayerPage.js +5 -0
  815. package/dist/api/resources/payers/resources/v4/types/PayerUuid.d.ts +8 -0
  816. package/dist/api/resources/payers/resources/v4/types/PayerUuid.js +9 -0
  817. package/dist/api/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +11 -0
  818. package/dist/api/resources/payers/resources/v4/types/PrimaryPayerIds.js +5 -0
  819. package/dist/api/resources/payers/resources/v4/types/SupportState.d.ts +9 -0
  820. package/dist/api/resources/payers/resources/v4/types/SupportState.js +11 -0
  821. package/dist/api/resources/payers/resources/v4/types/index.d.ts +7 -0
  822. package/dist/api/resources/payers/resources/v4/types/index.js +23 -0
  823. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  824. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +0 -2
  825. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -12
  826. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  827. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +6 -6
  828. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  829. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  830. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  831. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +10 -12
  832. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +64 -23
  833. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +28 -0
  834. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +68 -0
  835. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  836. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  837. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +0 -4
  838. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +0 -4
  839. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  840. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +7 -0
  841. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +5 -0
  842. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +5 -1
  843. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.d.ts +10 -0
  844. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.js +5 -0
  845. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.d.ts +10 -0
  846. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.js +12 -0
  847. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +9 -0
  848. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +11 -0
  849. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.d.ts +34 -0
  850. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.js +36 -0
  851. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +5 -0
  852. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +5 -0
  853. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  854. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  855. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +23 -2
  856. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +120 -5
  857. package/dist/api/resources/serviceLines/resources/v2/client/createUniversal.d.ts +28 -0
  858. package/dist/api/resources/serviceLines/resources/v2/client/createUniversal.js +68 -0
  859. package/dist/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  860. package/dist/api/resources/serviceLines/resources/v2/client/index.js +3 -1
  861. package/dist/api/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +40 -0
  862. package/dist/api/resources/serviceLines/resources/v2/client/updateUniversal.js +90 -0
  863. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -4
  864. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -45
  865. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +7 -0
  866. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +5 -0
  867. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +47 -0
  868. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +5 -0
  869. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +9 -9
  870. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -47
  871. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +7 -0
  872. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +5 -0
  873. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +49 -0
  874. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +5 -0
  875. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -45
  876. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +45 -0
  877. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +5 -0
  878. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +11 -0
  879. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +5 -0
  880. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +13 -0
  881. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +5 -0
  882. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +12 -0
  883. package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +5 -0
  884. package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
  885. package/dist/api/resources/serviceLines/resources/v2/types/index.js +8 -0
  886. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  887. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  888. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  889. package/dist/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +1 -7
  890. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +12 -0
  891. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +5 -0
  892. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +30 -0
  893. package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +5 -0
  894. package/dist/api/resources/x12/resources/v1/types/index.d.ts +2 -0
  895. package/dist/api/resources/x12/resources/v1/types/index.js +2 -0
  896. package/dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +15 -0
  897. package/dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +46 -0
  898. package/dist/serialization/resources/auth/resources/default/client/requests/index.d.ts +1 -0
  899. package/dist/serialization/resources/auth/resources/default/client/requests/index.js +3 -1
  900. package/dist/serialization/resources/commons/types/Clearinghouse.d.ts +10 -0
  901. package/dist/serialization/resources/commons/types/Clearinghouse.js +50 -0
  902. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  903. package/dist/serialization/resources/commons/types/ProcedureModifier.js +11 -0
  904. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  905. package/dist/serialization/resources/commons/types/index.js +1 -0
  906. package/dist/serialization/resources/credentialing/resources/v2/client/createFacility.d.ts +20 -0
  907. package/dist/serialization/resources/credentialing/resources/v2/client/createFacility.js +77 -0
  908. package/dist/serialization/resources/credentialing/resources/v2/client/deleteFacility.d.ts +20 -0
  909. package/dist/serialization/resources/credentialing/resources/v2/client/deleteFacility.js +77 -0
  910. package/dist/serialization/resources/credentialing/resources/v2/client/getAllFacilities.d.ts +20 -0
  911. package/dist/serialization/resources/credentialing/resources/v2/client/getAllFacilities.js +77 -0
  912. package/dist/serialization/resources/credentialing/resources/v2/client/getFacility.d.ts +20 -0
  913. package/dist/serialization/resources/credentialing/resources/v2/client/getFacility.js +77 -0
  914. package/dist/serialization/resources/credentialing/resources/v2/client/index.d.ts +5 -0
  915. package/dist/serialization/resources/credentialing/resources/v2/client/index.js +6 -1
  916. package/dist/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.d.ts +18 -0
  917. package/dist/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.js +49 -0
  918. package/dist/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.d.ts +19 -0
  919. package/dist/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.js +50 -0
  920. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  921. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.js +5 -1
  922. package/dist/serialization/resources/credentialing/resources/v2/client/updateFacility.d.ts +30 -0
  923. package/dist/serialization/resources/credentialing/resources/v2/client/updateFacility.js +89 -0
  924. package/dist/serialization/resources/credentialing/resources/v2/types/BaseCredentialingSpan.d.ts +22 -0
  925. package/dist/serialization/resources/credentialing/resources/v2/types/BaseCredentialingSpan.js +53 -0
  926. package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.d.ts +16 -0
  927. package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.js +49 -0
  928. package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.d.ts +10 -0
  929. package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.js +45 -0
  930. package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.d.ts +14 -0
  931. package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.js +47 -0
  932. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +3 -12
  933. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +6 -13
  934. package/dist/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  935. package/dist/serialization/resources/credentialing/resources/v2/types/index.js +4 -0
  936. package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  937. package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  938. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +49 -0
  939. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +112 -0
  940. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +69 -0
  941. package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.js +136 -0
  942. package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +3 -1
  943. package/dist/serialization/resources/encounters/resources/v4/client/index.js +4 -5
  944. package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +50 -0
  945. package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.js +113 -0
  946. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -4
  947. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -4
  948. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -2
  949. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +2 -2
  950. package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreate.d.ts +22 -0
  951. package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreate.js +55 -0
  952. package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +4 -28
  953. package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.js +4 -28
  954. package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
  955. package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +2 -0
  956. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -2
  957. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -2
  958. package/dist/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +11 -0
  959. package/dist/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js +41 -0
  960. package/dist/serialization/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +16 -0
  961. package/dist/serialization/resources/encounters/resources/v4/types/EncounterUpdate.js +49 -0
  962. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -4
  963. package/dist/serialization/resources/encounters/resources/v4/types/index.js +7 -4
  964. package/dist/serialization/resources/encountersUniversal/index.d.ts +1 -0
  965. package/dist/serialization/resources/encountersUniversal/index.js +17 -0
  966. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +39 -0
  967. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +72 -0
  968. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +50 -0
  969. package/{serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js → dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js} +21 -31
  970. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +37 -0
  971. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +70 -0
  972. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +36 -0
  973. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +69 -0
  974. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +32 -0
  975. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +65 -0
  976. package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +46 -0
  977. package/{serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js → dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js} +20 -22
  978. package/dist/serialization/resources/encountersUniversal/types/index.d.ts +6 -0
  979. package/dist/serialization/resources/encountersUniversal/types/index.js +22 -0
  980. package/dist/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +9 -0
  981. package/dist/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +41 -0
  982. package/dist/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
  983. package/dist/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
  984. package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
  985. package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +44 -0
  986. package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
  987. package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/index.js +3 -1
  988. package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
  989. package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +1 -0
  990. package/dist/serialization/resources/financials/types/PatientTransactionSource.d.ts +1 -1
  991. package/dist/serialization/resources/financials/types/PatientTransactionSource.js +10 -1
  992. package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -0
  993. package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.js +1 -0
  994. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +1 -0
  995. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.js +1 -0
  996. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
  997. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +1 -0
  998. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
  999. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.js +1 -0
  1000. package/dist/serialization/resources/healthCareCodeInformation/index.d.ts +1 -0
  1001. package/dist/serialization/resources/healthCareCodeInformation/index.js +17 -0
  1002. package/dist/serialization/resources/healthCareCodeInformation/resources/index.d.ts +1 -0
  1003. package/dist/serialization/resources/healthCareCodeInformation/resources/index.js +37 -0
  1004. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.d.ts +15 -0
  1005. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.js +71 -0
  1006. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/index.d.ts +2 -0
  1007. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/index.js +38 -0
  1008. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/update.d.ts +20 -0
  1009. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/update.js +77 -0
  1010. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/index.d.ts +2 -0
  1011. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/index.js +18 -0
  1012. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.d.ts +16 -0
  1013. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.js +49 -0
  1014. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.d.ts +10 -0
  1015. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.js +41 -0
  1016. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +16 -0
  1017. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +49 -0
  1018. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +10 -0
  1019. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +1098 -0
  1020. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +10 -0
  1021. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +101 -0
  1022. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.d.ts +16 -0
  1023. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.js +49 -0
  1024. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.d.ts +10 -0
  1025. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.js +41 -0
  1026. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +16 -0
  1027. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +49 -0
  1028. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +10 -0
  1029. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +41 -0
  1030. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +10 -0
  1031. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +84 -0
  1032. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.d.ts +16 -0
  1033. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.js +49 -0
  1034. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.d.ts +10 -0
  1035. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.js +41 -0
  1036. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +16 -0
  1037. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +49 -0
  1038. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.d.ts +18 -0
  1039. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.js +51 -0
  1040. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.d.ts +10 -0
  1041. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.js +41 -0
  1042. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +18 -0
  1043. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +51 -0
  1044. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.d.ts +15 -0
  1045. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.js +48 -0
  1046. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +37 -0
  1047. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +68 -0
  1048. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +37 -0
  1049. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +68 -0
  1050. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +23 -0
  1051. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +54 -0
  1052. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +37 -0
  1053. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +68 -0
  1054. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/IcdCode.d.ts +10 -0
  1055. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/IcdCode.js +45 -0
  1056. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.d.ts +10 -0
  1057. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.js +45 -0
  1058. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +10 -0
  1059. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +101 -0
  1060. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +18 -0
  1061. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.js +51 -0
  1062. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.d.ts +10 -0
  1063. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.js +41 -0
  1064. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +18 -0
  1065. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +51 -0
  1066. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +10 -0
  1067. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +41 -0
  1068. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.d.ts +10 -0
  1069. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.js +41 -0
  1070. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.d.ts +18 -0
  1071. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.js +51 -0
  1072. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +18 -0
  1073. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +51 -0
  1074. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.d.ts +18 -0
  1075. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.js +51 -0
  1076. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.d.ts +10 -0
  1077. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.js +41 -0
  1078. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +18 -0
  1079. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +51 -0
  1080. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +18 -0
  1081. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.js +51 -0
  1082. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.d.ts +10 -0
  1083. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.js +41 -0
  1084. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +18 -0
  1085. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +51 -0
  1086. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.d.ts +16 -0
  1087. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.js +49 -0
  1088. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.d.ts +10 -0
  1089. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.js +41 -0
  1090. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +16 -0
  1091. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +49 -0
  1092. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.d.ts +10 -0
  1093. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.js +41 -0
  1094. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.d.ts +18 -0
  1095. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.js +51 -0
  1096. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.d.ts +10 -0
  1097. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.js +41 -0
  1098. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +18 -0
  1099. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +51 -0
  1100. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +18 -0
  1101. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.js +51 -0
  1102. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.d.ts +10 -0
  1103. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.js +41 -0
  1104. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +18 -0
  1105. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +51 -0
  1106. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +13 -0
  1107. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +44 -0
  1108. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.d.ts +13 -0
  1109. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.js +44 -0
  1110. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.d.ts +13 -0
  1111. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.js +44 -0
  1112. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.d.ts +13 -0
  1113. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.js +44 -0
  1114. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.d.ts +13 -0
  1115. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.js +44 -0
  1116. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.d.ts +10 -0
  1117. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.js +45 -0
  1118. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.d.ts +16 -0
  1119. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.js +49 -0
  1120. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +16 -0
  1121. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +49 -0
  1122. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.d.ts +10 -0
  1123. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.js +41 -0
  1124. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCode.d.ts +10 -0
  1125. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCode.js +149 -0
  1126. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.d.ts +10 -0
  1127. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.js +41 -0
  1128. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.d.ts +18 -0
  1129. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.js +51 -0
  1130. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +18 -0
  1131. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +51 -0
  1132. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +60 -0
  1133. package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +76 -0
  1134. package/dist/serialization/resources/index.d.ts +4 -1
  1135. package/dist/serialization/resources/index.js +6 -3
  1136. package/dist/serialization/resources/individual/types/Patient.d.ts +1 -0
  1137. package/dist/serialization/resources/individual/types/Patient.js +1 -0
  1138. package/dist/serialization/resources/individual/types/PatientCreate.d.ts +1 -0
  1139. package/dist/serialization/resources/individual/types/PatientCreate.js +1 -0
  1140. package/dist/serialization/resources/individual/types/PatientUpdate.d.ts +1 -0
  1141. package/dist/serialization/resources/individual/types/PatientUpdate.js +1 -0
  1142. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +1 -0
  1143. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +1 -0
  1144. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  1145. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
  1146. package/dist/serialization/resources/patientAr/index.d.ts +1 -0
  1147. package/dist/serialization/resources/patientAr/index.js +17 -0
  1148. package/dist/serialization/resources/patientAr/resources/index.d.ts +1 -0
  1149. package/dist/serialization/resources/patientAr/resources/index.js +37 -0
  1150. package/dist/serialization/resources/patientAr/resources/v1/client/index.d.ts +2 -0
  1151. package/dist/serialization/resources/patientAr/resources/v1/client/index.js +38 -0
  1152. package/dist/serialization/resources/patientAr/resources/v1/client/itemize.d.ts +20 -0
  1153. package/dist/serialization/resources/patientAr/resources/v1/client/itemize.js +77 -0
  1154. package/dist/serialization/resources/patientAr/resources/v1/client/listInventory.d.ts +20 -0
  1155. package/dist/serialization/resources/patientAr/resources/v1/client/listInventory.js +77 -0
  1156. package/dist/serialization/resources/patientAr/resources/v1/index.d.ts +2 -0
  1157. package/dist/serialization/resources/patientAr/resources/v1/index.js +18 -0
  1158. package/dist/serialization/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.d.ts +12 -0
  1159. package/dist/serialization/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.js +43 -0
  1160. package/dist/serialization/resources/patientAr/resources/v1/types/InsurancePaymentInfo.d.ts +12 -0
  1161. package/dist/serialization/resources/patientAr/resources/v1/types/InsurancePaymentInfo.js +43 -0
  1162. package/dist/serialization/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.d.ts +12 -0
  1163. package/dist/serialization/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.js +43 -0
  1164. package/dist/serialization/resources/patientAr/resources/v1/types/InventoryRecord.d.ts +20 -0
  1165. package/dist/serialization/resources/patientAr/resources/v1/types/InventoryRecord.js +51 -0
  1166. package/dist/serialization/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.d.ts +18 -0
  1167. package/dist/serialization/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.js +49 -0
  1168. package/dist/serialization/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.d.ts +15 -0
  1169. package/dist/serialization/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.js +46 -0
  1170. package/dist/serialization/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.d.ts +12 -0
  1171. package/dist/serialization/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.js +43 -0
  1172. package/dist/serialization/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.d.ts +12 -0
  1173. package/dist/serialization/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.js +43 -0
  1174. package/dist/serialization/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.d.ts +12 -0
  1175. package/dist/serialization/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.js +43 -0
  1176. package/dist/serialization/resources/patientAr/resources/v1/types/PatientArStatus.d.ts +10 -0
  1177. package/dist/serialization/resources/patientAr/resources/v1/types/PatientArStatus.js +41 -0
  1178. package/dist/serialization/resources/patientAr/resources/v1/types/PatientPaymentAllocation.d.ts +13 -0
  1179. package/dist/serialization/resources/patientAr/resources/v1/types/PatientPaymentAllocation.js +44 -0
  1180. package/dist/serialization/resources/patientAr/resources/v1/types/PatientPaymentInfo.d.ts +14 -0
  1181. package/dist/serialization/resources/patientAr/resources/v1/types/PatientPaymentInfo.js +45 -0
  1182. package/dist/serialization/resources/patientAr/resources/v1/types/ServiceLineItemization.d.ts +32 -0
  1183. package/dist/serialization/resources/patientAr/resources/v1/types/ServiceLineItemization.js +63 -0
  1184. package/dist/serialization/resources/patientAr/resources/v1/types/index.d.ts +13 -0
  1185. package/dist/serialization/resources/patientAr/resources/v1/types/index.js +29 -0
  1186. package/dist/serialization/resources/payers/resources/index.d.ts +1 -0
  1187. package/dist/serialization/resources/payers/resources/index.js +2 -1
  1188. package/dist/serialization/resources/payers/resources/v4/index.d.ts +1 -0
  1189. package/dist/serialization/resources/payers/resources/v4/index.js +17 -0
  1190. package/dist/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
  1191. package/dist/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +51 -0
  1192. package/dist/serialization/resources/payers/resources/v4/types/Payer.d.ts +21 -0
  1193. package/dist/serialization/resources/payers/resources/v4/types/Payer.js +52 -0
  1194. package/dist/serialization/resources/payers/resources/v4/types/PayerIds.d.ts +14 -0
  1195. package/dist/serialization/resources/payers/resources/v4/types/PayerIds.js +45 -0
  1196. package/dist/serialization/resources/payers/resources/v4/types/PayerPage.d.ts +14 -0
  1197. package/dist/serialization/resources/payers/resources/v4/types/PayerPage.js +47 -0
  1198. package/dist/serialization/resources/payers/resources/v4/types/PayerUuid.d.ts +10 -0
  1199. package/dist/serialization/resources/payers/resources/v4/types/PayerUuid.js +45 -0
  1200. package/dist/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +14 -0
  1201. package/dist/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.js +45 -0
  1202. package/dist/serialization/resources/payers/resources/v4/types/SupportState.d.ts +10 -0
  1203. package/dist/serialization/resources/payers/resources/v4/types/SupportState.js +41 -0
  1204. package/dist/serialization/resources/payers/resources/v4/types/index.d.ts +7 -0
  1205. package/dist/serialization/resources/payers/resources/v4/types/index.js +23 -0
  1206. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  1207. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +1 -1
  1208. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +15 -0
  1209. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +71 -0
  1210. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  1211. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  1212. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  1213. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
  1214. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +13 -0
  1215. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +44 -0
  1216. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +5 -1
  1217. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +5 -1
  1218. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.d.ts +19 -0
  1219. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.js +50 -0
  1220. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.d.ts +10 -0
  1221. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.js +41 -0
  1222. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +10 -0
  1223. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +41 -0
  1224. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.d.ts +10 -0
  1225. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.js +70 -0
  1226. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +5 -0
  1227. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +5 -0
  1228. package/dist/serialization/resources/serviceLines/resources/v2/client/createUniversal.d.ts +15 -0
  1229. package/dist/serialization/resources/serviceLines/resources/v2/client/createUniversal.js +71 -0
  1230. package/dist/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  1231. package/dist/serialization/resources/serviceLines/resources/v2/client/index.js +3 -1
  1232. package/dist/serialization/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +25 -0
  1233. package/dist/serialization/resources/serviceLines/resources/v2/client/updateUniversal.js +83 -0
  1234. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -23
  1235. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +5 -24
  1236. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +13 -0
  1237. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +46 -0
  1238. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +32 -0
  1239. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +63 -0
  1240. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
  1241. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
  1242. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -27
  1243. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -28
  1244. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +13 -0
  1245. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +46 -0
  1246. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +36 -0
  1247. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +67 -0
  1248. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -24
  1249. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -25
  1250. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +34 -0
  1251. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +65 -0
  1252. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +15 -0
  1253. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +48 -0
  1254. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +19 -0
  1255. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +52 -0
  1256. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +18 -0
  1257. package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +51 -0
  1258. package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
  1259. package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +8 -0
  1260. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +2 -7
  1261. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -8
  1262. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +17 -0
  1263. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +48 -0
  1264. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +18 -0
  1265. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +52 -0
  1266. package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
  1267. package/dist/serialization/resources/x12/resources/v1/types/index.js +2 -0
  1268. package/dist/version.d.ts +1 -1
  1269. package/dist/version.js +1 -1
  1270. package/package.json +1 -1
  1271. package/reference.md +1632 -497
  1272. package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +15 -0
  1273. package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +46 -0
  1274. package/serialization/resources/auth/resources/default/client/requests/index.d.ts +1 -0
  1275. package/serialization/resources/auth/resources/default/client/requests/index.js +3 -1
  1276. package/serialization/resources/commons/types/Clearinghouse.d.ts +10 -0
  1277. package/serialization/resources/commons/types/Clearinghouse.js +50 -0
  1278. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  1279. package/serialization/resources/commons/types/ProcedureModifier.js +11 -0
  1280. package/serialization/resources/commons/types/index.d.ts +1 -0
  1281. package/serialization/resources/commons/types/index.js +1 -0
  1282. package/serialization/resources/credentialing/resources/v2/client/createFacility.d.ts +20 -0
  1283. package/serialization/resources/credentialing/resources/v2/client/createFacility.js +77 -0
  1284. package/serialization/resources/credentialing/resources/v2/client/deleteFacility.d.ts +20 -0
  1285. package/serialization/resources/credentialing/resources/v2/client/deleteFacility.js +77 -0
  1286. package/serialization/resources/credentialing/resources/v2/client/getAllFacilities.d.ts +20 -0
  1287. package/serialization/resources/credentialing/resources/v2/client/getAllFacilities.js +77 -0
  1288. package/serialization/resources/credentialing/resources/v2/client/getFacility.d.ts +20 -0
  1289. package/serialization/resources/credentialing/resources/v2/client/getFacility.js +77 -0
  1290. package/serialization/resources/credentialing/resources/v2/client/index.d.ts +5 -0
  1291. package/serialization/resources/credentialing/resources/v2/client/index.js +6 -1
  1292. package/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.d.ts +18 -0
  1293. package/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.js +49 -0
  1294. package/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.d.ts +19 -0
  1295. package/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.js +50 -0
  1296. package/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  1297. package/serialization/resources/credentialing/resources/v2/client/requests/index.js +5 -1
  1298. package/serialization/resources/credentialing/resources/v2/client/updateFacility.d.ts +30 -0
  1299. package/serialization/resources/credentialing/resources/v2/client/updateFacility.js +89 -0
  1300. package/serialization/resources/credentialing/resources/v2/types/BaseCredentialingSpan.d.ts +22 -0
  1301. package/serialization/resources/credentialing/resources/v2/types/BaseCredentialingSpan.js +53 -0
  1302. package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.d.ts +16 -0
  1303. package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.js +49 -0
  1304. package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.d.ts +10 -0
  1305. package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.js +45 -0
  1306. package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.d.ts +14 -0
  1307. package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.js +47 -0
  1308. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +3 -12
  1309. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +6 -13
  1310. package/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  1311. package/serialization/resources/credentialing/resources/v2/types/index.js +4 -0
  1312. package/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
  1313. package/serialization/resources/encounters/resources/v4/client/create.js +6 -0
  1314. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +49 -0
  1315. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +112 -0
  1316. package/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +69 -0
  1317. package/serialization/resources/encounters/resources/v4/client/createUniversal.js +136 -0
  1318. package/serialization/resources/encounters/resources/v4/client/index.d.ts +3 -1
  1319. package/serialization/resources/encounters/resources/v4/client/index.js +4 -5
  1320. package/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +50 -0
  1321. package/serialization/resources/encounters/resources/v4/client/updateUniversal.js +113 -0
  1322. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -4
  1323. package/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -4
  1324. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -2
  1325. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +2 -2
  1326. package/serialization/resources/encounters/resources/v4/types/EncounterCreate.d.ts +22 -0
  1327. package/serialization/resources/encounters/resources/v4/types/EncounterCreate.js +55 -0
  1328. package/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +4 -28
  1329. package/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.js +4 -28
  1330. package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
  1331. package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +2 -0
  1332. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -2
  1333. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -2
  1334. package/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +11 -0
  1335. package/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js +41 -0
  1336. package/serialization/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +16 -0
  1337. package/serialization/resources/encounters/resources/v4/types/EncounterUpdate.js +49 -0
  1338. package/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -4
  1339. package/serialization/resources/encounters/resources/v4/types/index.js +7 -4
  1340. package/serialization/resources/encountersUniversal/index.d.ts +1 -0
  1341. package/serialization/resources/encountersUniversal/index.js +17 -0
  1342. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +39 -0
  1343. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +72 -0
  1344. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +50 -0
  1345. package/{dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js → serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js} +21 -31
  1346. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +37 -0
  1347. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +70 -0
  1348. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +36 -0
  1349. package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +69 -0
  1350. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +32 -0
  1351. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +65 -0
  1352. package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +46 -0
  1353. package/{dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js → serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js} +20 -22
  1354. package/serialization/resources/encountersUniversal/types/index.d.ts +6 -0
  1355. package/serialization/resources/encountersUniversal/types/index.js +22 -0
  1356. package/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +9 -0
  1357. package/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +41 -0
  1358. package/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
  1359. package/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
  1360. package/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
  1361. package/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +44 -0
  1362. package/serialization/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
  1363. package/serialization/resources/feeSchedules/resources/v3/client/requests/index.js +3 -1
  1364. package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
  1365. package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +1 -0
  1366. package/serialization/resources/financials/types/PatientTransactionSource.d.ts +1 -1
  1367. package/serialization/resources/financials/types/PatientTransactionSource.js +10 -1
  1368. package/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -0
  1369. package/serialization/resources/guarantor/resources/v1/types/Guarantor.js +1 -0
  1370. package/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +1 -0
  1371. package/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.js +1 -0
  1372. package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
  1373. package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +1 -0
  1374. package/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
  1375. package/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.js +1 -0
  1376. package/serialization/resources/healthCareCodeInformation/index.d.ts +1 -0
  1377. package/serialization/resources/healthCareCodeInformation/index.js +17 -0
  1378. package/serialization/resources/healthCareCodeInformation/resources/index.d.ts +1 -0
  1379. package/serialization/resources/healthCareCodeInformation/resources/index.js +37 -0
  1380. package/serialization/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.d.ts +15 -0
  1381. package/serialization/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.js +71 -0
  1382. package/serialization/resources/healthCareCodeInformation/resources/v1/client/index.d.ts +2 -0
  1383. package/serialization/resources/healthCareCodeInformation/resources/v1/client/index.js +38 -0
  1384. package/serialization/resources/healthCareCodeInformation/resources/v1/client/update.d.ts +20 -0
  1385. package/serialization/resources/healthCareCodeInformation/resources/v1/client/update.js +77 -0
  1386. package/serialization/resources/healthCareCodeInformation/resources/v1/index.d.ts +2 -0
  1387. package/serialization/resources/healthCareCodeInformation/resources/v1/index.js +18 -0
  1388. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.d.ts +16 -0
  1389. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.js +49 -0
  1390. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.d.ts +10 -0
  1391. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.js +41 -0
  1392. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +16 -0
  1393. package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +49 -0
  1394. package/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +10 -0
  1395. package/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +1098 -0
  1396. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +10 -0
  1397. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +101 -0
  1398. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.d.ts +16 -0
  1399. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.js +49 -0
  1400. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.d.ts +10 -0
  1401. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.js +41 -0
  1402. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +16 -0
  1403. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +49 -0
  1404. package/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +10 -0
  1405. package/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +41 -0
  1406. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +10 -0
  1407. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +84 -0
  1408. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.d.ts +16 -0
  1409. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.js +49 -0
  1410. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.d.ts +10 -0
  1411. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.js +41 -0
  1412. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +16 -0
  1413. package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +49 -0
  1414. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.d.ts +18 -0
  1415. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.js +51 -0
  1416. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.d.ts +10 -0
  1417. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.js +41 -0
  1418. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +18 -0
  1419. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +51 -0
  1420. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.d.ts +15 -0
  1421. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.js +48 -0
  1422. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +37 -0
  1423. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +68 -0
  1424. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +37 -0
  1425. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +68 -0
  1426. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +23 -0
  1427. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +54 -0
  1428. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +37 -0
  1429. package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +68 -0
  1430. package/serialization/resources/healthCareCodeInformation/resources/v1/types/IcdCode.d.ts +10 -0
  1431. package/serialization/resources/healthCareCodeInformation/resources/v1/types/IcdCode.js +45 -0
  1432. package/serialization/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.d.ts +10 -0
  1433. package/serialization/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.js +45 -0
  1434. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +10 -0
  1435. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +101 -0
  1436. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +18 -0
  1437. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.js +51 -0
  1438. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.d.ts +10 -0
  1439. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.js +41 -0
  1440. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +18 -0
  1441. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +51 -0
  1442. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +10 -0
  1443. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +41 -0
  1444. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.d.ts +10 -0
  1445. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.js +41 -0
  1446. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.d.ts +18 -0
  1447. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.js +51 -0
  1448. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +18 -0
  1449. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +51 -0
  1450. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.d.ts +18 -0
  1451. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.js +51 -0
  1452. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.d.ts +10 -0
  1453. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.js +41 -0
  1454. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +18 -0
  1455. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +51 -0
  1456. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +18 -0
  1457. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.js +51 -0
  1458. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.d.ts +10 -0
  1459. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.js +41 -0
  1460. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +18 -0
  1461. package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +51 -0
  1462. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.d.ts +16 -0
  1463. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.js +49 -0
  1464. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.d.ts +10 -0
  1465. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.js +41 -0
  1466. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +16 -0
  1467. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +49 -0
  1468. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.d.ts +10 -0
  1469. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.js +41 -0
  1470. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.d.ts +18 -0
  1471. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.js +51 -0
  1472. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.d.ts +10 -0
  1473. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.js +41 -0
  1474. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +18 -0
  1475. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +51 -0
  1476. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +18 -0
  1477. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.js +51 -0
  1478. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.d.ts +10 -0
  1479. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.js +41 -0
  1480. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +18 -0
  1481. package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +51 -0
  1482. package/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +13 -0
  1483. package/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +44 -0
  1484. package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.d.ts +13 -0
  1485. package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.js +44 -0
  1486. package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.d.ts +13 -0
  1487. package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.js +44 -0
  1488. package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.d.ts +13 -0
  1489. package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.js +44 -0
  1490. package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.d.ts +13 -0
  1491. package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.js +44 -0
  1492. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.d.ts +10 -0
  1493. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.js +45 -0
  1494. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.d.ts +16 -0
  1495. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.js +49 -0
  1496. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +16 -0
  1497. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +49 -0
  1498. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.d.ts +10 -0
  1499. package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.js +41 -0
  1500. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCode.d.ts +10 -0
  1501. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCode.js +149 -0
  1502. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.d.ts +10 -0
  1503. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.js +41 -0
  1504. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.d.ts +18 -0
  1505. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.js +51 -0
  1506. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +18 -0
  1507. package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +51 -0
  1508. package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +60 -0
  1509. package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +76 -0
  1510. package/serialization/resources/index.d.ts +4 -1
  1511. package/serialization/resources/index.js +6 -3
  1512. package/serialization/resources/individual/types/Patient.d.ts +1 -0
  1513. package/serialization/resources/individual/types/Patient.js +1 -0
  1514. package/serialization/resources/individual/types/PatientCreate.d.ts +1 -0
  1515. package/serialization/resources/individual/types/PatientCreate.js +1 -0
  1516. package/serialization/resources/individual/types/PatientUpdate.d.ts +1 -0
  1517. package/serialization/resources/individual/types/PatientUpdate.js +1 -0
  1518. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +1 -0
  1519. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +1 -0
  1520. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  1521. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
  1522. package/serialization/resources/patientAr/index.d.ts +1 -0
  1523. package/serialization/resources/patientAr/index.js +17 -0
  1524. package/serialization/resources/patientAr/resources/index.d.ts +1 -0
  1525. package/serialization/resources/patientAr/resources/index.js +37 -0
  1526. package/serialization/resources/patientAr/resources/v1/client/index.d.ts +2 -0
  1527. package/serialization/resources/patientAr/resources/v1/client/index.js +38 -0
  1528. package/serialization/resources/patientAr/resources/v1/client/itemize.d.ts +20 -0
  1529. package/serialization/resources/patientAr/resources/v1/client/itemize.js +77 -0
  1530. package/serialization/resources/patientAr/resources/v1/client/listInventory.d.ts +20 -0
  1531. package/serialization/resources/patientAr/resources/v1/client/listInventory.js +77 -0
  1532. package/serialization/resources/patientAr/resources/v1/index.d.ts +2 -0
  1533. package/serialization/resources/patientAr/resources/v1/index.js +18 -0
  1534. package/serialization/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.d.ts +12 -0
  1535. package/serialization/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.js +43 -0
  1536. package/serialization/resources/patientAr/resources/v1/types/InsurancePaymentInfo.d.ts +12 -0
  1537. package/serialization/resources/patientAr/resources/v1/types/InsurancePaymentInfo.js +43 -0
  1538. package/serialization/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.d.ts +12 -0
  1539. package/serialization/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.js +43 -0
  1540. package/serialization/resources/patientAr/resources/v1/types/InventoryRecord.d.ts +20 -0
  1541. package/serialization/resources/patientAr/resources/v1/types/InventoryRecord.js +51 -0
  1542. package/serialization/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.d.ts +18 -0
  1543. package/serialization/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.js +49 -0
  1544. package/serialization/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.d.ts +15 -0
  1545. package/serialization/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.js +46 -0
  1546. package/serialization/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.d.ts +12 -0
  1547. package/serialization/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.js +43 -0
  1548. package/serialization/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.d.ts +12 -0
  1549. package/serialization/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.js +43 -0
  1550. package/serialization/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.d.ts +12 -0
  1551. package/serialization/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.js +43 -0
  1552. package/serialization/resources/patientAr/resources/v1/types/PatientArStatus.d.ts +10 -0
  1553. package/serialization/resources/patientAr/resources/v1/types/PatientArStatus.js +41 -0
  1554. package/serialization/resources/patientAr/resources/v1/types/PatientPaymentAllocation.d.ts +13 -0
  1555. package/serialization/resources/patientAr/resources/v1/types/PatientPaymentAllocation.js +44 -0
  1556. package/serialization/resources/patientAr/resources/v1/types/PatientPaymentInfo.d.ts +14 -0
  1557. package/serialization/resources/patientAr/resources/v1/types/PatientPaymentInfo.js +45 -0
  1558. package/serialization/resources/patientAr/resources/v1/types/ServiceLineItemization.d.ts +32 -0
  1559. package/serialization/resources/patientAr/resources/v1/types/ServiceLineItemization.js +63 -0
  1560. package/serialization/resources/patientAr/resources/v1/types/index.d.ts +13 -0
  1561. package/serialization/resources/patientAr/resources/v1/types/index.js +29 -0
  1562. package/serialization/resources/payers/resources/index.d.ts +1 -0
  1563. package/serialization/resources/payers/resources/index.js +2 -1
  1564. package/serialization/resources/payers/resources/v4/index.d.ts +1 -0
  1565. package/serialization/resources/payers/resources/v4/index.js +17 -0
  1566. package/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
  1567. package/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +51 -0
  1568. package/serialization/resources/payers/resources/v4/types/Payer.d.ts +21 -0
  1569. package/serialization/resources/payers/resources/v4/types/Payer.js +52 -0
  1570. package/serialization/resources/payers/resources/v4/types/PayerIds.d.ts +14 -0
  1571. package/serialization/resources/payers/resources/v4/types/PayerIds.js +45 -0
  1572. package/serialization/resources/payers/resources/v4/types/PayerPage.d.ts +14 -0
  1573. package/serialization/resources/payers/resources/v4/types/PayerPage.js +47 -0
  1574. package/serialization/resources/payers/resources/v4/types/PayerUuid.d.ts +10 -0
  1575. package/serialization/resources/payers/resources/v4/types/PayerUuid.js +45 -0
  1576. package/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +14 -0
  1577. package/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.js +45 -0
  1578. package/serialization/resources/payers/resources/v4/types/SupportState.d.ts +10 -0
  1579. package/serialization/resources/payers/resources/v4/types/SupportState.js +41 -0
  1580. package/serialization/resources/payers/resources/v4/types/index.d.ts +7 -0
  1581. package/serialization/resources/payers/resources/v4/types/index.js +23 -0
  1582. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  1583. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +1 -1
  1584. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +15 -0
  1585. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +71 -0
  1586. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  1587. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  1588. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  1589. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
  1590. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +13 -0
  1591. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +44 -0
  1592. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +5 -1
  1593. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +5 -1
  1594. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.d.ts +19 -0
  1595. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.js +50 -0
  1596. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.d.ts +10 -0
  1597. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.js +41 -0
  1598. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +10 -0
  1599. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +41 -0
  1600. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.d.ts +10 -0
  1601. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.js +70 -0
  1602. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +5 -0
  1603. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +5 -0
  1604. package/serialization/resources/serviceLines/resources/v2/client/createUniversal.d.ts +15 -0
  1605. package/serialization/resources/serviceLines/resources/v2/client/createUniversal.js +71 -0
  1606. package/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  1607. package/serialization/resources/serviceLines/resources/v2/client/index.js +3 -1
  1608. package/serialization/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +25 -0
  1609. package/serialization/resources/serviceLines/resources/v2/client/updateUniversal.js +83 -0
  1610. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -23
  1611. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +5 -24
  1612. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +13 -0
  1613. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +46 -0
  1614. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +32 -0
  1615. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +63 -0
  1616. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
  1617. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
  1618. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -27
  1619. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -28
  1620. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +13 -0
  1621. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +46 -0
  1622. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +36 -0
  1623. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +67 -0
  1624. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -24
  1625. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -25
  1626. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +34 -0
  1627. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +65 -0
  1628. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +15 -0
  1629. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +48 -0
  1630. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +19 -0
  1631. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +52 -0
  1632. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +18 -0
  1633. package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +51 -0
  1634. package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
  1635. package/serialization/resources/serviceLines/resources/v2/types/index.js +8 -0
  1636. package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +2 -7
  1637. package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -8
  1638. package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +17 -0
  1639. package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +48 -0
  1640. package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +18 -0
  1641. package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +52 -0
  1642. package/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
  1643. package/serialization/resources/x12/resources/v1/types/index.js +2 -0
  1644. package/version.d.ts +1 -1
  1645. package/version.js +1 -1
  1646. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -60
  1647. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +0 -48
  1648. package/dist/serialization/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
  1649. package/dist/serialization/resources/encounters/resources/v4/client/requests/index.js +0 -7
  1650. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -60
  1651. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +0 -48
  1652. package/serialization/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
  1653. package/serialization/resources/encounters/resources/v4/client/requests/index.js +0 -7
  1654. /package/api/resources/{encounters/resources/v4/client/requests/EncounterCreate.js → auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js} +0 -0
  1655. /package/api/resources/{encounters/resources/v4/client/requests/EncounterUpdate.js → credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.js} +0 -0
  1656. /package/{dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.js → api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.js} +0 -0
  1657. /package/{dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.js → api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.js} +0 -0
@@ -0,0 +1,68 @@
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.Error = void 0;
40
+ const CandidApi = __importStar(require("../../../../../../../index"));
41
+ exports.Error = {
42
+ notFoundError: (value) => {
43
+ return {
44
+ content: value,
45
+ errorName: "NotFoundError",
46
+ _visit: function (visitor) {
47
+ return CandidApi.preEncounter.patients.v1.getByMrn.Error._visit(this, visitor);
48
+ },
49
+ };
50
+ },
51
+ _unknown: (fetcherError) => {
52
+ return {
53
+ errorName: undefined,
54
+ content: fetcherError,
55
+ _visit: function (visitor) {
56
+ return CandidApi.preEncounter.patients.v1.getByMrn.Error._visit(this, visitor);
57
+ },
58
+ };
59
+ },
60
+ _visit: (value, visitor) => {
61
+ switch (value.errorName) {
62
+ case "NotFoundError":
63
+ return visitor.notFoundError(value.content);
64
+ default:
65
+ return visitor._other(value);
66
+ }
67
+ },
68
+ };
@@ -4,6 +4,7 @@ export * as createWithMrn from "./createWithMrn";
4
4
  export * as getMulti from "./getMulti";
5
5
  export * as searchProviders from "./searchProviders";
6
6
  export * as get from "./get";
7
+ export * as getByMrn from "./getByMrn";
7
8
  export * as getHistory from "./getHistory";
8
9
  export * as update from "./update";
9
10
  export * as deactivate from "./deactivate";
@@ -36,13 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.scan = exports.search = exports.reactivate = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.searchProviders = exports.getMulti = exports.createWithMrn = exports.create = void 0;
39
+ exports.scan = exports.search = exports.reactivate = exports.deactivate = exports.update = exports.getHistory = exports.getByMrn = exports.get = exports.searchProviders = exports.getMulti = exports.createWithMrn = exports.create = void 0;
40
40
  __exportStar(require("./requests"), exports);
41
41
  exports.create = __importStar(require("./create"));
42
42
  exports.createWithMrn = __importStar(require("./createWithMrn"));
43
43
  exports.getMulti = __importStar(require("./getMulti"));
44
44
  exports.searchProviders = __importStar(require("./searchProviders"));
45
45
  exports.get = __importStar(require("./get"));
46
+ exports.getByMrn = __importStar(require("./getByMrn"));
46
47
  exports.getHistory = __importStar(require("./getHistory"));
47
48
  exports.update = __importStar(require("./update"));
48
49
  exports.deactivate = __importStar(require("./deactivate"));
@@ -45,10 +45,6 @@ import * as CandidApi from "../../../../../../../../index";
45
45
  * postalCode: "postal_code",
46
46
  * country: "country"
47
47
  * }],
48
- * primaryTelecom: {
49
- * value: "value",
50
- * use: "HOME"
51
- * },
52
48
  * otherTelecoms: [{
53
49
  * value: "value",
54
50
  * use: "HOME"
@@ -45,10 +45,6 @@ import * as CandidApi from "../../../../../../../../index";
45
45
  * postalCode: "postal_code",
46
46
  * country: "country"
47
47
  * }],
48
- * primaryTelecom: {
49
- * value: "value",
50
- * use: "HOME"
51
- * },
52
48
  * otherTelecoms: [{
53
49
  * value: "value",
54
50
  * use: "HOME"
@@ -6,6 +6,6 @@ export interface Guarantor {
6
6
  name: CandidApi.preEncounter.HumanName;
7
7
  telecom?: CandidApi.preEncounter.ContactPoint;
8
8
  email?: string;
9
- birthDate: string;
9
+ birthDate?: string;
10
10
  address: CandidApi.preEncounter.Address;
11
11
  }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface InferredPatientMetadata {
5
+ inferredEncounterId: string;
6
+ inferredEncounterLatestDateOfService: string;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -33,7 +33,7 @@ export interface MutablePatient {
33
33
  /** Other addresses for the patient. */
34
34
  otherAddresses: CandidApi.preEncounter.Address[];
35
35
  /** The primary phone number for the patient. */
36
- primaryTelecom: CandidApi.preEncounter.ContactPoint;
36
+ primaryTelecom?: CandidApi.preEncounter.ContactPoint;
37
37
  /** Other phone numbers for the patient. */
38
38
  otherTelecoms: CandidApi.preEncounter.ContactPoint[];
39
39
  email?: string;
@@ -57,4 +57,8 @@ export interface MutablePatient {
57
57
  doNotInvoiceReason?: CandidApi.preEncounter.patients.v1.DoNotInvoiceReason;
58
58
  noteIds?: CandidApi.preEncounter.NoteId[];
59
59
  tagIds?: CandidApi.preEncounter.TagId[];
60
+ /** Information about the patient source, if applicable. */
61
+ originationDetail?: CandidApi.preEncounter.patients.v1.OriginationDetail;
62
+ /** Metadata for the patient used for patient inference from encounters. */
63
+ inferredPatientMetadata?: CandidApi.preEncounter.patients.v1.InferredPatientMetadata;
60
64
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../../../index";
5
+ export interface OriginationDetail {
6
+ referralSource: CandidApi.preEncounter.patients.v1.ReferralSource;
7
+ referringProvider?: CandidApi.preEncounter.ExternalProvider;
8
+ specializationCategories?: CandidApi.preEncounter.patients.v1.SpecializationCategory[];
9
+ referralType?: CandidApi.preEncounter.patients.v1.ReferralType;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ReferralSource = "HOSPITAL" | "REFERRING_MD" | "SELF" | "OTHER";
5
+ export declare const ReferralSource: {
6
+ readonly Hospital: "HOSPITAL";
7
+ readonly ReferringMd: "REFERRING_MD";
8
+ readonly Self: "SELF";
9
+ readonly Other: "OTHER";
10
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ReferralSource = void 0;
7
+ exports.ReferralSource = {
8
+ Hospital: "HOSPITAL",
9
+ ReferringMd: "REFERRING_MD",
10
+ Self: "SELF",
11
+ Other: "OTHER",
12
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ReferralType = "DIRECTED" | "ROTATION" | "OVERNIGHT";
5
+ export declare const ReferralType: {
6
+ readonly Directed: "DIRECTED";
7
+ readonly Rotation: "ROTATION";
8
+ readonly Overnight: "OVERNIGHT";
9
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ReferralType = void 0;
7
+ exports.ReferralType = {
8
+ Directed: "DIRECTED",
9
+ Rotation: "ROTATION",
10
+ Overnight: "OVERNIGHT",
11
+ };
@@ -0,0 +1,34 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type SpecializationCategory = "BEHAVIORAL_HEALTH_THERAPY" | "CARDIOLOGY" | "DERMATOLOGY" | "ENDOCRINOLOGY" | "ENT" | "GASTROENTEROLOGY" | "GENERAL_SURGERY" | "GENETICS" | "HEMATOLOGY" | "INFECTIOUS_DISEASE" | "NEUROLOGY" | "NUTRITIONAL_THERAPY" | "OB_GYN" | "ONCOLOGY" | "OPHTHALMOLOGY" | "ORTHOPEDICS" | "PAIN_MANAGEMENT" | "PEDIATRICS" | "PHYSICAL_THERAPY" | "PODIATRY" | "PRIMARY_CARE" | "PSYCHIATRY" | "PULMONOLOGY" | "RADIOLOGY" | "RHEUMATOLOGY" | "SCREENING" | "UROLOGY" | "OTHER";
5
+ export declare const SpecializationCategory: {
6
+ readonly BehavioralHealthTherapy: "BEHAVIORAL_HEALTH_THERAPY";
7
+ readonly Cardiology: "CARDIOLOGY";
8
+ readonly Dermatology: "DERMATOLOGY";
9
+ readonly Endocrinology: "ENDOCRINOLOGY";
10
+ readonly Ent: "ENT";
11
+ readonly Gastroenterology: "GASTROENTEROLOGY";
12
+ readonly GeneralSurgery: "GENERAL_SURGERY";
13
+ readonly Genetics: "GENETICS";
14
+ readonly Hematology: "HEMATOLOGY";
15
+ readonly InfectiousDisease: "INFECTIOUS_DISEASE";
16
+ readonly Neurology: "NEUROLOGY";
17
+ readonly NutritionalTherapy: "NUTRITIONAL_THERAPY";
18
+ readonly ObGyn: "OB_GYN";
19
+ readonly Oncology: "ONCOLOGY";
20
+ readonly Ophthalmology: "OPHTHALMOLOGY";
21
+ readonly Orthopedics: "ORTHOPEDICS";
22
+ readonly PainManagement: "PAIN_MANAGEMENT";
23
+ readonly Pediatrics: "PEDIATRICS";
24
+ readonly PhysicalTherapy: "PHYSICAL_THERAPY";
25
+ readonly Podiatry: "PODIATRY";
26
+ readonly PrimaryCare: "PRIMARY_CARE";
27
+ readonly Psychiatry: "PSYCHIATRY";
28
+ readonly Pulmonology: "PULMONOLOGY";
29
+ readonly Radiology: "RADIOLOGY";
30
+ readonly Rheumatology: "RHEUMATOLOGY";
31
+ readonly Screening: "SCREENING";
32
+ readonly Urology: "UROLOGY";
33
+ readonly Other: "OTHER";
34
+ };
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.SpecializationCategory = void 0;
7
+ exports.SpecializationCategory = {
8
+ BehavioralHealthTherapy: "BEHAVIORAL_HEALTH_THERAPY",
9
+ Cardiology: "CARDIOLOGY",
10
+ Dermatology: "DERMATOLOGY",
11
+ Endocrinology: "ENDOCRINOLOGY",
12
+ Ent: "ENT",
13
+ Gastroenterology: "GASTROENTEROLOGY",
14
+ GeneralSurgery: "GENERAL_SURGERY",
15
+ Genetics: "GENETICS",
16
+ Hematology: "HEMATOLOGY",
17
+ InfectiousDisease: "INFECTIOUS_DISEASE",
18
+ Neurology: "NEUROLOGY",
19
+ NutritionalTherapy: "NUTRITIONAL_THERAPY",
20
+ ObGyn: "OB_GYN",
21
+ Oncology: "ONCOLOGY",
22
+ Ophthalmology: "OPHTHALMOLOGY",
23
+ Orthopedics: "ORTHOPEDICS",
24
+ PainManagement: "PAIN_MANAGEMENT",
25
+ Pediatrics: "PEDIATRICS",
26
+ PhysicalTherapy: "PHYSICAL_THERAPY",
27
+ Podiatry: "PODIATRY",
28
+ PrimaryCare: "PRIMARY_CARE",
29
+ Psychiatry: "PSYCHIATRY",
30
+ Pulmonology: "PULMONOLOGY",
31
+ Radiology: "RADIOLOGY",
32
+ Rheumatology: "RHEUMATOLOGY",
33
+ Screening: "SCREENING",
34
+ Urology: "UROLOGY",
35
+ Other: "OTHER",
36
+ };
@@ -6,9 +6,14 @@ 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";
12
13
  export * from "./Authorization";
13
14
  export * from "./Referral";
14
15
  export * from "./Guarantor";
16
+ export * from "./ReferralSource";
17
+ export * from "./ReferralType";
18
+ export * from "./SpecializationCategory";
19
+ export * from "./OriginationDetail";
@@ -22,9 +22,14 @@ __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);
28
29
  __exportStar(require("./Authorization"), exports);
29
30
  __exportStar(require("./Referral"), exports);
30
31
  __exportStar(require("./Guarantor"), exports);
32
+ __exportStar(require("./ReferralSource"), exports);
33
+ __exportStar(require("./ReferralType"), exports);
34
+ __exportStar(require("./SpecializationCategory"), exports);
35
+ __exportStar(require("./OriginationDetail"), exports);
@@ -73,7 +73,7 @@ class V1 {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}`),
75
75
  method: "GET",
76
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -120,7 +120,7 @@ class V1 {
120
120
  const _response = yield core.fetcher({
121
121
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/tags/v1"),
122
122
  method: "GET",
123
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
123
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
124
124
  contentType: "application/json",
125
125
  queryParameters: _queryParams,
126
126
  requestType: "json",
@@ -162,7 +162,7 @@ class V1 {
162
162
  const _response = yield core.fetcher({
163
163
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/tags/v1"),
164
164
  method: "POST",
165
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
165
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
166
166
  contentType: "application/json",
167
167
  requestType: "json",
168
168
  body: serializers.preEncounter.tags.v1.MutableTag.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -206,7 +206,7 @@ class V1 {
206
206
  const _response = yield core.fetcher({
207
207
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
208
208
  method: "PUT",
209
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
209
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
210
210
  contentType: "application/json",
211
211
  requestType: "json",
212
212
  body: serializers.preEncounter.tags.v1.MutableTag.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -247,7 +247,7 @@ class V1 {
247
247
  const _response = yield core.fetcher({
248
248
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
249
249
  method: "DELETE",
250
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
250
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
251
251
  contentType: "application/json",
252
252
  requestType: "json",
253
253
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -72,7 +72,7 @@ class ServiceFacility {
72
72
  const _response = yield core.fetcher({
73
73
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/service_facility/v2/${encodeURIComponent(serializers.ServiceFacilityId.jsonOrThrow(serviceFacilityId))}`),
74
74
  method: "PATCH",
75
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
76
  contentType: "application/json",
77
77
  requestType: "json",
78
78
  body: serializers.EncounterServiceFacilityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -31,13 +31,34 @@ export declare class V2 {
31
31
  *
32
32
  * @example
33
33
  * await client.serviceLines.v2.create({
34
- * procedureCode: "procedure_code",
35
34
  * quantity: CandidApi.Decimal("quantity"),
36
35
  * units: "MJ",
37
- * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
36
+ * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
37
+ * procedureCode: "procedure_code"
38
38
  * })
39
39
  */
40
40
  create(request: CandidApi.serviceLines.v2.ServiceLineCreateStandalone, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.serviceLines.v2.ServiceLine, CandidApi.serviceLines.v2.create.Error>>;
41
+ /**
42
+ * @param {CandidApi.serviceLines.v2.UniversalServiceLineCreateStandalone} request
43
+ * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
44
+ *
45
+ * @example
46
+ * await client.serviceLines.v2.createUniversal({
47
+ * quantity: CandidApi.Decimal("quantity"),
48
+ * units: "MJ",
49
+ * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
50
+ * })
51
+ */
52
+ createUniversal(request: CandidApi.serviceLines.v2.UniversalServiceLineCreateStandalone, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.serviceLines.v2.ServiceLine, CandidApi.serviceLines.v2.createUniversal.Error>>;
53
+ /**
54
+ * @param {CandidApi.ServiceLineId} serviceLineId
55
+ * @param {CandidApi.serviceLines.v2.UniversalServiceLineUpdate} request
56
+ * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
57
+ *
58
+ * @example
59
+ * await client.serviceLines.v2.updateUniversal(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
60
+ */
61
+ updateUniversal(serviceLineId: CandidApi.ServiceLineId, request: CandidApi.serviceLines.v2.UniversalServiceLineUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.serviceLines.v2.ServiceLine, CandidApi.serviceLines.v2.updateUniversal.Error>>;
41
62
  /**
42
63
  * @param {CandidApi.ServiceLineId} serviceLineId
43
64
  * @param {CandidApi.serviceLines.v2.ServiceLineUpdate} request
@@ -64,10 +64,10 @@ class V2 {
64
64
  *
65
65
  * @example
66
66
  * await client.serviceLines.v2.create({
67
- * procedureCode: "procedure_code",
68
67
  * quantity: CandidApi.Decimal("quantity"),
69
68
  * units: "MJ",
70
- * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
69
+ * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
70
+ * procedureCode: "procedure_code"
71
71
  * })
72
72
  */
73
73
  create(request, requestOptions) {
@@ -76,7 +76,7 @@ class V2 {
76
76
  const _response = yield core.fetcher({
77
77
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/service-lines/v2"),
78
78
  method: "POST",
79
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
79
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
80
80
  contentType: "application/json",
81
81
  requestType: "json",
82
82
  body: serializers.serviceLines.v2.ServiceLineCreateStandalone.jsonOrThrow(request, {
@@ -117,6 +117,121 @@ class V2 {
117
117
  };
118
118
  });
119
119
  }
120
+ /**
121
+ * @param {CandidApi.serviceLines.v2.UniversalServiceLineCreateStandalone} request
122
+ * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
123
+ *
124
+ * @example
125
+ * await client.serviceLines.v2.createUniversal({
126
+ * quantity: CandidApi.Decimal("quantity"),
127
+ * units: "MJ",
128
+ * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
129
+ * })
130
+ */
131
+ createUniversal(request, requestOptions) {
132
+ return __awaiter(this, void 0, void 0, function* () {
133
+ var _a, _b, _c;
134
+ const _response = yield core.fetcher({
135
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/service-lines/v2/universal"),
136
+ method: "POST",
137
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
138
+ contentType: "application/json",
139
+ requestType: "json",
140
+ body: serializers.serviceLines.v2.UniversalServiceLineCreateStandalone.jsonOrThrow(request, {
141
+ unrecognizedObjectKeys: "strip",
142
+ }),
143
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
144
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
145
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
146
+ });
147
+ if (_response.ok) {
148
+ return {
149
+ ok: true,
150
+ body: serializers.serviceLines.v2.ServiceLine.parseOrThrow(_response.body, {
151
+ unrecognizedObjectKeys: "passthrough",
152
+ allowUnrecognizedUnionMembers: true,
153
+ allowUnrecognizedEnumValues: true,
154
+ breadcrumbsPrefix: ["response"],
155
+ }),
156
+ };
157
+ }
158
+ if (_response.error.reason === "status-code") {
159
+ switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
160
+ case "HttpRequestValidationError":
161
+ return {
162
+ ok: false,
163
+ error: serializers.serviceLines.v2.createUniversal.Error.parseOrThrow(_response.error.body, {
164
+ unrecognizedObjectKeys: "passthrough",
165
+ allowUnrecognizedUnionMembers: true,
166
+ allowUnrecognizedEnumValues: true,
167
+ breadcrumbsPrefix: ["response"],
168
+ }),
169
+ };
170
+ }
171
+ }
172
+ return {
173
+ ok: false,
174
+ error: CandidApi.serviceLines.v2.createUniversal.Error._unknown(_response.error),
175
+ };
176
+ });
177
+ }
178
+ /**
179
+ * @param {CandidApi.ServiceLineId} serviceLineId
180
+ * @param {CandidApi.serviceLines.v2.UniversalServiceLineUpdate} request
181
+ * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
182
+ *
183
+ * @example
184
+ * await client.serviceLines.v2.updateUniversal(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
185
+ */
186
+ updateUniversal(serviceLineId, request, requestOptions) {
187
+ return __awaiter(this, void 0, void 0, function* () {
188
+ var _a, _b, _c;
189
+ const _response = yield core.fetcher({
190
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/universal`),
191
+ method: "PATCH",
192
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
193
+ contentType: "application/json",
194
+ requestType: "json",
195
+ body: serializers.serviceLines.v2.UniversalServiceLineUpdate.jsonOrThrow(request, {
196
+ unrecognizedObjectKeys: "strip",
197
+ }),
198
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
199
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
200
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
201
+ });
202
+ if (_response.ok) {
203
+ return {
204
+ ok: true,
205
+ body: serializers.serviceLines.v2.ServiceLine.parseOrThrow(_response.body, {
206
+ unrecognizedObjectKeys: "passthrough",
207
+ allowUnrecognizedUnionMembers: true,
208
+ allowUnrecognizedEnumValues: true,
209
+ breadcrumbsPrefix: ["response"],
210
+ }),
211
+ };
212
+ }
213
+ if (_response.error.reason === "status-code") {
214
+ switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
215
+ case "EntityNotFoundError":
216
+ case "UnauthorizedError":
217
+ case "HttpRequestValidationError":
218
+ return {
219
+ ok: false,
220
+ error: serializers.serviceLines.v2.updateUniversal.Error.parseOrThrow(_response.error.body, {
221
+ unrecognizedObjectKeys: "passthrough",
222
+ allowUnrecognizedUnionMembers: true,
223
+ allowUnrecognizedEnumValues: true,
224
+ breadcrumbsPrefix: ["response"],
225
+ }),
226
+ };
227
+ }
228
+ }
229
+ return {
230
+ ok: false,
231
+ error: CandidApi.serviceLines.v2.updateUniversal.Error._unknown(_response.error),
232
+ };
233
+ });
234
+ }
120
235
  /**
121
236
  * @param {CandidApi.ServiceLineId} serviceLineId
122
237
  * @param {CandidApi.serviceLines.v2.ServiceLineUpdate} request
@@ -131,7 +246,7 @@ class V2 {
131
246
  const _response = yield core.fetcher({
132
247
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
133
248
  method: "PATCH",
134
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
249
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
135
250
  contentType: "application/json",
136
251
  requestType: "json",
137
252
  body: serializers.serviceLines.v2.ServiceLineUpdate.jsonOrThrow(request, {
@@ -187,7 +302,7 @@ class V2 {
187
302
  const _response = yield core.fetcher({
188
303
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
189
304
  method: "DELETE",
190
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.6.0", "User-Agent": "candidhealth/1.6.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
305
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
191
306
  contentType: "application/json",
192
307
  requestType: "json",
193
308
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -0,0 +1,28 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ import * as core from "../../../../../../core";
6
+ export type Error = CandidApi.serviceLines.v2.createUniversal.Error.HttpRequestValidationError | CandidApi.serviceLines.v2.createUniversal.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface HttpRequestValidationError extends _Utils {
9
+ errorName: "HttpRequestValidationError";
10
+ content: CandidApi.RequestValidationError;
11
+ }
12
+ interface _Unknown extends _Utils {
13
+ errorName: void;
14
+ content: core.Fetcher.Error;
15
+ }
16
+ interface _Utils {
17
+ _visit: <_Result>(visitor: CandidApi.serviceLines.v2.createUniversal.Error._Visitor<_Result>) => _Result;
18
+ }
19
+ interface _Visitor<_Result> {
20
+ httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
21
+ _other: (value: core.Fetcher.Error) => _Result;
22
+ }
23
+ }
24
+ export declare const Error: {
25
+ readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.serviceLines.v2.createUniversal.Error.HttpRequestValidationError;
26
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.serviceLines.v2.createUniversal.Error._Unknown;
27
+ readonly _visit: <_Result>(value: CandidApi.serviceLines.v2.createUniversal.Error, visitor: CandidApi.serviceLines.v2.createUniversal.Error._Visitor<_Result>) => _Result;
28
+ };