candidhealth 0.39.9 → 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 (315) hide show
  1. package/README.md +28 -8
  2. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  3. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  4. package/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  5. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  6. package/api/resources/claims/types/Claim.d.ts +1 -0
  7. package/api/resources/clinicalTrials/index.d.ts +1 -0
  8. package/api/resources/clinicalTrials/index.js +17 -0
  9. package/api/resources/clinicalTrials/resources/index.d.ts +1 -0
  10. package/api/resources/clinicalTrials/resources/index.js +37 -0
  11. package/api/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  12. package/api/resources/clinicalTrials/resources/v1/index.js +17 -0
  13. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +9 -0
  14. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +5 -0
  15. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +9 -0
  16. package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +11 -0
  17. package/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +10 -0
  18. package/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +5 -0
  19. package/api/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  20. package/api/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  21. package/api/resources/commons/types/AdjustmentId.d.ts +8 -0
  22. package/api/resources/commons/types/AdjustmentId.js +9 -0
  23. package/api/resources/commons/types/ClinicalTrialId.d.ts +8 -0
  24. package/api/resources/commons/types/ClinicalTrialId.js +9 -0
  25. package/api/resources/commons/types/ProcedureModifier.d.ts +16 -0
  26. package/api/resources/commons/types/ProcedureModifier.js +4 -0
  27. package/api/resources/commons/types/index.d.ts +2 -0
  28. package/api/resources/commons/types/index.js +2 -0
  29. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  30. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  31. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  32. package/api/resources/diagnoses/client/Client.js +3 -3
  33. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  34. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  35. package/api/resources/encounters/resources/v4/client/Client.d.ts +4 -1
  36. package/api/resources/encounters/resources/v4/client/Client.js +9 -6
  37. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +4 -1
  38. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +11 -4
  39. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +9 -4
  40. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  41. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  42. package/api/resources/exports/resources/v3/client/Client.d.ts +3 -0
  43. package/api/resources/exports/resources/v3/client/Client.js +4 -1
  44. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  45. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  46. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  47. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  48. package/api/resources/index.d.ts +1 -0
  49. package/api/resources/index.js +2 -1
  50. package/api/resources/individual/types/Patient.d.ts +6 -3
  51. package/api/resources/individual/types/PatientClinicalTrialInfo.d.ts +8 -0
  52. package/api/resources/individual/types/PatientClinicalTrialInfo.js +5 -0
  53. package/api/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +8 -0
  54. package/api/resources/individual/types/PatientClinicalTrialInfoCreate.js +5 -0
  55. package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +6 -2
  56. package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +1 -0
  57. package/api/resources/individual/types/index.d.ts +2 -0
  58. package/api/resources/individual/types/index.js +2 -0
  59. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  60. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  61. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  62. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  63. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  64. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  65. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  66. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +3 -1
  67. package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +4 -1
  68. package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  69. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  70. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  71. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  72. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  73. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  74. package/api/resources/payers/resources/v3/types/Payer.d.ts +1 -0
  75. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  76. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +9 -0
  77. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +5 -0
  78. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +11 -0
  79. package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +9 -0
  80. package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  81. package/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  82. package/api/resources/preEncounter/resources/common/types/index.js +2 -0
  83. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  84. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  85. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  86. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  87. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +10 -10
  88. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  89. package/api/resources/serviceFacility/client/Client.js +1 -1
  90. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  91. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -0
  92. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
  93. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
  94. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -0
  95. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  96. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +20 -0
  97. package/api/resources/writeOffs/resources/v1/client/Client.js +82 -4
  98. package/api/resources/writeOffs/resources/v1/client/index.d.ts +2 -0
  99. package/api/resources/writeOffs/resources/v1/client/index.js +3 -1
  100. package/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.d.ts +22 -0
  101. package/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.js +57 -0
  102. package/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.d.ts +22 -0
  103. package/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.js +57 -0
  104. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  105. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  106. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  107. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  108. package/dist/api/resources/claims/types/Claim.d.ts +1 -0
  109. package/dist/api/resources/clinicalTrials/index.d.ts +1 -0
  110. package/dist/api/resources/clinicalTrials/index.js +17 -0
  111. package/dist/api/resources/clinicalTrials/resources/index.d.ts +1 -0
  112. package/dist/api/resources/clinicalTrials/resources/index.js +37 -0
  113. package/dist/api/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  114. package/dist/api/resources/clinicalTrials/resources/v1/index.js +17 -0
  115. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +9 -0
  116. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +5 -0
  117. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +9 -0
  118. package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +11 -0
  119. package/dist/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +10 -0
  120. package/dist/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +5 -0
  121. package/dist/api/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  122. package/dist/api/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  123. package/dist/api/resources/commons/types/AdjustmentId.d.ts +8 -0
  124. package/dist/api/resources/commons/types/AdjustmentId.js +9 -0
  125. package/dist/api/resources/commons/types/ClinicalTrialId.d.ts +8 -0
  126. package/dist/api/resources/commons/types/ClinicalTrialId.js +9 -0
  127. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +16 -0
  128. package/dist/api/resources/commons/types/ProcedureModifier.js +4 -0
  129. package/dist/api/resources/commons/types/index.d.ts +2 -0
  130. package/dist/api/resources/commons/types/index.js +2 -0
  131. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  132. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  133. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  134. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  135. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  136. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  137. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +4 -1
  138. package/dist/api/resources/encounters/resources/v4/client/Client.js +9 -6
  139. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +4 -1
  140. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +11 -4
  141. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +9 -4
  142. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  143. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  144. package/dist/api/resources/exports/resources/v3/client/Client.d.ts +3 -0
  145. package/dist/api/resources/exports/resources/v3/client/Client.js +4 -1
  146. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  147. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  148. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  149. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  150. package/dist/api/resources/index.d.ts +1 -0
  151. package/dist/api/resources/index.js +2 -1
  152. package/dist/api/resources/individual/types/Patient.d.ts +6 -3
  153. package/dist/api/resources/individual/types/PatientClinicalTrialInfo.d.ts +8 -0
  154. package/dist/api/resources/individual/types/PatientClinicalTrialInfo.js +5 -0
  155. package/dist/api/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +8 -0
  156. package/dist/api/resources/individual/types/PatientClinicalTrialInfoCreate.js +5 -0
  157. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +6 -2
  158. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +1 -0
  159. package/dist/api/resources/individual/types/index.d.ts +2 -0
  160. package/dist/api/resources/individual/types/index.js +2 -0
  161. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  162. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  163. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  164. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  165. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  166. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  167. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  168. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +3 -1
  169. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +4 -1
  170. package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  171. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  172. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  173. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  174. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  175. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  176. package/dist/api/resources/payers/resources/v3/types/Payer.d.ts +1 -0
  177. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  178. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +9 -0
  179. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +5 -0
  180. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +11 -0
  181. package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +9 -0
  182. package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  183. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  184. package/dist/api/resources/preEncounter/resources/common/types/index.js +2 -0
  185. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  186. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  187. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  188. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  189. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +10 -10
  190. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  191. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  192. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  193. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -0
  194. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
  195. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
  196. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -0
  197. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  198. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +20 -0
  199. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +82 -4
  200. package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +2 -0
  201. package/dist/api/resources/writeOffs/resources/v1/client/index.js +3 -1
  202. package/dist/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.d.ts +22 -0
  203. package/dist/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.js +57 -0
  204. package/dist/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.d.ts +22 -0
  205. package/dist/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.js +57 -0
  206. package/dist/serialization/resources/clinicalTrials/index.d.ts +1 -0
  207. package/dist/serialization/resources/clinicalTrials/index.js +17 -0
  208. package/dist/serialization/resources/clinicalTrials/resources/index.d.ts +1 -0
  209. package/dist/serialization/resources/clinicalTrials/resources/index.js +37 -0
  210. package/dist/serialization/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  211. package/dist/serialization/resources/clinicalTrials/resources/v1/index.js +17 -0
  212. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +17 -0
  213. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +50 -0
  214. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +10 -0
  215. package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +41 -0
  216. package/dist/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +15 -0
  217. package/dist/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +46 -0
  218. package/dist/serialization/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  219. package/dist/serialization/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  220. package/dist/serialization/resources/commons/types/AdjustmentId.d.ts +10 -0
  221. package/dist/serialization/resources/commons/types/AdjustmentId.js +45 -0
  222. package/dist/serialization/resources/commons/types/ClinicalTrialId.d.ts +10 -0
  223. package/dist/serialization/resources/commons/types/ClinicalTrialId.js +45 -0
  224. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  225. package/dist/serialization/resources/commons/types/ProcedureModifier.js +4 -0
  226. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  227. package/dist/serialization/resources/commons/types/index.js +2 -0
  228. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  229. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  230. package/dist/serialization/resources/index.d.ts +1 -0
  231. package/dist/serialization/resources/index.js +2 -1
  232. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfo.d.ts +14 -0
  233. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfo.js +45 -0
  234. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +14 -0
  235. package/dist/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.js +45 -0
  236. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +2 -0
  237. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +2 -0
  238. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +2 -0
  239. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +2 -0
  240. package/dist/serialization/resources/individual/types/index.d.ts +2 -0
  241. package/dist/serialization/resources/individual/types/index.js +2 -0
  242. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  243. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  244. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  245. package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  246. package/dist/serialization/resources/payers/resources/v3/types/Payer.d.ts +2 -0
  247. package/dist/serialization/resources/payers/resources/v3/types/Payer.js +2 -0
  248. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +16 -0
  249. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +47 -0
  250. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +10 -0
  251. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +45 -0
  252. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  253. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +2 -0
  254. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  255. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  256. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +4 -0
  257. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +4 -0
  258. package/dist/version.d.ts +1 -1
  259. package/dist/version.js +1 -1
  260. package/package.json +1 -1
  261. package/reference.md +138 -0
  262. package/serialization/resources/clinicalTrials/index.d.ts +1 -0
  263. package/serialization/resources/clinicalTrials/index.js +17 -0
  264. package/serialization/resources/clinicalTrials/resources/index.d.ts +1 -0
  265. package/serialization/resources/clinicalTrials/resources/index.js +37 -0
  266. package/serialization/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
  267. package/serialization/resources/clinicalTrials/resources/v1/index.js +17 -0
  268. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +17 -0
  269. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +50 -0
  270. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +10 -0
  271. package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +41 -0
  272. package/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +15 -0
  273. package/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +46 -0
  274. package/serialization/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
  275. package/serialization/resources/clinicalTrials/resources/v1/types/index.js +19 -0
  276. package/serialization/resources/commons/types/AdjustmentId.d.ts +10 -0
  277. package/serialization/resources/commons/types/AdjustmentId.js +45 -0
  278. package/serialization/resources/commons/types/ClinicalTrialId.d.ts +10 -0
  279. package/serialization/resources/commons/types/ClinicalTrialId.js +45 -0
  280. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  281. package/serialization/resources/commons/types/ProcedureModifier.js +4 -0
  282. package/serialization/resources/commons/types/index.d.ts +2 -0
  283. package/serialization/resources/commons/types/index.js +2 -0
  284. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  285. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  286. package/serialization/resources/index.d.ts +1 -0
  287. package/serialization/resources/index.js +2 -1
  288. package/serialization/resources/individual/types/PatientClinicalTrialInfo.d.ts +14 -0
  289. package/serialization/resources/individual/types/PatientClinicalTrialInfo.js +45 -0
  290. package/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +14 -0
  291. package/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.js +45 -0
  292. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +2 -0
  293. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +2 -0
  294. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +2 -0
  295. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +2 -0
  296. package/serialization/resources/individual/types/index.d.ts +2 -0
  297. package/serialization/resources/individual/types/index.js +2 -0
  298. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  299. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  300. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
  301. package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
  302. package/serialization/resources/payers/resources/v3/types/Payer.d.ts +2 -0
  303. package/serialization/resources/payers/resources/v3/types/Payer.js +2 -0
  304. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +16 -0
  305. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +47 -0
  306. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +10 -0
  307. package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +45 -0
  308. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  309. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +2 -0
  310. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  311. package/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  312. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +4 -0
  313. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +4 -0
  314. package/version.d.ts +1 -1
  315. package/version.js +1 -1
