candidhealth 0.39.10 → 0.39.11

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 (294) 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/clinicalTrials/index.d.ts +1 -0
  6. package/api/resources/clinicalTrials/index.js +17 -0
  7. package/api/resources/clinicalTrials/resources/index.d.ts +1 -0
  8. package/api/resources/clinicalTrials/resources/index.js +37 -0
  9. package/api/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  10. package/api/resources/clinicalTrials/resources/v1/index.js +17 -0
  11. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +9 -0
  12. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +5 -0
  13. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +9 -0
  14. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +11 -0
  15. package/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +10 -0
  16. package/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +5 -0
  17. package/api/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  18. package/api/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  19. package/api/resources/commons/types/AdjustmentId.d.ts +8 -0
  20. package/api/resources/commons/types/AdjustmentId.js +9 -0
  21. package/api/resources/commons/types/ClinicalTrialId.d.ts +8 -0
  22. package/api/resources/commons/types/ClinicalTrialId.js +9 -0
  23. package/api/resources/commons/types/ProcedureModifier.d.ts +16 -0
  24. package/api/resources/commons/types/ProcedureModifier.js +4 -0
  25. package/api/resources/commons/types/index.d.ts +2 -0
  26. package/api/resources/commons/types/index.js +2 -0
  27. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  28. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  29. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  30. package/api/resources/diagnoses/client/Client.js +3 -3
  31. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  32. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  33. package/api/resources/encounters/resources/v4/client/Client.d.ts +4 -1
  34. package/api/resources/encounters/resources/v4/client/Client.js +9 -6
  35. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +4 -1
  36. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +10 -4
  37. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +8 -4
  38. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  39. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  40. package/api/resources/exports/resources/v3/client/Client.d.ts +3 -0
  41. package/api/resources/exports/resources/v3/client/Client.js +4 -1
  42. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  43. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  44. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  45. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  46. package/api/resources/index.d.ts +1 -0
  47. package/api/resources/index.js +2 -1
  48. package/api/resources/individual/types/Patient.d.ts +6 -3
  49. package/api/resources/individual/types/PatientClinicalTrialInfo.d.ts +8 -0
  50. package/api/resources/individual/types/PatientClinicalTrialInfo.js +5 -0
  51. package/api/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +8 -0
  52. package/api/resources/individual/types/PatientClinicalTrialInfoCreate.js +5 -0
  53. package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +6 -2
  54. package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +1 -0
  55. package/api/resources/individual/types/index.d.ts +2 -0
  56. package/api/resources/individual/types/index.js +2 -0
  57. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  58. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  59. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  60. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  61. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  62. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  63. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  64. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +3 -1
  65. package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +4 -1
  66. package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  67. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  68. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  69. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  70. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  71. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  72. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  73. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +9 -0
  74. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +5 -0
  75. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +11 -0
  76. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +9 -0
  77. package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  78. package/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  79. package/api/resources/preEncounter/resources/common/types/index.js +2 -0
  80. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  81. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  82. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  83. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  84. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +10 -10
  85. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  86. package/api/resources/serviceFacility/client/Client.js +1 -1
  87. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  88. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  89. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +20 -0
  90. package/api/resources/writeOffs/resources/v1/client/Client.js +82 -4
  91. package/api/resources/writeOffs/resources/v1/client/index.d.ts +2 -0
  92. package/api/resources/writeOffs/resources/v1/client/index.js +3 -1
  93. package/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.d.ts +22 -0
  94. package/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.js +57 -0
  95. package/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.d.ts +22 -0
  96. package/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.js +57 -0
  97. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  98. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  99. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  100. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  101. package/dist/api/resources/clinicalTrials/index.d.ts +1 -0
  102. package/dist/api/resources/clinicalTrials/index.js +17 -0
  103. package/dist/api/resources/clinicalTrials/resources/index.d.ts +1 -0
  104. package/dist/api/resources/clinicalTrials/resources/index.js +37 -0
  105. package/dist/api/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  106. package/dist/api/resources/clinicalTrials/resources/v1/index.js +17 -0
  107. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +9 -0
  108. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +5 -0
  109. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +9 -0
  110. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +11 -0
  111. package/dist/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +10 -0
  112. package/dist/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +5 -0
  113. package/dist/api/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  114. package/dist/api/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  115. package/dist/api/resources/commons/types/AdjustmentId.d.ts +8 -0
  116. package/dist/api/resources/commons/types/AdjustmentId.js +9 -0
  117. package/dist/api/resources/commons/types/ClinicalTrialId.d.ts +8 -0
  118. package/dist/api/resources/commons/types/ClinicalTrialId.js +9 -0
  119. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +16 -0
  120. package/dist/api/resources/commons/types/ProcedureModifier.js +4 -0
  121. package/dist/api/resources/commons/types/index.d.ts +2 -0
  122. package/dist/api/resources/commons/types/index.js +2 -0
  123. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  124. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  125. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  126. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  127. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  128. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  129. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +4 -1
  130. package/dist/api/resources/encounters/resources/v4/client/Client.js +9 -6
  131. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +4 -1
  132. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +10 -4
  133. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +8 -4
  134. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  135. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  136. package/dist/api/resources/exports/resources/v3/client/Client.d.ts +3 -0
  137. package/dist/api/resources/exports/resources/v3/client/Client.js +4 -1
  138. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  139. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  140. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  141. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  142. package/dist/api/resources/index.d.ts +1 -0
  143. package/dist/api/resources/index.js +2 -1
  144. package/dist/api/resources/individual/types/Patient.d.ts +6 -3
  145. package/dist/api/resources/individual/types/PatientClinicalTrialInfo.d.ts +8 -0
  146. package/dist/api/resources/individual/types/PatientClinicalTrialInfo.js +5 -0
  147. package/dist/api/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +8 -0
  148. package/dist/api/resources/individual/types/PatientClinicalTrialInfoCreate.js +5 -0
  149. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +6 -2
  150. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +1 -0
  151. package/dist/api/resources/individual/types/index.d.ts +2 -0
  152. package/dist/api/resources/individual/types/index.js +2 -0
  153. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  154. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  155. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  156. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  157. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  158. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  159. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  160. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +3 -1
  161. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +4 -1
  162. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  163. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  164. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  165. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  166. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  167. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  168. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  169. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +9 -0
  170. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +5 -0
  171. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +11 -0
  172. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +9 -0
  173. package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  174. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  175. package/dist/api/resources/preEncounter/resources/common/types/index.js +2 -0
  176. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  177. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  178. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  179. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  180. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +10 -10
  181. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  182. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  183. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  184. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  185. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +20 -0
  186. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +82 -4
  187. package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +2 -0
  188. package/dist/api/resources/writeOffs/resources/v1/client/index.js +3 -1
  189. package/dist/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.d.ts +22 -0
  190. package/dist/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.js +57 -0
  191. package/dist/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.d.ts +22 -0
  192. package/dist/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.js +57 -0
  193. package/dist/serialization/resources/clinicalTrials/index.d.ts +1 -0
  194. package/dist/serialization/resources/clinicalTrials/index.js +17 -0
  195. package/dist/serialization/resources/clinicalTrials/resources/index.d.ts +1 -0
  196. package/dist/serialization/resources/clinicalTrials/resources/index.js +37 -0
  197. package/dist/serialization/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  198. package/dist/serialization/resources/clinicalTrials/resources/v1/index.js +17 -0
  199. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +17 -0
  200. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +50 -0
  201. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +10 -0
  202. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +41 -0
  203. package/dist/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +15 -0
  204. package/dist/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +46 -0
  205. package/dist/serialization/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  206. package/dist/serialization/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  207. package/dist/serialization/resources/commons/types/AdjustmentId.d.ts +10 -0
  208. package/dist/serialization/resources/commons/types/AdjustmentId.js +45 -0
  209. package/dist/serialization/resources/commons/types/ClinicalTrialId.d.ts +10 -0
  210. package/dist/serialization/resources/commons/types/ClinicalTrialId.js +45 -0
  211. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  212. package/dist/serialization/resources/commons/types/ProcedureModifier.js +4 -0
  213. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  214. package/dist/serialization/resources/commons/types/index.js +2 -0
  215. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  216. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  217. package/dist/serialization/resources/index.d.ts +1 -0
  218. package/dist/serialization/resources/index.js +2 -1
  219. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfo.d.ts +14 -0
  220. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfo.js +45 -0
  221. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +14 -0
  222. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.js +45 -0
  223. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +2 -0
  224. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +2 -0
  225. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +2 -0
  226. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +2 -0
  227. package/dist/serialization/resources/individual/types/index.d.ts +2 -0
  228. package/dist/serialization/resources/individual/types/index.js +2 -0
  229. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  230. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  231. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  232. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  233. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +16 -0
  234. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +47 -0
  235. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +10 -0
  236. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +45 -0
  237. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  238. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +2 -0
  239. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  240. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  241. package/dist/version.d.ts +1 -1
  242. package/dist/version.js +1 -1
  243. package/package.json +1 -1
  244. package/reference.md +138 -0
  245. package/serialization/resources/clinicalTrials/index.d.ts +1 -0
  246. package/serialization/resources/clinicalTrials/index.js +17 -0
  247. package/serialization/resources/clinicalTrials/resources/index.d.ts +1 -0
  248. package/serialization/resources/clinicalTrials/resources/index.js +37 -0
  249. package/serialization/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  250. package/serialization/resources/clinicalTrials/resources/v1/index.js +17 -0
  251. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +17 -0
  252. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +50 -0
  253. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +10 -0
  254. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +41 -0
  255. package/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +15 -0
  256. package/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +46 -0
  257. package/serialization/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  258. package/serialization/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  259. package/serialization/resources/commons/types/AdjustmentId.d.ts +10 -0
  260. package/serialization/resources/commons/types/AdjustmentId.js +45 -0
  261. package/serialization/resources/commons/types/ClinicalTrialId.d.ts +10 -0
  262. package/serialization/resources/commons/types/ClinicalTrialId.js +45 -0
  263. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  264. package/serialization/resources/commons/types/ProcedureModifier.js +4 -0
  265. package/serialization/resources/commons/types/index.d.ts +2 -0
  266. package/serialization/resources/commons/types/index.js +2 -0
  267. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  268. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  269. package/serialization/resources/index.d.ts +1 -0
  270. package/serialization/resources/index.js +2 -1
  271. package/serialization/resources/individual/types/PatientClinicalTrialInfo.d.ts +14 -0
  272. package/serialization/resources/individual/types/PatientClinicalTrialInfo.js +45 -0
  273. package/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +14 -0
  274. package/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.js +45 -0
  275. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +2 -0
  276. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +2 -0
  277. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +2 -0
  278. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +2 -0
  279. package/serialization/resources/individual/types/index.d.ts +2 -0
  280. package/serialization/resources/individual/types/index.js +2 -0
  281. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  282. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  283. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  284. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  285. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +16 -0
  286. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +47 -0
  287. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +10 -0
  288. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +45 -0
  289. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  290. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +2 -0
  291. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  292. package/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  293. package/version.d.ts +1 -1
  294. package/version.js +1 -1
