candidhealth 0.34.9 → 0.35.1

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 (492) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +61 -56
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  5. package/api/resources/commons/types/ProviderCredentialingSpanId.d.ts +8 -0
  6. package/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -0
  7. package/api/resources/commons/types/index.d.ts +1 -0
  8. package/api/resources/commons/types/index.js +1 -0
  9. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  10. package/api/resources/credentialing/client/Client.d.ts +26 -0
  11. package/api/resources/credentialing/client/Client.js +17 -0
  12. package/api/resources/credentialing/client/index.d.ts +1 -0
  13. package/api/resources/credentialing/client/index.js +2 -0
  14. package/api/resources/credentialing/index.d.ts +2 -0
  15. package/api/resources/credentialing/index.js +18 -0
  16. package/api/resources/credentialing/resources/index.d.ts +1 -0
  17. package/api/resources/credentialing/resources/index.js +27 -0
  18. package/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
  19. package/api/resources/credentialing/resources/v2/client/Client.js +413 -0
  20. package/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
  21. package/api/resources/credentialing/resources/v2/client/create.js +69 -0
  22. package/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
  23. package/api/resources/credentialing/resources/v2/client/delete.js +69 -0
  24. package/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
  25. package/api/resources/credentialing/resources/v2/client/get.js +69 -0
  26. package/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
  27. package/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
  28. package/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  29. package/api/resources/credentialing/resources/v2/client/index.js +35 -0
  30. package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
  31. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
  32. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
  33. package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
  34. package/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
  35. package/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
  36. package/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
  37. package/api/resources/credentialing/resources/v2/client/update.js +91 -0
  38. package/api/resources/credentialing/resources/v2/index.d.ts +2 -0
  39. package/api/resources/credentialing/resources/v2/index.js +18 -0
  40. package/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
  41. package/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
  42. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
  43. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
  44. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
  45. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
  46. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
  47. package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
  48. package/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  49. package/api/resources/credentialing/resources/v2/types/index.js +20 -0
  50. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  51. package/api/resources/diagnoses/client/Client.js +3 -3
  52. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  53. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  54. package/api/resources/encounters/resources/v4/client/Client.d.ts +4 -5
  55. package/api/resources/encounters/resources/v4/client/Client.js +9 -11
  56. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
  57. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
  58. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -2
  59. package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -2
  60. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +16 -2
  61. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
  62. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -2
  63. package/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
  64. package/api/resources/encounters/resources/v4/types/index.js +0 -1
  65. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  66. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  67. package/api/resources/exports/resources/v3/client/Client.d.ts +3 -2
  68. package/api/resources/exports/resources/v3/client/Client.js +4 -3
  69. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  70. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  71. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  72. package/api/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
  73. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  74. package/api/resources/index.d.ts +2 -0
  75. package/api/resources/index.js +3 -1
  76. package/api/resources/individual/types/Patient.d.ts +14 -2
  77. package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +7 -1
  78. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +4 -18
  79. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +7 -21
  80. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
  81. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  82. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  83. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  84. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  85. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  86. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  87. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
  88. package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
  89. package/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
  90. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  91. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  92. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  93. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  94. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
  95. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
  96. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +2 -1
  97. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -0
  98. package/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  99. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +8 -64
  100. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +16 -72
  101. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  102. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -2
  103. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -4
  104. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -3
  105. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +5 -2
  106. package/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
  107. package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +11 -0
  108. package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +10 -0
  109. package/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
  110. package/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
  111. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +223 -316
  112. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +295 -326
  113. package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +40 -0
  114. package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +80 -0
  115. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  116. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  117. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +26 -159
  118. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +175 -0
  119. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.js +5 -0
  120. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
  121. package/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
  122. package/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +12 -0
  123. package/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +7 -0
  124. package/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +5 -0
  125. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  126. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +8 -0
  127. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +5 -0
  128. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
  129. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
  130. package/api/resources/remitDrafts/index.d.ts +1 -0
  131. package/api/resources/remitDrafts/index.js +17 -0
  132. package/api/resources/remitDrafts/resources/index.d.ts +1 -0
  133. package/api/resources/remitDrafts/resources/index.js +27 -0
  134. package/api/resources/remitDrafts/resources/v1/index.d.ts +1 -0
  135. package/api/resources/remitDrafts/resources/v1/index.js +17 -0
  136. package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +8 -0
  137. package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +10 -0
  138. package/api/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
  139. package/api/resources/remitDrafts/resources/v1/types/index.js +17 -0
  140. package/api/resources/serviceFacility/client/Client.js +1 -1
  141. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -0
  142. package/api/resources/serviceLines/resources/v2/client/Client.js +18 -3
  143. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
  144. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  145. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  146. package/api/resources/x12/resources/v1/types/Rarc.d.ts +8 -1
  147. package/api/resources/x12/resources/v1/types/Rarc.js +7 -0
  148. package/dist/Client.d.ts +3 -0
  149. package/dist/Client.js +61 -56
  150. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  151. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  152. package/dist/api/resources/commons/types/ProviderCredentialingSpanId.d.ts +8 -0
  153. package/dist/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -0
  154. package/dist/api/resources/commons/types/index.d.ts +1 -0
  155. package/dist/api/resources/commons/types/index.js +1 -0
  156. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  157. package/dist/api/resources/credentialing/client/Client.d.ts +26 -0
  158. package/dist/api/resources/credentialing/client/Client.js +17 -0
  159. package/dist/api/resources/credentialing/client/index.d.ts +1 -0
  160. package/dist/api/resources/credentialing/client/index.js +2 -0
  161. package/dist/api/resources/credentialing/index.d.ts +2 -0
  162. package/dist/api/resources/credentialing/index.js +18 -0
  163. package/dist/api/resources/credentialing/resources/index.d.ts +1 -0
  164. package/dist/api/resources/credentialing/resources/index.js +27 -0
  165. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
  166. package/dist/api/resources/credentialing/resources/v2/client/Client.js +413 -0
  167. package/dist/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
  168. package/dist/api/resources/credentialing/resources/v2/client/create.js +69 -0
  169. package/dist/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
  170. package/dist/api/resources/credentialing/resources/v2/client/delete.js +69 -0
  171. package/dist/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
  172. package/dist/api/resources/credentialing/resources/v2/client/get.js +69 -0
  173. package/dist/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
  174. package/dist/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
  175. package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  176. package/dist/api/resources/credentialing/resources/v2/client/index.js +35 -0
  177. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
  178. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js +5 -0
  179. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
  180. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +5 -0
  181. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
  182. package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
  183. package/dist/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
  184. package/dist/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
  185. package/dist/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
  186. package/dist/api/resources/credentialing/resources/v2/client/update.js +91 -0
  187. package/dist/api/resources/credentialing/resources/v2/index.d.ts +2 -0
  188. package/dist/api/resources/credentialing/resources/v2/index.js +18 -0
  189. package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
  190. package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
  191. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
  192. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
  193. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
  194. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
  195. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
  196. package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
  197. package/dist/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  198. package/dist/api/resources/credentialing/resources/v2/types/index.js +20 -0
  199. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  200. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  201. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  202. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  203. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +4 -5
  204. package/dist/api/resources/encounters/resources/v4/client/Client.js +9 -11
  205. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
  206. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
  207. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -2
  208. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -2
  209. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +16 -2
  210. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
  211. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +14 -2
  212. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
  213. package/dist/api/resources/encounters/resources/v4/types/index.js +0 -1
  214. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  215. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  216. package/dist/api/resources/exports/resources/v3/client/Client.d.ts +3 -2
  217. package/dist/api/resources/exports/resources/v3/client/Client.js +4 -3
  218. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  219. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  220. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  221. package/dist/api/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
  222. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  223. package/dist/api/resources/index.d.ts +2 -0
  224. package/dist/api/resources/index.js +3 -1
  225. package/dist/api/resources/individual/types/Patient.d.ts +14 -2
  226. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +7 -1
  227. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +4 -18
  228. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +7 -21
  229. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
  230. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  231. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  232. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  233. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  234. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  235. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  236. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
  237. package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
  238. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
  239. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  240. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  241. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  242. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  243. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
  244. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
  245. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +2 -1
  246. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -0
  247. package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  248. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +8 -64
  249. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +16 -72
  250. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  251. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -2
  252. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -4
  253. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -3
  254. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +5 -2
  255. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
  256. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +11 -0
  257. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +10 -0
  258. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
  259. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
  260. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +223 -316
  261. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +295 -326
  262. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +40 -0
  263. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +80 -0
  264. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  265. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  266. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +26 -159
  267. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +175 -0
  268. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.js +5 -0
  269. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
  270. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
  271. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +12 -0
  272. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +7 -0
  273. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +5 -0
  274. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  275. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +8 -0
  276. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +5 -0
  277. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
  278. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
  279. package/dist/api/resources/remitDrafts/index.d.ts +1 -0
  280. package/dist/api/resources/remitDrafts/index.js +17 -0
  281. package/dist/api/resources/remitDrafts/resources/index.d.ts +1 -0
  282. package/dist/api/resources/remitDrafts/resources/index.js +27 -0
  283. package/dist/api/resources/remitDrafts/resources/v1/index.d.ts +1 -0
  284. package/dist/api/resources/remitDrafts/resources/v1/index.js +17 -0
  285. package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +8 -0
  286. package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +10 -0
  287. package/dist/api/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
  288. package/dist/api/resources/remitDrafts/resources/v1/types/index.js +17 -0
  289. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  290. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -0
  291. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +18 -3
  292. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
  293. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  294. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  295. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +8 -1
  296. package/dist/api/resources/x12/resources/v1/types/Rarc.js +7 -0
  297. package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
  298. package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
  299. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  300. package/dist/serialization/resources/commons/types/index.js +1 -0
  301. package/dist/serialization/resources/credentialing/index.d.ts +1 -0
  302. package/dist/serialization/resources/credentialing/index.js +17 -0
  303. package/dist/serialization/resources/credentialing/resources/index.d.ts +1 -0
  304. package/dist/serialization/resources/credentialing/resources/index.js +27 -0
  305. package/dist/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
  306. package/dist/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
  307. package/dist/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
  308. package/dist/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
  309. package/dist/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
  310. package/dist/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
  311. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
  312. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
  313. package/dist/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  314. package/dist/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
  315. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
  316. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
  317. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
  318. package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
  319. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  320. package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
  321. package/dist/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
  322. package/dist/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
  323. package/dist/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
  324. package/dist/serialization/resources/credentialing/resources/v2/index.js +18 -0
  325. package/dist/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
  326. package/dist/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
  327. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
  328. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
  329. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
  330. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
  331. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
  332. package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
  333. package/dist/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  334. package/dist/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
  335. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
  336. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
  337. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  338. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  339. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  340. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  341. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -1
  342. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -1
  343. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
  344. package/dist/serialization/resources/encounters/resources/v4/types/index.js +0 -1
  345. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
  346. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +1 -1
  347. package/dist/serialization/resources/index.d.ts +2 -0
  348. package/dist/serialization/resources/index.js +3 -1
  349. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -0
  350. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -0
  351. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  352. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  353. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +1 -1
  354. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -1
  355. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  356. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +1 -0
  357. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -0
  358. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -0
  359. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +10 -0
  360. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +35 -0
  361. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
  362. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
  363. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +25 -0
  364. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +73 -0
  365. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  366. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  367. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
  368. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +31 -0
  369. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +13 -0
  370. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +36 -0
  371. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  372. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
  373. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +13 -0
  374. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +36 -0
  375. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
  376. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
  377. package/dist/serialization/resources/remitDrafts/index.d.ts +1 -0
  378. package/dist/serialization/resources/remitDrafts/index.js +17 -0
  379. package/dist/serialization/resources/remitDrafts/resources/index.d.ts +1 -0
  380. package/dist/serialization/resources/remitDrafts/resources/index.js +27 -0
  381. package/dist/serialization/resources/remitDrafts/resources/v1/index.d.ts +1 -0
  382. package/dist/serialization/resources/remitDrafts/resources/v1/index.js +17 -0
  383. package/dist/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +10 -0
  384. package/dist/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.js +35 -0
  385. package/dist/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
  386. package/dist/serialization/resources/remitDrafts/resources/v1/types/index.js +17 -0
  387. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  388. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
  389. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  390. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +7 -0
  391. package/package.json +1 -1
  392. package/reference.md +622 -457
  393. package/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
  394. package/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
  395. package/serialization/resources/commons/types/index.d.ts +1 -0
  396. package/serialization/resources/commons/types/index.js +1 -0
  397. package/serialization/resources/credentialing/index.d.ts +1 -0
  398. package/serialization/resources/credentialing/index.js +17 -0
  399. package/serialization/resources/credentialing/resources/index.d.ts +1 -0
  400. package/serialization/resources/credentialing/resources/index.js +27 -0
  401. package/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
  402. package/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
  403. package/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
  404. package/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
  405. package/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
  406. package/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
  407. package/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
  408. package/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
  409. package/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
  410. package/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
  411. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
  412. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
  413. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
  414. package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
  415. package/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
  416. package/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
  417. package/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
  418. package/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
  419. package/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
  420. package/serialization/resources/credentialing/resources/v2/index.js +18 -0
  421. package/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
  422. package/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
  423. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
  424. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
  425. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
  426. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
  427. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
  428. package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
  429. package/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
  430. package/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
  431. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
  432. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
  433. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  434. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  435. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  436. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  437. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -1
  438. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -1
  439. package/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
  440. package/serialization/resources/encounters/resources/v4/types/index.js +0 -1
  441. package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
  442. package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +1 -1
  443. package/serialization/resources/index.d.ts +2 -0
  444. package/serialization/resources/index.js +3 -1
  445. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -0
  446. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -0
  447. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
  448. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
  449. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +1 -1
  450. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -1
  451. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  452. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +1 -0
  453. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -0
  454. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -0
  455. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +10 -0
  456. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +35 -0
  457. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
  458. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
  459. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +25 -0
  460. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +73 -0
  461. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  462. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  463. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
  464. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +31 -0
  465. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.d.ts +13 -0
  466. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InvalidMrnErrorBody.js +36 -0
  467. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  468. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
  469. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +13 -0
  470. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +36 -0
  471. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +3 -0
  472. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +3 -0
  473. package/serialization/resources/remitDrafts/index.d.ts +1 -0
  474. package/serialization/resources/remitDrafts/index.js +17 -0
  475. package/serialization/resources/remitDrafts/resources/index.d.ts +1 -0
  476. package/serialization/resources/remitDrafts/resources/index.js +27 -0
  477. package/serialization/resources/remitDrafts/resources/v1/index.d.ts +1 -0
  478. package/serialization/resources/remitDrafts/resources/v1/index.js +17 -0
  479. package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +10 -0
  480. package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.js +35 -0
  481. package/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
  482. package/serialization/resources/remitDrafts/resources/v1/types/index.js +17 -0
  483. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
  484. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
  485. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  486. package/serialization/resources/x12/resources/v1/types/Rarc.js +7 -0
  487. package/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
  488. package/dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
  489. package/dist/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
  490. package/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
  491. /package/api/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js} +0 -0
  492. /package/{dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js} +0 -0
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.AppointmentWorkQueue = void 0;
30
30
  const core = __importStar(require("../../../../../../../../core"));