@@ -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
+ }
@@ -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);
@@ -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
  ]);
@@ -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 { PayerUuid } from "./PayerUuid";
8
+ import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
8
9
  export declare const Payer: core.serialization.ObjectSchema<serializers.payers.v3.Payer.Raw, CandidApi.payers.v3.Payer>;
9
10
  export declare namespace Payer {
10
11
  interface Raw {
@@ -15,5 +16,6 @@ export declare namespace Payer {
15
16
  availity_claims_payer_id?: string | null;
16
17
  availity_eligibility_id?: string | null;
17
18
  availity_remittance_payer_id?: string | null;
19
+ street_address?: StreetAddressLongZip.Raw | null;
18
20
  }
19
21
  }
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.Payer = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
41
  const PayerUuid_1 = require("./PayerUuid");
42
+ const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
42
43
  exports.Payer = core.serialization.object({
43
44
  payerUuid: core.serialization.property("payer_uuid", PayerUuid_1.PayerUuid),
44
45
  payerId: core.serialization.property("payer_id", core.serialization.string()),
@@ -47,4 +48,5 @@ exports.Payer = core.serialization.object({
47
48
  availityClaimsPayerId: core.serialization.property("availity_claims_payer_id", core.serialization.string().optional()),
48
49
  availityEligibilityId: core.serialization.property("availity_eligibility_id", core.serialization.string().optional()),
49
50
  availityRemittancePayerId: core.serialization.property("availity_remittance_payer_id", core.serialization.string().optional()),
51
+ streetAddress: core.serialization.property("street_address", StreetAddressLongZip_1.StreetAddressLongZip.optional()),
50
52
  });
@@ -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
+ }