candidhealth 0.43.1 → 0.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) 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/billingNotes/resources/v2/types/index.d.ts +0 -1
  4. package/api/resources/billingNotes/resources/v2/types/index.js +0 -1
  5. package/api/resources/chargeCapture/resources/v1/client/Client.js +6 -6
  6. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +27 -1
  7. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  8. package/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
  9. package/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
  10. package/api/resources/commons/types/index.d.ts +2 -0
  11. package/api/resources/commons/types/index.js +2 -0
  12. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  13. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  14. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  15. package/api/resources/diagnoses/client/Client.js +3 -3
  16. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  17. package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  18. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  19. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
  20. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
  21. package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
  22. package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
  23. package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
  24. package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
  25. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
  26. package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
  27. package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
  28. package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
  29. package/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  30. package/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
  31. package/api/resources/encounters/resources/v4/client/Client.d.ts +128 -0
  32. package/api/resources/encounters/resources/v4/client/Client.js +133 -5
  33. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -0
  34. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +168 -0
  35. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  36. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -26
  37. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  38. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  39. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  40. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  41. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  42. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  43. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  44. package/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
  45. package/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
  46. package/api/resources/individual/types/index.d.ts +1 -0
  47. package/api/resources/individual/types/index.js +1 -0
  48. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  49. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  50. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  51. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  52. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  53. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  54. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  55. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  56. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  57. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  58. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  59. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  60. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  61. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  62. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  63. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  64. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  65. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  66. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  67. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  68. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  69. package/api/resources/serviceFacility/client/Client.js +1 -1
  70. package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
  71. package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
  72. package/api/resources/serviceFacility/types/index.d.ts +1 -0
  73. package/api/resources/serviceFacility/types/index.js +1 -0
  74. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  75. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  76. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  77. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  78. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  79. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  80. package/dist/api/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  81. package/dist/api/resources/billingNotes/resources/v2/types/index.js +0 -1
  82. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +6 -6
  83. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +27 -1
  84. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  85. package/dist/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
  86. package/dist/api/resources/commons/types/StreetAddressOptionalBase.js +5 -0
  87. package/dist/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
  88. package/dist/api/resources/commons/types/StreetAddressShortZipOptional.js +5 -0
  89. package/dist/api/resources/commons/types/index.d.ts +2 -0
  90. package/dist/api/resources/commons/types/index.js +2 -0
  91. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  92. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  93. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  94. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  95. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  96. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
  97. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  98. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
  99. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
  100. package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
  101. package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
  102. package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
  103. package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
  104. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
  105. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
  106. package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
  107. package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
  108. package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  109. package/dist/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
  110. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +128 -0
  111. package/dist/api/resources/encounters/resources/v4/client/Client.js +133 -5
  112. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -0
  113. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +168 -0
  114. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  115. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -26
  116. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  117. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  118. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  119. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  120. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  121. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  122. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  123. package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
  124. package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
  125. package/dist/api/resources/individual/types/index.d.ts +1 -0
  126. package/dist/api/resources/individual/types/index.js +1 -0
  127. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  128. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  129. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  130. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  131. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  132. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  133. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  134. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  135. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  136. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  137. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  138. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  139. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  140. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  141. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  142. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  143. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  144. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  145. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  146. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  147. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  148. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  149. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
  150. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
  151. package/dist/api/resources/serviceFacility/types/index.d.ts +1 -0
  152. package/dist/api/resources/serviceFacility/types/index.js +1 -0
  153. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  154. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  155. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  156. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  157. package/dist/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  158. package/dist/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
  159. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
  160. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
  161. package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
  162. package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
  163. package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
  164. package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
  165. package/dist/serialization/resources/commons/types/index.d.ts +2 -0
  166. package/dist/serialization/resources/commons/types/index.js +2 -0
  167. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
  168. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
  169. package/dist/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
  170. package/dist/serialization/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js} +10 -11
  171. package/dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
  172. package/{serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js} +8 -11
  173. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
  174. package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
  175. package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
  176. package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
  177. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  178. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
  179. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  180. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  181. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
  182. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
  183. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  184. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  185. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
  186. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
  187. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
  188. package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
  189. package/dist/serialization/resources/individual/types/index.d.ts +1 -0
  190. package/dist/serialization/resources/individual/types/index.js +1 -0
  191. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
  192. package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
  193. package/dist/serialization/resources/serviceFacility/types/index.d.ts +1 -0
  194. package/dist/serialization/resources/serviceFacility/types/index.js +1 -0
  195. package/dist/version.d.ts +1 -1
  196. package/dist/version.js +1 -1
  197. package/package.json +1 -1
  198. package/reference.md +134 -0
  199. package/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
  200. package/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
  201. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
  202. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
  203. package/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
  204. package/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
  205. package/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
  206. package/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
  207. package/serialization/resources/commons/types/index.d.ts +2 -0
  208. package/serialization/resources/commons/types/index.js +2 -0
  209. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
  210. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
  211. package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
  212. package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +51 -0
  213. package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
  214. package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +49 -0
  215. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
  216. package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
  217. package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
  218. package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
  219. package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
  220. package/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
  221. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  222. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  223. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
  224. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
  225. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  226. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  227. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
  228. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
  229. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
  230. package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
  231. package/serialization/resources/individual/types/index.d.ts +1 -0
  232. package/serialization/resources/individual/types/index.js +1 -0
  233. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
  234. package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
  235. package/serialization/resources/serviceFacility/types/index.d.ts +1 -0
  236. package/serialization/resources/serviceFacility/types/index.js +1 -0
  237. package/version.d.ts +1 -1
  238. package/version.js +1 -1
  239. package/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
  240. package/dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
  241. package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
  242. package/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
  243. /package/api/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → commons/types/StreetAddressOptionalBase.js} +0 -0
  244. /package/{dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → api/resources/commons/types/StreetAddressShortZipOptional.js} +0 -0
