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
@@ -6,6 +6,7 @@ import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  import { NonInsurancePayerId } from "./NonInsurancePayerId";
8
8
  import { StreetAddressShortZip } from "../../../../commons/types/StreetAddressShortZip";
9
+ import { ClinicalTrial } from "../../../../clinicalTrials/resources/v1/types/ClinicalTrial";
9
10
  export declare const NonInsurancePayer: core.serialization.ObjectSchema<serializers.nonInsurancePayers.v1.NonInsurancePayer.Raw, CandidApi.nonInsurancePayers.v1.NonInsurancePayer>;
10
11
  export declare namespace NonInsurancePayer {
11
12
  interface Raw {
@@ -15,5 +16,6 @@ export declare namespace NonInsurancePayer {
15
16
  category?: string | null;
16
17
  enabled: boolean;
17
18
  address?: StreetAddressShortZip.Raw | null;
19
+ clinical_trials: ClinicalTrial.Raw[];
18
20
  }
19
21
  }
@@ -40,6 +40,7 @@ exports.NonInsurancePayer = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
41
  const NonInsurancePayerId_1 = require("./NonInsurancePayerId");
42
42
  const StreetAddressShortZip_1 = require("../../../../commons/types/StreetAddressShortZip");
43
+ const ClinicalTrial_1 = require("../../../../clinicalTrials/resources/v1/types/ClinicalTrial");
43
44
  exports.NonInsurancePayer = core.serialization.object({
44
45
  nonInsurancePayerId: core.serialization.property("non_insurance_payer_id", NonInsurancePayerId_1.NonInsurancePayerId),
45
46
  name: core.serialization.string(),
@@ -47,4 +48,5 @@ exports.NonInsurancePayer = core.serialization.object({
47
48
  category: core.serialization.string().optional(),
48
49
  enabled: core.serialization.boolean(),
49
50
  address: StreetAddressShortZip_1.StreetAddressShortZip.optional(),
51
+ clinicalTrials: core.serialization.property("clinical_trials", core.serialization.list(ClinicalTrial_1.ClinicalTrial)),
50
52
  });
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const LicenseType: core.serialization.Schema<serializers.organizationProviders.v2.LicenseType.Raw, CandidApi.organizationProviders.v2.LicenseType>;
8
8
  export declare namespace LicenseType {
9
- type Raw = "MD" | "NP" | "PA" | "LMFT" | "LCPC" | "LCSW" | "PMHNP" | "FNP" | "LPCC" | "DO" | "RD" | "SLP" | "APRN" | "LPC" | "PHD" | "PSYD" | "LMSW" | "LMHC" | "OTHER_MASTERS" | "BCBA" | "UNKNOWN" | "RPH" | "PHT" | "LAC" | "LMT" | "DC" | "ND" | "MA" | "PT" | "IBCLC" | "RN" | "DPT" | "LCMHC" | "CNM" | "RNFA" | "ACSW" | "APC" | "BCABA" | "BHA" | "OD" | "DPM" | "DA" | "DDS" | "DEH" | "DMD" | "PTA" | "LCADC" | "LCAT" | "LCMHCS" | "LCMHCA" | "LCSWA" | "LICSW" | "LISW" | "LMFTS" | "LMFTA" | "LPCI" | "LSCSW" | "MHCA" | "MHT" | "RBT" | "RCSWI" | "RHMCI" | "LPN" | "OTD" | "OMS" | "MFTA" | "APCC" | "DNP" | "AGNPBC" | "ANP" | "FNPPP" | "LCSWR" | "ALC" | "RMFTI" | "LAMFT" | "LPCA" | "LSWI" | "CSW" | "CPC" | "LGMFT" | "LLPC" | "PLPC" | "PLMFT" | "LMHCA" | "CIT" | "CT" | "MFT" | "LSW" | "PLMHP" | "PCMSW" | "LMHP" | "OTR/L" | "RPA" | "COTA" | "CRNP";
9
+ type Raw = "MD" | "NP" | "PA" | "LMFT" | "LCPC" | "LCSW" | "PMHNP" | "FNP" | "LPCC" | "DO" | "RD" | "SLP" | "APRN" | "LPC" | "PHD" | "PSYD" | "LMSW" | "LMHC" | "OTHER_MASTERS" | "BCBA" | "UNKNOWN" | "RPH" | "PHT" | "LAC" | "LMT" | "DC" | "ND" | "MA" | "PT" | "IBCLC" | "RN" | "DPT" | "LCMHC" | "CNM" | "RNFA" | "ACSW" | "APC" | "BCABA" | "BHA" | "OD" | "DPM" | "DA" | "DDS" | "DEH" | "DMD" | "PTA" | "LCADC" | "LCAT" | "LCMHCS" | "LCMHCA" | "LCSWA" | "LICSW" | "LISW" | "LMFTS" | "LMFTA" | "LPCI" | "LSCSW" | "MHCA" | "MHT" | "RBT" | "RCSWI" | "RHMCI" | "LPN" | "OTD" | "OMS" | "MFTA" | "APCC" | "DNP" | "AGNPBC" | "ANP" | "FNPPP" | "LCSWR" | "ALC" | "RMFTI" | "LAMFT" | "LPCA" | "LSWI" | "CSW" | "CPC" | "LGMFT" | "LLPC" | "PLPC" | "PLMFT" | "LMHCA" | "CIT" | "CT" | "MFT" | "LSW" | "PLMHP" | "PCMSW" | "LMHP" | "OTR/L" | "RPA" | "COTA" | "CRNP" | "SLP-CF" | "NP-C" | "PA-C";
10
10
  }
@@ -134,4 +134,7 @@ exports.LicenseType = core.serialization.enum_([
134
134
  "RPA",
135
135
  "COTA",
136
136
  "CRNP",
137
+ "SLP-CF",
138
+ "NP-C",
139
+ "PA-C",
137
140
  ]);
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { CanonicalClinicalTrialId } from "./CanonicalClinicalTrialId";
8
+ import { Period } from "./Period";
9
+ export declare const CanonicalClinicalTrialAssociation: core.serialization.ObjectSchema<serializers.preEncounter.CanonicalClinicalTrialAssociation.Raw, CandidApi.preEncounter.CanonicalClinicalTrialAssociation>;
10
+ export declare namespace CanonicalClinicalTrialAssociation {
11
+ interface Raw {
12
+ id: CanonicalClinicalTrialId.Raw;
13
+ clinical_trial_arm?: string | null;
14
+ period?: Period.Raw | null;
15
+ }
16
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.CanonicalClinicalTrialAssociation = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const CanonicalClinicalTrialId_1 = require("./CanonicalClinicalTrialId");
42
+ const Period_1 = require("./Period");
43
+ exports.CanonicalClinicalTrialAssociation = core.serialization.object({
44
+ id: CanonicalClinicalTrialId_1.CanonicalClinicalTrialId,
45
+ clinicalTrialArm: core.serialization.property("clinical_trial_arm", core.serialization.string().optional()),
46
+ period: Period_1.Period.optional(),
47
+ });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const CanonicalClinicalTrialId: core.serialization.Schema<serializers.preEncounter.CanonicalClinicalTrialId.Raw, CandidApi.preEncounter.CanonicalClinicalTrialId>;
8
+ export declare namespace CanonicalClinicalTrialId {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.CanonicalClinicalTrialId = void 0;
40
+ const CandidApi = __importStar(require("../../../../../../api/index"));
41
+ const core = __importStar(require("../../../../../../core"));
42
+ exports.CanonicalClinicalTrialId = core.serialization.string().transform({
43
+ transform: CandidApi.preEncounter.CanonicalClinicalTrialId,
44
+ untransform: (value) => value,
45
+ });
@@ -5,10 +5,12 @@ import * as serializers from "../../../../../index";
5
5
  import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  import { CanonicalNonInsurancePayerId } from "./CanonicalNonInsurancePayerId";
8
+ import { CanonicalClinicalTrialAssociation } from "./CanonicalClinicalTrialAssociation";
8
9
  export declare const CanonicalNonInsurancePayerAssociation: core.serialization.ObjectSchema<serializers.preEncounter.CanonicalNonInsurancePayerAssociation.Raw, CandidApi.preEncounter.CanonicalNonInsurancePayerAssociation>;
9
10
  export declare namespace CanonicalNonInsurancePayerAssociation {
10
11
  interface Raw {
11
12
  id: CanonicalNonInsurancePayerId.Raw;
12
13
  member_id?: string | null;
14
+ clinical_trial_info?: CanonicalClinicalTrialAssociation.Raw[] | null;
13
15
  }
14
16
  }
@@ -39,7 +39,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.CanonicalNonInsurancePayerAssociation = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
41
  const CanonicalNonInsurancePayerId_1 = require("./CanonicalNonInsurancePayerId");
42
+ const CanonicalClinicalTrialAssociation_1 = require("./CanonicalClinicalTrialAssociation");
42
43
  exports.CanonicalNonInsurancePayerAssociation = core.serialization.object({
43
44
  id: CanonicalNonInsurancePayerId_1.CanonicalNonInsurancePayerId,
44
45
  memberId: core.serialization.property("member_id", core.serialization.string().optional()),
46
+ clinicalTrialInfo: core.serialization.property("clinical_trial_info", core.serialization.list(CanonicalClinicalTrialAssociation_1.CanonicalClinicalTrialAssociation).optional()),
45
47
  });
@@ -12,6 +12,8 @@ export * from "./CanonicalProviderId";
12
12
  export * from "./ExternalIdentifier";
13
13
  export * from "./CanonicalNonInsurancePayerAssociation";
14
14
  export * from "./CanonicalNonInsurancePayerId";
15
+ export * from "./CanonicalClinicalTrialAssociation";
16
+ export * from "./CanonicalClinicalTrialId";
15
17
  export * from "./Relationship";
16
18
  export * from "./Gender";
17
19
  export * from "./Sex";
@@ -28,6 +28,8 @@ __exportStar(require("./CanonicalProviderId"), exports);
28
28
  __exportStar(require("./ExternalIdentifier"), exports);
29
29
  __exportStar(require("./CanonicalNonInsurancePayerAssociation"), exports);
30
30
  __exportStar(require("./CanonicalNonInsurancePayerId"), exports);
31
+ __exportStar(require("./CanonicalClinicalTrialAssociation"), exports);
32
+ __exportStar(require("./CanonicalClinicalTrialId"), exports);
31
33
  __exportStar(require("./Relationship"), exports);
32
34
  __exportStar(require("./Gender"), exports);
33
35
  __exportStar(require("./Sex"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.39.10";
1
+ export declare const SDK_VERSION = "0.39.11";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.39.10";
4
+ exports.SDK_VERSION = "0.39.11";