candidhealth 0.39.10 → 0.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (618) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  3. package/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  4. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  5. package/api/resources/claims/types/Claim.d.ts +3 -0
  6. package/api/resources/clinicalTrials/index.d.ts +1 -0
  7. package/api/resources/clinicalTrials/index.js +17 -0
  8. package/api/resources/clinicalTrials/resources/index.d.ts +1 -0
  9. package/api/resources/clinicalTrials/resources/index.js +37 -0
  10. package/api/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  11. package/api/resources/clinicalTrials/resources/v1/index.js +17 -0
  12. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +9 -0
  13. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +5 -0
  14. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +9 -0
  15. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +11 -0
  16. package/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +10 -0
  17. package/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +5 -0
  18. package/api/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  19. package/api/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  20. package/api/resources/commons/types/AdjustmentId.d.ts +8 -0
  21. package/api/resources/commons/types/AdjustmentId.js +9 -0
  22. package/api/resources/commons/types/ClinicalTrialId.d.ts +8 -0
  23. package/api/resources/commons/types/ClinicalTrialId.js +9 -0
  24. package/api/resources/commons/types/ProcedureModifier.d.ts +16 -0
  25. package/api/resources/commons/types/ProcedureModifier.js +4 -0
  26. package/api/resources/commons/types/index.d.ts +2 -0
  27. package/api/resources/commons/types/index.js +2 -0
  28. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  29. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  30. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  31. package/api/resources/diagnoses/client/Client.js +3 -3
  32. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  33. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  34. package/api/resources/encounters/resources/v4/client/Client.d.ts +8 -1
  35. package/api/resources/encounters/resources/v4/client/Client.js +13 -6
  36. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +13 -1
  37. package/api/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +9 -0
  38. package/api/resources/encounters/resources/v4/types/ClaimSupplementalInformation.js +5 -0
  39. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -4
  40. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
  41. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +11 -4
  42. package/api/resources/encounters/resources/v4/types/ReportTransmissionCode.d.ts +14 -0
  43. package/api/resources/encounters/resources/v4/types/ReportTransmissionCode.js +10 -0
  44. package/api/resources/encounters/resources/v4/types/ReportTypeCode.d.ts +250 -0
  45. package/api/resources/encounters/resources/v4/types/ReportTypeCode.js +69 -0
  46. package/api/resources/encounters/resources/v4/types/index.d.ts +3 -0
  47. package/api/resources/encounters/resources/v4/types/index.js +3 -0
  48. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  49. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  50. package/api/resources/exports/resources/v3/client/Client.d.ts +3 -0
  51. package/api/resources/exports/resources/v3/client/Client.js +4 -1
  52. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  53. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  54. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  55. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  56. package/api/resources/index.d.ts +1 -0
  57. package/api/resources/index.js +2 -1
  58. package/api/resources/individual/types/Patient.d.ts +6 -3
  59. package/api/resources/individual/types/PatientClinicalTrialInfo.d.ts +8 -0
  60. package/api/resources/individual/types/PatientClinicalTrialInfo.js +5 -0
  61. package/api/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +8 -0
  62. package/api/resources/individual/types/PatientClinicalTrialInfoCreate.js +5 -0
  63. package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +6 -2
  64. package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +1 -0
  65. package/api/resources/individual/types/index.d.ts +2 -0
  66. package/api/resources/individual/types/index.js +2 -0
  67. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  68. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  69. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  70. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  71. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  72. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  73. package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +6 -1
  74. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +12 -7
  75. package/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  76. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +3 -1
  77. package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +4 -1
  78. package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  79. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  80. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  81. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  82. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  83. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  84. package/api/resources/preEncounter/client/Client.d.ts +3 -0
  85. package/api/resources/preEncounter/client/Client.js +13 -8
  86. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +4 -2
  87. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +11 -9
  88. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +9 -0
  89. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +5 -0
  90. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +11 -0
  91. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +9 -0
  92. package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  93. package/api/resources/preEncounter/resources/common/types/HumanName.d.ts +1 -0
  94. package/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  95. package/api/resources/preEncounter/resources/common/types/index.js +2 -0
  96. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +4 -2
  97. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +13 -11
  98. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  99. package/api/resources/preEncounter/resources/images/client/Client.d.ts +30 -0
  100. package/api/resources/preEncounter/resources/images/client/Client.js +17 -0
  101. package/api/resources/preEncounter/resources/images/client/index.d.ts +1 -0
  102. package/api/resources/preEncounter/resources/images/client/index.js +2 -0
  103. package/api/resources/preEncounter/resources/images/index.d.ts +2 -0
  104. package/api/resources/preEncounter/resources/images/index.js +18 -0
  105. package/api/resources/preEncounter/resources/images/resources/index.d.ts +1 -0
  106. package/api/resources/preEncounter/resources/images/resources/index.js +37 -0
  107. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +111 -0
  108. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +366 -0
  109. package/api/resources/preEncounter/resources/images/resources/v1/client/create.d.ts +28 -0
  110. package/api/resources/preEncounter/resources/images/resources/v1/client/create.js +68 -0
  111. package/api/resources/preEncounter/resources/images/resources/v1/client/deactivate.d.ts +34 -0
  112. package/api/resources/preEncounter/resources/images/resources/v1/client/deactivate.js +79 -0
  113. package/api/resources/preEncounter/resources/images/resources/v1/client/get.d.ts +28 -0
  114. package/api/resources/preEncounter/resources/images/resources/v1/client/get.js +68 -0
  115. package/api/resources/preEncounter/resources/images/resources/v1/client/getMulti.d.ts +22 -0
  116. package/api/resources/preEncounter/resources/images/resources/v1/client/getMulti.js +57 -0
  117. package/api/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +6 -0
  118. package/api/resources/preEncounter/resources/images/resources/v1/client/index.js +45 -0
  119. package/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +14 -0
  120. package/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.js +5 -0
  121. package/api/resources/preEncounter/resources/images/resources/v1/client/requests/index.d.ts +1 -0
  122. package/api/resources/preEncounter/resources/images/resources/v1/client/requests/index.js +2 -0
  123. package/api/resources/preEncounter/resources/images/resources/v1/client/update.d.ts +34 -0
  124. package/api/resources/preEncounter/resources/images/resources/v1/client/update.js +79 -0
  125. package/api/resources/preEncounter/resources/images/resources/v1/index.d.ts +2 -0
  126. package/api/resources/preEncounter/resources/images/resources/v1/index.js +18 -0
  127. package/api/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.d.ts +11 -0
  128. package/api/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.js +5 -0
  129. package/api/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.d.ts +8 -0
  130. package/api/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.js +10 -0
  131. package/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +12 -0
  132. package/api/resources/preEncounter/resources/images/resources/v1/types/Image.js +5 -0
  133. package/api/resources/preEncounter/resources/images/resources/v1/types/ImageId.d.ts +11 -0
  134. package/api/resources/preEncounter/resources/images/resources/v1/types/ImageId.js +9 -0
  135. package/api/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.d.ts +9 -0
  136. package/api/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.js +11 -0
  137. package/api/resources/preEncounter/resources/images/resources/v1/types/MutableImage.d.ts +15 -0
  138. package/api/resources/preEncounter/resources/images/resources/v1/types/MutableImage.js +5 -0
  139. package/api/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.d.ts +11 -0
  140. package/api/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.js +5 -0
  141. package/api/resources/preEncounter/resources/images/resources/v1/types/index.d.ts +7 -0
  142. package/api/resources/preEncounter/resources/images/resources/v1/types/index.js +23 -0
  143. package/api/resources/preEncounter/resources/index.d.ts +1 -0
  144. package/api/resources/preEncounter/resources/index.js +2 -1
  145. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  146. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  147. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +51 -18
  148. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +94 -28
  149. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  150. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  151. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +13 -6
  152. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +13 -6
  153. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +12 -0
  154. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.js +5 -0
  155. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
  156. package/api/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.d.ts +22 -0
  157. package/api/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.js +57 -0
  158. package/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +2 -0
  159. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  160. package/api/resources/serviceFacility/client/Client.js +1 -1
  161. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  162. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -1
  163. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +4 -1
  164. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +4 -1
  165. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +3 -3
  166. package/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +2 -1
  167. package/api/resources/serviceLines/resources/v2/types/TestResultType.js +1 -0
  168. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  169. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +20 -0
  170. package/api/resources/writeOffs/resources/v1/client/Client.js +82 -4
  171. package/api/resources/writeOffs/resources/v1/client/index.d.ts +2 -0
  172. package/api/resources/writeOffs/resources/v1/client/index.js +3 -1
  173. package/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.d.ts +22 -0
  174. package/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.js +57 -0
  175. package/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.d.ts +22 -0
  176. package/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.js +57 -0
  177. package/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.d.ts +15 -0
  178. package/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.js +5 -0
  179. package/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.d.ts +12 -0
  180. package/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.js +5 -0
  181. package/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +4 -1
  182. package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +4 -1
  183. package/api/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
  184. package/api/resources/writeOffs/resources/v1/types/index.js +2 -0
  185. package/api/resources/x12/resources/v1/types/Rarc.d.ts +115 -1
  186. package/api/resources/x12/resources/v1/types/Rarc.js +114 -0
  187. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  188. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  189. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  190. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  191. package/dist/api/resources/claims/types/Claim.d.ts +3 -0
  192. package/dist/api/resources/clinicalTrials/index.d.ts +1 -0
  193. package/dist/api/resources/clinicalTrials/index.js +17 -0
  194. package/dist/api/resources/clinicalTrials/resources/index.d.ts +1 -0
  195. package/dist/api/resources/clinicalTrials/resources/index.js +37 -0
  196. package/dist/api/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  197. package/dist/api/resources/clinicalTrials/resources/v1/index.js +17 -0
  198. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +9 -0
  199. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +5 -0
  200. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +9 -0
  201. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +11 -0
  202. package/dist/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +10 -0
  203. package/dist/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +5 -0
  204. package/dist/api/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  205. package/dist/api/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  206. package/dist/api/resources/commons/types/AdjustmentId.d.ts +8 -0
  207. package/dist/api/resources/commons/types/AdjustmentId.js +9 -0
  208. package/dist/api/resources/commons/types/ClinicalTrialId.d.ts +8 -0
  209. package/dist/api/resources/commons/types/ClinicalTrialId.js +9 -0
  210. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +16 -0
  211. package/dist/api/resources/commons/types/ProcedureModifier.js +4 -0
  212. package/dist/api/resources/commons/types/index.d.ts +2 -0
  213. package/dist/api/resources/commons/types/index.js +2 -0
  214. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  215. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  216. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  217. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  218. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  219. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  220. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +8 -1
  221. package/dist/api/resources/encounters/resources/v4/client/Client.js +13 -6
  222. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +13 -1
  223. package/dist/api/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +9 -0
  224. package/dist/api/resources/encounters/resources/v4/types/ClaimSupplementalInformation.js +5 -0
  225. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -4
  226. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
  227. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +11 -4
  228. package/dist/api/resources/encounters/resources/v4/types/ReportTransmissionCode.d.ts +14 -0
  229. package/dist/api/resources/encounters/resources/v4/types/ReportTransmissionCode.js +10 -0
  230. package/dist/api/resources/encounters/resources/v4/types/ReportTypeCode.d.ts +250 -0
  231. package/dist/api/resources/encounters/resources/v4/types/ReportTypeCode.js +69 -0
  232. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +3 -0
  233. package/dist/api/resources/encounters/resources/v4/types/index.js +3 -0
  234. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  235. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  236. package/dist/api/resources/exports/resources/v3/client/Client.d.ts +3 -0
  237. package/dist/api/resources/exports/resources/v3/client/Client.js +4 -1
  238. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  239. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  240. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  241. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  242. package/dist/api/resources/index.d.ts +1 -0
  243. package/dist/api/resources/index.js +2 -1
  244. package/dist/api/resources/individual/types/Patient.d.ts +6 -3
  245. package/dist/api/resources/individual/types/PatientClinicalTrialInfo.d.ts +8 -0
  246. package/dist/api/resources/individual/types/PatientClinicalTrialInfo.js +5 -0
  247. package/dist/api/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +8 -0
  248. package/dist/api/resources/individual/types/PatientClinicalTrialInfoCreate.js +5 -0
  249. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +6 -2
  250. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +1 -0
  251. package/dist/api/resources/individual/types/index.d.ts +2 -0
  252. package/dist/api/resources/individual/types/index.js +2 -0
  253. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  254. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  255. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  256. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  257. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  258. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  259. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +6 -1
  260. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +12 -7
  261. package/dist/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  262. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +3 -1
  263. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +4 -1
  264. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  265. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  266. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  267. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  268. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  269. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  270. package/dist/api/resources/preEncounter/client/Client.d.ts +3 -0
  271. package/dist/api/resources/preEncounter/client/Client.js +13 -8
  272. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +4 -2
  273. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +11 -9
  274. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +9 -0
  275. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +5 -0
  276. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +11 -0
  277. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +9 -0
  278. package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  279. package/dist/api/resources/preEncounter/resources/common/types/HumanName.d.ts +1 -0
  280. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  281. package/dist/api/resources/preEncounter/resources/common/types/index.js +2 -0
  282. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +4 -2
  283. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +13 -11
  284. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  285. package/dist/api/resources/preEncounter/resources/images/client/Client.d.ts +30 -0
  286. package/dist/api/resources/preEncounter/resources/images/client/Client.js +17 -0
  287. package/dist/api/resources/preEncounter/resources/images/client/index.d.ts +1 -0
  288. package/dist/api/resources/preEncounter/resources/images/client/index.js +2 -0
  289. package/dist/api/resources/preEncounter/resources/images/index.d.ts +2 -0
  290. package/dist/api/resources/preEncounter/resources/images/index.js +18 -0
  291. package/dist/api/resources/preEncounter/resources/images/resources/index.d.ts +1 -0
  292. package/dist/api/resources/preEncounter/resources/images/resources/index.js +37 -0
  293. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +111 -0
  294. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +366 -0
  295. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/create.d.ts +28 -0
  296. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/create.js +68 -0
  297. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/deactivate.d.ts +34 -0
  298. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/deactivate.js +79 -0
  299. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/get.d.ts +28 -0
  300. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/get.js +68 -0
  301. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/getMulti.d.ts +22 -0
  302. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/getMulti.js +57 -0
  303. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +6 -0
  304. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/index.js +45 -0
  305. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +14 -0
  306. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.js +5 -0
  307. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/index.d.ts +1 -0
  308. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/index.js +2 -0
  309. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/update.d.ts +34 -0
  310. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/update.js +79 -0
  311. package/dist/api/resources/preEncounter/resources/images/resources/v1/index.d.ts +2 -0
  312. package/dist/api/resources/preEncounter/resources/images/resources/v1/index.js +18 -0
  313. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.d.ts +11 -0
  314. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.js +5 -0
  315. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.d.ts +8 -0
  316. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.js +10 -0
  317. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +12 -0
  318. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/Image.js +5 -0
  319. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/ImageId.d.ts +11 -0
  320. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/ImageId.js +9 -0
  321. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.d.ts +9 -0
  322. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.js +11 -0
  323. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/MutableImage.d.ts +15 -0
  324. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/MutableImage.js +5 -0
  325. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.d.ts +11 -0
  326. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.js +5 -0
  327. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/index.d.ts +7 -0
  328. package/dist/api/resources/preEncounter/resources/images/resources/v1/types/index.js +23 -0
  329. package/dist/api/resources/preEncounter/resources/index.d.ts +1 -0
  330. package/dist/api/resources/preEncounter/resources/index.js +2 -1
  331. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  332. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  333. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +51 -18
  334. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +94 -28
  335. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  336. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  337. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +13 -6
  338. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +13 -6
  339. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +12 -0
  340. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.js +5 -0
  341. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
  342. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.d.ts +22 -0
  343. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.js +57 -0
  344. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +2 -0
  345. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  346. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  347. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  348. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -1
  349. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +4 -1
  350. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +4 -1
  351. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +3 -3
  352. package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +2 -1
  353. package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.js +1 -0
  354. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  355. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +20 -0
  356. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +82 -4
  357. package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +2 -0
  358. package/dist/api/resources/writeOffs/resources/v1/client/index.js +3 -1
  359. package/dist/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.d.ts +22 -0
  360. package/dist/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.js +57 -0
  361. package/dist/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.d.ts +22 -0
  362. package/dist/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.js +57 -0
  363. package/dist/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.d.ts +15 -0
  364. package/dist/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.js +5 -0
  365. package/dist/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.d.ts +12 -0
  366. package/dist/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.js +5 -0
  367. package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +4 -1
  368. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +4 -1
  369. package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
  370. package/dist/api/resources/writeOffs/resources/v1/types/index.js +2 -0
  371. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +115 -1
  372. package/dist/api/resources/x12/resources/v1/types/Rarc.js +114 -0
  373. package/dist/serialization/resources/clinicalTrials/index.d.ts +1 -0
  374. package/dist/serialization/resources/clinicalTrials/index.js +17 -0
  375. package/dist/serialization/resources/clinicalTrials/resources/index.d.ts +1 -0
  376. package/dist/serialization/resources/clinicalTrials/resources/index.js +37 -0
  377. package/dist/serialization/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  378. package/dist/serialization/resources/clinicalTrials/resources/v1/index.js +17 -0
  379. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +17 -0
  380. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +50 -0
  381. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +10 -0
  382. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +41 -0
  383. package/dist/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +15 -0
  384. package/dist/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +46 -0
  385. package/dist/serialization/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  386. package/dist/serialization/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  387. package/dist/serialization/resources/commons/types/AdjustmentId.d.ts +10 -0
  388. package/dist/serialization/resources/commons/types/AdjustmentId.js +45 -0
  389. package/dist/serialization/resources/commons/types/ClinicalTrialId.d.ts +10 -0
  390. package/dist/serialization/resources/commons/types/ClinicalTrialId.js +45 -0
  391. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  392. package/dist/serialization/resources/commons/types/ProcedureModifier.js +4 -0
  393. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  394. package/dist/serialization/resources/commons/types/index.js +2 -0
  395. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
  396. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
  397. package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +16 -0
  398. package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.js +47 -0
  399. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -0
  400. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -0
  401. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
  402. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +2 -0
  403. package/dist/serialization/resources/encounters/resources/v4/types/ReportTransmissionCode.d.ts +10 -0
  404. package/dist/serialization/resources/encounters/resources/v4/types/ReportTransmissionCode.js +41 -0
  405. package/dist/serialization/resources/encounters/resources/v4/types/ReportTypeCode.d.ts +10 -0
  406. package/dist/serialization/resources/encounters/resources/v4/types/ReportTypeCode.js +103 -0
  407. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +3 -0
  408. package/dist/serialization/resources/encounters/resources/v4/types/index.js +3 -0
  409. package/dist/serialization/resources/index.d.ts +1 -0
  410. package/dist/serialization/resources/index.js +2 -1
  411. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfo.d.ts +14 -0
  412. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfo.js +45 -0
  413. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +14 -0
  414. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.js +45 -0
  415. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +2 -0
  416. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +2 -0
  417. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +2 -0
  418. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +2 -0
  419. package/dist/serialization/resources/individual/types/index.d.ts +2 -0
  420. package/dist/serialization/resources/individual/types/index.js +2 -0
  421. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  422. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
  423. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  424. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  425. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  426. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  427. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +16 -0
  428. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +47 -0
  429. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +10 -0
  430. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +45 -0
  431. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  432. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +2 -0
  433. package/dist/serialization/resources/preEncounter/resources/common/types/HumanName.d.ts +1 -0
  434. package/dist/serialization/resources/preEncounter/resources/common/types/HumanName.js +1 -0
  435. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  436. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  437. package/dist/serialization/resources/preEncounter/resources/images/index.d.ts +1 -0
  438. package/dist/serialization/resources/preEncounter/resources/images/index.js +17 -0
  439. package/dist/serialization/resources/preEncounter/resources/images/resources/index.d.ts +1 -0
  440. package/dist/serialization/resources/preEncounter/resources/images/resources/index.js +37 -0
  441. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/create.d.ts +15 -0
  442. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/create.js +71 -0
  443. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/deactivate.d.ts +20 -0
  444. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/deactivate.js +77 -0
  445. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/get.d.ts +15 -0
  446. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/get.js +71 -0
  447. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/getMulti.d.ts +11 -0
  448. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/getMulti.js +42 -0
  449. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +5 -0
  450. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/index.js +41 -0
  451. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/update.d.ts +20 -0
  452. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/update.js +77 -0
  453. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/index.d.ts +2 -0
  454. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/index.js +18 -0
  455. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.d.ts +15 -0
  456. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.js +46 -0
  457. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.d.ts +10 -0
  458. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.js +41 -0
  459. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +16 -0
  460. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/Image.js +50 -0
  461. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageId.d.ts +10 -0
  462. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageId.js +45 -0
  463. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.d.ts +10 -0
  464. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.js +41 -0
  465. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/MutableImage.d.ts +20 -0
  466. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/MutableImage.js +51 -0
  467. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.d.ts +14 -0
  468. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.js +45 -0
  469. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/index.d.ts +7 -0
  470. package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/index.js +23 -0
  471. package/dist/serialization/resources/preEncounter/resources/index.d.ts +1 -0
  472. package/dist/serialization/resources/preEncounter/resources/index.js +2 -1
  473. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  474. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  475. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.d.ts +11 -0
  476. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.js +42 -0
  477. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +1 -0
  478. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js +1 -0
  479. package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +1 -1
  480. package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +1 -1
  481. package/dist/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.d.ts +24 -0
  482. package/dist/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.js +55 -0
  483. package/dist/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.d.ts +20 -0
  484. package/dist/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.js +51 -0
  485. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +5 -1
  486. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -0
  487. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +5 -1
  488. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -0
  489. package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
  490. package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +2 -0
  491. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  492. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +114 -0
  493. package/dist/version.d.ts +1 -1
  494. package/dist/version.js +1 -1
  495. package/package.json +1 -1
  496. package/reference.md +689 -78
  497. package/serialization/resources/clinicalTrials/index.d.ts +1 -0
  498. package/serialization/resources/clinicalTrials/index.js +17 -0
  499. package/serialization/resources/clinicalTrials/resources/index.d.ts +1 -0
  500. package/serialization/resources/clinicalTrials/resources/index.js +37 -0
  501. package/serialization/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  502. package/serialization/resources/clinicalTrials/resources/v1/index.js +17 -0
  503. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +17 -0
  504. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +50 -0
  505. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +10 -0
  506. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +41 -0
  507. package/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +15 -0
  508. package/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +46 -0
  509. package/serialization/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  510. package/serialization/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  511. package/serialization/resources/commons/types/AdjustmentId.d.ts +10 -0
  512. package/serialization/resources/commons/types/AdjustmentId.js +45 -0
  513. package/serialization/resources/commons/types/ClinicalTrialId.d.ts +10 -0
  514. package/serialization/resources/commons/types/ClinicalTrialId.js +45 -0
  515. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  516. package/serialization/resources/commons/types/ProcedureModifier.js +4 -0
  517. package/serialization/resources/commons/types/index.d.ts +2 -0
  518. package/serialization/resources/commons/types/index.js +2 -0
  519. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
  520. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
  521. package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +16 -0
  522. package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.js +47 -0
  523. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -0
  524. package/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -0
  525. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
  526. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +2 -0
  527. package/serialization/resources/encounters/resources/v4/types/ReportTransmissionCode.d.ts +10 -0
  528. package/serialization/resources/encounters/resources/v4/types/ReportTransmissionCode.js +41 -0
  529. package/serialization/resources/encounters/resources/v4/types/ReportTypeCode.d.ts +10 -0
  530. package/serialization/resources/encounters/resources/v4/types/ReportTypeCode.js +103 -0
  531. package/serialization/resources/encounters/resources/v4/types/index.d.ts +3 -0
  532. package/serialization/resources/encounters/resources/v4/types/index.js +3 -0
  533. package/serialization/resources/index.d.ts +1 -0
  534. package/serialization/resources/index.js +2 -1
  535. package/serialization/resources/individual/types/PatientClinicalTrialInfo.d.ts +14 -0
  536. package/serialization/resources/individual/types/PatientClinicalTrialInfo.js +45 -0
  537. package/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +14 -0
  538. package/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.js +45 -0
  539. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +2 -0
  540. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +2 -0
  541. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +2 -0
  542. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +2 -0
  543. package/serialization/resources/individual/types/index.d.ts +2 -0
  544. package/serialization/resources/individual/types/index.js +2 -0
  545. package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  546. package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
  547. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  548. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  549. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  550. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  551. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +16 -0
  552. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +47 -0
  553. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +10 -0
  554. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +45 -0
  555. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  556. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +2 -0
  557. package/serialization/resources/preEncounter/resources/common/types/HumanName.d.ts +1 -0
  558. package/serialization/resources/preEncounter/resources/common/types/HumanName.js +1 -0
  559. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  560. package/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  561. package/serialization/resources/preEncounter/resources/images/index.d.ts +1 -0
  562. package/serialization/resources/preEncounter/resources/images/index.js +17 -0
  563. package/serialization/resources/preEncounter/resources/images/resources/index.d.ts +1 -0
  564. package/serialization/resources/preEncounter/resources/images/resources/index.js +37 -0
  565. package/serialization/resources/preEncounter/resources/images/resources/v1/client/create.d.ts +15 -0
  566. package/serialization/resources/preEncounter/resources/images/resources/v1/client/create.js +71 -0
  567. package/serialization/resources/preEncounter/resources/images/resources/v1/client/deactivate.d.ts +20 -0
  568. package/serialization/resources/preEncounter/resources/images/resources/v1/client/deactivate.js +77 -0
  569. package/serialization/resources/preEncounter/resources/images/resources/v1/client/get.d.ts +15 -0
  570. package/serialization/resources/preEncounter/resources/images/resources/v1/client/get.js +71 -0
  571. package/serialization/resources/preEncounter/resources/images/resources/v1/client/getMulti.d.ts +11 -0
  572. package/serialization/resources/preEncounter/resources/images/resources/v1/client/getMulti.js +42 -0
  573. package/serialization/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +5 -0
  574. package/serialization/resources/preEncounter/resources/images/resources/v1/client/index.js +41 -0
  575. package/serialization/resources/preEncounter/resources/images/resources/v1/client/update.d.ts +20 -0
  576. package/serialization/resources/preEncounter/resources/images/resources/v1/client/update.js +77 -0
  577. package/serialization/resources/preEncounter/resources/images/resources/v1/index.d.ts +2 -0
  578. package/serialization/resources/preEncounter/resources/images/resources/v1/index.js +18 -0
  579. package/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.d.ts +15 -0
  580. package/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.js +46 -0
  581. package/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.d.ts +10 -0
  582. package/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.js +41 -0
  583. package/serialization/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +16 -0
  584. package/serialization/resources/preEncounter/resources/images/resources/v1/types/Image.js +50 -0
  585. package/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageId.d.ts +10 -0
  586. package/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageId.js +45 -0
  587. package/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.d.ts +10 -0
  588. package/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.js +41 -0
  589. package/serialization/resources/preEncounter/resources/images/resources/v1/types/MutableImage.d.ts +20 -0
  590. package/serialization/resources/preEncounter/resources/images/resources/v1/types/MutableImage.js +51 -0
  591. package/serialization/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.d.ts +14 -0
  592. package/serialization/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.js +45 -0
  593. package/serialization/resources/preEncounter/resources/images/resources/v1/types/index.d.ts +7 -0
  594. package/serialization/resources/preEncounter/resources/images/resources/v1/types/index.js +23 -0
  595. package/serialization/resources/preEncounter/resources/index.d.ts +1 -0
  596. package/serialization/resources/preEncounter/resources/index.js +2 -1
  597. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  598. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  599. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.d.ts +11 -0
  600. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.js +42 -0
  601. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +1 -0
  602. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js +1 -0
  603. package/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +1 -1
  604. package/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +1 -1
  605. package/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.d.ts +24 -0
  606. package/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.js +55 -0
  607. package/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.d.ts +20 -0
  608. package/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.js +51 -0
  609. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +5 -1
  610. package/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -0
  611. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +5 -1
  612. package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -0
  613. package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
  614. package/serialization/resources/writeOffs/resources/v1/types/index.js +2 -0
  615. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  616. package/serialization/resources/x12/resources/v1/types/Rarc.js +114 -0
  617. package/version.d.ts +1 -1
  618. package/version.js +1 -1