31
- exports.AppointmentWorkQueue = core.serialization.enum_(["EMERGENT_ISSUE", "NEW_PATIENT", "RETURNING_PATIENT"]);
31
+ exports.AppointmentWorkQueue = core.serialization.enum_(["EMERGENT_ISSUE", "NEW_PATIENT", "RETURNING_PATIENT", "MANUAL_ESCALATION"]);
@@ -11,5 +11,6 @@ export declare namespace CoverageBenefits {
11
11
  interface Raw {
12
12
  plan_coverage?: PlanCoverage.Raw | null;
13
13
  service_specific_coverage?: ServiceCoverage.Raw[] | null;
14
+ notes?: string | null;
14
15
  }
15
16
  }
@@ -33,4 +33,5 @@ const ServiceCoverage_1 = require("./ServiceCoverage");
33
33
  exports.CoverageBenefits = core.serialization.object({
34
34
  planCoverage: core.serialization.property("plan_coverage", PlanCoverage_1.PlanCoverage.optional()),
35
35
  serviceSpecificCoverage: core.serialization.property("service_specific_coverage", core.serialization.list(ServiceCoverage_1.ServiceCoverage).optional()),
36
+ notes: core.serialization.string().optional(),
36
37
  });
@@ -7,11 +7,13 @@ import * as core from "../../../../../../../../core";
7
7
  import { Appointment } from "../../../../appointments/resources/v1/types/Appointment";