@@ -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 @@
1
+ export * as v1 from "./v1";
@@ -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 @@
1
+ export * from "./types";
@@ -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("./types"), exports);
@@ -0,0 +1,17 @@
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
+ import { NonInsurancePayerId } from "../../../../nonInsurancePayers/resources/v1/types/NonInsurancePayerId";
9
+ import { MutableClinicalTrial } from "./MutableClinicalTrial";
10
+ export declare const ClinicalTrial: core.serialization.ObjectSchema<serializers.clinicalTrials.v1.ClinicalTrial.Raw, CandidApi.clinicalTrials.v1.ClinicalTrial>;
11
+ export declare namespace ClinicalTrial {
12
+ interface Raw extends MutableClinicalTrial.Raw {
13
+ clinical_trial_id: ClinicalTrialId.Raw;
14
+ non_insurance_payer_id: NonInsurancePayerId.Raw;
15
+ is_active: boolean;
16
+ }
17
+ }
@@ -0,0 +1,50 @@
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.ClinicalTrial = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const ClinicalTrialId_1 = require("../../../../commons/types/ClinicalTrialId");
42
+ const NonInsurancePayerId_1 = require("../../../../nonInsurancePayers/resources/v1/types/NonInsurancePayerId");
43
+ const MutableClinicalTrial_1 = require("./MutableClinicalTrial");
44
+ exports.ClinicalTrial = core.serialization
45
+ .object({
46
+ clinicalTrialId: core.serialization.property("clinical_trial_id", ClinicalTrialId_1.ClinicalTrialId),
47
+ nonInsurancePayerId: core.serialization.property("non_insurance_payer_id", NonInsurancePayerId_1.NonInsurancePayerId),
48
+ isActive: core.serialization.property("is_active", core.serialization.boolean()),
49
+ })
50
+ .extend(MutableClinicalTrial_1.MutableClinicalTrial);
@@ -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 ClinicalTrialPhase: core.serialization.Schema<serializers.clinicalTrials.v1.ClinicalTrialPhase.Raw, CandidApi.clinicalTrials.v1.ClinicalTrialPhase>;
8
+ export declare namespace ClinicalTrialPhase {
9
+ type Raw = "Phase 1" | "Phase 2" | "Phase 3";
10
+ }
@@ -0,0 +1,41 @@
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.ClinicalTrialPhase = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ exports.ClinicalTrialPhase = core.serialization.enum_(["Phase 1", "Phase 2", "Phase 3"]);
@@ -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 { ClinicalTrialPhase } from "./ClinicalTrialPhase";
8
+ export declare const MutableClinicalTrial: core.serialization.ObjectSchema<serializers.clinicalTrials.v1.MutableClinicalTrial.Raw, CandidApi.clinicalTrials.v1.MutableClinicalTrial>;
9
+ export declare namespace MutableClinicalTrial {
10
+ interface Raw {
11
+ name: string;
12
+ clinical_trial_number: string;
13
+ clinical_trial_phase?: ClinicalTrialPhase.Raw | null;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.MutableClinicalTrial = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const ClinicalTrialPhase_1 = require("./ClinicalTrialPhase");
42
+ exports.MutableClinicalTrial = core.serialization.object({
43
+ name: core.serialization.string(),
44
+ clinicalTrialNumber: core.serialization.property("clinical_trial_number", core.serialization.string()),
45
+ clinicalTrialPhase: core.serialization.property("clinical_trial_phase", ClinicalTrialPhase_1.ClinicalTrialPhase.optional()),
46
+ });
@@ -0,0 +1,3 @@
1
+ export * from "./MutableClinicalTrial";
2
+ export * from "./ClinicalTrial";
3
+ export * from "./ClinicalTrialPhase";
@@ -0,0 +1,19 @@
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("./MutableClinicalTrial"), exports);
18
+ __exportStar(require("./ClinicalTrial"), exports);
19
+ __exportStar(require("./ClinicalTrialPhase"), exports);
@@ -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 AdjustmentId: core.serialization.Schema<serializers.AdjustmentId.Raw, CandidApi.AdjustmentId>;
8
+ export declare namespace AdjustmentId {
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.AdjustmentId = void 0;
40
+ const CandidApi = __importStar(require("../../../../api/index"));
41
+ const core = __importStar(require("../../../../core"));
42
+ exports.AdjustmentId = core.serialization.string().transform({
43
+ transform: CandidApi.AdjustmentId,
44
+ untransform: (value) => value,
45
+ });
@@ -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 ClinicalTrialId: core.serialization.Schema<serializers.ClinicalTrialId.Raw, CandidApi.ClinicalTrialId>;
8
+ export declare namespace ClinicalTrialId {
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.ClinicalTrialId = void 0;
40
+ const CandidApi = __importStar(require("../../../../api/index"));
41
+ const core = __importStar(require("../../../../core"));
42
+ exports.ClinicalTrialId = core.serialization.string().transform({
43
+ transform: CandidApi.ClinicalTrialId,
44
+ untransform: (value) => value,
45
+ });
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  export declare const ProcedureModifier: core.serialization.Schema<serializers.ProcedureModifier.Raw, CandidApi.ProcedureModifier>;
8
8
  export declare namespace ProcedureModifier {
9
- type Raw = "22" | "23" | "24" | "25" | "26" | "27" | "32" | "33" | "47" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "62" | "63" | "66" | "74" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "90" | "91" | "92" | "93" | "95" | "96" | "97" | "99" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "A7" | "A8" | "A9" | "AA" | "AB" | "AD" | "AE" | "AF" | "AG" | "AH" | "AI" | "AJ" | "AK" | "AM" | "AO" | "AP" | "AQ" | "AR" | "AS" | "AT" | "AZ" | "BA" | "BL" | "BO" | "BP" | "BR" | "BU" | "CA" | "CB" | "CC" | "CD" | "CE" | "CF" | "CG" | "CH" | "CI" | "CJ" | "CK" | "CL" | "CM" | "CN" | "CR" | "CS" | "CT" | "CO" | "CQ" | "DA" | "E1" | "E2" | "E3" | "E4" | "EA" | "EB" | "EC" | "ED" | "EE" | "EJ" | "EM" | "EP" | "ER" | "ET" | "EX" | "EY" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "FA" | "FB" | "FC" | "FP" | "FQ" | "FR" | "FS" | "FT" | "FX" | "FY" | "G0" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9" | "GA" | "GB" | "GC" | "GE" | "GF" | "GG" | "GH" | "GJ" | "GK" | "GL" | "GM" | "GN" | "GO" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GV" | "GW" | "GX" | "GY" | "GZ" | "HA" | "HB" | "HC" | "HD" | "HE" | "HF" | "HG" | "HH" | "HI" | "HJ" | "HK" | "HL" | "HM" | "HN" | "HO" | "HP" | "HQ" | "HR" | "HS" | "HT" | "HU" | "HV" | "HW" | "HX" | "HY" | "HZ" | "J1" | "J2" | "J3" | "J4" | "J5" | "JA" | "JB" | "JC" | "JD" | "JE" | "JG" | "JW" | "JZ" | "K0" | "K1" | "K2" | "K3" | "K4" | "KA" | "KB" | "KC" | "KD" | "KE" | "KF" | "KG" | "KH" | "KI" | "KJ" | "KK" | "KL" | "KM" | "KN" | "KO" | "KP" | "KQ" | "KR" | "KS" | "KT" | "KU" | "KV" | "KW" | "KX" | "KY" | "KZ" | "LC" | "LD" | "LL" | "LM" | "LR" | "LS" | "LT" | "LU" | "M2" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MS" | "N1" | "N2" | "N3" | "NB" | "NR" | "NU" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "PA" | "PB" | "PC" | "PD" | "PI" | "PL" | "PM" | "PN" | "PO" | "PS" | "PT" | "Q0" | "Q1" | "Q2" | "Q3" | "Q4" | "Q5" | "Q6" | "Q7" | "Q8" | "Q9" | "QA" | "QB" | "QC" | "QD" | "QE" | "QF" | "QG" | "QH" | "QJ" | "QK" | "QL" | "QM" | "QN" | "QP" | "QQ" | "QR" | "QS" | "QT" | "QW" | "QX" | "QY" | "QZ" | "RA" | "RB" | "RC" | "RD" | "RE" | "RI" | "RR" | "RT" | "SA" | "SB" | "SC" | "SD" | "SE" | "SF" | "SG" | "SH" | "SJ" | "SL" | "SM" | "SN" | "SQ" | "SS" | "ST" | "SU" | "SV" | "SW" | "SY" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "TA" | "TB" | "TC" | "TD" | "TE" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TP" | "TQ" | "TR" | "TS" | "TT" | "TU" | "TV" | "TW" | "U1" | "U2" | "U3" | "U4" | "U5" | "U6" | "U7" | "U8" | "U9" | "UA" | "UB" | "UC" | "UD" | "UE" | "UF" | "UG" | "UH" | "UJ" | "UK" | "UN" | "UP" | "UQ" | "UR" | "US" | "V1" | "V2" | "V3" | "XE" | "XS" | "XU";
9
+ type Raw = "22" | "23" | "24" | "25" | "26" | "27" | "32" | "33" | "47" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "62" | "63" | "66" | "74" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "90" | "91" | "92" | "93" | "95" | "96" | "97" | "99" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "A7" | "A8" | "A9" | "AA" | "AB" | "AD" | "AE" | "AF" | "AG" | "AH" | "AI" | "AJ" | "AK" | "AM" | "AO" | "AP" | "AQ" | "AR" | "AS" | "AT" | "AZ" | "BA" | "BL" | "BO" | "BP" | "BR" | "BU" | "CA" | "CB" | "CC" | "CD" | "CE" | "CF" | "CG" | "CH" | "CI" | "CJ" | "CK" | "CL" | "CM" | "CN" | "CR" | "CS" | "CT" | "CO" | "CQ" | "DA" | "E1" | "E2" | "E3" | "E4" | "EA" | "EB" | "EC" | "ED" | "EE" | "EJ" | "EM" | "EP" | "ER" | "ET" | "EX" | "EY" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "FA" | "FB" | "FC" | "FP" | "FQ" | "FR" | "FS" | "FT" | "FX" | "FY" | "G0" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9" | "GA" | "GB" | "GC" | "GE" | "GF" | "GG" | "GH" | "GJ" | "GK" | "GL" | "GM" | "GN" | "GO" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GV" | "GW" | "GX" | "GY" | "GZ" | "HA" | "HB" | "HC" | "HD" | "HE" | "HF" | "HG" | "HH" | "HI" | "HJ" | "HK" | "HL" | "HM" | "HN" | "HO" | "HP" | "HQ" | "HR" | "HS" | "HT" | "HU" | "HV" | "HW" | "HX" | "HY" | "HZ" | "J1" | "J2" | "J3" | "J4" | "J5" | "JA" | "JB" | "JC" | "JD" | "JE" | "JG" | "JW" | "JZ" | "K0" | "K1" | "K2" | "K3" | "K4" | "KA" | "KB" | "KC" | "KD" | "KE" | "KF" | "KG" | "KH" | "KI" | "KJ" | "KK" | "KL" | "KM" | "KN" | "KO" | "KP" | "KQ" | "KR" | "KS" | "KT" | "KU" | "KV" | "KW" | "KX" | "KY" | "KZ" | "LC" | "LD" | "LL" | "LM" | "LR" | "LS" | "LT" | "LU" | "M2" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MS" | "N1" | "N2" | "N3" | "NB" | "NR" | "NU" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "PA" | "PB" | "PC" | "PD" | "PI" | "PL" | "PM" | "PN" | "PO" | "PS" | "PT" | "Q0" | "Q1" | "Q2" | "Q3" | "Q4" | "Q5" | "Q6" | "Q7" | "Q8" | "Q9" | "QA" | "QB" | "QC" | "QD" | "QE" | "QF" | "QG" | "QH" | "QJ" | "QK" | "QL" | "QM" | "QN" | "QP" | "QQ" | "QR" | "QS" | "QT" | "QW" | "QX" | "QY" | "QZ" | "RA" | "RB" | "RC" | "RD" | "RE" | "RI" | "RR" | "RT" | "SA" | "SB" | "SC" | "SD" | "SE" | "SF" | "SG" | "SH" | "SJ" | "SL" | "SM" | "SN" | "SQ" | "SS" | "ST" | "SU" | "SV" | "SW" | "SY" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "TA" | "TB" | "TC" | "TD" | "TE" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TP" | "TQ" | "TR" | "TS" | "TT" | "TU" | "TV" | "TW" | "U1" | "U2" | "U3" | "U4" | "U5" | "U6" | "U7" | "U8" | "U9" | "UA" | "UB" | "UC" | "UD" | "UE" | "UF" | "UG" | "UH" | "UJ" | "UK" | "UN" | "UP" | "UQ" | "UR" | "US" | "V1" | "V2" | "V3" | "W1" | "W2" | "W3" | "XE" | "XP" | "XS" | "XU";
10
10
  }
@@ -426,7 +426,11 @@ exports.ProcedureModifier = core.serialization.enum_([
426
426
  "V1",
427
427
  "V2",
428
428
  "V3",
429
+ "W1",
430
+ "W2",
431
+ "W3",
429
432
  "XE",
433
+ "XP",
430
434
  "XS",
431
435
  "XU",
432
436
  ]);
@@ -7,6 +7,7 @@ export * from "./PreEncounterPatientId";
7
7
  export * from "./PreEncounterAppointmentId";
8
8
  export * from "./AppointmentId";
9
9
  export * from "./ServiceLineId";
10
+ export * from "./AdjustmentId";
10
11
  export * from "./PatientExternalId";
11
12
  export * from "./EncounterExternalId";
12
13
  export * from "./Npi";
@@ -22,6 +23,7 @@ export * from "./RateId";
22
23
  export * from "./SchemaId";
23
24
  export * from "./ProviderCredentialingSpanId";
24
25
  export * from "./PayerPlanGroupId";
26
+ export * from "./ClinicalTrialId";
25
27
  export * from "./Primitive";
26
28
  export * from "./LinkUrl";
27
29
  export * from "./PageToken";
@@ -23,6 +23,7 @@ __exportStar(require("./PreEncounterPatientId"), exports);
23
23
  __exportStar(require("./PreEncounterAppointmentId"), exports);
24
24
  __exportStar(require("./AppointmentId"), exports);
25
25
  __exportStar(require("./ServiceLineId"), exports);
26
+ __exportStar(require("./AdjustmentId"), exports);
26
27
  __exportStar(require("./PatientExternalId"), exports);
27
28
  __exportStar(require("./EncounterExternalId"), exports);
28
29
  __exportStar(require("./Npi"), exports);
@@ -38,6 +39,7 @@ __exportStar(require("./RateId"), exports);
38
39
  __exportStar(require("./SchemaId"), exports);
39
40
  __exportStar(require("./ProviderCredentialingSpanId"), exports);
40
41
  __exportStar(require("./PayerPlanGroupId"), exports);
42
+ __exportStar(require("./ClinicalTrialId"), exports);
41
43
  __exportStar(require("./Primitive"), exports);
42
44
  __exportStar(require("./LinkUrl"), exports);
43
45
  __exportStar(require("./PageToken"), exports);
@@ -64,5 +64,6 @@ export declare namespace Encounter {
64
64
  referral_number?: string | null;
65
65
  epsdt_referral?: EpsdtReferral.Raw | null;
66
66
  last_submitted_at?: string | null;
67
+ created_at: string;
67
68
  }
68
69
  }
@@ -97,5 +97,6 @@ exports.Encounter = core.serialization
97
97
  referralNumber: core.serialization.property("referral_number", core.serialization.string().optional()),
98
98
  epsdtReferral: core.serialization.property("epsdt_referral", EpsdtReferral_1.EpsdtReferral.optional()),
99
99
  lastSubmittedAt: core.serialization.property("last_submitted_at", core.serialization.date().optional()),
100
+ createdAt: core.serialization.property("created_at", core.serialization.date()),
100
101
  })