@@ -0,0 +1,14 @@
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 { ClinicalTrialId } from "../../commons/types/ClinicalTrialId";
8
+ export declare const PatientClinicalTrialInfoCreate: core.serialization.ObjectSchema<serializers.PatientClinicalTrialInfoCreate.Raw, CandidApi.PatientClinicalTrialInfoCreate>;
9
+ export declare namespace PatientClinicalTrialInfoCreate {
10
+ interface Raw {
11
+ clinical_trial_arm?: string | null;
12
+ clinical_trial_id: ClinicalTrialId.Raw;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
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.PatientClinicalTrialInfoCreate = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const ClinicalTrialId_1 = require("../../commons/types/ClinicalTrialId");
42
+ exports.PatientClinicalTrialInfoCreate = core.serialization.object({
43
+ clinicalTrialArm: core.serialization.property("clinical_trial_arm", core.serialization.string().optional()),
44
+ clinicalTrialId: core.serialization.property("clinical_trial_id", ClinicalTrialId_1.ClinicalTrialId),
45
+ });
@@ -5,10 +5,12 @@ import * as serializers from "../../../index";
5
5
  import * as CandidApi from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  import { NonInsurancePayer } from "../../nonInsurancePayers/resources/v1/types/NonInsurancePayer";
8
+ import { PatientClinicalTrialInfo } from "./PatientClinicalTrialInfo";
8
9
  export declare const PatientNonInsurancePayerInfo: core.serialization.ObjectSchema<serializers.PatientNonInsurancePayerInfo.Raw, CandidApi.PatientNonInsurancePayerInfo>;
9
10
  export declare namespace PatientNonInsurancePayerInfo {
10
11
  interface Raw {
11
12
  non_insurance_payer: NonInsurancePayer.Raw;
12
13
  member_id?: string | null;
14
+ clinical_trial_info: PatientClinicalTrialInfo.Raw[];
13
15
  }
14
16
  }
@@ -39,7 +39,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.PatientNonInsurancePayerInfo = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
41
  const NonInsurancePayer_1 = require("../../nonInsurancePayers/resources/v1/types/NonInsurancePayer");
42
+ const PatientClinicalTrialInfo_1 = require("./PatientClinicalTrialInfo");
42
43
  exports.PatientNonInsurancePayerInfo = core.serialization.object({
43
44
  nonInsurancePayer: core.serialization.property("non_insurance_payer", NonInsurancePayer_1.NonInsurancePayer),
44
45
  memberId: core.serialization.property("member_id", core.serialization.string().optional()),
46
+ clinicalTrialInfo: core.serialization.property("clinical_trial_info", core.serialization.list(PatientClinicalTrialInfo_1.PatientClinicalTrialInfo)),
45
47
  });
@@ -5,10 +5,12 @@ import * as serializers from "../../../index";
5
5
  import * as CandidApi from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  import { NonInsurancePayerId } from "../../nonInsurancePayers/resources/v1/types/NonInsurancePayerId";
8
+ import { PatientClinicalTrialInfoCreate } from "./PatientClinicalTrialInfoCreate";
8
9
  export declare const PatientNonInsurancePayerInfoCreate: core.serialization.ObjectSchema<serializers.PatientNonInsurancePayerInfoCreate.Raw, CandidApi.PatientNonInsurancePayerInfoCreate>;
9
10
  export declare namespace PatientNonInsurancePayerInfoCreate {
10
11
  interface Raw {
11
12
  non_insurance_payer_id: NonInsurancePayerId.Raw;
12
13
  member_id?: string | null;
14
+ clinical_trial_info?: PatientClinicalTrialInfoCreate.Raw[] | null;
13
15
  }
14
16
  }
@@ -39,7 +39,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.PatientNonInsurancePayerInfoCreate = void 0;
40
40
  const core = __importStar(require("../../../../core"));
41
41
  const NonInsurancePayerId_1 = require("../../nonInsurancePayers/resources/v1/types/NonInsurancePayerId");
42
+ const PatientClinicalTrialInfoCreate_1 = require("./PatientClinicalTrialInfoCreate");
42
43
  exports.PatientNonInsurancePayerInfoCreate = core.serialization.object({
43
44
  nonInsurancePayerId: core.serialization.property("non_insurance_payer_id", NonInsurancePayerId_1.NonInsurancePayerId),
44
45
  memberId: core.serialization.property("member_id", core.serialization.string().optional()),
46
+ clinicalTrialInfo: core.serialization.property("clinical_trial_info", core.serialization.list(PatientClinicalTrialInfoCreate_1.PatientClinicalTrialInfoCreate).optional()),
45
47
  });
@@ -4,6 +4,8 @@ export * from "./SubscriberBase";
4
4
  export * from "./SubscriberCreate";
5
5
  export * from "./Subscriber";
6
6
  export * from "./PatientNonInsurancePayerInfoCreate";
7
+ export * from "./PatientClinicalTrialInfoCreate";
8
+ export * from "./PatientClinicalTrialInfo";
7
9
  export * from "./PatientNonInsurancePayerInfo";
8
10
  export * from "./PatientCreate";
9
11
  export * from "./PatientUpdate";
@@ -20,6 +20,8 @@ __exportStar(require("./SubscriberBase"), exports);
20
20
  __exportStar(require("./SubscriberCreate"), exports);
21
21
  __exportStar(require("./Subscriber"), exports);
22
22
  __exportStar(require("./PatientNonInsurancePayerInfoCreate"), exports);
23
+ __exportStar(require("./PatientClinicalTrialInfoCreate"), exports);
24
+ __exportStar(require("./PatientClinicalTrialInfo"), exports);
23
25
  __exportStar(require("./PatientNonInsurancePayerInfo"), exports);
24
26
  __exportStar(require("./PatientCreate"), exports);
25
27
  __exportStar(require("./PatientUpdate"), exports);
@@ -5,6 +5,7 @@ import * as serializers from "../../../../../index";
5
5
  import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  import { StreetAddressShortZip } from "../../../../commons/types/StreetAddressShortZip";
8
+ import { MutableClinicalTrial } from "../../../../clinicalTrials/resources/v1/types/MutableClinicalTrial";
8
9
  export declare const CreateNonInsurancePayerRequest: core.serialization.ObjectSchema<serializers.nonInsurancePayers.v1.CreateNonInsurancePayerRequest.Raw, CandidApi.nonInsurancePayers.v1.CreateNonInsurancePayerRequest>;
9
10
  export declare namespace CreateNonInsurancePayerRequest {
10
11
  interface Raw {
@@ -12,5 +13,6 @@ export declare namespace CreateNonInsurancePayerRequest {
12
13
  description?: string | null;
13
14
  category?: string | null;
14
15
  address?: StreetAddressShortZip.Raw | null;
16
+ clinical_trials?: MutableClinicalTrial.Raw[] | null;
15
17
  }
16
18
  }
@@ -39,9 +39,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.CreateNonInsurancePayerRequest = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
41
  const StreetAddressShortZip_1 = require("../../../../commons/types/StreetAddressShortZip");
42
+ const MutableClinicalTrial_1 = require("../../../../clinicalTrials/resources/v1/types/MutableClinicalTrial");
42
43
  exports.CreateNonInsurancePayerRequest = core.serialization.object({
43
44
  name: core.serialization.string(),
44
45
  description: core.serialization.string().optional(),
45
46
  category: core.serialization.string().optional(),
46
47
  address: StreetAddressShortZip_1.StreetAddressShortZip.optional(),
48
+ clinicalTrials: core.serialization.property("clinical_trials", core.serialization.list(MutableClinicalTrial_1.MutableClinicalTrial).optional()),
47
49
  });
@@ -6,6 +6,7 @@ import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  import { NonInsurancePayerId } from "./NonInsurancePayerId";
8
8
  import { StreetAddressShortZip } from "../../../../commons/types/StreetAddressShortZip";
9
+ import { ClinicalTrial } from "../../../../clinicalTrials/resources/v1/types/ClinicalTrial";
9
10
  export declare const NonInsurancePayer: core.serialization.ObjectSchema<serializers.nonInsurancePayers.v1.NonInsurancePayer.Raw, CandidApi.nonInsurancePayers.v1.NonInsurancePayer>;
10
11
  export declare namespace NonInsurancePayer {
11
12
  interface Raw {
@@ -15,5 +16,6 @@ export declare namespace NonInsurancePayer {
15
16
  category?: string | null;
16
17
  enabled: boolean;
17
18
  address?: StreetAddressShortZip.Raw | null;
19
+ clinical_trials: ClinicalTrial.Raw[];
18
20
  }
19
21
  }
@@ -40,6 +40,7 @@ exports.NonInsurancePayer = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
41
  const NonInsurancePayerId_1 = require("./NonInsurancePayerId");
42
42
  const StreetAddressShortZip_1 = require("../../../../commons/types/StreetAddressShortZip");
43
+ const ClinicalTrial_1 = require("../../../../clinicalTrials/resources/v1/types/ClinicalTrial");
43
44
  exports.NonInsurancePayer = core.serialization.object({
44
45
  nonInsurancePayerId: core.serialization.property("non_insurance_payer_id", NonInsurancePayerId_1.NonInsurancePayerId),
45
46
  name: core.serialization.string(),
@@ -47,4 +48,5 @@ exports.NonInsurancePayer = core.serialization.object({
47
48
  category: core.serialization.string().optional(),
48
49
  enabled: core.serialization.boolean(),
49
50
  address: StreetAddressShortZip_1.StreetAddressShortZip.optional(),
51
+ clinicalTrials: core.serialization.property("clinical_trials", core.serialization.list(ClinicalTrial_1.ClinicalTrial)),
50
52
  });
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const LicenseType: core.serialization.Schema<serializers.organizationProviders.v2.LicenseType.Raw, CandidApi.organizationProviders.v2.LicenseType>;
8
8
  export declare namespace LicenseType {
9
- type Raw = "MD" | "NP" | "PA" | "LMFT" | "LCPC" | "LCSW" | "PMHNP" | "FNP" | "LPCC" | "DO" | "RD" | "SLP" | "APRN" | "LPC" | "PHD" | "PSYD" | "LMSW" | "LMHC" | "OTHER_MASTERS" | "BCBA" | "UNKNOWN" | "RPH" | "PHT" | "LAC" | "LMT" | "DC" | "ND" | "MA" | "PT" | "IBCLC" | "RN" | "DPT" | "LCMHC" | "CNM" | "RNFA" | "ACSW" | "APC" | "BCABA" | "BHA" | "OD" | "DPM" | "DA" | "DDS" | "DEH" | "DMD" | "PTA" | "LCADC" | "LCAT" | "LCMHCS" | "LCMHCA" | "LCSWA" | "LICSW" | "LISW" | "LMFTS" | "LMFTA" | "LPCI" | "LSCSW" | "MHCA" | "MHT" | "RBT" | "RCSWI" | "RHMCI" | "LPN" | "OTD" | "OMS" | "MFTA" | "APCC" | "DNP" | "AGNPBC" | "ANP" | "FNPPP" | "LCSWR" | "ALC" | "RMFTI" | "LAMFT" | "LPCA" | "LSWI" | "CSW" | "CPC" | "LGMFT" | "LLPC" | "PLPC" | "PLMFT" | "LMHCA" | "CIT" | "CT" | "MFT" | "LSW" | "PLMHP" | "PCMSW" | "LMHP" | "OTR/L" | "RPA" | "COTA" | "CRNP";
9
+ type Raw = "MD" | "NP" | "PA" | "LMFT" | "LCPC" | "LCSW" | "PMHNP" | "FNP" | "LPCC" | "DO" | "RD" | "SLP" | "APRN" | "LPC" | "PHD" | "PSYD" | "LMSW" | "LMHC" | "OTHER_MASTERS" | "BCBA" | "UNKNOWN" | "RPH" | "PHT" | "LAC" | "LMT" | "DC" | "ND" | "MA" | "PT" | "IBCLC" | "RN" | "DPT" | "LCMHC" | "CNM" | "RNFA" | "ACSW" | "APC" | "BCABA" | "BHA" | "OD" | "DPM" | "DA" | "DDS" | "DEH" | "DMD" | "PTA" | "LCADC" | "LCAT" | "LCMHCS" | "LCMHCA" | "LCSWA" | "LICSW" | "LISW" | "LMFTS" | "LMFTA" | "LPCI" | "LSCSW" | "MHCA" | "MHT" | "RBT" | "RCSWI" | "RHMCI" | "LPN" | "OTD" | "OMS" | "MFTA" | "APCC" | "DNP" | "AGNPBC" | "ANP" | "FNPPP" | "LCSWR" | "ALC" | "RMFTI" | "LAMFT" | "LPCA" | "LSWI" | "CSW" | "CPC" | "LGMFT" | "LLPC" | "PLPC" | "PLMFT" | "LMHCA" | "CIT" | "CT" | "MFT" | "LSW" | "PLMHP" | "PCMSW" | "LMHP" | "OTR/L" | "RPA" | "COTA" | "CRNP" | "SLP-CF" | "NP-C" | "PA-C";
10
10
  }
@@ -134,4 +134,7 @@ exports.LicenseType = core.serialization.enum_([
134
134
  "RPA",
135
135
  "COTA",
136
136
  "CRNP",
137
+ "SLP-CF",
138
+ "NP-C",
139
+ "PA-C",
137
140
  ]);
@@ -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 { CanonicalClinicalTrialId } from "./CanonicalClinicalTrialId";
8
+ import { Period } from "./Period";
9
+ export declare const CanonicalClinicalTrialAssociation: core.serialization.ObjectSchema<serializers.preEncounter.CanonicalClinicalTrialAssociation.Raw, CandidApi.preEncounter.CanonicalClinicalTrialAssociation>;
10
+ export declare namespace CanonicalClinicalTrialAssociation {
11
+ interface Raw {
12
+ id: CanonicalClinicalTrialId.Raw;
13
+ clinical_trial_arm?: string | null;
14
+ period?: Period.Raw | null;
15
+ }
16
+ }
@@ -0,0 +1,47 @@
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.CanonicalClinicalTrialAssociation = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const CanonicalClinicalTrialId_1 = require("./CanonicalClinicalTrialId");
42
+ const Period_1 = require("./Period");
43
+ exports.CanonicalClinicalTrialAssociation = core.serialization.object({
44
+ id: CanonicalClinicalTrialId_1.CanonicalClinicalTrialId,
45
+ clinicalTrialArm: core.serialization.property("clinical_trial_arm", core.serialization.string().optional()),
46
+ period: Period_1.Period.optional(),
47
+ });
@@ -0,0 +1,10 @@
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
+ export declare const CanonicalClinicalTrialId: core.serialization.Schema<serializers.preEncounter.CanonicalClinicalTrialId.Raw, CandidApi.preEncounter.CanonicalClinicalTrialId>;
8
+ export declare namespace CanonicalClinicalTrialId {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,45 @@
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.CanonicalClinicalTrialId = void 0;
40
+ const CandidApi = __importStar(require("../../../../../../api/index"));
41
+ const core = __importStar(require("../../../../../../core"));
42
+ exports.CanonicalClinicalTrialId = core.serialization.string().transform({
43
+ transform: CandidApi.preEncounter.CanonicalClinicalTrialId,
44
+ untransform: (value) => value,
45
+ });
@@ -5,10 +5,12 @@ import * as serializers from "../../../../../index";
5
5
  import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  import { CanonicalNonInsurancePayerId } from "./CanonicalNonInsurancePayerId";
8
+ import { CanonicalClinicalTrialAssociation } from "./CanonicalClinicalTrialAssociation";
8
9
  export declare const CanonicalNonInsurancePayerAssociation: core.serialization.ObjectSchema<serializers.preEncounter.CanonicalNonInsurancePayerAssociation.Raw, CandidApi.preEncounter.CanonicalNonInsurancePayerAssociation>;
9
10
  export declare namespace CanonicalNonInsurancePayerAssociation {
10
11
  interface Raw {
11
12
  id: CanonicalNonInsurancePayerId.Raw;
12
13
  member_id?: string | null;
14
+ clinical_trial_info?: CanonicalClinicalTrialAssociation.Raw[] | null;
13
15
  }
14
16
  }
@@ -39,7 +39,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.CanonicalNonInsurancePayerAssociation = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
41
  const CanonicalNonInsurancePayerId_1 = require("./CanonicalNonInsurancePayerId");
42
+ const CanonicalClinicalTrialAssociation_1 = require("./CanonicalClinicalTrialAssociation");
42
43
  exports.CanonicalNonInsurancePayerAssociation = core.serialization.object({
43
44
  id: CanonicalNonInsurancePayerId_1.CanonicalNonInsurancePayerId,
44
45
  memberId: core.serialization.property("member_id", core.serialization.string().optional()),
46
+ clinicalTrialInfo: core.serialization.property("clinical_trial_info", core.serialization.list(CanonicalClinicalTrialAssociation_1.CanonicalClinicalTrialAssociation).optional()),
45
47
  });
@@ -13,5 +13,6 @@ export declare namespace HumanName {
13
13
  given: string[];
14
14
  use: NameUse.Raw;
15
15
  period?: Period.Raw | null;
16
+ suffix?: string | null;
16
17
  }
17
18
  }
@@ -45,4 +45,5 @@ exports.HumanName = core.serialization.object({
45
45
  given: core.serialization.list(core.serialization.string()),
46
46
  use: NameUse_1.NameUse,
47
47
  period: Period_1.Period.optional(),
48
+ suffix: core.serialization.string().optional(),
48
49
  });
@@ -12,6 +12,8 @@ export * from "./CanonicalProviderId";
12
12
  export * from "./ExternalIdentifier";
13
13
  export * from "./CanonicalNonInsurancePayerAssociation";
14
14
  export * from "./CanonicalNonInsurancePayerId";
15
+ export * from "./CanonicalClinicalTrialAssociation";
16
+ export * from "./CanonicalClinicalTrialId";
15
17
  export * from "./Relationship";
16
18
  export * from "./Gender";
17
19
  export * from "./Sex";
@@ -28,6 +28,8 @@ __exportStar(require("./CanonicalProviderId"), exports);
28
28
  __exportStar(require("./ExternalIdentifier"), exports);
29
29
  __exportStar(require("./CanonicalNonInsurancePayerAssociation"), exports);
30
30
  __exportStar(require("./CanonicalNonInsurancePayerId"), exports);
31
+ __exportStar(require("./CanonicalClinicalTrialAssociation"), exports);
32
+ __exportStar(require("./CanonicalClinicalTrialId"), exports);
31
33
  __exportStar(require("./Relationship"), exports);
32
34
  __exportStar(require("./Gender"), exports);
33
35
  __exportStar(require("./Sex"), exports);
@@ -0,0 +1 @@
1
+ export * from "./resources";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./resources"), exports);
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.v1 = void 0;
37
+ exports.v1 = __importStar(require("./v1"));
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
+ import { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
8
+ export declare const Error: core.serialization.Schema<serializers.preEncounter.images.v1.create.Error.Raw, CandidApi.preEncounter.images.v1.create.Error>;
9
+ export declare namespace Error {
10
+ type Raw = Error.VersionConflictError;
11
+ interface VersionConflictError {
12
+ errorName: "VersionConflictError";
13
+ content: VersionConflictErrorBody.Raw;
14
+ }
15
+ }
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ var __rest = (this && this.__rest) || function (s, e) {
39
+ var t = {};
40
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
41
+ t[p] = s[p];
42
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
43
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
44
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
45
+ t[p[i]] = s[p[i]];
46
+ }
47
+ return t;
48
+ };
49
+ Object.defineProperty(exports, "__esModule", { value: true });
50
+ exports.Error = void 0;
51
+ const CandidApi = __importStar(require("../../../../../../../../api/index"));
52
+ const core = __importStar(require("../../../../../../../../core"));
53
+ const VersionConflictErrorBody_1 = require("../../../../common/types/VersionConflictErrorBody");
54
+ exports.Error = core.serialization
55
+ .union("errorName", {
56
+ VersionConflictError: core.serialization.object({
57
+ content: VersionConflictErrorBody_1.VersionConflictErrorBody,
58
+ }),
59
+ })
60
+ .transform({
61
+ transform: (value) => {
62
+ switch (value.errorName) {
63
+ case "VersionConflictError":
64
+ return CandidApi.preEncounter.images.v1.create.Error.versionConflictError(value.content);
65
+ }
66
+ },
67
+ untransform: (_a) => {
68
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
69
+ return value;
70
+ },
71
+ });
@@ -0,0 +1,20 @@
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 { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
8
+ import { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
9
+ export declare const Error: core.serialization.Schema<serializers.preEncounter.images.v1.deactivate.Error.Raw, CandidApi.preEncounter.images.v1.deactivate.Error>;
10
+ export declare namespace Error {
11
+ type Raw = Error.NotFoundError | Error.VersionConflictError;
12
+ interface NotFoundError {
13
+ errorName: "NotFoundError";
14
+ content: ErrorBase4Xx.Raw;
15
+ }
16
+ interface VersionConflictError {
17
+ errorName: "VersionConflictError";
18
+ content: VersionConflictErrorBody.Raw;
19
+ }
20
+ }