8
8
  import { MutablePatient } from "../../../../patients/resources/v1/types/MutablePatient";
9
9
  import { MutableCoverage } from "../../../../coverages/resources/v1/types/MutableCoverage";
10
+ import { UniversalServiceIdentifier } from "../../../../appointments/resources/v1/types/UniversalServiceIdentifier";
10
11
  export declare const AppointmentListItem: core.serialization.ObjectSchema<serializers.preEncounter.lists.v1.AppointmentListItem.Raw, CandidApi.preEncounter.lists.v1.AppointmentListItem>;
11
12
  export declare namespace AppointmentListItem {
12
13
  interface Raw {
13
14
  appointment: Appointment.Raw;
14
15
  patient: MutablePatient.Raw;
15
16
  primary_coverage?: MutableCoverage.Raw | null;
17
+ primary_service_type?: UniversalServiceIdentifier.Raw | null;
16
18
  }
17
19
  }
@@ -31,8 +31,10 @@ const core = __importStar(require("../../../../../../../../core"));
31
31
  const Appointment_1 = require("../../../../appointments/resources/v1/types/Appointment");
32
32
  const MutablePatient_1 = require("../../../../patients/resources/v1/types/MutablePatient");
33
33
  const MutableCoverage_1 = require("../../../../coverages/resources/v1/types/MutableCoverage");