@@ -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 { StreetAddressShortZipOptional } from "../../../../commons/types/StreetAddressShortZipOptional";
8
+ import { EncounterProviderBase } from "./EncounterProviderBase";
9
+ export declare const RenderingProviderUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.encounterProviders.v2.RenderingProviderUpdateWithOptionalAddress.Raw, CandidApi.encounterProviders.v2.RenderingProviderUpdateWithOptionalAddress>;
10
+ export declare namespace RenderingProviderUpdateWithOptionalAddress {
11
+ interface Raw extends EncounterProviderBase.Raw {
12
+ npi?: string | null;
13
+ taxonomy_code?: string | null;
14
+ address?: StreetAddressShortZipOptional.Raw | null;
15
+ }
16
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.RenderingProviderUpdateWithOptionalAddress = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
42
+ const EncounterProviderBase_1 = require("./EncounterProviderBase");
43
+ exports.RenderingProviderUpdateWithOptionalAddress = core.serialization
44
+ .object({
45
+ npi: core.serialization.string().optional(),
46
+ taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
47
+ address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
48
+ })
49
+ .extend(EncounterProviderBase_1.EncounterProviderBase);
@@ -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 { StreetAddressShortZipOptional } from "../../../../commons/types/StreetAddressShortZipOptional";
8
+ import { EncounterProviderBase } from "./EncounterProviderBase";
9
+ export declare const SupervisingProviderUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.encounterProviders.v2.SupervisingProviderUpdateWithOptionalAddress.Raw, CandidApi.encounterProviders.v2.SupervisingProviderUpdateWithOptionalAddress>;
10
+ export declare namespace SupervisingProviderUpdateWithOptionalAddress {
11
+ interface Raw extends EncounterProviderBase.Raw {
12
+ npi?: string | null;
13
+ taxonomy_code?: string | null;
14
+ address?: StreetAddressShortZipOptional.Raw | null;
15
+ }
16
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.SupervisingProviderUpdateWithOptionalAddress = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
42
+ const EncounterProviderBase_1 = require("./EncounterProviderBase");
43
+ exports.SupervisingProviderUpdateWithOptionalAddress = core.serialization
44
+ .object({
45
+ npi: core.serialization.string().optional(),
46
+ taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
47
+ address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
48
+ })
49
+ .extend(EncounterProviderBase_1.EncounterProviderBase);
@@ -11,5 +11,10 @@ export * from "./OrderingProvider";
11
11
  export * from "./OrderingProviderUpdate";
12
12
  export * from "./BillingProvider";
13
13
  export * from "./BillingProviderUpdate";
14
+ export * from "./BillingProviderUpdateWithOptionalAddress";
15
+ export * from "./RenderingProviderUpdateWithOptionalAddress";
16
+ export * from "./InitialReferringProviderUpdateWithOptionalAddress";
17
+ export * from "./ReferringProviderUpdateWithOptionalAddress";
18
+ export * from "./SupervisingProviderUpdateWithOptionalAddress";
14
19
  export * from "./ProviderId";
15
20
  export * from "./EncounterProvider";
@@ -27,5 +27,10 @@ __exportStar(require("./OrderingProvider"), exports);
27
27
  __exportStar(require("./OrderingProviderUpdate"), exports);
28
28
  __exportStar(require("./BillingProvider"), exports);
29
29
  __exportStar(require("./BillingProviderUpdate"), exports);
30
+ __exportStar(require("./BillingProviderUpdateWithOptionalAddress"), exports);
31
+ __exportStar(require("./RenderingProviderUpdateWithOptionalAddress"), exports);
32
+ __exportStar(require("./InitialReferringProviderUpdateWithOptionalAddress"), exports);
33
+ __exportStar(require("./ReferringProviderUpdateWithOptionalAddress"), exports);
34
+ __exportStar(require("./SupervisingProviderUpdateWithOptionalAddress"), exports);
30
35
  __exportStar(require("./ProviderId"), exports);
31
36
  __exportStar(require("./EncounterProvider"), exports);
@@ -55,5 +55,6 @@ export declare namespace EncounterCreate {
55
55
  referral_number?: string | null;
56
56
  epsdt_referral?: EpsdtReferral.Raw | null;
57
57
  claim_supplemental_information?: ClaimSupplementalInformation.Raw[] | null;
58
+ secondary_payer_carrier_code?: string | null;
58
59
  }
59
60
  }
@@ -88,5 +88,6 @@ exports.EncounterCreate = core.serialization
88
88
  referralNumber: core.serialization.property("referral_number", core.serialization.string().optional()),
89
89
  epsdtReferral: core.serialization.property("epsdt_referral", EpsdtReferral_1.EpsdtReferral.optional()),
90
90
  claimSupplementalInformation: core.serialization.property("claim_supplemental_information", core.serialization.list(ClaimSupplementalInformation_1.ClaimSupplementalInformation).optional()),
91
+ secondaryPayerCarrierCode: core.serialization.property("secondary_payer_carrier_code", core.serialization.string().optional()),
91
92
  })