101
102
  .extend(EncounterBase_1.EncounterBase);
@@ -6,6 +6,7 @@ export * as billingNotes from "./billingNotes";
6
6
  export * as chargeCaptureBundles from "./chargeCaptureBundles";
7
7
  export * as chargeCapture from "./chargeCapture";
8
8
  export * as claimSubmission from "./claimSubmission";
9
+ export * as clinicalTrials from "./clinicalTrials";
9
10
  export * as contracts from "./contracts";
10
11
  export * as credentialing from "./credentialing";
11
12
  export * as customSchemas from "./customSchemas";
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.eligibility = exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.remitDrafts = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.credentialing = exports.contracts = exports.claimSubmission = exports.chargeCapture = exports.chargeCaptureBundles = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
39
+ exports.eligibility = exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.remitDrafts = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.credentialing = exports.contracts = exports.clinicalTrials = exports.claimSubmission = exports.chargeCapture = exports.chargeCaptureBundles = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
40
40
  exports.feeSchedules = __importStar(require("./feeSchedules"));
41
41
  exports.commons = __importStar(require("./commons"));
42
42
  __exportStar(require("./commons/errors"), exports);
@@ -45,6 +45,7 @@ exports.billingNotes = __importStar(require("./billingNotes"));
45
45
  exports.chargeCaptureBundles = __importStar(require("./chargeCaptureBundles"));