34
+ const UniversalServiceIdentifier_1 = require("../../../../appointments/resources/v1/types/UniversalServiceIdentifier");
34
35
  exports.AppointmentListItem = core.serialization.object({
35
36
  appointment: Appointment_1.Appointment,
36
37
  patient: MutablePatient_1.MutablePatient,
37
38
  primaryCoverage: core.serialization.property("primary_coverage", MutableCoverage_1.MutableCoverage.optional()),
39
+ primaryServiceType: core.serialization.property("primary_service_type", UniversalServiceIdentifier_1.UniversalServiceIdentifier.optional()),
38
40
  });
@@ -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 SortFieldString: core.serialization.Schema<serializers.preEncounter.lists.v1.SortFieldString.Raw, CandidApi.preEncounter.lists.v1.SortFieldString>;
8
+ export declare namespace SortFieldString {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,35 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.SortFieldString = void 0;
30
+ const CandidApi = __importStar(require("../../../../../../../../api/index"));
31
+ const core = __importStar(require("../../../../../../../../core"));
32
+ exports.SortFieldString = core.serialization.string().transform({
33
+ transform: CandidApi.preEncounter.lists.v1.SortFieldString,
34
+ untransform: (value) => value,
35
+ });
@@ -1,4 +1,5 @@
1
1
  export * from "./FilterQueryString";
2
+ export * from "./SortFieldString";
2
3
  export * from "./PatientListItem";
3
4
  export * from "./PatientListPage";
4
5
  export * from "./AppointmentListItem";
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./FilterQueryString"), exports);
18
+ __exportStar(require("./SortFieldString"), exports);
18
19
  __exportStar(require("./PatientListItem"), exports);
19
20
  __exportStar(require("./PatientListPage"), exports);
20
21
  __exportStar(require("./AppointmentListItem"), exports);
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
+ import { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
8
+ import { PotentialDuplicatePatientsErrorBody } from "../types/PotentialDuplicatePatientsErrorBody";
9
+ import { InvalidMrnErrorBody } from "../types/InvalidMrnErrorBody";
10
+ export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.createWithMrn.Error.Raw, CandidApi.preEncounter.patients.v1.createWithMrn.Error>;
11
+ export declare namespace Error {
12
+ type Raw = Error.VersionConflictError | Error.PotentialDuplicatePatients | Error.InvalidMrnError;
13
+ interface VersionConflictError {
14
+ errorName: "VersionConflictError";
15
+ content: VersionConflictErrorBody.Raw;
16
+ }
17
+ interface PotentialDuplicatePatients {
18
+ errorName: "PotentialDuplicatePatients";
19
+ content: PotentialDuplicatePatientsErrorBody.Raw;
20
+ }
21
+ interface InvalidMrnError {
22
+ errorName: "InvalidMRNError";
23
+ content: InvalidMrnErrorBody.Raw;
24
+ }
25
+ }
@@ -0,0 +1,73 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __rest = (this && this.__rest) || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
+ t[p] = s[p];
32
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
37
+ return t;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.Error = void 0;
41
+ const CandidApi = __importStar(require("../../../../../../../../api/index"));
42
+ const core = __importStar(require("../../../../../../../../core"));
43
+ const VersionConflictErrorBody_1 = require("../../../../common/types/VersionConflictErrorBody");
44
+ const PotentialDuplicatePatientsErrorBody_1 = require("../types/PotentialDuplicatePatientsErrorBody");
45
+ const InvalidMrnErrorBody_1 = require("../types/InvalidMrnErrorBody");
46
+ exports.Error = core.serialization
47
+ .union("errorName", {
48
+ VersionConflictError: core.serialization.object({
49
+ content: VersionConflictErrorBody_1.VersionConflictErrorBody,
50
+ }),
51
+ PotentialDuplicatePatients: core.serialization.object({
52
+ content: PotentialDuplicatePatientsErrorBody_1.PotentialDuplicatePatientsErrorBody,
53
+ }),
54
+ InvalidMRNError: core.serialization.object({
55
+ content: InvalidMrnErrorBody_1.InvalidMrnErrorBody,
56
+ }),
57
+ })
58
+ .transform({
59
+ transform: (value) => {
60
+ switch (value.errorName) {
61
+ case "VersionConflictError":
62
+ return CandidApi.preEncounter.patients.v1.createWithMrn.Error.versionConflictError(value.content);
63
+ case "PotentialDuplicatePatients":
64
+ return CandidApi.preEncounter.patients.v1.createWithMrn.Error.potentialDuplicatePatients(value.content);
65
+ case "InvalidMRNError":
66
+ return CandidApi.preEncounter.patients.v1.createWithMrn.Error.invalidMrnError(value.content);
67
+ }
68
+ },
69
+ untransform: (_a) => {
70
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
71
+ return value;
72
+ },
73
+ });
@@ -1,4 +1,5 @@
1
1
  export * as create from "./create";
2
+ export * as createWithMrn from "./createWithMrn";
2
3
  export * as get from "./get";
3
4
  export * as getHistory from "./getHistory";
4
5
  export * as update from "./update";
@@ -23,8 +23,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.scan = exports.search = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.create = void 0;
26
+ exports.scan = exports.search = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.createWithMrn = exports.create = void 0;
27
27
  exports.create = __importStar(require("./create"));
28
+ exports.createWithMrn = __importStar(require("./createWithMrn"));
28
29
  exports.get = __importStar(require("./get"));
29
30
  exports.getHistory = __importStar(require("./getHistory"));
30
31
  exports.update = __importStar(require("./update"));
@@ -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 DoNotInvoiceReason: core.serialization.Schema<serializers.preEncounter.patients.v1.DoNotInvoiceReason.Raw, CandidApi.preEncounter.patients.v1.DoNotInvoiceReason>;
8
+ export declare namespace DoNotInvoiceReason {
9
+ type Raw = "BANKRUPTCY" | "DECEASED" | "HARDSHIP" | "OTHER";
10
+ }
@@ -0,0 +1,31 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.DoNotInvoiceReason = void 0;
30
+ const core = __importStar(require("../../../../../../../../core"));
31
+ exports.DoNotInvoiceReason = core.serialization.enum_(["BANKRUPTCY", "DECEASED", "HARDSHIP", "OTHER"]);
@@ -0,0 +1,13 @@
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 { ErrorBase } from "../../../../common/types/ErrorBase";
8
+ export declare const InvalidMrnErrorBody: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.InvalidMrnErrorBody.Raw, CandidApi.preEncounter.patients.v1.InvalidMrnErrorBody>;
9
+ export declare namespace InvalidMrnErrorBody {
10
+ interface Raw extends ErrorBase.Raw {
11
+ code: "INVALID_MRN";
12
+ }
13
+ }
@@ -0,0 +1,36 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.InvalidMrnErrorBody = void 0;
30
+ const core = __importStar(require("../../../../../../../../core"));
31
+ const ErrorBase_1 = require("../../../../common/types/ErrorBase");
32
+ exports.InvalidMrnErrorBody = core.serialization
33
+ .object({
34
+ code: core.serialization.stringLiteral("INVALID_MRN"),
35
+ })
36
+ .extend(ErrorBase_1.ErrorBase);
@@ -23,6 +23,7 @@ import { CanonicalNonInsurancePayerAssociation } from "../../../../common/types/
23
23
  import { Guarantor } from "./Guarantor";
24
24
  import { Authorization } from "./Authorization";
25
25
  import { Referral } from "./Referral";
26
+ import { DoNotInvoiceReason } from "./DoNotInvoiceReason";
26
27
  export declare const MutablePatient: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.MutablePatient.Raw, CandidApi.preEncounter.patients.v1.MutablePatient>;
27
28
  export declare namespace MutablePatient {
28
29
  interface Raw {
@@ -58,5 +59,6 @@ export declare namespace MutablePatient {
58
59
  authorizations?: Authorization.Raw[] | null;
59
60
  referrals?: Referral.Raw[] | null;
60
61
  primary_service_facility_id?: string | null;
62
+ do_not_invoice_reason?: DoNotInvoiceReason.Raw | null;
61
63
  }
62
64
  }
@@ -47,6 +47,7 @@ const CanonicalNonInsurancePayerAssociation_1 = require("../../../../common/type
47
47
  const Guarantor_1 = require("./Guarantor");
48
48
  const Authorization_1 = require("./Authorization");
49
49
  const Referral_1 = require("./Referral");
50
+ const DoNotInvoiceReason_1 = require("./DoNotInvoiceReason");
50
51
  exports.MutablePatient = core.serialization.object({
51
52
  name: HumanName_1.HumanName,
52
53
  otherNames: core.serialization.property("other_names", core.serialization.list(HumanName_1.HumanName)),
@@ -80,4 +81,5 @@ exports.MutablePatient = core.serialization.object({
80
81
  authorizations: core.serialization.list(Authorization_1.Authorization).optional(),
81
82
  referrals: core.serialization.list(Referral_1.Referral).optional(),
82
83
  primaryServiceFacilityId: core.serialization.property("primary_service_facility_id", core.serialization.string().optional()),
84
+ doNotInvoiceReason: core.serialization.property("do_not_invoice_reason", DoNotInvoiceReason_1.DoNotInvoiceReason.optional()),
83
85
  });
@@ -0,0 +1,13 @@
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 { MutablePatient } from "./MutablePatient";
8
+ export declare const MutablePatientWithMrn: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.MutablePatientWithMrn.Raw, CandidApi.preEncounter.patients.v1.MutablePatientWithMrn>;
9
+ export declare namespace MutablePatientWithMrn {
10
+ interface Raw extends MutablePatient.Raw {
11
+ mrn: string;
12
+ }
13
+ }
@@ -0,0 +1,36 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.MutablePatientWithMrn = void 0;
30
+ const core = __importStar(require("../../../../../../../../core"));
31
+ const MutablePatient_1 = require("./MutablePatient");
32
+ exports.MutablePatientWithMrn = core.serialization
33
+ .object({
34
+ mrn: core.serialization.string(),
35
+ })
36
+ .extend(MutablePatient_1.MutablePatient);
@@ -3,11 +3,14 @@ export * from "./MaritalStatus";
3
3
  export * from "./ExternalProvenance";
4
4
  export * from "./Contact";
5
5
  export * from "./FilingOrder";
6
+ export * from "./DoNotInvoiceReason";
6
7
  export * from "./MutablePatient";
8
+ export * from "./MutablePatientWithMrn";
7
9
  export * from "./Patient";
8
10
  export * from "./PatientPage";
9
11
  export * from "./PotentialDuplicatePatient";
10
12
  export * from "./PotentialDuplicatePatientsErrorBody";
13
+ export * from "./InvalidMrnErrorBody";
11
14
  export * from "./AuthorizationUnit";
12
15
  export * from "./Authorization";
13
16
  export * from "./Referral";
@@ -19,11 +19,14 @@ __exportStar(require("./MaritalStatus"), exports);
19
19
  __exportStar(require("./ExternalProvenance"), exports);
20
20
  __exportStar(require("./Contact"), exports);
21
21
  __exportStar(require("./FilingOrder"), exports);
22
+ __exportStar(require("./DoNotInvoiceReason"), exports);
22
23
  __exportStar(require("./MutablePatient"), exports);
24
+ __exportStar(require("./MutablePatientWithMrn"), exports);
23
25
  __exportStar(require("./Patient"), exports);
24
26
  __exportStar(require("./PatientPage"), exports);
25
27
  __exportStar(require("./PotentialDuplicatePatient"), exports);
26
28
  __exportStar(require("./PotentialDuplicatePatientsErrorBody"), exports);
29
+ __exportStar(require("./InvalidMrnErrorBody"), exports);
27
30
  __exportStar(require("./AuthorizationUnit"), exports);
28
31
  __exportStar(require("./Authorization"), exports);
29
32
  __exportStar(require("./Referral"), exports);
@@ -0,0 +1 @@
1
+ export * from "./resources";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./resources"), exports);
@@ -0,0 +1 @@
1
+ export * as v1 from "./v1";
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.v1 = void 0;
27
+ exports.v1 = __importStar(require("./v1"));
@@ -0,0 +1 @@
1
+ export * from "./types";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,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 RemitDraftId: core.serialization.Schema<serializers.remitDrafts.v1.RemitDraftId.Raw, CandidApi.remitDrafts.v1.RemitDraftId>;
8
+ export declare namespace RemitDraftId {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,35 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.RemitDraftId = void 0;
30
+ const CandidApi = __importStar(require("../../../../../../api/index"));
31
+ const core = __importStar(require("../../../../../../core"));
32
+ exports.RemitDraftId = core.serialization.string().transform({
33
+ transform: CandidApi.remitDrafts.v1.RemitDraftId,
34
+ untransform: (value) => value,
35
+ });
@@ -0,0 +1 @@
1
+ export * from "./RemitDraftId";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./RemitDraftId"), exports);
@@ -12,6 +12,7 @@ import { Decimal } from "../../../../commons/types/Decimal";
12
12
  import { ServiceLineUnits } from "../../../../commons/types/ServiceLineUnits";
13
13
  import { ClaimId } from "../../../../commons/types/ClaimId";
14
14
  import { DrugIdentification } from "./DrugIdentification";
15
+ import { OrderingProvider } from "../../../../encounterProviders/resources/v2/types/OrderingProvider";
15
16
  import { TestResult } from "./TestResult";
16
17
  export declare const ServiceLineCreateStandalone: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineCreateStandalone.Raw, CandidApi.serviceLines.v2.ServiceLineCreateStandalone>;
17
18
  export declare namespace ServiceLineCreateStandalone {
@@ -32,6 +33,7 @@ export declare namespace ServiceLineCreateStandalone {
32
33
  date_of_service?: string | null;
33
34
  end_date_of_service?: string | null;
34
35
  drug_identification?: DrugIdentification.Raw | null;
36
+ ordering_provider?: OrderingProvider.Raw | null;
35
37
  test_results?: TestResult.Raw[] | null;
36
38
  }
37
39
  }
@@ -36,6 +36,7 @@ const Decimal_1 = require("../../../../commons/types/Decimal");
36
36
  const ServiceLineUnits_1 = require("../../../../commons/types/ServiceLineUnits");
37
37
  const ClaimId_1 = require("../../../../commons/types/ClaimId");
38
38
  const DrugIdentification_1 = require("./DrugIdentification");
39
+ const OrderingProvider_1 = require("../../../../encounterProviders/resources/v2/types/OrderingProvider");
39
40
  const TestResult_1 = require("./TestResult");
40
41
  exports.ServiceLineCreateStandalone = core.serialization.object({
41
42
  modifiers: core.serialization.list(ProcedureModifier_1.ProcedureModifier).optional(),
@@ -54,5 +55,6 @@ exports.ServiceLineCreateStandalone = core.serialization.object({
54
55
  dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
55
56
  endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
56
57
  drugIdentification: core.serialization.property("drug_identification", DrugIdentification_1.DrugIdentification.optional()),
58
+ orderingProvider: core.serialization.property("ordering_provider", OrderingProvider_1.OrderingProvider.optional()),
57
59
  testResults: core.serialization.property("test_results", core.serialization.list(TestResult_1.TestResult).optional()),
58
60
  });