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
@@ -73,7 +73,6 @@ class V1 {
73
73
  * given: ["given", "given"],
74
74
  * use: "USUAL"
75
75
  * },
76
- * dateOfBirth: "2023-01-15",
77
76
  * biologicalSex: "FEMALE"
78
77
  * },
79
78
  * relationship: "SELF",
@@ -92,7 +91,7 @@ class V1 {
92
91
  const _response = yield core.fetcher({
93
92
  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, "/coverages/v1"),
94
93
  method: "POST",
95
- 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),
94
+ 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),
96
95
  contentType: "application/json",
97
96
  requestType: "json",
98
97
  body: serializers.preEncounter.coverages.v1.MutableCoverage.jsonOrThrow(request, {
@@ -136,7 +135,6 @@ class V1 {
136
135
  * given: ["given", "given"],
137
136
  * use: "USUAL"
138
137
  * },
139
- * dateOfBirth: "2023-01-15",
140
138
  * biologicalSex: "FEMALE"
141
139
  * },
142
140
  * relationship: "SELF",
@@ -155,7 +153,7 @@ class V1 {
155
153
  const _response = yield core.fetcher({
156
154
  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, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
157
155
  method: "PUT",
158
- 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),
156
+ 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),
159
157
  contentType: "application/json",
160
158
  requestType: "json",
161
159
  body: serializers.preEncounter.coverages.v1.MutableCoverage.jsonOrThrow(request, {
@@ -226,7 +224,7 @@ class V1 {
226
224
  const _response = yield core.fetcher({
227
225
  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, "/coverages/v1/get-multi-paginated"),
228
226
  method: "GET",
229
- 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),
227
+ 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),
230
228
  contentType: "application/json",
231
229
  queryParameters: _queryParams,
232
230
  requestType: "json",
@@ -280,7 +278,7 @@ class V1 {
280
278
  const _response = yield core.fetcher({
281
279
  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, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}`),
282
280
  method: "GET",
283
- 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),
281
+ 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),
284
282
  contentType: "application/json",
285
283
  requestType: "json",
286
284
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -319,7 +317,7 @@ class V1 {
319
317
  const _response = yield core.fetcher({
320
318
  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, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/history`),
321
319
  method: "GET",
322
- 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),
320
+ 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),
323
321
  contentType: "application/json",
324
322
  requestType: "json",
325
323
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -377,7 +375,7 @@ class V1 {
377
375
  const _response = yield core.fetcher({
378
376
  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, "/coverages/v1"),
379
377
  method: "GET",
380
- 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),
378
+ 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),
381
379
  contentType: "application/json",
382
380
  queryParameters: _queryParams,
383
381
  requestType: "json",
@@ -422,7 +420,7 @@ class V1 {
422
420
  const _response = yield core.fetcher({
423
421
  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, "/coverages/v1/updates/scan"),
424
422
  method: "GET",
425
- 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),
423
+ 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),
426
424
  contentType: "application/json",
427
425
  queryParameters: _queryParams,
428
426
  requestType: "json",
@@ -468,7 +466,7 @@ class V1 {
468
466
  const _response = yield core.fetcher({
469
467
  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, `/coverages/v1/batch-update-ppg/${encodeURIComponent(serializers.preEncounter.PayerPlanGroupId.jsonOrThrow(ppgId))}`),
470
468
  method: "POST",
471
- 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),
469
+ 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),
472
470
  contentType: "application/json",
473
471
  requestType: "json",
474
472
  body: serializers.preEncounter.coverages.v1.PayerPlanGroupFields.jsonOrThrow(request, {
@@ -510,7 +508,7 @@ class V1 {
510
508
  const _response = yield core.fetcher({
511
509
  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, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/eligibility`),
512
510
  method: "POST",
513
- 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),
511
+ 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),
514
512
  contentType: "application/json",
515
513
  requestType: "json",
516
514
  body: serializers.preEncounter.coverages.v1.CheckEligibilityRequest.jsonOrThrow(request, {
@@ -553,7 +551,7 @@ class V1 {
553
551
  const _response = yield core.fetcher({
554
552
  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, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/eligibility/${encodeURIComponent(checkId)}`),
555
553
  method: "GET",
556
- 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),
554
+ 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),
557
555
  contentType: "application/json",
558
556
  requestType: "json",
559
557
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -4,7 +4,7 @@
4
4
  import * as CandidApi from "../../../../../../../index";
5
5
  export interface Subscriber {
6
6
  name: CandidApi.preEncounter.HumanName;
7
- dateOfBirth: string;
7
+ dateOfBirth?: string;
8
8
  biologicalSex: CandidApi.preEncounter.Sex;
9
9
  address?: CandidApi.preEncounter.Address;
10
10
  }
@@ -82,7 +82,7 @@ class V1 {
82
82
  const _response = yield core.fetcher({
83
83
  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, "/eligibility-checks/v1"),
84
84
  method: "POST",
85
- 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),
85
+ 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),
86
86
  contentType: "application/json",
87
87
  requestType: "json",
88
88
  body: serializers.preEncounter.eligibilityChecks.v1.EligibilityRequest.jsonOrThrow(request, {
@@ -142,7 +142,7 @@ class V1 {
142
142
  const _response = yield core.fetcher({
143
143
  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, "/eligibility-checks/v1/batch"),
144
144
  method: "POST",
145
- 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),
145
+ 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),
146
146
  contentType: "application/json",
147
147
  requestType: "json",
148
148
  body: serializers.preEncounter.eligibilityChecks.v1.batch.Request.jsonOrThrow(request, {
@@ -190,7 +190,7 @@ class V1 {
190
190
  const _response = yield core.fetcher({
191
191
  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, `/eligibility-checks/v1/batch/${encodeURIComponent(batchId)}`),
192
192
  method: "GET",
193
- 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),
193
+ 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),
194
194
  contentType: "application/json",
195
195
  queryParameters: _queryParams,
196
196
  requestType: "json",
@@ -241,7 +241,7 @@ class V1 {
241
241
  const _response = yield core.fetcher({
242
242
  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, "/eligibility-checks/v1/payer/search"),
243
243
  method: "GET",
244
- 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),
244
+ 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),
245
245
  contentType: "application/json",
246
246
  queryParameters: _queryParams,
247
247
  requestType: "json",
@@ -286,7 +286,7 @@ class V1 {
286
286
  const _response = yield core.fetcher({
287
287
  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, "/eligibility-checks/v1/recommendation"),
288
288
  method: "GET",
289
- 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),
289
+ 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),
290
290
  contentType: "application/json",
291
291
  queryParameters: _queryParams,
292
292
  requestType: "json",
@@ -333,7 +333,7 @@ class V1 {
333
333
  const _response = yield core.fetcher({
334
334
  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, "/eligibility-checks/v1/recommendation"),
335
335
  method: "POST",
336
- 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),
336
+ 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),
337
337
  contentType: "application/json",
338
338
  requestType: "json",
339
339
  body: serializers.preEncounter.eligibilityChecks.v1.PostEligibilityRecommendationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -78,7 +78,7 @@ class V1 {
78
78
  const _response = yield core.fetcher({
79
79
  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, "/images/v1"),
80
80
  method: "POST",
81
- 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),
81
+ 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),
82
82
  contentType: "application/json",
83
83
  requestType: "json",
84
84
  body: serializers.preEncounter.images.v1.MutableImage.jsonOrThrow(request, {
@@ -134,7 +134,7 @@ class V1 {
134
134
  const _response = yield core.fetcher({
135
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).preEncounter, `/images/v1/${encodeURIComponent(serializers.preEncounter.images.v1.ImageId.jsonOrThrow(id))}`),
136
136
  method: "GET",
137
- 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),
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
138
  contentType: "application/json",
139
139
  requestType: "json",
140
140
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -194,7 +194,7 @@ class V1 {
194
194
  const _response = yield core.fetcher({
195
195
  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, `/images/v1/${encodeURIComponent(serializers.preEncounter.images.v1.ImageId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
196
196
  method: "PUT",
197
- 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),
197
+ 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),
198
198
  contentType: "application/json",
199
199
  requestType: "json",
200
200
  body: serializers.preEncounter.images.v1.MutableImage.jsonOrThrow(request, {
@@ -252,7 +252,7 @@ class V1 {
252
252
  const _response = yield core.fetcher({
253
253
  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, `/images/v1/${encodeURIComponent(serializers.preEncounter.images.v1.ImageId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
254
254
  method: "DELETE",
255
- 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),
255
+ 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),
256
256
  contentType: "application/json",
257
257
  requestType: "json",
258
258
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -309,7 +309,7 @@ class V1 {
309
309
  const _response = yield core.fetcher({
310
310
  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, "/images/v1"),
311
311
  method: "GET",
312
- 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),
312
+ 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),
313
313
  contentType: "application/json",
314
314
  queryParameters: _queryParams,
315
315
  requestType: "json",
@@ -92,7 +92,7 @@ class V1 {
92
92
  const _response = yield core.fetcher({
93
93
  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, "/lists/v1/patient"),
94
94
  method: "GET",
95
- 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),
95
+ 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),
96
96
  contentType: "application/json",
97
97
  queryParameters: _queryParams,
98
98
  requestType: "json",
@@ -165,7 +165,7 @@ class V1 {
165
165
  const _response = yield core.fetcher({
166
166
  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, "/lists/v1/appointment"),
167
167
  method: "GET",
168
- 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),
168
+ 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),
169
169
  contentType: "application/json",
170
170
  queryParameters: _queryParams,
171
171
  requestType: "json",
@@ -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, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.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,
@@ -114,7 +114,7 @@ class V1 {
114
114
  const _response = yield core.fetcher({
115
115
  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, "/notes/v1"),
116
116
  method: "POST",
117
- 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),
117
+ 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),
118
118
  contentType: "application/json",
119
119
  requestType: "json",
120
120
  body: serializers.preEncounter.notes.v1.MutableNote.jsonOrThrow(request, {
@@ -160,7 +160,7 @@ class V1 {
160
160
  const _response = yield core.fetcher({
161
161
  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, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
162
162
  method: "PUT",
163
- 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),
163
+ 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),
164
164
  contentType: "application/json",
165
165
  requestType: "json",
166
166
  body: serializers.preEncounter.notes.v1.MutableNote.jsonOrThrow(request, {
@@ -203,7 +203,7 @@ class V1 {
203
203
  const _response = yield core.fetcher({
204
204
  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, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
205
205
  method: "DELETE",
206
- 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),
206
+ 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),
207
207
  contentType: "application/json",
208
208
  requestType: "json",
209
209
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -73,10 +73,6 @@ export declare class V1 {
73
73
  * postalCode: "postal_code",
74
74
  * country: "country"
75
75
  * }],
76
- * primaryTelecom: {
77
- * value: "value",
78
- * use: "HOME"
79
- * },
80
76
  * otherTelecoms: [{
81
77
  * value: "value",
82
78
  * use: "HOME"
@@ -225,10 +221,6 @@ export declare class V1 {
225
221
  * postalCode: "postal_code",
226
222
  * country: "country"
227
223
  * }],
228
- * primaryTelecom: {
229
- * value: "value",
230
- * use: "HOME"
231
- * },
232
224
  * otherTelecoms: [{
233
225
  * value: "value",
234
226
  * use: "HOME"
@@ -362,6 +354,16 @@ export declare class V1 {
362
354
  * await client.preEncounter.patients.v1.get(CandidApi.preEncounter.PatientId("id"))
363
355
  */
364
356
  get(id: CandidApi.preEncounter.PatientId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.get.Error>>;
357
+ /**
358
+ * Gets a patient by mrn.
359
+ *
360
+ * @param {string} mrn
361
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
362
+ *
363
+ * @example
364
+ * await client.preEncounter.patients.v1.getByMrn("mrn")
365
+ */
366
+ getByMrn(mrn: string, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.getByMrn.Error>>;
365
367
  /**
366
368
  * Gets a patient along with it's full history. The return list is ordered by version ascending.
367
369
  *
@@ -421,10 +423,6 @@ export declare class V1 {
421
423
  * postalCode: "postal_code",
422
424
  * country: "country"
423
425
  * }],
424
- * primaryTelecom: {
425
- * value: "value",
426
- * use: "HOME"
427
- * },
428
426
  * otherTelecoms: [{
429
427
  * value: "value",
430
428
  * use: "HOME"
@@ -106,10 +106,6 @@ class V1 {
106
106
  * postalCode: "postal_code",
107
107
  * country: "country"
108
108
  * }],
109
- * primaryTelecom: {
110
- * value: "value",
111
- * use: "HOME"
112
- * },
113
109
  * otherTelecoms: [{
114
110
  * value: "value",
115
111
  * use: "HOME"
@@ -220,7 +216,7 @@ class V1 {
220
216
  const _response = yield core.fetcher({
221
217
  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, "/patients/v1"),
222
218
  method: "POST",
223
- 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),
219
+ 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),
224
220
  contentType: "application/json",
225
221
  queryParameters: _queryParams,
226
222
  requestType: "json",
@@ -310,10 +306,6 @@ class V1 {
310
306
  * postalCode: "postal_code",
311
307
  * country: "country"
312
308
  * }],
313
- * primaryTelecom: {
314
- * value: "value",
315
- * use: "HOME"
316
- * },
317
309
  * otherTelecoms: [{
318
310
  * value: "value",
319
311
  * use: "HOME"
@@ -425,7 +417,7 @@ class V1 {
425
417
  const _response = yield core.fetcher({
426
418
  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, "/patients/v1/with_mrn"),
427
419
  method: "POST",
428
- 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),
420
+ 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),
429
421
  contentType: "application/json",
430
422
  queryParameters: _queryParams,
431
423
  requestType: "json",
@@ -502,7 +494,7 @@ class V1 {
502
494
  const _response = yield core.fetcher({
503
495
  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, "/patients/v1/get_multi"),
504
496
  method: "GET",
505
- 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),
497
+ 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),
506
498
  contentType: "application/json",
507
499
  queryParameters: _queryParams,
508
500
  requestType: "json",
@@ -547,7 +539,7 @@ class V1 {
547
539
  const _response = yield core.fetcher({
548
540
  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, "/patients/v1/search_providers"),
549
541
  method: "GET",
550
- 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),
542
+ 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),
551
543
  contentType: "application/json",
552
544
  queryParameters: _queryParams,
553
545
  requestType: "json",
@@ -587,7 +579,7 @@ class V1 {
587
579
  const _response = yield core.fetcher({
588
580
  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, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}`),
589
581
  method: "GET",
590
- 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),
582
+ 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),
591
583
  contentType: "application/json",
592
584
  requestType: "json",
593
585
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -625,6 +617,59 @@ class V1 {
625
617
  };
626
618
  });
627
619
  }
620
+ /**
621
+ * Gets a patient by mrn.
622
+ *
623
+ * @param {string} mrn
624
+ * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
625
+ *
626
+ * @example
627
+ * await client.preEncounter.patients.v1.getByMrn("mrn")
628
+ */
629
+ getByMrn(mrn, requestOptions) {
630
+ return __awaiter(this, void 0, void 0, function* () {
631
+ var _a, _b, _c;
632
+ const _response = yield core.fetcher({
633
+ 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, `/patients/v1/mrn/${encodeURIComponent(mrn)}`),
634
+ method: "GET",
635
+ 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),
636
+ contentType: "application/json",
637
+ requestType: "json",
638
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
639
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
640
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
641
+ });
642
+ if (_response.ok) {
643
+ return {
644
+ ok: true,
645
+ body: serializers.preEncounter.patients.v1.Patient.parseOrThrow(_response.body, {
646
+ unrecognizedObjectKeys: "passthrough",
647
+ allowUnrecognizedUnionMembers: true,
648
+ allowUnrecognizedEnumValues: true,
649
+ breadcrumbsPrefix: ["response"],
650
+ }),
651
+ };
652
+ }
653
+ if (_response.error.reason === "status-code") {
654
+ switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
655
+ case "NotFoundError":
656
+ return {
657
+ ok: false,
658
+ error: serializers.preEncounter.patients.v1.getByMrn.Error.parseOrThrow(_response.error.body, {
659
+ unrecognizedObjectKeys: "passthrough",
660
+ allowUnrecognizedUnionMembers: true,
661
+ allowUnrecognizedEnumValues: true,
662
+ breadcrumbsPrefix: ["response"],
663
+ }),
664
+ };
665
+ }
666
+ }
667
+ return {
668
+ ok: false,
669
+ error: CandidApi.preEncounter.patients.v1.getByMrn.Error._unknown(_response.error),
670
+ };
671
+ });
672
+ }
628
673
  /**
629
674
  * Gets a patient along with it's full history. The return list is ordered by version ascending.
630
675
  *
@@ -640,7 +685,7 @@ class V1 {
640
685
  const _response = yield core.fetcher({
641
686
  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, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/history`),
642
687
  method: "GET",
643
- 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),
688
+ 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),
644
689
  contentType: "application/json",
645
690
  requestType: "json",
646
691
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -727,10 +772,6 @@ class V1 {
727
772
  * postalCode: "postal_code",
728
773
  * country: "country"
729
774
  * }],
730
- * primaryTelecom: {
731
- * value: "value",
732
- * use: "HOME"
733
- * },
734
775
  * otherTelecoms: [{
735
776
  * value: "value",
736
777
  * use: "HOME"
@@ -835,7 +876,7 @@ class V1 {
835
876
  const _response = yield core.fetcher({
836
877
  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, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
837
878
  method: "PUT",
838
- 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),
879
+ 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),
839
880
  contentType: "application/json",
840
881
  requestType: "json",
841
882
  body: serializers.preEncounter.patients.v1.MutablePatient.jsonOrThrow(request, {
@@ -893,7 +934,7 @@ class V1 {
893
934
  const _response = yield core.fetcher({
894
935
  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, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
895
936
  method: "DELETE",
896
- 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),
937
+ 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),
897
938
  contentType: "application/json",
898
939
  requestType: "json",
899
940
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -943,7 +984,7 @@ class V1 {
943
984
  const _response = yield core.fetcher({
944
985
  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, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
945
986
  method: "PATCH",
946
- 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),
987
+ 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),
947
988
  contentType: "application/json",
948
989
  requestType: "json",
949
990
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1000,7 +1041,7 @@ class V1 {
1000
1041
  const _response = yield core.fetcher({
1001
1042
  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, "/patients/v1"),
1002
1043
  method: "GET",
1003
- 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),
1044
+ 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),
1004
1045
  contentType: "application/json",
1005
1046
  queryParameters: _queryParams,
1006
1047
  requestType: "json",
@@ -1045,7 +1086,7 @@ class V1 {
1045
1086
  const _response = yield core.fetcher({
1046
1087
  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, "/patients/v1/updates/scan"),
1047
1088
  method: "GET",
1048
- 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),
1089
+ 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),
1049
1090
  contentType: "application/json",
1050
1091
  queryParameters: _queryParams,
1051
1092
  requestType: "json",
@@ -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.preEncounter.patients.v1.getByMrn.Error.NotFoundError | CandidApi.preEncounter.patients.v1.getByMrn.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface NotFoundError extends _Utils {
9
+ errorName: "NotFoundError";
10
+ content: CandidApi.preEncounter.ErrorBase4Xx;
11
+ }
12
+ interface _Unknown extends _Utils {
13
+ errorName: void;
14
+ content: core.Fetcher.Error;
15
+ }
16
+ interface _Utils {
17
+ _visit: <_Result>(visitor: CandidApi.preEncounter.patients.v1.getByMrn.Error._Visitor<_Result>) => _Result;
18
+ }
19
+ interface _Visitor<_Result> {
20
+ notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => _Result;
21
+ _other: (value: core.Fetcher.Error) => _Result;
22
+ }
23
+ }
24
+ export declare const Error: {
25
+ readonly notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => CandidApi.preEncounter.patients.v1.getByMrn.Error.NotFoundError;
26
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.v1.getByMrn.Error._Unknown;
27
+ readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.v1.getByMrn.Error, visitor: CandidApi.preEncounter.patients.v1.getByMrn.Error._Visitor<_Result>) => _Result;
28
+ };