46
46
  exports.chargeCapture = __importStar(require("./chargeCapture"));
47
47
  exports.claimSubmission = __importStar(require("./claimSubmission"));
48
+ exports.clinicalTrials = __importStar(require("./clinicalTrials"));
48
49
  exports.contracts = __importStar(require("./contracts"));
49
50
  exports.credentialing = __importStar(require("./credentialing"));
50
51
  exports.customSchemas = __importStar(require("./customSchemas"));
@@ -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 { ClinicalTrial } from "../../clinicalTrials/resources/v1/types/ClinicalTrial";
8
+ export declare const PatientClinicalTrialInfo: core.serialization.ObjectSchema<serializers.PatientClinicalTrialInfo.Raw, CandidApi.PatientClinicalTrialInfo>;
9
+ export declare namespace PatientClinicalTrialInfo {
10
+ interface Raw {
11
+ clinical_trial_arm?: string | null;
12
+ clinical_trial: ClinicalTrial.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.PatientClinicalTrialInfo = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const ClinicalTrial_1 = require("../../clinicalTrials/resources/v1/types/ClinicalTrial");
42
+ exports.PatientClinicalTrialInfo = core.serialization.object({
43
+ clinicalTrialArm: core.serialization.property("clinical_trial_arm", core.serialization.string().optional()),
44
+ clinicalTrial: core.serialization.property("clinical_trial", ClinicalTrial_1.ClinicalTrial),
45
+ });
@@ -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
+ }