92
93
  .extend(EncounterBase_1.EncounterBase);
@@ -4,13 +4,29 @@
4
4
  import * as serializers from "../../../../../../index";
5
5
  import * as CandidApi from "../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../core";
7
+ import { StreetAddressLongZip } from "../../../../../commons/types/StreetAddressLongZip";
7
8
  import { DiagnosisId } from "../../../../../diagnoses/types/DiagnosisId";
9
+ import { InitialReferringProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdate";
10
+ import { ReferringProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/ReferringProviderUpdate";
11
+ import { PatientUpdate } from "../../../../../individual/types/PatientUpdate";
12
+ import { RenderingProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/RenderingProviderUpdate";
13
+ import { EncounterServiceFacilityUpdate } from "../../../../../serviceFacility/types/EncounterServiceFacilityUpdate";
14
+ import { SupervisingProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdate";
15
+ import { BillingProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/BillingProviderUpdate";
8
16
  import { FacilityTypeCode } from "../../../../../commons/types/FacilityTypeCode";
9
17
  import { EncounterOptional } from "../../types/EncounterOptional";
10
18
  export declare const EncounterUpdate: core.serialization.Schema<serializers.encounters.v4.EncounterUpdate.Raw, CandidApi.encounters.v4.EncounterUpdate>;
11
19
  export declare namespace EncounterUpdate {
12
20
  interface Raw extends EncounterOptional.Raw {
21
+ pay_to_address?: StreetAddressLongZip.Raw | null;
13
22
  diagnosis_ids?: DiagnosisId.Raw[] | null;
23
+ initial_referring_provider?: InitialReferringProviderUpdate.Raw | null;
24
+ referring_provider?: ReferringProviderUpdate.Raw | null;
25
+ patient?: PatientUpdate.Raw | null;
26
+ rendering_provider?: RenderingProviderUpdate.Raw | null;
27
+ service_facility?: EncounterServiceFacilityUpdate.Raw | null;
28
+ supervising_provider?: SupervisingProviderUpdate.Raw | null;
29
+ billing_provider?: BillingProviderUpdate.Raw | null;
14
30
  place_of_service_code_as_submitted?: FacilityTypeCode.Raw | null;
15
31
  }
16
32
  }
@@ -38,12 +38,28 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.EncounterUpdate = void 0;
40
40
  const core = __importStar(require("../../../../../../../core"));
41
+ const StreetAddressLongZip_1 = require("../../../../../commons/types/StreetAddressLongZip");
41
42
  const DiagnosisId_1 = require("../../../../../diagnoses/types/DiagnosisId");
43
+ const InitialReferringProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdate");
44
+ const ReferringProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/ReferringProviderUpdate");
45
+ const PatientUpdate_1 = require("../../../../../individual/types/PatientUpdate");
46
+ const RenderingProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/RenderingProviderUpdate");
47
+ const EncounterServiceFacilityUpdate_1 = require("../../../../../serviceFacility/types/EncounterServiceFacilityUpdate");
48
+ const SupervisingProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdate");
49
+ const BillingProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/BillingProviderUpdate");
42
50
  const FacilityTypeCode_1 = require("../../../../../commons/types/FacilityTypeCode");
43
51
  const EncounterOptional_1 = require("../../types/EncounterOptional");
44
52
  exports.EncounterUpdate = core.serialization
45
53
  .object({
54
+ payToAddress: core.serialization.property("pay_to_address", StreetAddressLongZip_1.StreetAddressLongZip.optional()),
46
55
  diagnosisIds: core.serialization.property("diagnosis_ids", core.serialization.list(DiagnosisId_1.DiagnosisId).optional()),
56
+ initialReferringProvider: core.serialization.property("initial_referring_provider", InitialReferringProviderUpdate_1.InitialReferringProviderUpdate.optional()),
57
+ referringProvider: core.serialization.property("referring_provider", ReferringProviderUpdate_1.ReferringProviderUpdate.optional()),
58
+ patient: PatientUpdate_1.PatientUpdate.optional(),
59
+ renderingProvider: core.serialization.property("rendering_provider", RenderingProviderUpdate_1.RenderingProviderUpdate.optional()),
60
+ serviceFacility: core.serialization.property("service_facility", EncounterServiceFacilityUpdate_1.EncounterServiceFacilityUpdate.optional()),
61
+ supervisingProvider: core.serialization.property("supervising_provider", SupervisingProviderUpdate_1.SupervisingProviderUpdate.optional()),
62
+ billingProvider: core.serialization.property("billing_provider", BillingProviderUpdate_1.BillingProviderUpdate.optional()),
47
63
  placeOfServiceCodeAsSubmitted: core.serialization.property("place_of_service_code_as_submitted", FacilityTypeCode_1.FacilityTypeCode.optional()),
48
64
  })
49
65
  .extend(EncounterOptional_1.EncounterOptional);
@@ -66,6 +66,7 @@ export declare namespace Encounter {
66
66
  referral_number?: string | null;
67
67
  epsdt_referral?: EpsdtReferral.Raw | null;
68
68
  claim_supplemental_information?: ClaimSupplementalInformation.Raw[] | null;
69
+ secondary_payer_carrier_code?: string | null;
69
70
  last_submitted_at?: string | null;
70
71
  created_at: string;
71
72
  }
@@ -99,6 +99,7 @@ exports.Encounter = core.serialization
99
99
  referralNumber: core.serialization.property("referral_number", core.serialization.string().optional()),
100
100
  epsdtReferral: core.serialization.property("epsdt_referral", EpsdtReferral_1.EpsdtReferral.optional()),
101
101
  claimSupplementalInformation: core.serialization.property("claim_supplemental_information", core.serialization.list(ClaimSupplementalInformation_1.ClaimSupplementalInformation).optional()),
102
+ secondaryPayerCarrierCode: core.serialization.property("secondary_payer_carrier_code", core.serialization.string().optional()),
102
103
  lastSubmittedAt: core.serialization.property("last_submitted_at", core.serialization.date().optional()),
103
104
  createdAt: core.serialization.property("created_at", core.serialization.date()),
104
105
  })
@@ -8,7 +8,6 @@ import { PriorAuthorizationNumber } from "./PriorAuthorizationNumber";
8
8
  import { EncounterExternalId } from "../../../../commons/types/EncounterExternalId";
9
9
  import { TagId } from "../../../../tags/types/TagId";
10
10
  import { ClinicalNoteCategoryCreate } from "./ClinicalNoteCategoryCreate";
11
- import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
12
11
  import { BillableStatusType } from "./BillableStatusType";
13
12
  import { ResponsiblePartyType } from "./ResponsiblePartyType";
14
13
  import { SynchronicityType } from "./SynchronicityType";
@@ -16,17 +15,10 @@ import { FacilityTypeCode } from "../../../../commons/types/FacilityTypeCode";
16
15
  import { SubscriberCreate } from "../../../../individual/types/SubscriberCreate";
17
16
  import { ServiceAuthorizationExceptionCode } from "./ServiceAuthorizationExceptionCode";
18
17
  import { DelayReasonCode } from "../../../../commons/types/DelayReasonCode";
19
- import { PatientUpdate } from "../../../../individual/types/PatientUpdate";
20
18
  import { SchemaInstance } from "../../../../customSchemas/resources/v1/types/SchemaInstance";
21
19
  import { VitalsUpdate } from "./VitalsUpdate";
22
20
  import { Medication } from "./Medication";
23
- import { RenderingProviderUpdate } from "../../../../encounterProviders/resources/v2/types/RenderingProviderUpdate";
24
- import { EncounterServiceFacilityUpdate } from "../../../../serviceFacility/types/EncounterServiceFacilityUpdate";
25
21
  import { GuarantorUpdate } from "../../../../guarantor/resources/v1/types/GuarantorUpdate";
26
- import { BillingProviderUpdate } from "../../../../encounterProviders/resources/v2/types/BillingProviderUpdate";
27
- import { SupervisingProviderUpdate } from "../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdate";
28
- import { ReferringProviderUpdate } from "../../../../encounterProviders/resources/v2/types/ReferringProviderUpdate";
29
- import { InitialReferringProviderUpdate } from "../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdate";
30
22
  import { EpsdtReferral } from "./EpsdtReferral";
31
23
  import { ClaimSupplementalInformation } from "./ClaimSupplementalInformation";
32
24
  export declare const EncounterOptional: core.serialization.ObjectSchema<serializers.encounters.v4.EncounterOptional.Raw, CandidApi.encounters.v4.EncounterOptional>;
@@ -38,7 +30,6 @@ export declare namespace EncounterOptional {
38
30
  date_of_service?: string | null;
39
31
  tag_ids?: TagId.Raw[] | null;
40
32
  clinical_notes?: ClinicalNoteCategoryCreate.Raw[] | null;
41
- pay_to_address?: StreetAddressLongZip.Raw | null;
42
33
  billable_status?: BillableStatusType.Raw | null;
43
34
  responsible_party?: ResponsiblePartyType.Raw | null;
44
35
  provider_accepts_assignment?: boolean | null;
@@ -56,20 +47,14 @@ export declare namespace EncounterOptional {
56
47
  onset_of_current_illness_or_symptom_date?: string | null;
57
48
  last_menstrual_period_date?: string | null;
58
49
  delay_reason_code?: DelayReasonCode.Raw | null;
59
- patient?: PatientUpdate.Raw | null;
60
50
  patient_authorized_release?: boolean | null;
61
51
  schema_instances?: SchemaInstance.Raw[] | null;
62
52
  vitals?: VitalsUpdate.Raw | null;
63
53
  existing_medications?: Medication.Raw[] | null;
64
- rendering_provider?: RenderingProviderUpdate.Raw | null;
65
- service_facility?: EncounterServiceFacilityUpdate.Raw | null;
66
54
  guarantor?: GuarantorUpdate.Raw | null;
67
- billing_provider?: BillingProviderUpdate.Raw | null;
68
- supervising_provider?: SupervisingProviderUpdate.Raw | null;
69
- referring_provider?: ReferringProviderUpdate.Raw | null;
70
- initial_referring_provider?: InitialReferringProviderUpdate.Raw | null;
71
55
  referral_number?: string | null;
72
56
  epsdt_referral?: EpsdtReferral.Raw | null;
73
57
  claim_supplemental_information?: ClaimSupplementalInformation.Raw[] | null;
58
+ secondary_payer_carrier_code?: string | null;
74
59
  }
75
60
  }
@@ -42,7 +42,6 @@ const PriorAuthorizationNumber_1 = require("./PriorAuthorizationNumber");
42
42
  const EncounterExternalId_1 = require("../../../../commons/types/EncounterExternalId");
43
43
  const TagId_1 = require("../../../../tags/types/TagId");
44
44
  const ClinicalNoteCategoryCreate_1 = require("./ClinicalNoteCategoryCreate");
45
- const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
46
45
  const BillableStatusType_1 = require("./BillableStatusType");
47
46
  const ResponsiblePartyType_1 = require("./ResponsiblePartyType");
48
47
  const SynchronicityType_1 = require("./SynchronicityType");
@@ -50,17 +49,10 @@ const FacilityTypeCode_1 = require("../../../../commons/types/FacilityTypeCode")
50
49
  const SubscriberCreate_1 = require("../../../../individual/types/SubscriberCreate");
51
50
  const ServiceAuthorizationExceptionCode_1 = require("./ServiceAuthorizationExceptionCode");
52
51
  const DelayReasonCode_1 = require("../../../../commons/types/DelayReasonCode");
53
- const PatientUpdate_1 = require("../../../../individual/types/PatientUpdate");
54
52
  const SchemaInstance_1 = require("../../../../customSchemas/resources/v1/types/SchemaInstance");
55
53
  const VitalsUpdate_1 = require("./VitalsUpdate");
56
54
  const Medication_1 = require("./Medication");
57
- const RenderingProviderUpdate_1 = require("../../../../encounterProviders/resources/v2/types/RenderingProviderUpdate");
58
- const EncounterServiceFacilityUpdate_1 = require("../../../../serviceFacility/types/EncounterServiceFacilityUpdate");
59
55
  const GuarantorUpdate_1 = require("../../../../guarantor/resources/v1/types/GuarantorUpdate");
60
- const BillingProviderUpdate_1 = require("../../../../encounterProviders/resources/v2/types/BillingProviderUpdate");
61
- const SupervisingProviderUpdate_1 = require("../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdate");
62
- const ReferringProviderUpdate_1 = require("../../../../encounterProviders/resources/v2/types/ReferringProviderUpdate");
63
- const InitialReferringProviderUpdate_1 = require("../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdate");
64
56
  const EpsdtReferral_1 = require("./EpsdtReferral");
65
57
  const ClaimSupplementalInformation_1 = require("./ClaimSupplementalInformation");
66
58
  exports.EncounterOptional = core.serialization.object({
@@ -70,7 +62,6 @@ exports.EncounterOptional = core.serialization.object({
70
62
  dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
71
63
  tagIds: core.serialization.property("tag_ids", core.serialization.list(TagId_1.TagId).optional()),
72
64
  clinicalNotes: core.serialization.property("clinical_notes", core.serialization.list(ClinicalNoteCategoryCreate_1.ClinicalNoteCategoryCreate).optional()),
73
- payToAddress: core.serialization.property("pay_to_address", StreetAddressLongZip_1.StreetAddressLongZip.optional()),
74
65
  billableStatus: core.serialization.property("billable_status", BillableStatusType_1.BillableStatusType.optional()),
75
66
  responsibleParty: core.serialization.property("responsible_party", ResponsiblePartyType_1.ResponsiblePartyType.optional()),
76
67
  providerAcceptsAssignment: core.serialization.property("provider_accepts_assignment", core.serialization.boolean().optional()),
@@ -88,19 +79,13 @@ exports.EncounterOptional = core.serialization.object({
88
79
  onsetOfCurrentIllnessOrSymptomDate: core.serialization.property("onset_of_current_illness_or_symptom_date", core.serialization.string().optional()),
89
80
  lastMenstrualPeriodDate: core.serialization.property("last_menstrual_period_date", core.serialization.string().optional()),
90
81
  delayReasonCode: core.serialization.property("delay_reason_code", DelayReasonCode_1.DelayReasonCode.optional()),
91
- patient: PatientUpdate_1.PatientUpdate.optional(),
92
82
  patientAuthorizedRelease: core.serialization.property("patient_authorized_release", core.serialization.boolean().optional()),
93
83
  schemaInstances: core.serialization.property("schema_instances", core.serialization.list(SchemaInstance_1.SchemaInstance).optional()),
94
84
  vitals: VitalsUpdate_1.VitalsUpdate.optional(),
95
85
  existingMedications: core.serialization.property("existing_medications", core.serialization.list(Medication_1.Medication).optional()),
96
- renderingProvider: core.serialization.property("rendering_provider", RenderingProviderUpdate_1.RenderingProviderUpdate.optional()),
97
- serviceFacility: core.serialization.property("service_facility", EncounterServiceFacilityUpdate_1.EncounterServiceFacilityUpdate.optional()),
98
86
  guarantor: GuarantorUpdate_1.GuarantorUpdate.optional(),
99
- billingProvider: core.serialization.property("billing_provider", BillingProviderUpdate_1.BillingProviderUpdate.optional()),
100
- supervisingProvider: core.serialization.property("supervising_provider", SupervisingProviderUpdate_1.SupervisingProviderUpdate.optional()),
101
- referringProvider: core.serialization.property("referring_provider", ReferringProviderUpdate_1.ReferringProviderUpdate.optional()),
102
- initialReferringProvider: core.serialization.property("initial_referring_provider", InitialReferringProviderUpdate_1.InitialReferringProviderUpdate.optional()),
103
87
  referralNumber: core.serialization.property("referral_number", core.serialization.string().optional()),
104
88
  epsdtReferral: core.serialization.property("epsdt_referral", EpsdtReferral_1.EpsdtReferral.optional()),
105
89
  claimSupplementalInformation: core.serialization.property("claim_supplemental_information", core.serialization.list(ClaimSupplementalInformation_1.ClaimSupplementalInformation).optional()),
90
+ secondaryPayerCarrierCode: core.serialization.property("secondary_payer_carrier_code", core.serialization.string().optional()),
106
91
  });
@@ -0,0 +1,29 @@
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 { Gender } from "./Gender";
8
+ import { StreetAddressShortZipOptional } from "../../commons/types/StreetAddressShortZipOptional";
9
+ import { PhoneNumber } from "../../commons/types/PhoneNumber";
10
+ import { Email } from "../../commons/types/Email";
11
+ import { NonInsurancePayerId } from "../../nonInsurancePayers/resources/v1/types/NonInsurancePayerId";
12
+ import { PatientNonInsurancePayerInfoCreate } from "./PatientNonInsurancePayerInfoCreate";
13
+ export declare const PatientUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.PatientUpdateWithOptionalAddress.Raw, CandidApi.PatientUpdateWithOptionalAddress>;
14
+ export declare namespace PatientUpdateWithOptionalAddress {
15
+ interface Raw {
16
+ first_name?: string | null;
17
+ last_name?: string | null;
18
+ gender?: Gender.Raw | null;
19
+ external_id?: string | null;
20
+ date_of_birth?: string | null;
21
+ address?: StreetAddressShortZipOptional.Raw | null;
22
+ phone_numbers?: PhoneNumber.Raw[] | null;
23
+ phone_consent?: boolean | null;
24
+ email?: Email.Raw | null;
25
+ email_consent?: boolean | null;
26
+ non_insurance_payers?: NonInsurancePayerId.Raw[] | null;
27
+ non_insurance_payers_info?: PatientNonInsurancePayerInfoCreate.Raw[] | null;
28
+ }
29
+ }
@@ -0,0 +1,60 @@
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.PatientUpdateWithOptionalAddress = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const Gender_1 = require("./Gender");
42
+ const StreetAddressShortZipOptional_1 = require("../../commons/types/StreetAddressShortZipOptional");
43
+ const PhoneNumber_1 = require("../../commons/types/PhoneNumber");
44
+ const Email_1 = require("../../commons/types/Email");
45
+ const NonInsurancePayerId_1 = require("../../nonInsurancePayers/resources/v1/types/NonInsurancePayerId");
46
+ const PatientNonInsurancePayerInfoCreate_1 = require("./PatientNonInsurancePayerInfoCreate");
47
+ exports.PatientUpdateWithOptionalAddress = core.serialization.object({
48
+ firstName: core.serialization.property("first_name", core.serialization.string().optional()),
49
+ lastName: core.serialization.property("last_name", core.serialization.string().optional()),
50
+ gender: Gender_1.Gender.optional(),
51
+ externalId: core.serialization.property("external_id", core.serialization.string().optional()),
52
+ dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string().optional()),
53
+ address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
54
+ phoneNumbers: core.serialization.property("phone_numbers", core.serialization.list(PhoneNumber_1.PhoneNumber).optional()),
55
+ phoneConsent: core.serialization.property("phone_consent", core.serialization.boolean().optional()),
56
+ email: Email_1.Email.optional(),
57
+ emailConsent: core.serialization.property("email_consent", core.serialization.boolean().optional()),
58
+ nonInsurancePayers: core.serialization.property("non_insurance_payers", core.serialization.list(NonInsurancePayerId_1.NonInsurancePayerId).optional()),
59
+ nonInsurancePayersInfo: core.serialization.property("non_insurance_payers_info", core.serialization.list(PatientNonInsurancePayerInfoCreate_1.PatientNonInsurancePayerInfoCreate).optional()),
60
+ });
@@ -10,5 +10,6 @@ export * from "./PatientNonInsurancePayerInfo";
10
10
  export * from "./PatientCreate";
11
11
  export * from "./PatientUpdate";
12
12
  export * from "./PatientBase";
13
+ export * from "./PatientUpdateWithOptionalAddress";
13
14
  export * from "./Patient";
14
15
  export * from "./Gender";
@@ -26,5 +26,6 @@ __exportStar(require("./PatientNonInsurancePayerInfo"), exports);
26
26
  __exportStar(require("./PatientCreate"), exports);
27
27
  __exportStar(require("./PatientUpdate"), exports);
28
28
  __exportStar(require("./PatientBase"), exports);
29
+ __exportStar(require("./PatientUpdateWithOptionalAddress"), exports);
29
30
  __exportStar(require("./Patient"), exports);
30
31
  __exportStar(require("./Gender"), exports);
@@ -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 { StreetAddressShortZipOptional } from "../../commons/types/StreetAddressShortZipOptional";
8
+ export declare const EncounterServiceFacilityUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.EncounterServiceFacilityUpdateWithOptionalAddress.Raw, CandidApi.EncounterServiceFacilityUpdateWithOptionalAddress>;
9
+ export declare namespace EncounterServiceFacilityUpdateWithOptionalAddress {
10
+ interface Raw {
11
+ organization_name?: string | null;
12
+ npi?: string | null;
13
+ address?: StreetAddressShortZipOptional.Raw | null;
14
+ secondary_identification?: string | 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.EncounterServiceFacilityUpdateWithOptionalAddress = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ const StreetAddressShortZipOptional_1 = require("../../commons/types/StreetAddressShortZipOptional");
42
+ exports.EncounterServiceFacilityUpdateWithOptionalAddress = core.serialization.object({
43
+ organizationName: core.serialization.property("organization_name", core.serialization.string().optional()),
44
+ npi: core.serialization.string().optional(),
45
+ address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
46
+ secondaryIdentification: core.serialization.property("secondary_identification", core.serialization.string().optional()),
47
+ });
@@ -1,4 +1,5 @@
1
1
  export * from "./ServiceFacilityId";
2
2
  export * from "./EncounterServiceFacilityBase";
3
+ export * from "./EncounterServiceFacilityUpdateWithOptionalAddress";
3
4
  export * from "./EncounterServiceFacility";
4
5
  export * from "./EncounterServiceFacilityUpdate";
@@ -16,5 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ServiceFacilityId"), exports);
18
18
  __exportStar(require("./EncounterServiceFacilityBase"), exports);
19
+ __exportStar(require("./EncounterServiceFacilityUpdateWithOptionalAddress"), exports);
19
20
  __exportStar(require("./EncounterServiceFacility"), exports);
20
21
  __exportStar(require("./EncounterServiceFacilityUpdate"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.43.1";
1
+ export declare const SDK_VERSION = "0.45.0";
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.43.1";
4
+ exports.SDK_VERSION = "0.45.0";
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../../../../index";
5
- export interface BillingNoteOptional extends CandidApi.billingNotes.v2.BillingNoteBase {
6
- billingNoteId: CandidApi.billingNotes.v2.BillingNoteId;
7
- encounterId?: CandidApi.EncounterId;
8
- /**
9
- * An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/).
10
- * For example, 2017-07-21T17:32:28Z.
11
- */
12
- createdAt: Date;
13
- authorAuth0Id?: string;
14
- authorName?: string;
15
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../../../../index";
5
- export interface BillingNoteOptional extends CandidApi.billingNotes.v2.BillingNoteBase {
6
- billingNoteId: CandidApi.billingNotes.v2.BillingNoteId;
7
- encounterId?: CandidApi.EncounterId;
8
- /**
9
- * An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/).
10
- * For example, 2017-07-21T17:32:28Z.
11
- */
12
- createdAt: Date;
13
- authorAuth0Id?: string;
14
- authorName?: string;
15
- }
@@ -1,19 +0,0 @@
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 { BillingNoteId } from "./BillingNoteId";
8
- import { EncounterId } from "../../../../commons/types/EncounterId";
9
- import { BillingNoteBase } from "./BillingNoteBase";
10
- export declare const BillingNoteOptional: core.serialization.ObjectSchema<serializers.billingNotes.v2.BillingNoteOptional.Raw, CandidApi.billingNotes.v2.BillingNoteOptional>;
11
- export declare namespace BillingNoteOptional {
12
- interface Raw extends BillingNoteBase.Raw {
13
- billing_note_id: BillingNoteId.Raw;
14
- encounter_id?: EncounterId.Raw | null;
15
- created_at: string;
16
- author_auth0_id?: string | null;
17
- author_name?: string | null;
18
- }
19
- }