candidhealth 1.7.0 → 1.8.1

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