candidhealth 1.0.0 → 1.4.0

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 (1007) hide show
  1. package/Client.js +2 -2
  2. package/README.md +1 -1
  3. package/api/resources/auth/client/Client.d.ts +3 -3
  4. package/api/resources/auth/client/Client.js +3 -3
  5. package/api/resources/auth/resources/{v2 → default}/client/Client.d.ts +23 -9
  6. package/{dist/api/resources/auth/resources/v2 → api/resources/auth/resources/default}/client/Client.js +29 -12
  7. package/api/resources/auth/resources/default/client/getToken.d.ts +34 -0
  8. package/{dist/api/resources/auth/resources/v2 → api/resources/auth/resources/default}/client/getToken.js +13 -2
  9. package/api/resources/auth/resources/default/types/InvalidContentTypeErrorType.d.ts +6 -0
  10. package/{dist/api/resources/auth/resources/v2 → api/resources/auth/resources/default}/types/index.d.ts +1 -0
  11. package/{dist/serialization/resources/auth/resources/v2 → api/resources/auth/resources/default}/types/index.js +1 -0
  12. package/api/resources/auth/resources/index.d.ts +1 -1
  13. package/api/resources/auth/resources/index.js +2 -2
  14. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  15. package/api/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.d.ts +7 -0
  16. package/api/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
  17. package/api/resources/billingNotes/resources/v2/types/index.js +1 -0
  18. package/api/resources/chargeCapture/resources/v1/client/Client.js +17 -6
  19. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +4 -0
  20. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +4 -0
  21. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +14 -0
  22. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
  23. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -52
  24. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +6 -0
  25. package/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -1
  26. package/api/resources/chargeCapture/resources/v1/types/index.js +1 -1
  27. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +9 -0
  28. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +55 -3
  29. package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
  30. package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
  31. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.d.ts +13 -0
  32. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
  33. package/api/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.d.ts +34 -0
  34. package/api/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.js +79 -0
  35. package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +3 -3
  36. package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +34 -0
  37. package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +5 -0
  38. package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +2 -2
  39. package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +43 -0
  40. package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.js +5 -0
  41. package/api/resources/claimSubmission/resources/v1/types/index.d.ts +2 -1
  42. package/api/resources/claimSubmission/resources/v1/types/index.js +2 -1
  43. package/api/resources/commons/types/NextResponsibleParty.d.ts +12 -0
  44. package/api/resources/commons/types/NextResponsibleParty.js +14 -0
  45. package/api/resources/commons/types/PhoneNumberOptional.d.ts +15 -0
  46. package/api/resources/commons/types/PhoneNumberOptional.js +5 -0
  47. package/api/resources/commons/types/ProcedureModifier.d.ts +9 -1
  48. package/api/resources/commons/types/ProcedureModifier.js +2 -0
  49. package/api/resources/commons/types/StreetAddressLongZipOptional.d.ts +19 -0
  50. package/api/resources/commons/types/StreetAddressLongZipOptional.js +5 -0
  51. package/api/resources/commons/types/index.d.ts +3 -0
  52. package/api/resources/commons/types/index.js +3 -0
  53. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  54. package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -1
  55. package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -1
  56. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  57. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  58. package/api/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.d.ts +22 -0
  59. package/api/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.js +5 -0
  60. package/api/resources/customSchemas/resources/v1/types/index.d.ts +1 -0
  61. package/api/resources/customSchemas/resources/v1/types/index.js +1 -0
  62. package/api/resources/diagnoses/client/Client.js +4 -3
  63. package/api/resources/diagnoses/client/delete.d.ts +7 -1
  64. package/api/resources/diagnoses/client/delete.js +11 -0
  65. package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +7 -0
  66. package/api/resources/diagnoses/types/DiagnosisCreate.d.ts +7 -0
  67. package/api/resources/diagnoses/types/DiagnosisCreateOptional.d.ts +28 -0
  68. package/api/resources/diagnoses/types/DiagnosisCreateOptional.js +5 -0
  69. package/api/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.d.ts +9 -0
  70. package/api/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.js +5 -0
  71. package/api/resources/diagnoses/types/index.d.ts +2 -0
  72. package/api/resources/diagnoses/types/index.js +2 -0
  73. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  74. package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  75. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  76. package/api/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.d.ts +13 -0
  77. package/api/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.js +5 -0
  78. package/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  79. package/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
  80. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  81. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  82. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +26 -0
  83. package/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +9 -0
  84. package/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +5 -0
  85. package/api/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.d.ts +8 -0
  86. package/api/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.js +5 -0
  87. package/api/resources/encounters/resources/v4/types/ClinicalNoteOptional.d.ts +10 -0
  88. package/api/resources/encounters/resources/v4/types/ClinicalNoteOptional.js +5 -0
  89. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +47 -3
  90. package/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +1 -1
  91. package/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +80 -0
  92. package/api/resources/encounters/resources/v4/types/EncounterDeepOptional.js +5 -0
  93. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -26
  94. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -2
  95. package/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +21 -0
  96. package/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.js +10 -0
  97. package/api/resources/encounters/resources/v4/types/EpsdtReferralOptional.d.ts +9 -0
  98. package/api/resources/encounters/resources/v4/types/EpsdtReferralOptional.js +5 -0
  99. package/api/resources/encounters/resources/v4/types/IntakeQuestionOptional.d.ts +24 -0
  100. package/api/resources/encounters/resources/v4/types/IntakeQuestionOptional.js +5 -0
  101. package/api/resources/encounters/resources/v4/types/InterventionOptional.d.ts +14 -0
  102. package/api/resources/encounters/resources/v4/types/InterventionOptional.js +5 -0
  103. package/api/resources/encounters/resources/v4/types/LabOptional.d.ts +17 -0
  104. package/api/resources/encounters/resources/v4/types/LabOptional.js +5 -0
  105. package/api/resources/encounters/resources/v4/types/MedicationOptional.d.ts +12 -0
  106. package/api/resources/encounters/resources/v4/types/MedicationOptional.js +5 -0
  107. package/api/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.d.ts +9 -0
  108. package/api/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.js +5 -0
  109. package/api/resources/encounters/resources/v4/types/index.d.ts +11 -0
  110. package/api/resources/encounters/resources/v4/types/index.js +11 -0
  111. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  112. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  113. package/api/resources/exports/resources/v3/client/Client.d.ts +5 -3
  114. package/api/resources/exports/resources/v3/client/Client.js +8 -4
  115. package/api/resources/exports/resources/v3/client/getExports.d.ts +13 -1
  116. package/api/resources/exports/resources/v3/client/getExports.js +22 -0
  117. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  118. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  119. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  120. package/api/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +17 -0
  121. package/api/resources/guarantor/resources/v1/types/GuarantorOptional.js +5 -0
  122. package/api/resources/guarantor/resources/v1/types/index.d.ts +1 -0
  123. package/api/resources/guarantor/resources/v1/types/index.js +1 -0
  124. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  125. package/api/resources/index.d.ts +2 -0
  126. package/api/resources/index.js +3 -1
  127. package/api/resources/individual/types/IndividualBaseOptional.d.ts +9 -0
  128. package/api/resources/individual/types/IndividualBaseOptional.js +5 -0
  129. package/api/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.d.ts +9 -0
  130. package/api/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.js +5 -0
  131. package/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +2 -2
  132. package/api/resources/individual/types/SubscriberBaseOptional.d.ts +9 -0
  133. package/api/resources/individual/types/SubscriberBaseOptional.js +5 -0
  134. package/api/resources/individual/types/SubscriberCreateOptional.d.ts +7 -0
  135. package/api/resources/individual/types/SubscriberCreateOptional.js +5 -0
  136. package/api/resources/individual/types/index.d.ts +4 -0
  137. package/api/resources/individual/types/index.js +4 -0
  138. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  139. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
  140. package/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.d.ts +14 -0
  141. package/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.js +5 -0
  142. package/api/resources/insuranceCards/resources/v2/types/index.d.ts +1 -0
  143. package/api/resources/insuranceCards/resources/v2/types/index.js +1 -0
  144. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  145. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  146. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  147. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  148. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  149. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  150. package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +2 -1
  151. package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
  152. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  153. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  154. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  155. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  156. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  157. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  158. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  159. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -1
  160. package/{dist/api/resources/preEncounter/resources/lists/resources/v1 → api/resources/preEncounter/resources/common}/types/FilterQueryString.d.ts +3 -3
  161. package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  162. package/api/resources/preEncounter/resources/common/types/index.js +1 -0
  163. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  164. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +42 -1
  165. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +158 -5
  166. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/createRecommendation.d.ts +22 -0
  167. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/createRecommendation.js +57 -0
  168. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +4 -0
  169. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +8 -1
  170. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/payerSearch.d.ts +22 -0
  171. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/payerSearch.js +57 -0
  172. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.d.ts +22 -0
  173. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.js +57 -0
  174. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/BatchEligibilityPollRequest.d.ts +11 -0
  175. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/BatchEligibilityPollRequest.js +5 -0
  176. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/EligibilityRecommendationRequest.d.ts +11 -0
  177. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/EligibilityRecommendationRequest.js +5 -0
  178. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/PayerSearchRequest.d.ts +13 -0
  179. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/PayerSearchRequest.js +5 -0
  180. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/index.d.ts +3 -0
  181. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.d.ts +9 -0
  182. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.js +5 -0
  183. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +13 -0
  184. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +5 -0
  185. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.d.ts +18 -0
  186. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.js +5 -0
  187. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +13 -0
  188. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +5 -0
  189. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.d.ts +10 -0
  190. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.js +5 -0
  191. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +11 -0
  192. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +5 -0
  193. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.d.ts +8 -0
  194. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.js +5 -0
  195. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.d.ts +9 -0
  196. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.js +5 -0
  197. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.d.ts +15 -0
  198. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.js +5 -0
  199. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.d.ts +8 -0
  200. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.js +5 -0
  201. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +10 -0
  202. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +10 -0
  203. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  204. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  205. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -1
  206. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -1
  207. package/api/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
  208. package/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +0 -1
  209. package/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +0 -1
  210. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  211. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  212. package/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +2 -0
  213. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  214. package/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +2 -0
  215. package/api/resources/serviceFacility/client/Client.js +1 -1
  216. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  217. package/api/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.d.ts +14 -0
  218. package/api/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.js +5 -0
  219. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
  220. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
  221. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +52 -0
  222. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +5 -0
  223. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  224. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
  225. package/api/resources/serviceLines/resources/v2/types/TestResultOptional.d.ts +8 -0
  226. package/api/resources/serviceLines/resources/v2/types/TestResultOptional.js +5 -0
  227. package/api/resources/serviceLines/resources/v2/types/index.d.ts +3 -0
  228. package/api/resources/serviceLines/resources/v2/types/index.js +3 -0
  229. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  230. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  231. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  232. package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +2 -1
  233. package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +1 -0
  234. package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
  235. package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  236. package/api/resources/x12/resources/v1/types/PatientDischargeStatusCode.d.ts +166 -0
  237. package/api/resources/x12/resources/v1/types/PatientDischargeStatusCode.js +48 -0
  238. package/api/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.d.ts +50 -0
  239. package/api/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.js +19 -0
  240. package/api/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.d.ts +30 -0
  241. package/api/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.js +14 -0
  242. package/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +14 -0
  243. package/api/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -0
  244. package/api/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.d.ts +114 -0
  245. package/api/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.js +35 -0
  246. package/api/resources/x12/resources/v1/types/TypeOfCareCode.d.ts +42 -0
  247. package/api/resources/x12/resources/v1/types/TypeOfCareCode.js +17 -0
  248. package/api/resources/x12/resources/v1/types/TypeOfFacilityCode.d.ts +34 -0
  249. package/api/resources/x12/resources/v1/types/TypeOfFacilityCode.js +15 -0
  250. package/api/resources/x12/resources/v1/types/index.d.ts +7 -0
  251. package/api/resources/x12/resources/v1/types/index.js +7 -0
  252. package/api/resources/yesNoIndicator/index.d.ts +1 -0
  253. package/api/resources/yesNoIndicator/index.js +17 -0
  254. package/api/resources/yesNoIndicator/types/YesNoIndicator.d.ts +10 -0
  255. package/{dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → api/resources/yesNoIndicator/types/YesNoIndicator.js} +6 -5
  256. package/api/resources/yesNoIndicator/types/index.d.ts +1 -0
  257. package/api/resources/yesNoIndicator/types/index.js +17 -0
  258. package/core/auth/OAuthTokenProvider.d.ts +2 -2
  259. package/dist/Client.js +2 -2
  260. package/dist/api/resources/auth/client/Client.d.ts +3 -3
  261. package/dist/api/resources/auth/client/Client.js +3 -3
  262. package/dist/api/resources/auth/resources/{v2 → default}/client/Client.d.ts +23 -9
  263. package/{api/resources/auth/resources/v2 → dist/api/resources/auth/resources/default}/client/Client.js +29 -12
  264. package/dist/api/resources/auth/resources/default/client/getToken.d.ts +34 -0
  265. package/{api/resources/auth/resources/v2 → dist/api/resources/auth/resources/default}/client/getToken.js +13 -2
  266. package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenRequest.js +5 -0
  267. package/dist/api/resources/auth/resources/default/client/requests/index.js +2 -0
  268. package/dist/api/resources/auth/resources/default/types/AuthGetTokenResponse.js +5 -0
  269. package/dist/api/resources/auth/resources/default/types/InvalidContentTypeErrorType.d.ts +6 -0
  270. package/dist/api/resources/auth/resources/default/types/InvalidContentTypeErrorType.js +5 -0
  271. package/dist/api/resources/auth/resources/default/types/TooManyRequestsErrorType.js +5 -0
  272. package/dist/{serialization/resources/auth/resources/v2 → api/resources/auth/resources/default}/types/index.d.ts +1 -0
  273. package/{api/resources/auth/resources/v2 → dist/api/resources/auth/resources/default}/types/index.js +1 -0
  274. package/dist/api/resources/auth/resources/index.d.ts +1 -1
  275. package/dist/api/resources/auth/resources/index.js +2 -2
  276. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  277. package/dist/api/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.d.ts +7 -0
  278. package/dist/api/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.js +5 -0
  279. package/dist/api/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
  280. package/dist/api/resources/billingNotes/resources/v2/types/index.js +1 -0
  281. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +17 -6
  282. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +4 -0
  283. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +4 -0
  284. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +14 -0
  285. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
  286. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -52
  287. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +6 -0
  288. package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -1
  289. package/dist/api/resources/chargeCapture/resources/v1/types/index.js +1 -1
  290. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +9 -0
  291. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +55 -3
  292. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
  293. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
  294. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.d.ts +13 -0
  295. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.js +5 -0
  296. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
  297. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.d.ts +34 -0
  298. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.js +79 -0
  299. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +3 -3
  300. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +34 -0
  301. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +5 -0
  302. package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +2 -2
  303. package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +43 -0
  304. package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.js +5 -0
  305. package/dist/api/resources/claimSubmission/resources/v1/types/index.d.ts +2 -1
  306. package/dist/api/resources/claimSubmission/resources/v1/types/index.js +2 -1
  307. package/dist/api/resources/commons/types/NextResponsibleParty.d.ts +12 -0
  308. package/dist/api/resources/commons/types/NextResponsibleParty.js +14 -0
  309. package/dist/api/resources/commons/types/PhoneNumberOptional.d.ts +15 -0
  310. package/dist/api/resources/commons/types/PhoneNumberOptional.js +5 -0
  311. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +9 -1
  312. package/dist/api/resources/commons/types/ProcedureModifier.js +2 -0
  313. package/dist/api/resources/commons/types/StreetAddressLongZipOptional.d.ts +19 -0
  314. package/dist/api/resources/commons/types/StreetAddressLongZipOptional.js +5 -0
  315. package/dist/api/resources/commons/types/index.d.ts +3 -0
  316. package/dist/api/resources/commons/types/index.js +3 -0
  317. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  318. package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -1
  319. package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -1
  320. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  321. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  322. package/dist/api/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.d.ts +22 -0
  323. package/dist/api/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.js +5 -0
  324. package/dist/api/resources/customSchemas/resources/v1/types/index.d.ts +1 -0
  325. package/dist/api/resources/customSchemas/resources/v1/types/index.js +1 -0
  326. package/dist/api/resources/diagnoses/client/Client.js +4 -3
  327. package/dist/api/resources/diagnoses/client/delete.d.ts +7 -1
  328. package/dist/api/resources/diagnoses/client/delete.js +11 -0
  329. package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +7 -0
  330. package/dist/api/resources/diagnoses/types/DiagnosisCreate.d.ts +7 -0
  331. package/dist/api/resources/diagnoses/types/DiagnosisCreateOptional.d.ts +28 -0
  332. package/dist/api/resources/diagnoses/types/DiagnosisCreateOptional.js +5 -0
  333. package/dist/api/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.d.ts +9 -0
  334. package/dist/api/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.js +5 -0
  335. package/dist/api/resources/diagnoses/types/index.d.ts +2 -0
  336. package/dist/api/resources/diagnoses/types/index.js +2 -0
  337. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  338. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  339. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  340. package/dist/api/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.d.ts +13 -0
  341. package/dist/api/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.js +5 -0
  342. package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  343. package/dist/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
  344. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  345. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  346. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +26 -0
  347. package/dist/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +9 -0
  348. package/dist/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +5 -0
  349. package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.d.ts +8 -0
  350. package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.js +5 -0
  351. package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteOptional.d.ts +10 -0
  352. package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteOptional.js +5 -0
  353. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +47 -3
  354. package/dist/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +1 -1
  355. package/dist/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +80 -0
  356. package/dist/api/resources/encounters/resources/v4/types/EncounterDeepOptional.js +5 -0
  357. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -26
  358. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -2
  359. package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +21 -0
  360. package/dist/api/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.js +10 -0
  361. package/dist/api/resources/encounters/resources/v4/types/EpsdtReferralOptional.d.ts +9 -0
  362. package/dist/api/resources/encounters/resources/v4/types/EpsdtReferralOptional.js +5 -0
  363. package/dist/api/resources/encounters/resources/v4/types/IntakeQuestionOptional.d.ts +24 -0
  364. package/dist/api/resources/encounters/resources/v4/types/IntakeQuestionOptional.js +5 -0
  365. package/dist/api/resources/encounters/resources/v4/types/InterventionOptional.d.ts +14 -0
  366. package/dist/api/resources/encounters/resources/v4/types/InterventionOptional.js +5 -0
  367. package/dist/api/resources/encounters/resources/v4/types/LabOptional.d.ts +17 -0
  368. package/dist/api/resources/encounters/resources/v4/types/LabOptional.js +5 -0
  369. package/dist/api/resources/encounters/resources/v4/types/MedicationOptional.d.ts +12 -0
  370. package/dist/api/resources/encounters/resources/v4/types/MedicationOptional.js +5 -0
  371. package/dist/api/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.d.ts +9 -0
  372. package/dist/api/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.js +5 -0
  373. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +11 -0
  374. package/dist/api/resources/encounters/resources/v4/types/index.js +11 -0
  375. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  376. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  377. package/dist/api/resources/exports/resources/v3/client/Client.d.ts +5 -3
  378. package/dist/api/resources/exports/resources/v3/client/Client.js +8 -4
  379. package/dist/api/resources/exports/resources/v3/client/getExports.d.ts +13 -1
  380. package/dist/api/resources/exports/resources/v3/client/getExports.js +22 -0
  381. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  382. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  383. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  384. package/dist/api/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +17 -0
  385. package/dist/api/resources/guarantor/resources/v1/types/GuarantorOptional.js +5 -0
  386. package/dist/api/resources/guarantor/resources/v1/types/index.d.ts +1 -0
  387. package/dist/api/resources/guarantor/resources/v1/types/index.js +1 -0
  388. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  389. package/dist/api/resources/index.d.ts +2 -0
  390. package/dist/api/resources/index.js +3 -1
  391. package/dist/api/resources/individual/types/IndividualBaseOptional.d.ts +9 -0
  392. package/dist/api/resources/individual/types/IndividualBaseOptional.js +5 -0
  393. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.d.ts +9 -0
  394. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.js +5 -0
  395. package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +2 -2
  396. package/dist/api/resources/individual/types/SubscriberBaseOptional.d.ts +9 -0
  397. package/dist/api/resources/individual/types/SubscriberBaseOptional.js +5 -0
  398. package/dist/api/resources/individual/types/SubscriberCreateOptional.d.ts +7 -0
  399. package/dist/api/resources/individual/types/SubscriberCreateOptional.js +5 -0
  400. package/dist/api/resources/individual/types/index.d.ts +4 -0
  401. package/dist/api/resources/individual/types/index.js +4 -0
  402. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  403. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
  404. package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.d.ts +14 -0
  405. package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.js +5 -0
  406. package/dist/api/resources/insuranceCards/resources/v2/types/index.d.ts +1 -0
  407. package/dist/api/resources/insuranceCards/resources/v2/types/index.js +1 -0
  408. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  409. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  410. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  411. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  412. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  413. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  414. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +2 -1
  415. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
  416. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  417. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  418. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  419. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  420. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  421. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  422. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  423. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -1
  424. package/{api/resources/preEncounter/resources/lists/resources/v1 → dist/api/resources/preEncounter/resources/common}/types/FilterQueryString.d.ts +3 -3
  425. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  426. package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -0
  427. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  428. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +42 -1
  429. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +158 -5
  430. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/createRecommendation.d.ts +22 -0
  431. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/createRecommendation.js +57 -0
  432. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +4 -0
  433. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +8 -1
  434. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/payerSearch.d.ts +22 -0
  435. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/payerSearch.js +57 -0
  436. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.d.ts +22 -0
  437. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.js +57 -0
  438. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/BatchEligibilityPollRequest.d.ts +11 -0
  439. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/BatchEligibilityPollRequest.js +5 -0
  440. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/EligibilityRecommendationRequest.d.ts +11 -0
  441. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/EligibilityRecommendationRequest.js +5 -0
  442. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/PayerSearchRequest.d.ts +13 -0
  443. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/PayerSearchRequest.js +5 -0
  444. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/index.d.ts +3 -0
  445. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/requests/index.js +2 -0
  446. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.d.ts +9 -0
  447. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.js +5 -0
  448. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +13 -0
  449. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +5 -0
  450. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.d.ts +18 -0
  451. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.js +5 -0
  452. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +13 -0
  453. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +5 -0
  454. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.d.ts +10 -0
  455. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.js +5 -0
  456. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +11 -0
  457. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +5 -0
  458. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.d.ts +8 -0
  459. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.js +5 -0
  460. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.d.ts +9 -0
  461. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.js +5 -0
  462. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.d.ts +15 -0
  463. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.js +5 -0
  464. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.d.ts +8 -0
  465. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.js +5 -0
  466. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +10 -0
  467. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +10 -0
  468. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  469. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  470. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -1
  471. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -1
  472. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
  473. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +0 -1
  474. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +0 -1
  475. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  476. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  477. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +2 -0
  478. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  479. package/dist/api/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +2 -0
  480. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  481. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  482. package/dist/api/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.d.ts +14 -0
  483. package/dist/api/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.js +5 -0
  484. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
  485. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
  486. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +52 -0
  487. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +5 -0
  488. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  489. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
  490. package/dist/api/resources/serviceLines/resources/v2/types/TestResultOptional.d.ts +8 -0
  491. package/dist/api/resources/serviceLines/resources/v2/types/TestResultOptional.js +5 -0
  492. package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +3 -0
  493. package/dist/api/resources/serviceLines/resources/v2/types/index.js +3 -0
  494. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  495. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  496. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  497. package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +2 -1
  498. package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +1 -0
  499. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
  500. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  501. package/dist/api/resources/x12/resources/v1/types/PatientDischargeStatusCode.d.ts +166 -0
  502. package/dist/api/resources/x12/resources/v1/types/PatientDischargeStatusCode.js +48 -0
  503. package/dist/api/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.d.ts +50 -0
  504. package/dist/api/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.js +19 -0
  505. package/dist/api/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.d.ts +30 -0
  506. package/dist/api/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.js +14 -0
  507. package/dist/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +14 -0
  508. package/dist/api/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -0
  509. package/dist/api/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.d.ts +114 -0
  510. package/dist/api/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.js +35 -0
  511. package/dist/api/resources/x12/resources/v1/types/TypeOfCareCode.d.ts +42 -0
  512. package/dist/api/resources/x12/resources/v1/types/TypeOfCareCode.js +17 -0
  513. package/dist/api/resources/x12/resources/v1/types/TypeOfFacilityCode.d.ts +34 -0
  514. package/dist/api/resources/x12/resources/v1/types/TypeOfFacilityCode.js +15 -0
  515. package/dist/api/resources/x12/resources/v1/types/index.d.ts +7 -0
  516. package/dist/api/resources/x12/resources/v1/types/index.js +7 -0
  517. package/dist/api/resources/yesNoIndicator/index.d.ts +1 -0
  518. package/dist/api/resources/yesNoIndicator/index.js +17 -0
  519. package/dist/api/resources/yesNoIndicator/types/YesNoIndicator.d.ts +10 -0
  520. package/{api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → dist/api/resources/yesNoIndicator/types/YesNoIndicator.js} +6 -5
  521. package/dist/api/resources/yesNoIndicator/types/index.d.ts +1 -0
  522. package/dist/api/resources/yesNoIndicator/types/index.js +17 -0
  523. package/dist/core/auth/OAuthTokenProvider.d.ts +2 -2
  524. package/dist/serialization/resources/auth/resources/{v2 → default}/client/getToken.d.ts +7 -2
  525. package/dist/serialization/resources/auth/resources/{v2 → default}/client/getToken.js +7 -1
  526. package/{serialization/resources/auth/resources/v2 → dist/serialization/resources/auth/resources/default}/client/requests/AuthGetTokenRequest.d.ts +1 -1
  527. package/{serialization/resources/auth/resources/v2 → dist/serialization/resources/auth/resources/default}/types/AuthGetTokenResponse.d.ts +1 -1
  528. package/dist/serialization/resources/auth/resources/default/types/InvalidContentTypeErrorType.d.ts +12 -0
  529. package/dist/serialization/resources/auth/resources/default/types/InvalidContentTypeErrorType.js +43 -0
  530. package/{serialization/resources/auth/resources/v2 → dist/serialization/resources/auth/resources/default}/types/TooManyRequestsErrorType.d.ts +1 -1
  531. package/{serialization/resources/auth/resources/v2 → dist/serialization/resources/auth/resources/default}/types/index.d.ts +1 -0
  532. package/dist/{api/resources/auth/resources/v2 → serialization/resources/auth/resources/default}/types/index.js +1 -0
  533. package/dist/serialization/resources/auth/resources/index.d.ts +1 -1
  534. package/dist/serialization/resources/auth/resources/index.js +2 -2
  535. package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.d.ts +12 -0
  536. package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.js +43 -0
  537. package/dist/serialization/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
  538. package/dist/serialization/resources/billingNotes/resources/v2/types/index.js +1 -0
  539. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +2 -0
  540. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +2 -0
  541. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +2 -0
  542. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +2 -0
  543. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
  544. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
  545. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +2 -30
  546. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +2 -33
  547. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +3 -0
  548. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +3 -0
  549. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -1
  550. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -1
  551. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +2 -0
  552. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.js +41 -0
  553. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.d.ts +13 -0
  554. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.js +44 -0
  555. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
  556. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/index.js +5 -0
  557. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.d.ts +20 -0
  558. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.js +77 -0
  559. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +1 -0
  560. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.js +1 -0
  561. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
  562. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +2 -2
  563. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +18 -0
  564. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +49 -0
  565. package/dist/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +15 -0
  566. package/dist/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.js +46 -0
  567. package/dist/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +2 -1
  568. package/dist/serialization/resources/claimSubmission/resources/v1/types/index.js +2 -1
  569. package/dist/serialization/resources/commons/types/NextResponsibleParty.d.ts +10 -0
  570. package/dist/serialization/resources/commons/types/NextResponsibleParty.js +41 -0
  571. package/dist/serialization/resources/commons/types/PhoneNumberOptional.d.ts +14 -0
  572. package/dist/serialization/resources/commons/types/PhoneNumberOptional.js +45 -0
  573. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  574. package/dist/serialization/resources/commons/types/ProcedureModifier.js +2 -0
  575. package/dist/serialization/resources/commons/types/StreetAddressLongZipOptional.d.ts +13 -0
  576. package/dist/serialization/resources/commons/types/StreetAddressLongZipOptional.js +46 -0
  577. package/dist/serialization/resources/commons/types/index.d.ts +3 -0
  578. package/dist/serialization/resources/commons/types/index.js +3 -0
  579. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.d.ts +14 -0
  580. package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.js +45 -0
  581. package/dist/serialization/resources/customSchemas/resources/v1/types/index.d.ts +1 -0
  582. package/dist/serialization/resources/customSchemas/resources/v1/types/index.js +1 -0
  583. package/dist/serialization/resources/diagnoses/client/delete.d.ts +6 -1
  584. package/dist/serialization/resources/diagnoses/client/delete.js +6 -0
  585. package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -0
  586. package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +2 -0
  587. package/dist/serialization/resources/diagnoses/types/DiagnosisCreate.d.ts +2 -0
  588. package/dist/serialization/resources/diagnoses/types/DiagnosisCreate.js +2 -0
  589. package/dist/serialization/resources/diagnoses/types/DiagnosisCreateOptional.d.ts +17 -0
  590. package/dist/serialization/resources/diagnoses/types/DiagnosisCreateOptional.js +48 -0
  591. package/dist/serialization/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.d.ts +16 -0
  592. package/dist/serialization/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.js +47 -0
  593. package/dist/serialization/resources/diagnoses/types/index.d.ts +2 -0
  594. package/dist/serialization/resources/diagnoses/types/index.js +2 -0
  595. package/dist/serialization/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.d.ts +16 -0
  596. package/dist/serialization/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.js +49 -0
  597. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  598. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
  599. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
  600. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
  601. package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +16 -0
  602. package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +47 -0
  603. package/dist/serialization/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.d.ts +15 -0
  604. package/dist/serialization/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.js +46 -0
  605. package/dist/serialization/resources/encounters/resources/v4/types/ClinicalNoteOptional.d.ts +16 -0
  606. package/dist/serialization/resources/encounters/resources/v4/types/ClinicalNoteOptional.js +47 -0
  607. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +22 -0
  608. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +22 -0
  609. package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +56 -0
  610. package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +89 -0
  611. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -16
  612. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -16
  613. package/dist/serialization/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +10 -0
  614. package/dist/serialization/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.js +41 -0
  615. package/dist/serialization/resources/encounters/resources/v4/types/EpsdtReferralOptional.d.ts +15 -0
  616. package/dist/serialization/resources/encounters/resources/v4/types/EpsdtReferralOptional.js +46 -0
  617. package/dist/serialization/resources/encounters/resources/v4/types/IntakeQuestionOptional.d.ts +16 -0
  618. package/dist/serialization/resources/encounters/resources/v4/types/IntakeQuestionOptional.js +47 -0
  619. package/dist/serialization/resources/encounters/resources/v4/types/InterventionOptional.d.ts +19 -0
  620. package/dist/serialization/resources/encounters/resources/v4/types/InterventionOptional.js +50 -0
  621. package/dist/serialization/resources/encounters/resources/v4/types/LabOptional.d.ts +15 -0
  622. package/dist/serialization/resources/encounters/resources/v4/types/LabOptional.js +46 -0
  623. package/dist/serialization/resources/encounters/resources/v4/types/MedicationOptional.d.ts +18 -0
  624. package/dist/serialization/resources/encounters/resources/v4/types/MedicationOptional.js +49 -0
  625. package/dist/serialization/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.d.ts +15 -0
  626. package/dist/serialization/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.js +46 -0
  627. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +11 -0
  628. package/dist/serialization/resources/encounters/resources/v4/types/index.js +11 -0
  629. package/dist/serialization/resources/exports/resources/v3/client/getExports.d.ts +9 -1
  630. package/dist/serialization/resources/exports/resources/v3/client/getExports.js +10 -0
  631. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +23 -0
  632. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +54 -0
  633. package/dist/serialization/resources/guarantor/resources/v1/types/index.d.ts +1 -0
  634. package/dist/serialization/resources/guarantor/resources/v1/types/index.js +1 -0
  635. package/dist/serialization/resources/index.d.ts +2 -0
  636. package/dist/serialization/resources/index.js +3 -1
  637. package/dist/serialization/resources/individual/types/IndividualBaseOptional.d.ts +15 -0
  638. package/dist/serialization/resources/individual/types/IndividualBaseOptional.js +46 -0
  639. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.d.ts +16 -0
  640. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.js +47 -0
  641. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +4 -4
  642. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +4 -4
  643. package/dist/serialization/resources/individual/types/SubscriberBaseOptional.d.ts +17 -0
  644. package/dist/serialization/resources/individual/types/SubscriberBaseOptional.js +50 -0
  645. package/dist/serialization/resources/individual/types/SubscriberCreateOptional.d.ts +14 -0
  646. package/dist/serialization/resources/individual/types/SubscriberCreateOptional.js +47 -0
  647. package/dist/serialization/resources/individual/types/index.d.ts +4 -0
  648. package/dist/serialization/resources/individual/types/index.js +4 -0
  649. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
  650. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -0
  651. package/dist/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.d.ts +21 -0
  652. package/dist/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.js +54 -0
  653. package/dist/serialization/resources/insuranceCards/resources/v2/types/index.d.ts +1 -0
  654. package/dist/serialization/resources/insuranceCards/resources/v2/types/index.js +1 -0
  655. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  656. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
  657. package/dist/serialization/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +10 -0
  658. package/dist/serialization/resources/preEncounter/resources/{lists/resources/v1 → common}/types/FilterQueryString.js +3 -3
  659. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  660. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
  661. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
  662. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +2 -1
  663. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.d.ts +11 -0
  664. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.js +42 -0
  665. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.d.ts +12 -0
  666. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.js +43 -0
  667. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +17 -0
  668. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +50 -0
  669. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.d.ts +20 -0
  670. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.js +51 -0
  671. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +18 -0
  672. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +51 -0
  673. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.d.ts +13 -0
  674. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.js +44 -0
  675. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +14 -0
  676. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +45 -0
  677. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.d.ts +15 -0
  678. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.js +48 -0
  679. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.d.ts +16 -0
  680. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.js +47 -0
  681. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.d.ts +21 -0
  682. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.js +52 -0
  683. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.d.ts +14 -0
  684. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.js +45 -0
  685. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +10 -0
  686. package/dist/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +10 -0
  687. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
  688. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.js +2 -0
  689. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +0 -1
  690. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +0 -1
  691. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +1 -0
  692. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js +1 -0
  693. package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +2 -0
  694. package/dist/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +2 -0
  695. package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.d.ts +21 -0
  696. package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.js +52 -0
  697. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  698. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
  699. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
  700. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -0
  701. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +34 -0
  702. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +65 -0
  703. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  704. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
  705. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
  706. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -0
  707. package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultOptional.d.ts +14 -0
  708. package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultOptional.js +45 -0
  709. package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +3 -0
  710. package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +3 -0
  711. package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +1 -1
  712. package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +1 -0
  713. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
  714. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  715. package/dist/serialization/resources/x12/resources/v1/types/PatientDischargeStatusCode.d.ts +10 -0
  716. package/dist/serialization/resources/x12/resources/v1/types/PatientDischargeStatusCode.js +82 -0
  717. package/dist/serialization/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.d.ts +10 -0
  718. package/dist/serialization/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.js +41 -0
  719. package/dist/serialization/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.d.ts +10 -0
  720. package/dist/serialization/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.js +41 -0
  721. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +18 -0
  722. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +49 -0
  723. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.d.ts +10 -0
  724. package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.js +69 -0
  725. package/dist/serialization/resources/x12/resources/v1/types/TypeOfCareCode.d.ts +10 -0
  726. package/dist/serialization/resources/x12/resources/v1/types/TypeOfCareCode.js +41 -0
  727. package/dist/serialization/resources/x12/resources/v1/types/TypeOfFacilityCode.d.ts +10 -0
  728. package/dist/serialization/resources/{claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → x12/resources/v1/types/TypeOfFacilityCode.js} +2 -2
  729. package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +7 -0
  730. package/dist/serialization/resources/x12/resources/v1/types/index.js +7 -0
  731. package/dist/serialization/resources/yesNoIndicator/index.d.ts +1 -0
  732. package/dist/serialization/resources/yesNoIndicator/index.js +17 -0
  733. package/dist/serialization/resources/yesNoIndicator/types/YesNoIndicator.d.ts +10 -0
  734. package/dist/serialization/resources/yesNoIndicator/types/YesNoIndicator.js +41 -0
  735. package/dist/serialization/resources/yesNoIndicator/types/index.d.ts +1 -0
  736. package/dist/serialization/resources/yesNoIndicator/types/index.js +17 -0
  737. package/dist/version.d.ts +1 -1
  738. package/dist/version.js +1 -1
  739. package/package.json +1 -1
  740. package/reference.md +290 -10
  741. package/serialization/resources/auth/resources/{v2 → default}/client/getToken.d.ts +7 -2
  742. package/serialization/resources/auth/resources/{v2 → default}/client/getToken.js +7 -1
  743. package/{dist/serialization/resources/auth/resources/v2 → serialization/resources/auth/resources/default}/client/requests/AuthGetTokenRequest.d.ts +1 -1
  744. package/{dist/serialization/resources/auth/resources/v2 → serialization/resources/auth/resources/default}/types/AuthGetTokenResponse.d.ts +1 -1
  745. package/serialization/resources/auth/resources/default/types/InvalidContentTypeErrorType.d.ts +12 -0
  746. package/serialization/resources/auth/resources/default/types/InvalidContentTypeErrorType.js +43 -0
  747. package/{dist/serialization/resources/auth/resources/v2 → serialization/resources/auth/resources/default}/types/TooManyRequestsErrorType.d.ts +1 -1
  748. package/{api/resources/auth/resources/v2 → serialization/resources/auth/resources/default}/types/index.d.ts +1 -0
  749. package/serialization/resources/auth/resources/{v2 → default}/types/index.js +1 -0
  750. package/serialization/resources/auth/resources/index.d.ts +1 -1
  751. package/serialization/resources/auth/resources/index.js +2 -2
  752. package/serialization/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.d.ts +12 -0
  753. package/serialization/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.js +43 -0
  754. package/serialization/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
  755. package/serialization/resources/billingNotes/resources/v2/types/index.js +1 -0
  756. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +2 -0
  757. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +2 -0
  758. package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +2 -0
  759. package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +2 -0
  760. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
  761. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
  762. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +2 -30
  763. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +2 -33
  764. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +3 -0
  765. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +3 -0
  766. package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -1
  767. package/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -1
  768. package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +2 -0
  769. package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.js +41 -0
  770. package/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.d.ts +13 -0
  771. package/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.js +44 -0
  772. package/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
  773. package/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/index.js +5 -0
  774. package/serialization/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.d.ts +20 -0
  775. package/serialization/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.js +77 -0
  776. package/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +1 -0
  777. package/serialization/resources/chargeCaptureBundles/resources/v1/index.js +1 -0
  778. package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +2 -2
  779. package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.js +2 -2
  780. package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +18 -0
  781. package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +49 -0
  782. package/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +15 -0
  783. package/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.js +46 -0
  784. package/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +2 -1
  785. package/serialization/resources/claimSubmission/resources/v1/types/index.js +2 -1
  786. package/serialization/resources/commons/types/NextResponsibleParty.d.ts +10 -0
  787. package/serialization/resources/commons/types/NextResponsibleParty.js +41 -0
  788. package/serialization/resources/commons/types/PhoneNumberOptional.d.ts +14 -0
  789. package/serialization/resources/commons/types/PhoneNumberOptional.js +45 -0
  790. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  791. package/serialization/resources/commons/types/ProcedureModifier.js +2 -0
  792. package/serialization/resources/commons/types/StreetAddressLongZipOptional.d.ts +13 -0
  793. package/serialization/resources/commons/types/StreetAddressLongZipOptional.js +46 -0
  794. package/serialization/resources/commons/types/index.d.ts +3 -0
  795. package/serialization/resources/commons/types/index.js +3 -0
  796. package/serialization/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.d.ts +14 -0
  797. package/serialization/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.js +45 -0
  798. package/serialization/resources/customSchemas/resources/v1/types/index.d.ts +1 -0
  799. package/serialization/resources/customSchemas/resources/v1/types/index.js +1 -0
  800. package/serialization/resources/diagnoses/client/delete.d.ts +6 -1
  801. package/serialization/resources/diagnoses/client/delete.js +6 -0
  802. package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -0
  803. package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +2 -0
  804. package/serialization/resources/diagnoses/types/DiagnosisCreate.d.ts +2 -0
  805. package/serialization/resources/diagnoses/types/DiagnosisCreate.js +2 -0
  806. package/serialization/resources/diagnoses/types/DiagnosisCreateOptional.d.ts +17 -0
  807. package/serialization/resources/diagnoses/types/DiagnosisCreateOptional.js +48 -0
  808. package/serialization/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.d.ts +16 -0
  809. package/serialization/resources/diagnoses/types/ServiceLinesMustHaveAtLeastOneDiagnosisError.js +47 -0
  810. package/serialization/resources/diagnoses/types/index.d.ts +2 -0
  811. package/serialization/resources/diagnoses/types/index.js +2 -0
  812. package/serialization/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.d.ts +16 -0
  813. package/serialization/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.js +49 -0
  814. package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  815. package/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
  816. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
  817. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
  818. package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +16 -0
  819. package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +47 -0
  820. package/serialization/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.d.ts +15 -0
  821. package/serialization/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.js +46 -0
  822. package/serialization/resources/encounters/resources/v4/types/ClinicalNoteOptional.d.ts +16 -0
  823. package/serialization/resources/encounters/resources/v4/types/ClinicalNoteOptional.js +47 -0
  824. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +22 -0
  825. package/serialization/resources/encounters/resources/v4/types/Encounter.js +22 -0
  826. package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +56 -0
  827. package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +89 -0
  828. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -16
  829. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -16
  830. package/serialization/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.d.ts +10 -0
  831. package/serialization/resources/encounters/resources/v4/types/EncounterSubmissionExpectation.js +41 -0
  832. package/serialization/resources/encounters/resources/v4/types/EpsdtReferralOptional.d.ts +15 -0
  833. package/serialization/resources/encounters/resources/v4/types/EpsdtReferralOptional.js +46 -0
  834. package/serialization/resources/encounters/resources/v4/types/IntakeQuestionOptional.d.ts +16 -0
  835. package/serialization/resources/encounters/resources/v4/types/IntakeQuestionOptional.js +47 -0
  836. package/serialization/resources/encounters/resources/v4/types/InterventionOptional.d.ts +19 -0
  837. package/serialization/resources/encounters/resources/v4/types/InterventionOptional.js +50 -0
  838. package/serialization/resources/encounters/resources/v4/types/LabOptional.d.ts +15 -0
  839. package/serialization/resources/encounters/resources/v4/types/LabOptional.js +46 -0
  840. package/serialization/resources/encounters/resources/v4/types/MedicationOptional.d.ts +18 -0
  841. package/serialization/resources/encounters/resources/v4/types/MedicationOptional.js +49 -0
  842. package/serialization/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.d.ts +15 -0
  843. package/serialization/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.js +46 -0
  844. package/serialization/resources/encounters/resources/v4/types/index.d.ts +11 -0
  845. package/serialization/resources/encounters/resources/v4/types/index.js +11 -0
  846. package/serialization/resources/exports/resources/v3/client/getExports.d.ts +9 -1
  847. package/serialization/resources/exports/resources/v3/client/getExports.js +10 -0
  848. package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +23 -0
  849. package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +54 -0
  850. package/serialization/resources/guarantor/resources/v1/types/index.d.ts +1 -0
  851. package/serialization/resources/guarantor/resources/v1/types/index.js +1 -0
  852. package/serialization/resources/index.d.ts +2 -0
  853. package/serialization/resources/index.js +3 -1
  854. package/serialization/resources/individual/types/IndividualBaseOptional.d.ts +15 -0
  855. package/serialization/resources/individual/types/IndividualBaseOptional.js +46 -0
  856. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.d.ts +16 -0
  857. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.js +47 -0
  858. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +4 -4
  859. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +4 -4
  860. package/serialization/resources/individual/types/SubscriberBaseOptional.d.ts +17 -0
  861. package/serialization/resources/individual/types/SubscriberBaseOptional.js +50 -0
  862. package/serialization/resources/individual/types/SubscriberCreateOptional.d.ts +14 -0
  863. package/serialization/resources/individual/types/SubscriberCreateOptional.js +47 -0
  864. package/serialization/resources/individual/types/index.d.ts +4 -0
  865. package/serialization/resources/individual/types/index.js +4 -0
  866. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
  867. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -0
  868. package/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.d.ts +21 -0
  869. package/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.js +54 -0
  870. package/serialization/resources/insuranceCards/resources/v2/types/index.d.ts +1 -0
  871. package/serialization/resources/insuranceCards/resources/v2/types/index.js +1 -0
  872. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  873. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -0
  874. package/serialization/resources/preEncounter/resources/common/types/FilterQueryString.d.ts +10 -0
  875. package/serialization/resources/preEncounter/resources/{lists/resources/v1 → common}/types/FilterQueryString.js +3 -3
  876. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  877. package/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
  878. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.d.ts +1 -0
  879. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/index.js +2 -1
  880. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.d.ts +11 -0
  881. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/recommendation.js +42 -0
  882. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.d.ts +12 -0
  883. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/CoordinationOfBenefitsRecommendation.js +43 -0
  884. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.d.ts +17 -0
  885. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendation.js +50 -0
  886. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.d.ts +20 -0
  887. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPatientInfo.js +51 -0
  888. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.d.ts +18 -0
  889. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/EligibilityRecommendationPayload.js +51 -0
  890. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.d.ts +13 -0
  891. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendation.js +44 -0
  892. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.d.ts +14 -0
  893. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/MedicareAdvantageRecommendationPayload.js +45 -0
  894. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.d.ts +15 -0
  895. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PayerSearchResponse.js +48 -0
  896. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.d.ts +16 -0
  897. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/PostEligibilityRecommendationRequest.js +47 -0
  898. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.d.ts +21 -0
  899. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayer.js +52 -0
  900. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.d.ts +14 -0
  901. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/StediPayerItem.js +45 -0
  902. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.d.ts +10 -0
  903. package/serialization/resources/preEncounter/resources/eligibilityChecks/resources/v1/types/index.js +10 -0
  904. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.d.ts +2 -0
  905. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/PatientListItem.js +2 -0
  906. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +0 -1
  907. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +0 -1
  908. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +1 -0
  909. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js +1 -0
  910. package/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.d.ts +2 -0
  911. package/serialization/resources/preEncounter/resources/tags/resources/v1/types/MutableTag.js +2 -0
  912. package/serialization/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.d.ts +21 -0
  913. package/serialization/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.js +52 -0
  914. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  915. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
  916. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
  917. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -0
  918. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +34 -0
  919. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +65 -0
  920. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -0
  921. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +1 -0
  922. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
  923. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -0
  924. package/serialization/resources/serviceLines/resources/v2/types/TestResultOptional.d.ts +14 -0
  925. package/serialization/resources/serviceLines/resources/v2/types/TestResultOptional.js +45 -0
  926. package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +3 -0
  927. package/serialization/resources/serviceLines/resources/v2/types/index.js +3 -0
  928. package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +1 -1
  929. package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +1 -0
  930. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
  931. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  932. package/serialization/resources/x12/resources/v1/types/PatientDischargeStatusCode.d.ts +10 -0
  933. package/serialization/resources/x12/resources/v1/types/PatientDischargeStatusCode.js +82 -0
  934. package/serialization/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.d.ts +10 -0
  935. package/serialization/resources/x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode.js +41 -0
  936. package/serialization/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.d.ts +10 -0
  937. package/serialization/resources/x12/resources/v1/types/TypeOfAdmissionOrVisitCode.js +41 -0
  938. package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +18 -0
  939. package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +49 -0
  940. package/serialization/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.d.ts +10 -0
  941. package/serialization/resources/x12/resources/v1/types/TypeOfBillFrequencyCode.js +69 -0
  942. package/serialization/resources/x12/resources/v1/types/TypeOfCareCode.d.ts +10 -0
  943. package/serialization/resources/x12/resources/v1/types/TypeOfCareCode.js +41 -0
  944. package/serialization/resources/x12/resources/v1/types/TypeOfFacilityCode.d.ts +10 -0
  945. package/serialization/resources/{claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js → x12/resources/v1/types/TypeOfFacilityCode.js} +2 -2
  946. package/serialization/resources/x12/resources/v1/types/index.d.ts +7 -0
  947. package/serialization/resources/x12/resources/v1/types/index.js +7 -0
  948. package/serialization/resources/yesNoIndicator/index.d.ts +1 -0
  949. package/serialization/resources/yesNoIndicator/index.js +17 -0
  950. package/serialization/resources/yesNoIndicator/types/YesNoIndicator.d.ts +10 -0
  951. package/serialization/resources/yesNoIndicator/types/YesNoIndicator.js +41 -0
  952. package/serialization/resources/yesNoIndicator/types/index.d.ts +1 -0
  953. package/serialization/resources/yesNoIndicator/types/index.js +17 -0
  954. package/version.d.ts +1 -1
  955. package/version.js +1 -1
  956. package/api/resources/auth/resources/v2/client/getToken.d.ts +0 -28
  957. package/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +0 -9
  958. package/dist/api/resources/auth/resources/v2/client/getToken.d.ts +0 -28
  959. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +0 -9
  960. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +0 -10
  961. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +0 -10
  962. package/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +0 -10
  963. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +0 -10
  964. /package/api/resources/auth/resources/{v2 → default}/client/index.d.ts +0 -0
  965. /package/api/resources/auth/resources/{v2 → default}/client/index.js +0 -0
  966. /package/api/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.d.ts +0 -0
  967. /package/api/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.js +0 -0
  968. /package/api/resources/auth/resources/{v2 → default}/client/requests/index.d.ts +0 -0
  969. /package/api/resources/auth/resources/{v2 → default}/client/requests/index.js +0 -0
  970. /package/api/resources/auth/resources/{v2 → default}/index.d.ts +0 -0
  971. /package/api/resources/auth/resources/{v2 → default}/index.js +0 -0
  972. /package/api/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.d.ts +0 -0
  973. /package/api/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.js +0 -0
  974. /package/api/resources/auth/resources/{v2/types/TooManyRequestsErrorType.js → default/types/InvalidContentTypeErrorType.js} +0 -0
  975. /package/api/resources/auth/resources/{v2 → default}/types/TooManyRequestsErrorType.d.ts +0 -0
  976. /package/{dist/api/resources/auth/resources/v2 → api/resources/auth/resources/default}/types/TooManyRequestsErrorType.js +0 -0
  977. /package/{dist/api/resources/auth/resources/v2/client/requests/AuthGetTokenRequest.js → api/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.js} +0 -0
  978. /package/{dist/api/resources/auth/resources/v2/types/AuthGetTokenResponse.js → api/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.js} +0 -0
  979. /package/api/resources/preEncounter/resources/{lists/resources/v1 → common}/types/FilterQueryString.js +0 -0
  980. /package/{dist/api/resources/auth/resources/v2 → api/resources/preEncounter/resources/eligibilityChecks/resources/v1}/client/requests/index.js +0 -0
  981. /package/dist/api/resources/auth/resources/{v2 → default}/client/index.d.ts +0 -0
  982. /package/dist/api/resources/auth/resources/{v2 → default}/client/index.js +0 -0
  983. /package/dist/api/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.d.ts +0 -0
  984. /package/dist/api/resources/auth/resources/{v2 → default}/client/requests/index.d.ts +0 -0
  985. /package/dist/api/resources/auth/resources/{v2 → default}/index.d.ts +0 -0
  986. /package/dist/api/resources/auth/resources/{v2 → default}/index.js +0 -0
  987. /package/dist/api/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.d.ts +0 -0
  988. /package/dist/api/resources/auth/resources/{v2 → default}/types/TooManyRequestsErrorType.d.ts +0 -0
  989. /package/dist/api/resources/preEncounter/resources/{lists/resources/v1 → common}/types/FilterQueryString.js +0 -0
  990. /package/dist/serialization/resources/auth/resources/{v2 → default}/client/index.d.ts +0 -0
  991. /package/dist/serialization/resources/auth/resources/{v2 → default}/client/index.js +0 -0
  992. /package/dist/serialization/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.js +0 -0
  993. /package/dist/serialization/resources/auth/resources/{v2 → default}/client/requests/index.d.ts +0 -0
  994. /package/dist/serialization/resources/auth/resources/{v2 → default}/client/requests/index.js +0 -0
  995. /package/dist/serialization/resources/auth/resources/{v2 → default}/index.d.ts +0 -0
  996. /package/dist/serialization/resources/auth/resources/{v2 → default}/index.js +0 -0
  997. /package/dist/serialization/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.js +0 -0
  998. /package/dist/serialization/resources/auth/resources/{v2 → default}/types/TooManyRequestsErrorType.js +0 -0
  999. /package/serialization/resources/auth/resources/{v2 → default}/client/index.d.ts +0 -0
  1000. /package/serialization/resources/auth/resources/{v2 → default}/client/index.js +0 -0
  1001. /package/serialization/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.js +0 -0
  1002. /package/serialization/resources/auth/resources/{v2 → default}/client/requests/index.d.ts +0 -0
  1003. /package/serialization/resources/auth/resources/{v2 → default}/client/requests/index.js +0 -0
  1004. /package/serialization/resources/auth/resources/{v2 → default}/index.d.ts +0 -0
  1005. /package/serialization/resources/auth/resources/{v2 → default}/index.js +0 -0
  1006. /package/serialization/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.js +0 -0
  1007. /package/serialization/resources/auth/resources/{v2 → default}/types/TooManyRequestsErrorType.js +0 -0
@@ -0,0 +1,52 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ export interface ServiceLineCreateOptional {
6
+ modifiers?: CandidApi.ProcedureModifier[];
7
+ /**
8
+ * Maps to SV1-11 on the 837-P and Box 24H on the CMS-1500.
9
+ * If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
10
+ */
11
+ hasEpsdtIndicator?: boolean;
12
+ /**
13
+ * Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500.
14
+ * If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
15
+ */
16
+ hasFamilyPlanningIndicator?: boolean;
17
+ procedureCode?: string;
18
+ /**
19
+ * String representation of a Decimal that can be parsed by most libraries.
20
+ * A ServiceLine quantity cannot contain more than one digit of precision.
21
+ * Example: 1.1 is valid, 1.11 is not.
22
+ */
23
+ quantity?: CandidApi.Decimal;
24
+ units?: CandidApi.ServiceLineUnits;
25
+ /**
26
+ * The total amount charged for this service line taking quantity into account. For example, if a single unit
27
+ * costs 100 cents and 2 units were rendered, the `charge_amount_cents` should be 200. Should be greater than or
28
+ * equal to 0.
29
+ */
30
+ chargeAmountCents?: number;
31
+ /** Indices (zero-indexed) of all the diagnoses this service line references */
32
+ diagnosisPointers?: number[];
33
+ drugIdentification?: CandidApi.serviceLines.v2.DrugIdentificationOptional;
34
+ /** 837p Loop2300, SV105. If your organization does not intend to submit claims with a different place of service at the service line level, this field should not be populated. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
35
+ placeOfServiceCode?: CandidApi.FacilityTypeCode;
36
+ /** A free-form description to clarify the related data elements and their content. Maps to SV1-01, C003-07 on the 837-P. */
37
+ description?: string;
38
+ dateOfService?: string;
39
+ endDateOfService?: string;
40
+ /**
41
+ * Required when the service or supply was ordered by a provider who is different than the rendering provider for this service line.
42
+ * If not required by this implementation guide, do not send.
43
+ */
44
+ orderingProvider?: CandidApi.encounterProviders.v2.OrderingProviderOptional;
45
+ /**
46
+ * Contains a list of test results. Test result types may map to MEA-02 on the 837-P (ex: Hemoglobin, Hematocrit).
47
+ * No more than 5 MEA-02 test results may be submitted per service line.
48
+ */
49
+ testResults?: CandidApi.serviceLines.v2.TestResultOptional[];
50
+ /** Maps to NTE02 loop 2400 on the EDI 837. */
51
+ note?: string;
52
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -51,4 +51,6 @@ export interface ServiceLineCreateStandalone {
51
51
  * If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
52
52
  */
53
53
  hasFamilyPlanningIndicator?: boolean;
54
+ /** Maps to NTE02 loop 2400 on the EDI 837. */
55
+ note?: string;
54
56
  }
@@ -49,4 +49,6 @@ export interface ServiceLineUpdate {
49
49
  * If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
50
50
  */
51
51
  hasFamilyPlanningIndicator?: boolean;
52
+ /** Maps to NTE02 loop 2400 on the EDI 837. */
53
+ note?: string;
52
54
  }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ export interface TestResultOptional {
6
+ value?: number;
7
+ resultType?: CandidApi.serviceLines.v2.TestResultType;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,5 @@
1
1
  export * from "./ServiceLineCreate";
2
+ export * from "./ServiceLineCreateOptional";
2
3
  export * from "./ServiceLineCreateStandalone";
3
4
  export * from "./ServiceLineUpdate";
4
5
  export * from "./ServiceLine";
@@ -6,8 +7,10 @@ export * from "./ServiceLineEraData";
6
7
  export * from "./ServiceLineAdjustment";
7
8
  export * from "./ServiceLineDenialReason";
8
9
  export * from "./DenialReasonContent";
10
+ export * from "./DrugIdentificationOptional";
9
11
  export * from "./DrugIdentification";
10
12
  export * from "./TestResultType";
13
+ export * from "./TestResultOptional";
11
14
  export * from "./TestResult";
12
15
  export * from "./ServiceIdQualifier";
13
16
  export * from "./MeasurementUnitCode";
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ServiceLineCreate"), exports);
18
+ __exportStar(require("./ServiceLineCreateOptional"), exports);
18
19
  __exportStar(require("./ServiceLineCreateStandalone"), exports);
19
20
  __exportStar(require("./ServiceLineUpdate"), exports);
20
21
  __exportStar(require("./ServiceLine"), exports);
@@ -22,8 +23,10 @@ __exportStar(require("./ServiceLineEraData"), exports);
22
23
  __exportStar(require("./ServiceLineAdjustment"), exports);
23
24
  __exportStar(require("./ServiceLineDenialReason"), exports);
24
25
  __exportStar(require("./DenialReasonContent"), exports);
26
+ __exportStar(require("./DrugIdentificationOptional"), exports);
25
27
  __exportStar(require("./DrugIdentification"), exports);
26
28
  __exportStar(require("./TestResultType"), exports);
29
+ __exportStar(require("./TestResultOptional"), exports);
27
30
  __exportStar(require("./TestResult"), exports);
28
31
  __exportStar(require("./ServiceIdQualifier"), exports);
29
32
  __exportStar(require("./MeasurementUnitCode"), exports);
@@ -75,7 +75,7 @@ class V1 {
75
75
  const _response = yield core.fetcher({
76
76
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/superbill/v1"),
77
77
  method: "POST",
78
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
79
79
  contentType: "application/json",
80
80
  requestType: "json",
81
81
  body: serializers.superbills.v1.CreateSuperbillRequest.jsonOrThrow(request, {
@@ -71,7 +71,7 @@ class V3 {
71
71
  const _response = yield core.fetcher({
72
72
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}/actions`),
73
73
  method: "GET",
74
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
74
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -155,7 +155,7 @@ class V3 {
155
155
  const _response = yield core.fetcher({
156
156
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/tasks/v3"),
157
157
  method: "GET",
158
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
158
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
159
159
  contentType: "application/json",
160
160
  queryParameters: _queryParams,
161
161
  requestType: "json",
@@ -207,7 +207,7 @@ class V3 {
207
207
  const _response = yield core.fetcher({
208
208
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
209
209
  method: "GET",
210
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
210
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
211
211
  contentType: "application/json",
212
212
  requestType: "json",
213
213
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -264,7 +264,7 @@ class V3 {
264
264
  const _response = yield core.fetcher({
265
265
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/tasks/v3"),
266
266
  method: "POST",
267
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
267
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
268
268
  contentType: "application/json",
269
269
  requestType: "json",
270
270
  body: serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -303,7 +303,7 @@ class V3 {
303
303
  const _response = yield core.fetcher({
304
304
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
305
305
  method: "PATCH",
306
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
306
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
307
307
  contentType: "application/json",
308
308
  requestType: "json",
309
309
  body: serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -116,7 +116,7 @@ class V1 {
116
116
  const _response = yield core.fetcher({
117
117
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/write-offs/v1"),
118
118
  method: "GET",
119
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
119
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
120
120
  contentType: "application/json",
121
121
  queryParameters: _queryParams,
122
122
  requestType: "json",
@@ -156,7 +156,7 @@ class V1 {
156
156
  const _response = yield core.fetcher({
157
157
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}`),
158
158
  method: "GET",
159
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
159
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
160
160
  contentType: "application/json",
161
161
  requestType: "json",
162
162
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -210,7 +210,7 @@ class V1 {
210
210
  const _response = yield core.fetcher({
211
211
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/write-offs/v1"),
212
212
  method: "POST",
213
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
213
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
214
214
  contentType: "application/json",
215
215
  requestType: "json",
216
216
  body: serializers.writeOffs.v1.CreateWriteOffsRequest.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).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}/revert`),
254
254
  method: "POST",
255
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.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.4.0", "User-Agent": "candidhealth/1.4.0", "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,
@@ -291,7 +291,7 @@ class V1 {
291
291
  const _response = yield core.fetcher({
292
292
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert`),
293
293
  method: "POST",
294
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
294
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
295
295
  contentType: "application/json",
296
296
  requestType: "json",
297
297
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -330,7 +330,7 @@ class V1 {
330
330
  const _response = yield core.fetcher({
331
331
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert-era-originated`),
332
332
  method: "POST",
333
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.0.0", "User-Agent": "candidhealth/1.0.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
333
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.4.0", "User-Agent": "candidhealth/1.4.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
334
334
  contentType: "application/json",
335
335
  requestType: "json",
336
336
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type InsuranceWriteOffReason = "SMALL_BALANCE" | "NO_AUTHORIZATION_REFERRAL" | "TIMELY_FILING" | "STALE_DATE" | "TIMELY_FILING_LATE_ENCOUNTER" | "CREDENTIALING_OR_CONTRACTING" | "NON_COVERED_MAX_BENEFIT" | "NOT_MEDICALLY_NECESSARY" | "BUNDLED_OR_INCLUSIVE" | "UNCOLLECTIBLE_OR_NON_BILLABLE" | "EFFORTS_EXHAUSTED" | "ADMINISTRATIVE_WRITE_OFF" | "CASE_RATE_OR_CAPITATED" | "OTHER" | "UNKNOWN" | "CONTRACTUAL_ADJUSTMENT";
4
+ export type InsuranceWriteOffReason = "SMALL_BALANCE" | "NO_AUTHORIZATION_REFERRAL" | "TIMELY_FILING" | "STALE_DATE" | "TIMELY_FILING_LATE_ENCOUNTER" | "CREDENTIALING_OR_CONTRACTING" | "NON_COVERED_MAX_BENEFIT" | "NOT_MEDICALLY_NECESSARY" | "BUNDLED_OR_INCLUSIVE" | "UNCOLLECTIBLE_OR_NON_BILLABLE" | "EFFORTS_EXHAUSTED" | "ADMINISTRATIVE_WRITE_OFF" | "CASE_RATE_OR_CAPITATED" | "OTHER" | "UNKNOWN" | "CONTRACTUAL_ADJUSTMENT" | "PRIMARY_PAID_MAX_BENEFITS";
5
5
  export declare const InsuranceWriteOffReason: {
6
6
  readonly SmallBalance: "SMALL_BALANCE";
7
7
  readonly NoAuthorizationReferral: "NO_AUTHORIZATION_REFERRAL";
@@ -19,4 +19,5 @@ export declare const InsuranceWriteOffReason: {
19
19
  readonly Other: "OTHER";
20
20
  readonly Unknown: "UNKNOWN";
21
21
  readonly ContractualAdjustment: "CONTRACTUAL_ADJUSTMENT";
22
+ readonly PrimaryPaidMaxBenefits: "PRIMARY_PAID_MAX_BENEFITS";
22
23
  };
@@ -21,4 +21,5 @@ exports.InsuranceWriteOffReason = {
21
21
  Other: "OTHER",
22
22
  Unknown: "UNKNOWN",
23
23
  ContractualAdjustment: "CONTRACTUAL_ADJUSTMENT",
24
+ PrimaryPaidMaxBenefits: "PRIMARY_PAID_MAX_BENEFITS",
24
25
  };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type PatientWriteOffReason = "SMALL_BALANCE" | "CHARITY_OR_FINANCIAL_ASSISTANCE" | "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY" | "OON_COURTESY_ADJUSTMENT" | "PROMPT_PAY_DISCOUNT" | "BAD_DEBT" | "COLLECTION_AGENCY" | "OTHER" | "UNKNOWN" | "UNCOLLECTIBLE_OR_NON_BILLABLE" | "DECEASED";
4
+ export type PatientWriteOffReason = "SMALL_BALANCE" | "CHARITY_OR_FINANCIAL_ASSISTANCE" | "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY" | "OON_COURTESY_ADJUSTMENT" | "PROMPT_PAY_DISCOUNT" | "BAD_DEBT" | "COLLECTION_AGENCY" | "OTHER" | "UNKNOWN" | "UNCOLLECTIBLE_OR_NON_BILLABLE" | "DECEASED" | "BANKRUPTCY";
5
5
  export declare const PatientWriteOffReason: {
6
6
  readonly SmallBalance: "SMALL_BALANCE";
7
7
  readonly CharityOrFinancialAssistance: "CHARITY_OR_FINANCIAL_ASSISTANCE";
@@ -14,4 +14,5 @@ export declare const PatientWriteOffReason: {
14
14
  readonly Unknown: "UNKNOWN";
15
15
  readonly UncollectibleOrNonBillable: "UNCOLLECTIBLE_OR_NON_BILLABLE";
16
16
  readonly Deceased: "DECEASED";
17
+ readonly Bankruptcy: "BANKRUPTCY";
17
18
  };
@@ -16,4 +16,5 @@ exports.PatientWriteOffReason = {
16
16
  Unknown: "UNKNOWN",
17
17
  UncollectibleOrNonBillable: "UNCOLLECTIBLE_OR_NON_BILLABLE",
18
18
  Deceased: "DECEASED",
19
+ Bankruptcy: "BANKRUPTCY",
19
20
  };
@@ -0,0 +1,166 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type PatientDischargeStatusCode =
5
+ /**
6
+ * DISCHARGED TO HOME OR SELF CARE (ROUTINE DISCHARGE) */
7
+ "01"
8
+ /**
9
+ * DISCHARGED/TRANSFERRED TO A SHORT-TERM GENERAL HOSPITAL FOR INPATIENT CARE */
10
+ | "02"
11
+ /**
12
+ * DISCHARGED/TRANSFERRED TO SKILLED NURSING FACILITY (SNF) WITH MEDICARE CERTIFICATION IN ANTICIPATION OF SKILLED CARE */
13
+ | "03"
14
+ /**
15
+ * DISCHARGED/TRANSFERRED TO A FACILITY THAT PROVIDES CUSTODIAL OR SUPPORTIVE CARE */
16
+ | "04"
17
+ /**
18
+ * DISCHARGED/TRANSFERRED TO A DESIGNATED CANCER CENTER OR CHILDREN'S HOSPITAL */
19
+ | "05"
20
+ /**
21
+ * DISCHARGED/TRANSFERRED TO HOME UNDER CARE OF AN ORGANIZED HOME HEALTH SERVICE ORGANIZATION IN ANTICIPATION OF COVERED SKILLED CARE */
22
+ | "06"
23
+ /**
24
+ * LEFT AGAINST MEDICAL ADVICE OR DISCONTINUED CARE */
25
+ | "07"
26
+ /**
27
+ * ADMITTED AS AN INPATIENT TO THIS HOSPITAL */
28
+ | "09"
29
+ /**
30
+ * EXPIRED(A) */
31
+ | "20"
32
+ /**
33
+ * DISCHARGED/TRANSFERRED TO COURT/LAW ENFORCEMENT */
34
+ | "21"
35
+ /**
36
+ * STILL PATIENT */
37
+ | "30"
38
+ /**
39
+ * EXPIRED AT HOME(A) */
40
+ | "40"
41
+ /**
42
+ * EXPIRED IN A MEDICAL FACILITY A) (E.G. HOSPITAL, SNF, ICF, OR FREE STANDING HOSPICE) */
43
+ | "41"
44
+ /**
45
+ * EXPIRED - PLACE UNKNOWN A) */
46
+ | "42"
47
+ /**
48
+ * DISCHARGED/TRANSFERRED TO A FEDERAL HEALTH CARE FACILITY */
49
+ | "43"
50
+ /**
51
+ * HOSPICE - HOME */
52
+ | "50"
53
+ /**
54
+ * HOSPICE - MEDICAL FACILITY (CERTIFIED) PROVIDING HOSPICE LEVEL OF CARE */
55
+ | "51"
56
+ /**
57
+ * DISCHARGED/TRANSFERRED TO A HOSPITAL-BASED MEDICARE APPROVED SWING BED */
58
+ | "61"
59
+ /**
60
+ * DISCHARGED/TRANSFERRED TO AN INPATIENT REHABILITATION FACILITY (IRF) INCLUDING REHABILITATION DISTINCT PART UNITS OF A HOSPITAL */
61
+ | "62"
62
+ /**
63
+ * DISCHARGED/TRANSFERRED TO A MEDICARE CERTIFIED LONG TERM CARE HOSPITAL (LTCH) */
64
+ | "63"
65
+ /**
66
+ * DISCHARGED/TRANSFERRED TO A NURSING FACILITY CERTIFIED UNDER MEDICAID BUT NOT CERTIFIED UNDER MEDICARE */
67
+ | "64"
68
+ /**
69
+ * DISCHARGED/TRANSFERRED TO A PSYCHIATRIC HOSPITAL OR PSYCHIATRIC DISTINCT PART UNIT OF A HOSPITAL */
70
+ | "65"
71
+ /**
72
+ * DISCHARGED/TRANSFERRED TO A CRITICAL ACCESS HOSPITAL (CAH) */
73
+ | "66"
74
+ /**
75
+ * DISCHARGED/TRANSFERRED TO A DESIGNATED DISASTER ALTERNATE CARE SITE (EFFECTIVE 10/1/13) */
76
+ | "69"
77
+ /**
78
+ * DISCHARGED/TRANSFERRED TO ANOTHER TYPE OF HEALTH CARE INSTITUTION NOT DEFINED ELSEWHERE IN THIS CODE LIST */
79
+ | "70"
80
+ /**
81
+ * DISCHARGED TO HOME OR SELF CARE WITH A PLANNED ACUTE CARE HOSPITAL INPATIENT READMISSION (EFFECTIVE 10/1/13) */
82
+ | "81"
83
+ /**
84
+ * DISCHARGED/TRANSFERRED TO A SHORT TERM GENERAL HOSPITAL FOR INPATIENT CARE WITH A PLANNED ACUTE CARE HOSPITAL INPATIENT READMISSION (EFFECTIVE 10/1/13) */
85
+ | "82"
86
+ /**
87
+ * DISCHARGED/TRANSFERRED TO A SKILLED NURSING FACILITY (SNF) WITH MEDICARE CERTIFICATION WITH A PLANNED ACUTE CARE HOSPITAL INPATIENT READMISSION (EFFECTIVE 10/1/13) */
88
+ | "83"
89
+ /**
90
+ * DISCHARGED/TRANSFERRED TO A FACILITY THAT PROVIDES CUSTODIAL OR SUPPORTIVE CARE WITH A PLANNED ACUTE CARE HOSPITAL INPATIENT READMISSION (EFFECTIVE 10/1/13) */
91
+ | "84"
92
+ /**
93
+ * DISCHARGED/TRANSFERRED TO A DESIGNATED CANCER CENTER OR CHILDREN'S HOSPITAL WITH A PLANNED ACUTE CARE HOSPITAL INPATIENT READMISSION (EFFECTIVE 10/1/13) */
94
+ | "85"
95
+ /**
96
+ * DISCHARGED/TRANSFERRED TO HOME UNDER CARE OF ORGANIZED HOME HEALTH SERVICE ORGANIZATION IN ANTICIPATION OF COVERED SKILLED CARE WITH A PLANNED ACUTE CARE HOSPITAL INPATIENT READMISSION (EFFECTIVE 10/1/13) */
97
+ | "86"
98
+ /**
99
+ * DISCHARGED/TRANSFERRED TO COURT/LAW ENFORCEMENT WITH A PLANNED ACUTE CARE HOSPITAL INPATIENT READMISSION (EFFECTIVE 10/1/13) */
100
+ | "87"
101
+ /**
102
+ * DISCHARGED/TRANSFERRED TO A FEDERAL HEALTH CARE FACILITY WITH A PLANNED ACUTE CARE HOSPITAL INPATIENT READMISSION (EFFECTIVE 10/1/13) */
103
+ | "88"
104
+ /**
105
+ * DISCHARGED/TRANSFERRED TO A HOSPITAL-BASED MEDICARE APPROVED SWING BED WITH A PLANNED ACUTE CARE HOSPITAL INPATIENT READMISSION (EFFECTIVE 10/1/13) */
106
+ | "89"
107
+ /**
108
+ * DISCHARGED/TRANSFERRED TO AN INPATIENT REHABILITATION FACILITY (IRF) INCLUDING REHABILITATION DISTINCT PART UNITS OF A HOSPITAL WITH A PLANNED ACUTE CARE HOSPITAL INPATIENT READMISSION (EFFECTIVE 10/1/13) */
109
+ | "90"
110
+ /**
111
+ * DISCHARGED/TRANSFERRED TO A MEDICARE CERTIFIED LONG TERM CARE HOSPITAL (LTCH) WITH A PLANNED ACUTE CARE HOSPITAL INPATIENT READMISSION (EFFECTIVE 10/1/13) */
112
+ | "91"
113
+ /**
114
+ * DISCHARGED/TRANSFERRED TO A NURSING FACILITY CERTIFIED UNDER MEDICAID BUT NOT CERTIFIED UNDER MEDICARE WITH A PLANNED ACUTE CARE HOSPITAL INPATIENT READMISSION (EFFECTIVE 10/1/13) */
115
+ | "92"
116
+ /**
117
+ * DISCHARGED/TRANSFERRED TO A PSYCHIATRIC HOSPITAL OR PSYCHIATRIC DISTINCT PART UNIT OF A HOSPITAL WITH A PLANNED ACUTE CARE HOSPITAL INPATIENT READMISSION (EFFECTIVE 10/1/13) */
118
+ | "93"
119
+ /**
120
+ * DISCHARGED/TRANSFERRED TO A CRITICAL ACCESS HOSPITAL (CAH) WITH A PLANNED ACUTE CARE HOSPITAL INPATIENT READMISSION (EFFECTIVE 10/1/13) */
121
+ | "94"
122
+ /**
123
+ * DISCHARGED/TRANSFERRED TO ANOTHER TYPE OF HEALTH CARE INSTITUTION NOT DEFINED ELSEWHERE IN THIS CODE LIST WITH A PLANNED ACUTE CARE HOSPITAL INPATIENT READMISSION (EFFECTIVE 10/1/13) */
124
+ | "95";
125
+ export declare const PatientDischargeStatusCode: {
126
+ readonly C01: "01";
127
+ readonly C02: "02";
128
+ readonly C03: "03";
129
+ readonly C04: "04";
130
+ readonly C05: "05";
131
+ readonly C06: "06";
132
+ readonly C07: "07";
133
+ readonly C09: "09";
134
+ readonly C20: "20";
135
+ readonly C21: "21";
136
+ readonly C30: "30";
137
+ readonly C40: "40";
138
+ readonly C41: "41";
139
+ readonly C42: "42";
140
+ readonly C43: "43";
141
+ readonly C50: "50";
142
+ readonly C51: "51";
143
+ readonly C61: "61";
144
+ readonly C62: "62";
145
+ readonly C63: "63";
146
+ readonly C64: "64";
147
+ readonly C65: "65";
148
+ readonly C66: "66";
149
+ readonly C69: "69";
150
+ readonly C70: "70";
151
+ readonly C81: "81";
152
+ readonly C82: "82";
153
+ readonly C83: "83";
154
+ readonly C84: "84";
155
+ readonly C85: "85";
156
+ readonly C86: "86";
157
+ readonly C87: "87";
158
+ readonly C88: "88";
159
+ readonly C89: "89";
160
+ readonly C90: "90";
161
+ readonly C91: "91";
162
+ readonly C92: "92";
163
+ readonly C93: "93";
164
+ readonly C94: "94";
165
+ readonly C95: "95";
166
+ };
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PatientDischargeStatusCode = void 0;
7
+ exports.PatientDischargeStatusCode = {
8
+ C01: "01",
9
+ C02: "02",
10
+ C03: "03",
11
+ C04: "04",
12
+ C05: "05",
13
+ C06: "06",
14
+ C07: "07",
15
+ C09: "09",
16
+ C20: "20",
17
+ C21: "21",
18
+ C30: "30",
19
+ C40: "40",
20
+ C41: "41",
21
+ C42: "42",
22
+ C43: "43",
23
+ C50: "50",
24
+ C51: "51",
25
+ C61: "61",
26
+ C62: "62",
27
+ C63: "63",
28
+ C64: "64",
29
+ C65: "65",
30
+ C66: "66",
31
+ C69: "69",
32
+ C70: "70",
33
+ C81: "81",
34
+ C82: "82",
35
+ C83: "83",
36
+ C84: "84",
37
+ C85: "85",
38
+ C86: "86",
39
+ C87: "87",
40
+ C88: "88",
41
+ C89: "89",
42
+ C90: "90",
43
+ C91: "91",
44
+ C92: "92",
45
+ C93: "93",
46
+ C94: "94",
47
+ C95: "95",
48
+ };
@@ -0,0 +1,50 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type PointOfOriginForAdmissionOrVisitCode =
5
+ /**
6
+ * NON-HEALTH CARE FACILITY POINT OF ORIGIN - Inpatient: The patient was admitted to this facility. Outpatient: The patient presented for outpatient services. Examples: Includes patients coming from home or workplace and patients receiving care at home (such as home health services). */
7
+ "1"
8
+ /**
9
+ * CLINIC OR PHYSICIAN'S OFFICE - Inpatient: The patient was admitted to this facility. Outpatient: The patient presented to this facility for outpatient services. */
10
+ | "2"
11
+ /**
12
+ * TRANSFER FROM A HOSPITAL (DIFFERENT FACILITY) - Inpatient: The patient was admitted to this facility as a hospital transfer from an acute care facility where he or she was an inpatient or outpatient. Outpatient: The patient was transferred to this facility as an outpatient from an acute care facility. Excludes Transfers from Hospital Inpatient in the Same Facility (See Code D). */
13
+ | "4"
14
+ /**
15
+ * TRANSFER FROM A SKILLED NURSING FACILITY (SNF), ASSISTED LIVING FACILITY (ALF), INTERMEDIATE CARE FACILITY (ICF) OR OTHER NURSING FACILITY (NF). - Inpatient: The patient was admitted to this facility as a transfer from a SNF, ALF, ICF or other NF where he or she was a resident. Outpatient: The patient presented to this facility for outpatient or referenced diagnostic services from a SNF, ALF, ICF or other NF where he or she was a resident. */
16
+ | "5"
17
+ /**
18
+ * TRANSFER FROM ANOTHER HEALTH CARE FACILITY - Inpatient: The patient was admitted to this facility as a transfer from another type of health care facility not defined elsewhere in this code list. Outpatient: The patient presented to this facility for services from another health care facility not defined elsewhere in this code list. */
19
+ | "6"
20
+ /**
21
+ * COURT/LAW ENFORCEMENT - Inpatient: The patient was admitted to this facility upon the direction of a court of law, or upon the request of a law enforcement agency representative. Outpatient: The patient presented to this facility upon the direction of a court of law, or upon the request of a law enforcement agency representative for outpatient or referenced diagnostic services. Usage Note: Includes transfers from incarceration facilities. */
22
+ | "8"
23
+ /**
24
+ * INFORMATION NOT AVAILABLE - Inpatient: The patient's Point of Origin is not known. Outpatient: The patient's Point of Origin is not known. */
25
+ | "9"
26
+ /**
27
+ * TRANSFER FROM ONE DISTINCT UNIT OF THE HOSPITAL TO ANOTHER DISTINCT UNIT OF THE SAME HOSPITAL RESULTING IN A SEPARATE CLAIM TO THE PAYER - Inpatient: The patient was admitted to this facility as a transfer from hospital inpatient within this hospital resulting in a separate claim to the payer. Outpatient: The patient received outpatient services in this facility as a transfer from within this hospital resulting in a separate claim to the payer. Usage Note: For purposes of this code, "Distinct Unit" is defined as a unique unit or level of care at the hospital requiring the issuance of a separate claim to the payer. Examples could include observation services, psychiatric units, rehabilitation units, a unit in a critical access hospital, or a swing bed located in an acute hospital. */
28
+ | "D"
29
+ /**
30
+ * TRANSFER FROM AMBULATORY SURGERY CENTER - Inpatient: The patient was admitted to this facility as a transfer from an ambulatory surgery center. Outpatient: The patient presented to this facility for outpatient or referenced diagnostic services from an ambulatory surgery center. */
31
+ | "E"
32
+ /**
33
+ * TRANSFER FROM A HOSPICE FACILITY - Inpatient: The patient was admitted to this facility as a transfer from a hospice facility. Outpatient: The patient presented to this facility for outpatient or referenced diagnostic services from a hospice facility. */
34
+ | "F"
35
+ /**
36
+ * TRANSFER FROM A DESIGNATED DISASTER ALTERNATE CARE SITE (EFFECTIVE 7/1/20) - The patient was transferred to this facility from a Designated Disaster Alternate Care Site for inpatient or outpatient services. */
37
+ | "G";
38
+ export declare const PointOfOriginForAdmissionOrVisitCode: {
39
+ readonly C1: "1";
40
+ readonly C2: "2";
41
+ readonly C4: "4";
42
+ readonly C5: "5";
43
+ readonly C6: "6";
44
+ readonly C8: "8";
45
+ readonly C9: "9";
46
+ readonly Cd: "D";
47
+ readonly Ce: "E";
48
+ readonly Cf: "F";
49
+ readonly Cg: "G";
50
+ };
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PointOfOriginForAdmissionOrVisitCode = void 0;
7
+ exports.PointOfOriginForAdmissionOrVisitCode = {
8
+ C1: "1",
9
+ C2: "2",
10
+ C4: "4",
11
+ C5: "5",
12
+ C6: "6",
13
+ C8: "8",
14
+ C9: "9",
15
+ Cd: "D",
16
+ Ce: "E",
17
+ Cf: "F",
18
+ Cg: "G",
19
+ };
@@ -0,0 +1,30 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type TypeOfAdmissionOrVisitCode =
5
+ /**
6
+ * EMERGENCY - As a result of severe, life threatening or potentially disabling conditions, the patient requires immediate medical intervention. */
7
+ "1"
8
+ /**
9
+ * URGENT - The patient requires immediate attention for the care and treatment of a physical or mental disorder. */
10
+ | "2"
11
+ /**
12
+ * ELECTIVE - The patient's condition permits adequate time to schedule the services. */
13
+ | "3"
14
+ /**
15
+ * NEWBORN - Use of this code necessitates the use of special Point of Origin Codes (See Form Locator 15 page 5 of 9). */
16
+ | "4"
17
+ /**
18
+ * TRAUMA - Visit to a trauma center/hospital as licensed or designated by the state or local government authority authorized to do so, or as verified by the American College of Surgeons and involving a trauma activation. (Use Revenue Code 068x capture trauma activation charges involving pre-hospital notification.) */
19
+ | "5"
20
+ /**
21
+ * INFORMATION NOT AVAILABLE - Information not available. */
22
+ | "9";
23
+ export declare const TypeOfAdmissionOrVisitCode: {
24
+ readonly C1: "1";
25
+ readonly C2: "2";
26
+ readonly C3: "3";
27
+ readonly C4: "4";
28
+ readonly C5: "5";
29
+ readonly C9: "9";
30
+ };