candidhealth 0.35.0 → 0.35.2

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 (378) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  3. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  4. package/api/resources/credentialing/resources/v2/client/Client.d.ts +1 -0
  5. package/api/resources/credentialing/resources/v2/client/Client.js +11 -6
  6. package/api/resources/credentialing/resources/v2/client/getAll.d.ts +7 -1
  7. package/api/resources/credentialing/resources/v2/client/getAll.js +11 -0
  8. package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +7 -2
  9. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  10. package/api/resources/diagnoses/client/Client.js +3 -3
  11. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  12. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  13. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  14. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  15. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  16. package/api/resources/exports/resources/v3/client/Client.d.ts +3 -2
  17. package/api/resources/exports/resources/v3/client/Client.js +4 -3
  18. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  19. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  20. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  21. package/api/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
  22. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  23. package/api/resources/index.d.ts +1 -0
  24. package/api/resources/index.js +2 -1
  25. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +2 -1
  26. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +5 -4
  27. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
  28. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  29. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  30. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  31. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  32. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  33. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  34. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  35. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  36. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  37. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  38. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  39. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  40. package/api/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +3 -3
  41. package/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +3 -3
  42. package/api/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +3 -3
  43. package/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +3 -3
  44. package/api/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +3 -3
  45. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +2 -1
  46. package/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -0
  47. package/api/resources/preEncounter/resources/common/types/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +2 -1
  48. package/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  49. package/api/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +2 -3
  50. package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -2
  51. package/api/resources/preEncounter/resources/common/types/index.js +1 -2
  52. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  53. package/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +3 -3
  54. package/api/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +3 -3
  55. package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  56. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -2
  57. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -4
  58. package/api/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.d.ts +3 -3
  59. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -3
  60. package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +5 -2
  61. package/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
  62. package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +11 -0
  63. package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +10 -0
  64. package/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
  65. package/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
  66. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +177 -2
  67. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +246 -11
  68. package/api/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +1 -7
  69. package/api/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -11
  70. package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +34 -0
  71. package/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +69 -0
  72. package/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +3 -3
  73. package/api/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +3 -3
  74. package/api/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +3 -3
  75. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  76. package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  77. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +2 -1
  78. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +175 -0
  79. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
  80. package/api/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +3 -3
  81. package/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
  82. package/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +12 -0
  83. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  84. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +8 -0
  85. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -2
  86. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -2
  87. package/api/resources/remitDrafts/index.d.ts +1 -0
  88. package/api/resources/remitDrafts/index.js +17 -0
  89. package/api/resources/remitDrafts/resources/index.d.ts +1 -0
  90. package/api/resources/remitDrafts/resources/index.js +27 -0
  91. package/api/resources/remitDrafts/resources/v1/index.d.ts +1 -0
  92. package/api/resources/remitDrafts/resources/v1/index.js +17 -0
  93. package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +8 -0
  94. package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +10 -0
  95. package/api/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
  96. package/api/resources/remitDrafts/resources/v1/types/index.js +17 -0
  97. package/api/resources/serviceFacility/client/Client.js +1 -1
  98. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  99. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  100. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  101. package/api/resources/x12/resources/v1/types/Rarc.d.ts +8 -1
  102. package/api/resources/x12/resources/v1/types/Rarc.js +7 -0
  103. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  104. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  105. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  106. package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +1 -0
  107. package/dist/api/resources/credentialing/resources/v2/client/Client.js +11 -6
  108. package/dist/api/resources/credentialing/resources/v2/client/getAll.d.ts +7 -1
  109. package/dist/api/resources/credentialing/resources/v2/client/getAll.js +11 -0
  110. package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +7 -2
  111. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  112. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  113. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  114. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  115. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  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.d.ts +3 -2
  119. package/dist/api/resources/exports/resources/v3/client/Client.js +4 -3
  120. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  121. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  122. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  123. package/dist/api/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
  124. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  125. package/dist/api/resources/index.d.ts +1 -0
  126. package/dist/api/resources/index.js +2 -1
  127. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +2 -1
  128. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +5 -4
  129. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
  130. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  131. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  132. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  133. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  134. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  135. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  136. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  137. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  138. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  139. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  140. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  141. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  142. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +3 -3
  143. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +3 -3
  144. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +3 -3
  145. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +3 -3
  146. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +3 -3
  147. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +2 -1
  148. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -0
  149. package/dist/api/resources/preEncounter/resources/common/types/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +2 -1
  150. package/dist/api/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +1 -0
  151. package/dist/api/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +2 -3
  152. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -2
  153. package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -2
  154. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  155. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +3 -3
  156. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +3 -3
  157. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  158. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -2
  159. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -4
  160. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.d.ts +3 -3
  161. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +3 -3
  162. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +5 -2
  163. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +1 -0
  164. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +11 -0
  165. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +10 -0
  166. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
  167. package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
  168. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +177 -2
  169. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +246 -11
  170. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +1 -7
  171. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -11
  172. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +34 -0
  173. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +69 -0
  174. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +3 -3
  175. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +3 -3
  176. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +3 -3
  177. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  178. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  179. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +2 -1
  180. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +175 -0
  181. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
  182. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +3 -3
  183. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
  184. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +12 -0
  185. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  186. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +8 -0
  187. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -2
  188. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -2
  189. package/dist/api/resources/remitDrafts/index.d.ts +1 -0
  190. package/dist/api/resources/remitDrafts/index.js +17 -0
  191. package/dist/api/resources/remitDrafts/resources/index.d.ts +1 -0
  192. package/dist/api/resources/remitDrafts/resources/index.js +27 -0
  193. package/dist/api/resources/remitDrafts/resources/v1/index.d.ts +1 -0
  194. package/dist/api/resources/remitDrafts/resources/v1/index.js +17 -0
  195. package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +8 -0
  196. package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +10 -0
  197. package/dist/api/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
  198. package/dist/api/resources/remitDrafts/resources/v1/types/index.js +17 -0
  199. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  200. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  201. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  202. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  203. package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +8 -1
  204. package/dist/api/resources/x12/resources/v1/types/Rarc.js +7 -0
  205. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +6 -1
  206. package/dist/serialization/resources/credentialing/resources/v2/client/getAll.js +6 -0
  207. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
  208. package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +1 -1
  209. package/dist/serialization/resources/index.d.ts +1 -0
  210. package/dist/serialization/resources/index.js +2 -1
  211. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -0
  212. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -0
  213. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +2 -2
  214. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.js +2 -2
  215. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +2 -2
  216. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +2 -2
  217. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +2 -2
  218. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.js +2 -2
  219. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +2 -2
  220. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +2 -2
  221. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +2 -2
  222. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.js +2 -2
  223. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +1 -1
  224. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -1
  225. package/dist/serialization/resources/preEncounter/resources/common/types/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +3 -2
  226. package/dist/serialization/resources/preEncounter/resources/common/types/{ErrorBase.js → ErrorBase4Xx.js} +3 -2
  227. package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +3 -4
  228. package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +3 -4
  229. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -2
  230. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -2
  231. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +2 -2
  232. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +2 -2
  233. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +2 -2
  234. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.js +2 -2
  235. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  236. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +1 -0
  237. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.d.ts +2 -2
  238. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.js +2 -2
  239. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -0
  240. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -0
  241. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +10 -0
  242. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +35 -0
  243. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
  244. package/dist/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
  245. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +1 -6
  246. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -6
  247. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +20 -0
  248. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +67 -0
  249. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +2 -2
  250. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +2 -2
  251. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +2 -2
  252. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.js +2 -2
  253. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +2 -2
  254. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.js +2 -2
  255. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  256. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  257. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +2 -2
  258. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.js +2 -2
  259. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
  260. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +31 -0
  261. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  262. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
  263. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +13 -0
  264. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +36 -0
  265. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -2
  266. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -2
  267. package/dist/serialization/resources/remitDrafts/index.d.ts +1 -0
  268. package/dist/serialization/resources/remitDrafts/index.js +17 -0
  269. package/dist/serialization/resources/remitDrafts/resources/index.d.ts +1 -0
  270. package/dist/serialization/resources/remitDrafts/resources/index.js +27 -0
  271. package/dist/serialization/resources/remitDrafts/resources/v1/index.d.ts +1 -0
  272. package/dist/serialization/resources/remitDrafts/resources/v1/index.js +17 -0
  273. package/dist/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +10 -0
  274. package/dist/serialization/resources/{preEncounter/resources/common/types/NotFoundErrorBody.js → remitDrafts/resources/v1/types/RemitDraftId.js} +6 -7
  275. package/dist/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
  276. package/dist/serialization/resources/remitDrafts/resources/v1/types/index.js +17 -0
  277. package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  278. package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +7 -0
  279. package/package.json +1 -1
  280. package/reference.md +259 -4
  281. package/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +6 -1
  282. package/serialization/resources/credentialing/resources/v2/client/getAll.js +6 -0
  283. package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -1
  284. package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +1 -1
  285. package/serialization/resources/index.d.ts +1 -0
  286. package/serialization/resources/index.js +2 -1
  287. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +2 -0
  288. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +2 -0
  289. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.d.ts +2 -2
  290. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/create.js +2 -2
  291. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.d.ts +2 -2
  292. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/deactivate.js +2 -2
  293. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.d.ts +2 -2
  294. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/get.js +2 -2
  295. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.d.ts +2 -2
  296. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/getHistory.js +2 -2
  297. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.d.ts +2 -2
  298. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/update.js +2 -2
  299. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.d.ts +1 -1
  300. package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/AppointmentWorkQueue.js +1 -1
  301. package/serialization/resources/preEncounter/resources/common/types/{ErrorBase.d.ts → ErrorBase4Xx.d.ts} +3 -2
  302. package/serialization/resources/preEncounter/resources/common/types/{ErrorBase.js → ErrorBase4Xx.js} +3 -2
  303. package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +3 -4
  304. package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +3 -4
  305. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -2
  306. package/serialization/resources/preEncounter/resources/common/types/index.js +1 -2
  307. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +2 -2
  308. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +2 -2
  309. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +2 -2
  310. package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.js +2 -2
  311. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.d.ts +1 -0
  312. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageBenefits.js +1 -0
  313. package/serialization/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.d.ts +2 -2
  314. package/serialization/resources/preEncounter/resources/lists/resources/v1/client/getPatientList.js +2 -2
  315. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.d.ts +2 -0
  316. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/AppointmentListItem.js +2 -0
  317. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +10 -0
  318. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.js +35 -0
  319. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.d.ts +1 -0
  320. package/serialization/resources/preEncounter/resources/lists/resources/v1/types/index.js +1 -0
  321. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +1 -6
  322. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.js +0 -6
  323. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.d.ts +20 -0
  324. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/createWithMrn.js +67 -0
  325. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +2 -2
  326. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +2 -2
  327. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +2 -2
  328. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.js +2 -2
  329. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +2 -2
  330. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.js +2 -2
  331. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
  332. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
  333. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +2 -2
  334. package/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.js +2 -2
  335. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.d.ts +10 -0
  336. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/DoNotInvoiceReason.js +31 -0
  337. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  338. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
  339. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.d.ts +13 -0
  340. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatientWithMrn.js +36 -0
  341. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +2 -2
  342. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +2 -2
  343. package/serialization/resources/remitDrafts/index.d.ts +1 -0
  344. package/serialization/resources/remitDrafts/index.js +17 -0
  345. package/serialization/resources/remitDrafts/resources/index.d.ts +1 -0
  346. package/serialization/resources/remitDrafts/resources/index.js +27 -0
  347. package/serialization/resources/remitDrafts/resources/v1/index.d.ts +1 -0
  348. package/serialization/resources/remitDrafts/resources/v1/index.js +17 -0
  349. package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +10 -0
  350. package/serialization/resources/{preEncounter/resources/common/types/NotFoundErrorBody.js → remitDrafts/resources/v1/types/RemitDraftId.js} +6 -7
  351. package/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +1 -0
  352. package/serialization/resources/remitDrafts/resources/v1/types/index.js +17 -0
  353. package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
  354. package/serialization/resources/x12/resources/v1/types/Rarc.js +7 -0
  355. package/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -7
  356. package/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -8
  357. package/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -8
  358. package/dist/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -7
  359. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -8
  360. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.js +0 -5
  361. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -8
  362. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js +0 -5
  363. package/dist/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -13
  364. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -14
  365. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.js +0 -35
  366. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -15
  367. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js +0 -38
  368. package/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +0 -13
  369. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.d.ts +0 -14
  370. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatient.js +0 -35
  371. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.d.ts +0 -15
  372. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js +0 -38
  373. /package/api/resources/preEncounter/resources/common/types/{ErrorBase.js → ErrorBase4Xx.js} +0 -0
  374. /package/api/resources/preEncounter/resources/{common/types/NotFoundErrorBody.js → patients/resources/v1/client/requests/CreatePatientWithMrnRequest.js} +0 -0
  375. /package/api/resources/preEncounter/resources/patients/resources/v1/types/{PotentialDuplicatePatient.js → MutablePatientWithMrn.js} +0 -0
  376. /package/{api/resources/preEncounter/resources/patients/resources/v1/types/PotentialDuplicatePatientsErrorBody.js → dist/api/resources/preEncounter/resources/common/types/ErrorBase4Xx.js} +0 -0
  377. /package/dist/api/resources/preEncounter/resources/{common/types/ErrorBase.js → patients/resources/v1/client/requests/CreatePatientWithMrnRequest.js} +0 -0
  378. /package/dist/api/resources/preEncounter/resources/{common/types/NotFoundErrorBody.js → patients/resources/v1/types/MutablePatientWithMrn.js} +0 -0
@@ -0,0 +1,67 @@
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 ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
45
+ exports.Error = core.serialization
46
+ .union("errorName", {
47
+ VersionConflictError: core.serialization.object({
48
+ content: VersionConflictErrorBody_1.VersionConflictErrorBody,
49
+ }),
50
+ BadRequestError: core.serialization.object({
51
+ content: ErrorBase4Xx_1.ErrorBase4Xx,
52
+ }),
53
+ })
54
+ .transform({
55
+ transform: (value) => {
56
+ switch (value.errorName) {
57
+ case "VersionConflictError":
58
+ return CandidApi.preEncounter.patients.v1.createWithMrn.Error.versionConflictError(value.content);
59
+ case "BadRequestError":
60
+ return CandidApi.preEncounter.patients.v1.createWithMrn.Error.badRequestError(value.content);
61
+ }
62
+ },
63
+ untransform: (_a) => {
64
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
65
+ return value;
66
+ },
67
+ });
@@ -4,14 +4,14 @@
4
4
  import * as serializers from "../../../../../../../index";
5
5
  import * as CandidApi from "../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../core";
7
- import { NotFoundErrorBody } from "../../../../common/types/NotFoundErrorBody";
7
+ import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
8
8
  import { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
9
9
  export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.deactivate.Error.Raw, CandidApi.preEncounter.patients.v1.deactivate.Error>;
10
10
  export declare namespace Error {
11
11
  type Raw = Error.NotFoundError | Error.VersionConflictError;
12
12
  interface NotFoundError {
13
13
  errorName: "NotFoundError";
14
- content: NotFoundErrorBody.Raw;
14
+ content: ErrorBase4Xx.Raw;
15
15
  }
16
16
  interface VersionConflictError {
17
17
  errorName: "VersionConflictError";
@@ -40,12 +40,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
40
40
  exports.Error = void 0;
41
41
  const CandidApi = __importStar(require("../../../../../../../../api/index"));
42
42
  const core = __importStar(require("../../../../../../../../core"));
43
- const NotFoundErrorBody_1 = require("../../../../common/types/NotFoundErrorBody");
43
+ const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
44
44
  const VersionConflictErrorBody_1 = require("../../../../common/types/VersionConflictErrorBody");
45
45
  exports.Error = core.serialization
46
46
  .union("errorName", {
47
47
  NotFoundError: core.serialization.object({
48
- content: NotFoundErrorBody_1.NotFoundErrorBody,
48
+ content: ErrorBase4Xx_1.ErrorBase4Xx,
49
49
  }),
50
50
  VersionConflictError: core.serialization.object({
51
51
  content: VersionConflictErrorBody_1.VersionConflictErrorBody,
@@ -4,12 +4,12 @@
4
4
  import * as serializers from "../../../../../../../index";
5
5
  import * as CandidApi from "../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../core";
7
- import { NotFoundErrorBody } from "../../../../common/types/NotFoundErrorBody";
7
+ import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
8
8
  export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.get.Error.Raw, CandidApi.preEncounter.patients.v1.get.Error>;
9
9
  export declare namespace Error {
10
10
  type Raw = Error.NotFoundError;
11
11
  interface NotFoundError {
12
12
  errorName: "NotFoundError";
13
- content: NotFoundErrorBody.Raw;
13
+ content: ErrorBase4Xx.Raw;
14
14
  }
15
15
  }
@@ -40,11 +40,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
40
40
  exports.Error = void 0;
41
41
  const CandidApi = __importStar(require("../../../../../../../../api/index"));
42
42
  const core = __importStar(require("../../../../../../../../core"));
43
- const NotFoundErrorBody_1 = require("../../../../common/types/NotFoundErrorBody");
43
+ const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
44
44
  exports.Error = core.serialization
45
45
  .union("errorName", {
46
46
  NotFoundError: core.serialization.object({
47
- content: NotFoundErrorBody_1.NotFoundErrorBody,
47
+ content: ErrorBase4Xx_1.ErrorBase4Xx,
48
48
  }),
49
49
  })
50
50
  .transform({
@@ -5,7 +5,7 @@ import * as serializers from "../../../../../../../index";
5
5
  import * as CandidApi from "../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../core";
7
7
  import { Patient } from "../types/Patient";
8
- import { NotFoundErrorBody } from "../../../../common/types/NotFoundErrorBody";
8
+ import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
9
9
  export declare const Response: core.serialization.Schema<serializers.preEncounter.patients.v1.getHistory.Response.Raw, CandidApi.preEncounter.patients.v1.Patient[]>;
10
10
  export declare namespace Response {
11
11
  type Raw = Patient.Raw[];
@@ -15,6 +15,6 @@ export declare namespace Error {
15
15
  type Raw = Error.NotFoundError;
16
16
  interface NotFoundError {
17
17
  errorName: "NotFoundError";
18
- content: NotFoundErrorBody.Raw;
18
+ content: ErrorBase4Xx.Raw;
19
19
  }
20
20
  }
@@ -41,12 +41,12 @@ exports.Error = exports.Response = void 0;
41
41
  const CandidApi = __importStar(require("../../../../../../../../api/index"));
42
42
  const core = __importStar(require("../../../../../../../../core"));
43
43
  const Patient_1 = require("../types/Patient");
44
- const NotFoundErrorBody_1 = require("../../../../common/types/NotFoundErrorBody");
44
+ const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
45
45
  exports.Response = core.serialization.list(Patient_1.Patient);
46
46
  exports.Error = core.serialization
47
47
  .union("errorName", {
48
48
  NotFoundError: core.serialization.object({
49
- content: NotFoundErrorBody_1.NotFoundErrorBody,
49
+ content: ErrorBase4Xx_1.ErrorBase4Xx,
50
50
  }),
51
51
  })
52
52
  .transform({
@@ -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"));
@@ -4,14 +4,14 @@
4
4
  import * as serializers from "../../../../../../../index";
5
5
  import * as CandidApi from "../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../core";
7
- import { NotFoundErrorBody } from "../../../../common/types/NotFoundErrorBody";
7
+ import { ErrorBase4Xx } from "../../../../common/types/ErrorBase4Xx";
8
8
  import { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
9
9
  export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.update.Error.Raw, CandidApi.preEncounter.patients.v1.update.Error>;
10
10
  export declare namespace Error {
11
11
  type Raw = Error.NotFoundError | Error.VersionConflictError;
12
12
  interface NotFoundError {
13
13
  errorName: "NotFoundError";
14
- content: NotFoundErrorBody.Raw;
14
+ content: ErrorBase4Xx.Raw;
15
15
  }
16
16
  interface VersionConflictError {
17
17
  errorName: "VersionConflictError";
@@ -40,12 +40,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
40
40
  exports.Error = void 0;
41
41
  const CandidApi = __importStar(require("../../../../../../../../api/index"));
42
42
  const core = __importStar(require("../../../../../../../../core"));
43
- const NotFoundErrorBody_1 = require("../../../../common/types/NotFoundErrorBody");
43
+ const ErrorBase4Xx_1 = require("../../../../common/types/ErrorBase4Xx");
44
44
  const VersionConflictErrorBody_1 = require("../../../../common/types/VersionConflictErrorBody");
45
45
  exports.Error = core.serialization
46
46
  .union("errorName", {
47
47
  NotFoundError: core.serialization.object({
48
- content: NotFoundErrorBody_1.NotFoundErrorBody,
48
+ content: ErrorBase4Xx_1.ErrorBase4Xx,
49
49
  }),
50
50
  VersionConflictError: core.serialization.object({
51
51
  content: VersionConflictErrorBody_1.VersionConflictErrorBody,
@@ -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"]);
@@ -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,11 @@ 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
- export * from "./PotentialDuplicatePatient";
10
- export * from "./PotentialDuplicatePatientsErrorBody";
11
11
  export * from "./AuthorizationUnit";
12
12
  export * from "./Authorization";
13
13
  export * from "./Referral";
@@ -19,11 +19,11 @@ __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
- __exportStar(require("./PotentialDuplicatePatient"), exports);
26
- __exportStar(require("./PotentialDuplicatePatientsErrorBody"), exports);
27
27
  __exportStar(require("./AuthorizationUnit"), exports);
28
28
  __exportStar(require("./Authorization"), exports);
29
29
  __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
+ }
@@ -26,11 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.NotFoundErrorBody = void 0;
29
+ exports.RemitDraftId = void 0;
30
+ const CandidApi = __importStar(require("../../../../../../api/index"));
30
31
  const core = __importStar(require("../../../../../../core"));
31
- const ErrorBase_1 = require("./ErrorBase");
32
- exports.NotFoundErrorBody = core.serialization
33
- .object({
34
- code: core.serialization.stringLiteral("NOT_FOUND"),
35
- })
36
- .extend(ErrorBase_1.ErrorBase);
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);
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const Rarc: core.serialization.Schema<serializers.x12.v1.Rarc.Raw, CandidApi.x12.v1.Rarc>;
8
8
  export declare namespace Rarc {
9
- type Raw = "M1" | "M2" | "M3" | "M4" | "M5" | "M6" | "M7" | "M8" | "M9" | "M10" | "M11" | "M12" | "M13" | "M14" | "M15" | "M16" | "M17" | "M18" | "M19" | "M20" | "M21" | "M22" | "M23" | "M24" | "M25" | "M26" | "M27" | "M28" | "M29" | "M30" | "M31" | "M32" | "M36" | "M37" | "M38" | "M39" | "M40" | "M41" | "M42" | "M44" | "M45" | "M46" | "M47" | "M49" | "M50" | "M51" | "M52" | "M53" | "M54" | "M55" | "M56" | "M59" | "M60" | "M61" | "M62" | "M64" | "M65" | "M66" | "M67" | "M69" | "M70" | "M71" | "M73" | "M74" | "M75" | "M76" | "M77" | "M79" | "M80" | "M81" | "M82" | "M83" | "M84" | "M85" | "M86" | "M87" | "M89" | "M90" | "M91" | "M93" | "M94" | "M95" | "M96" | "M97" | "M99" | "M100" | "M102" | "M103" | "M104" | "M105" | "M107" | "M109" | "M111" | "M112" | "M113" | "M114" | "M115" | "M116" | "M117" | "M121" | "M122" | "M123" | "M124" | "M125" | "M126" | "M127" | "M129" | "M130" | "M131" | "M132" | "M133" | "M134" | "M135" | "M136" | "M137" | "M138" | "M139" | "M141" | "M142" | "M143" | "M144" | "MA01" | "MA02" | "MA04" | "MA07" | "MA08" | "MA09" | "MA10" | "MA12" | "MA13" | "MA14" | "MA15" | "MA16" | "MA17" | "MA18" | "MA19" | "MA20" | "MA21" | "MA22" | "MA23" | "MA24" | "MA25" | "MA26" | "MA27" | "MA28" | "MA30" | "MA31" | "MA32" | "MA33" | "MA34" | "MA35" | "MA36" | "MA37" | "MA39" | "MA40" | "MA41" | "MA42" | "MA43" | "MA44" | "MA45" | "MA46" | "MA47" | "MA48" | "MA50" | "MA53" | "MA54" | "MA55" | "MA56" | "MA57" | "MA58" | "MA59" | "MA60" | "MA61" | "MA62" | "MA63" | "MA64" | "MA65" | "MA66" | "MA67" | "MA68" | "MA69" | "MA70" | "MA71" | "MA72" | "MA73" | "MA74" | "MA75" | "MA76" | "MA77" | "MA79" | "MA80" | "MA81" | "MA83" | "MA84" | "MA88" | "MA89" | "MA90" | "MA91" | "MA92" | "MA93" | "MA94" | "MA96" | "MA97" | "MA99" | "MA100" | "MA103" | "MA106" | "MA107" | "MA108" | "MA109" | "MA110" | "MA111" | "MA112" | "MA113" | "MA114" | "MA115" | "MA116" | "MA117" | "MA118" | "MA120" | "MA121" | "MA122" | "MA123" | "MA125" | "MA126" | "MA128" | "MA130" | "MA131" | "MA132" | "MA133" | "MA134" | "N1" | "N2" | "N3" | "N4" | "N5" | "N6" | "N7" | "N8" | "N9" | "N10" | "N11" | "N12" | "N13" | "N15" | "N16" | "N19" | "N20" | "N21" | "N22" | "N23" | "N24" | "N25" | "N26" | "N27" | "N28" | "N30" | "N31" | "N32" | "N33" | "N34" | "N35" | "N36" | "N37" | "N39" | "N40" | "N42" | "N43" | "N45" | "N46" | "N47" | "N48" | "N49" | "N50" | "N51" | "N52" | "N53" | "N54" | "N55" | "N56" | "N57" | "N58" | "N59" | "N61" | "N62" | "N63" | "N64" | "N65" | "N67" | "N68" | "N69" | "N70" | "N71" | "N72" | "N74" | "N75" | "N76" | "N77" | "N78" | "N79" | "N80" | "N81" | "N82" | "N83" | "N84" | "N85" | "N86" | "N87" | "N88" | "N89" | "N90" | "N91" | "N92" | "N93" | "N94" | "N95" | "N96" | "N97" | "N98" | "N99" | "N102" | "N103" | "N104" | "N105" | "N106" | "N107" | "N108" | "N109" | "N110" | "N111" | "N112" | "N113" | "N114" | "N115" | "N116" | "N117" | "N118" | "N119" | "N120" | "N121" | "N122" | "N123" | "N124" | "N125" | "N126" | "N127" | "N128" | "N129" | "N130" | "N131" | "N132" | "N133" | "N134" | "N135" | "N136" | "N137" | "N138" | "N139" | "N140" | "N141" | "N142" | "N143" | "N144" | "N146" | "N147" | "N148" | "N149" | "N150" | "N151" | "N152" | "N153" | "N154" | "N155" | "N156" | "N157" | "N158" | "N159" | "N160" | "N161" | "N162" | "N163" | "N167" | "N170" | "N171" | "N172" | "N173" | "N174" | "N175" | "N176" | "N177" | "N178" | "N179" | "N180" | "N181" | "N182" | "N183" | "N184" | "N185" | "N186" | "N187" | "N188" | "N189" | "N190" | "N191" | "N192" | "N193" | "N194" | "N195" | "N196" | "N197" | "N198" | "N199" | "N200" | "N202" | "N203" | "N204" | "N205" | "N206" | "N207" | "N208" | "N209" | "N210" | "N211" | "N212" | "N213" | "N214" | "N215" | "N216" | "N217" | "N218" | "N219" | "N220" | "N221" | "N222" | "N223" | "N224" | "N226" | "N227" | "N228" | "N229" | "N230" | "N231" | "N232" | "N233" | "N234" | "N235" | "N236" | "N237" | "N238" | "N239" | "N240" | "N241" | "N242" | "N243" | "N244" | "N245" | "N246" | "N247" | "N248" | "N249" | "N250" | "N251" | "N252" | "N253" | "N254" | "N255" | "N256" | "N257" | "N258" | "N259" | "N260" | "N261" | "N262" | "N263" | "N264" | "N265" | "N266" | "N267" | "N268" | "N269" | "N270" | "N271" | "N272" | "N273" | "N274" | "N275" | "N276" | "N277" | "N278" | "N279" | "N280" | "N281" | "N282" | "N283" | "N284" | "N285" | "N286" | "N287" | "N288" | "N289" | "N290" | "N291" | "N292" | "N293" | "N294" | "N295" | "N296" | "N297" | "N298" | "N299" | "N300" | "N301" | "N302" | "N303" | "N304" | "N305" | "N306" | "N307" | "N308" | "N309" | "N310" | "N311" | "N312" | "N313" | "N314" | "N315" | "N316" | "N317" | "N318" | "N319" | "N320" | "N321" | "N322" | "N323" | "N324" | "N325" | "N326" | "N327" | "N328" | "N329" | "N330" | "N331" | "N332" | "N333" | "N334" | "N335" | "N336" | "N337" | "N338" | "N339" | "N340" | "N341" | "N342" | "N343" | "N344" | "N345" | "N346" | "N347" | "N348" | "N349" | "N350" | "N351" | "N352" | "N353" | "N354" | "N355" | "N356" | "N357" | "N358" | "N359" | "N360" | "N362" | "N363" | "N364" | "N366" | "N367" | "N368" | "N369" | "N370" | "N371" | "N372" | "N373" | "N374" | "N375" | "N376" | "N377" | "N378" | "N379" | "N380" | "N381" | "N382" | "N383" | "N384" | "N385" | "N386" | "N387" | "N388" | "N389" | "N390" | "N391" | "N392" | "N393" | "N394" | "N395" | "N396" | "N397" | "N398" | "N399" | "N400" | "N401" | "N402" | "N403" | "N404" | "N405" | "N406" | "N407" | "N408" | "N409" | "N410" | "N411" | "N412" | "N413" | "N414" | "N415" | "N416" | "N417" | "N418" | "N419" | "N420" | "N421" | "N422" | "N423" | "N424" | "N425" | "N426" | "N427" | "N428" | "N429" | "N430" | "N431" | "N432" | "N433" | "N434" | "N435" | "N436" | "N437" | "N438" | "N439" | "N440" | "N441" | "N442" | "N443" | "N444" | "N445" | "N446" | "N447" | "N448" | "N449" | "N450" | "N451" | "N452" | "N453" | "N454" | "N455" | "N456" | "N457" | "N458" | "N459" | "N460" | "N461" | "N462" | "N463" | "N464" | "N465" | "N466" | "N467" | "N468" | "N469" | "N470" | "N471" | "N472" | "N473" | "N474" | "N475" | "N476" | "N477" | "N478" | "N479" | "N480" | "N481" | "N482" | "N485" | "N486" | "N487" | "N488" | "N489" | "N490" | "N491" | "N492" | "N493" | "N494" | "N495" | "N496" | "N497" | "N498" | "N499" | "N500" | "N501" | "N502" | "N503" | "N504" | "N505" | "N506" | "N507" | "N508" | "N509" | "N510" | "N511" | "N512" | "N513" | "N516" | "N517" | "N518" | "N519" | "N520" | "N521" | "N522" | "N523" | "N524" | "N525" | "N526" | "N527" | "N528" | "N529" | "N530" | "N531" | "N532" | "N533" | "N534" | "N535" | "N536" | "N537" | "N538" | "N539" | "N540" | "N541" | "N542" | "N543" | "N544" | "N545" | "N546" | "N547" | "N548" | "N549" | "N550" | "N551" | "N552" | "N554" | "N555" | "N556" | "N557" | "N558" | "N559" | "N560" | "N561" | "N562" | "N563" | "N564" | "N565" | "N566" | "N567" | "N568" | "N569" | "N570" | "N571" | "N572" | "N573" | "N574" | "N575" | "N576" | "N577" | "N578" | "N579" | "N580" | "N581" | "N582" | "N583" | "N584" | "N585" | "N586" | "N587" | "N588" | "N589" | "N590" | "N591" | "N592" | "N593" | "N594" | "N595" | "N596" | "N597" | "N598" | "N599" | "N600" | "N601" | "N602" | "N603" | "N604" | "N605" | "N606" | "N607" | "N608" | "N609" | "N610" | "N611" | "N612" | "N613" | "N614" | "N615" | "N616" | "N617" | "N618" | "N619" | "N620" | "N621" | "N622" | "N623" | "N624" | "N625" | "N626" | "N628" | "N629" | "N630" | "N631" | "N632" | "N633" | "N634" | "N635" | "N636" | "N637" | "N638" | "N639" | "N640" | "N641" | "N642" | "N643" | "N644" | "N645" | "N646" | "N647" | "N648" | "N649" | "N650" | "N651" | "N652" | "N653" | "N654" | "N655" | "N656" | "N657" | "N658" | "N659" | "N660" | "N661" | "N662" | "N663" | "N664" | "N665" | "N666" | "N667" | "N668" | "N669" | "N670" | "N671" | "N672" | "N673" | "N674" | "N675" | "N676" | "N677" | "N678" | "N679" | "N680" | "N681" | "N682" | "N683" | "N684" | "N685" | "N686" | "N687" | "N688" | "N689" | "N690" | "N691" | "N692" | "N693" | "N694" | "N695" | "N696" | "N697" | "N698" | "N699" | "N700" | "N701" | "N702" | "N703" | "N704" | "N705" | "N706" | "N707" | "N708" | "N709" | "N710" | "N711" | "N712" | "N713" | "N714" | "N715" | "N716" | "N717" | "N718" | "N719" | "N720" | "N721" | "N722" | "N723" | "N724" | "N725" | "N726" | "N727" | "N728" | "N729" | "N730" | "N731" | "N732" | "N733" | "N734" | "N735" | "N736" | "N737" | "N738" | "N739" | "N740" | "N741" | "N742" | "N743" | "N744" | "N745" | "N746" | "N747" | "N748" | "N749" | "N750" | "N751" | "N752" | "N753" | "N754" | "N755" | "N756" | "N757" | "N758" | "N759" | "N760" | "N761" | "N762" | "N763" | "N764" | "N765" | "N766" | "N767" | "N768" | "N769" | "N770" | "N771" | "N772" | "N773" | "N774" | "N775" | "N776" | "N777" | "N778" | "N779" | "N780" | "N781" | "N782" | "N783" | "N784" | "N785" | "N786" | "N787" | "N788" | "N789" | "N790" | "N791" | "N792" | "N793" | "N794" | "N795" | "N796" | "N797" | "N798" | "N799" | "N800" | "N801" | "N802" | "N803" | "N804" | "N805" | "N806" | "N807" | "N808" | "N809" | "N810" | "N811" | "N812" | "N815" | "N816" | "N817" | "N818" | "N819" | "N820" | "N821" | "N822" | "N823" | "N824" | "N825" | "N826" | "N827" | "N828" | "N829" | "N830" | "N831" | "N832" | "N833" | "N834" | "N835" | "N836" | "N837" | "N838" | "N839" | "N840" | "N841" | "N842" | "N843" | "N844" | "N845" | "N846" | "N847" | "N848" | "N849" | "N850" | "N851" | "N852" | "N853" | "N854" | "N855" | "N856" | "N857" | "N858" | "N859" | "N860";
9
+ type Raw = "M1" | "M2" | "M3" | "M4" | "M5" | "M6" | "M7" | "M8" | "M9" | "M10" | "M11" | "M12" | "M13" | "M14" | "M15" | "M16" | "M17" | "M18" | "M19" | "M20" | "M21" | "M22" | "M23" | "M24" | "M25" | "M26" | "M27" | "M28" | "M29" | "M30" | "M31" | "M32" | "M36" | "M37" | "M38" | "M39" | "M40" | "M41" | "M42" | "M44" | "M45" | "M46" | "M47" | "M49" | "M50" | "M51" | "M52" | "M53" | "M54" | "M55" | "M56" | "M59" | "M60" | "M61" | "M62" | "M64" | "M65" | "M66" | "M67" | "M69" | "M70" | "M71" | "M73" | "M74" | "M75" | "M76" | "M77" | "M79" | "M80" | "M81" | "M82" | "M83" | "M84" | "M85" | "M86" | "M87" | "M89" | "M90" | "M91" | "M93" | "M94" | "M95" | "M96" | "M97" | "M99" | "M100" | "M102" | "M103" | "M104" | "M105" | "M107" | "M109" | "M111" | "M112" | "M113" | "M114" | "M115" | "M116" | "M117" | "M119" | "M121" | "M122" | "M123" | "M124" | "M125" | "M126" | "M127" | "M129" | "M130" | "M131" | "M132" | "M133" | "M134" | "M135" | "M136" | "M137" | "M138" | "M139" | "M141" | "M142" | "M143" | "M144" | "MA01" | "MA02" | "MA04" | "MA07" | "MA08" | "MA09" | "MA10" | "MA12" | "MA13" | "MA14" | "MA15" | "MA16" | "MA17" | "MA18" | "MA19" | "MA20" | "MA21" | "MA22" | "MA23" | "MA24" | "MA25" | "MA26" | "MA27" | "MA28" | "MA30" | "MA31" | "MA32" | "MA33" | "MA34" | "MA35" | "MA36" | "MA37" | "MA39" | "MA40" | "MA41" | "MA42" | "MA43" | "MA44" | "MA45" | "MA46" | "MA47" | "MA48" | "MA50" | "MA53" | "MA54" | "MA55" | "MA56" | "MA57" | "MA58" | "MA59" | "MA60" | "MA61" | "MA62" | "MA63" | "MA64" | "MA65" | "MA66" | "MA67" | "MA68" | "MA69" | "MA70" | "MA71" | "MA72" | "MA73" | "MA74" | "MA75" | "MA76" | "MA77" | "MA79" | "MA80" | "MA81" | "MA83" | "MA84" | "MA88" | "MA89" | "MA90" | "MA91" | "MA92" | "MA93" | "MA94" | "MA96" | "MA97" | "MA99" | "MA100" | "MA102" | "MA103" | "MA106" | "MA107" | "MA108" | "MA109" | "MA110" | "MA111" | "MA112" | "MA113" | "MA114" | "MA115" | "MA116" | "MA117" | "MA118" | "MA120" | "MA121" | "MA122" | "MA123" | "MA125" | "MA126" | "MA128" | "MA130" | "MA131" | "MA132" | "MA133" | "MA134" | "N1" | "N2" | "N3" | "N4" | "N5" | "N6" | "N7" | "N8" | "N9" | "N10" | "N11" | "N12" | "N13" | "N14" | "N15" | "N16" | "N19" | "N20" | "N21" | "N22" | "N23" | "N24" | "N25" | "N26" | "N27" | "N28" | "N30" | "N31" | "N32" | "N33" | "N34" | "N35" | "N36" | "N37" | "N39" | "N40" | "N42" | "N43" | "N45" | "N46" | "N47" | "N48" | "N49" | "N50" | "N51" | "N52" | "N53" | "N54" | "N55" | "N56" | "N57" | "N58" | "N59" | "N61" | "N62" | "N63" | "N64" | "N65" | "N67" | "N68" | "N69" | "N70" | "N71" | "N72" | "N74" | "N75" | "N76" | "N77" | "N78" | "N79" | "N80" | "N81" | "N82" | "N83" | "N84" | "N85" | "N86" | "N87" | "N88" | "N89" | "N90" | "N91" | "N92" | "N93" | "N94" | "N95" | "N96" | "N97" | "N98" | "N99" | "N102" | "N103" | "N104" | "N105" | "N106" | "N107" | "N108" | "N109" | "N110" | "N111" | "N112" | "N113" | "N114" | "N115" | "N116" | "N117" | "N118" | "N119" | "N120" | "N121" | "N122" | "N123" | "N124" | "N125" | "N126" | "N127" | "N128" | "N129" | "N130" | "N131" | "N132" | "N133" | "N134" | "N135" | "N136" | "N137" | "N138" | "N139" | "N140" | "N141" | "N142" | "N143" | "N144" | "N146" | "N147" | "N148" | "N149" | "N150" | "N151" | "N152" | "N153" | "N154" | "N155" | "N156" | "N157" | "N158" | "N159" | "N160" | "N161" | "N162" | "N163" | "N167" | "N170" | "N171" | "N172" | "N173" | "N174" | "N175" | "N176" | "N177" | "N178" | "N179" | "N180" | "N181" | "N182" | "N183" | "N184" | "N185" | "N186" | "N187" | "N188" | "N189" | "N190" | "N191" | "N192" | "N193" | "N194" | "N195" | "N196" | "N197" | "N198" | "N199" | "N200" | "N202" | "N203" | "N204" | "N205" | "N206" | "N207" | "N208" | "N209" | "N210" | "N211" | "N212" | "N213" | "N214" | "N215" | "N216" | "N217" | "N218" | "N219" | "N220" | "N221" | "N222" | "N223" | "N224" | "N226" | "N227" | "N228" | "N229" | "N230" | "N231" | "N232" | "N233" | "N234" | "N235" | "N236" | "N237" | "N238" | "N239" | "N240" | "N241" | "N242" | "N243" | "N244" | "N245" | "N246" | "N247" | "N248" | "N249" | "N250" | "N251" | "N252" | "N253" | "N254" | "N255" | "N256" | "N257" | "N258" | "N259" | "N260" | "N261" | "N262" | "N263" | "N264" | "N265" | "N266" | "N267" | "N268" | "N269" | "N270" | "N271" | "N272" | "N273" | "N274" | "N275" | "N276" | "N277" | "N278" | "N279" | "N280" | "N281" | "N282" | "N283" | "N284" | "N285" | "N286" | "N287" | "N288" | "N289" | "N290" | "N291" | "N292" | "N293" | "N294" | "N295" | "N296" | "N297" | "N298" | "N299" | "N300" | "N301" | "N302" | "N303" | "N304" | "N305" | "N306" | "N307" | "N308" | "N309" | "N310" | "N311" | "N312" | "N313" | "N314" | "N315" | "N316" | "N317" | "N318" | "N319" | "N320" | "N321" | "N322" | "N323" | "N324" | "N325" | "N326" | "N327" | "N328" | "N329" | "N330" | "N331" | "N332" | "N333" | "N334" | "N335" | "N336" | "N337" | "N338" | "N339" | "N340" | "N341" | "N342" | "N343" | "N344" | "N345" | "N346" | "N347" | "N348" | "N349" | "N350" | "N351" | "N352" | "N353" | "N354" | "N355" | "N356" | "N357" | "N358" | "N359" | "N360" | "N362" | "N363" | "N364" | "N365" | "N366" | "N367" | "N368" | "N369" | "N370" | "N371" | "N372" | "N373" | "N374" | "N375" | "N376" | "N377" | "N378" | "N379" | "N380" | "N381" | "N382" | "N383" | "N384" | "N385" | "N386" | "N387" | "N388" | "N389" | "N390" | "N391" | "N392" | "N393" | "N394" | "N395" | "N396" | "N397" | "N398" | "N399" | "N400" | "N401" | "N402" | "N403" | "N404" | "N405" | "N406" | "N407" | "N408" | "N409" | "N410" | "N411" | "N412" | "N413" | "N414" | "N415" | "N416" | "N417" | "N418" | "N419" | "N420" | "N421" | "N422" | "N423" | "N424" | "N425" | "N426" | "N427" | "N428" | "N429" | "N430" | "N431" | "N432" | "N433" | "N434" | "N435" | "N436" | "N437" | "N438" | "N439" | "N440" | "N441" | "N442" | "N443" | "N444" | "N445" | "N446" | "N447" | "N448" | "N449" | "N450" | "N451" | "N452" | "N453" | "N454" | "N455" | "N456" | "N457" | "N458" | "N459" | "N460" | "N461" | "N462" | "N463" | "N464" | "N465" | "N466" | "N467" | "N468" | "N469" | "N470" | "N471" | "N472" | "N473" | "N474" | "N475" | "N476" | "N477" | "N478" | "N479" | "N480" | "N481" | "N482" | "N485" | "N486" | "N487" | "N488" | "N489" | "N490" | "N491" | "N492" | "N493" | "N494" | "N495" | "N496" | "N497" | "N498" | "N499" | "N500" | "N501" | "N502" | "N503" | "N504" | "N505" | "N506" | "N507" | "N508" | "N509" | "N510" | "N511" | "N512" | "N513" | "N516" | "N517" | "N518" | "N519" | "N520" | "N521" | "N522" | "N523" | "N524" | "N525" | "N526" | "N527" | "N528" | "N529" | "N530" | "N531" | "N532" | "N533" | "N534" | "N535" | "N536" | "N537" | "N538" | "N539" | "N540" | "N541" | "N542" | "N543" | "N544" | "N545" | "N546" | "N547" | "N548" | "N549" | "N550" | "N551" | "N552" | "N554" | "N555" | "N556" | "N557" | "N558" | "N559" | "N560" | "N561" | "N562" | "N563" | "N564" | "N565" | "N566" | "N567" | "N568" | "N569" | "N570" | "N571" | "N572" | "N573" | "N574" | "N575" | "N576" | "N577" | "N578" | "N579" | "N580" | "N581" | "N582" | "N583" | "N584" | "N585" | "N586" | "N587" | "N588" | "N589" | "N590" | "N591" | "N592" | "N593" | "N594" | "N595" | "N596" | "N597" | "N598" | "N599" | "N600" | "N601" | "N602" | "N603" | "N604" | "N605" | "N606" | "N607" | "N608" | "N609" | "N610" | "N611" | "N612" | "N613" | "N614" | "N615" | "N616" | "N617" | "N618" | "N619" | "N620" | "N621" | "N622" | "N623" | "N624" | "N625" | "N626" | "N628" | "N629" | "N630" | "N631" | "N632" | "N633" | "N634" | "N635" | "N636" | "N637" | "N638" | "N639" | "N640" | "N641" | "N642" | "N643" | "N644" | "N645" | "N646" | "N647" | "N648" | "N649" | "N650" | "N651" | "N652" | "N653" | "N654" | "N655" | "N656" | "N657" | "N658" | "N659" | "N660" | "N661" | "N662" | "N663" | "N664" | "N665" | "N666" | "N667" | "N668" | "N669" | "N670" | "N671" | "N672" | "N673" | "N674" | "N675" | "N676" | "N677" | "N678" | "N679" | "N680" | "N681" | "N682" | "N683" | "N684" | "N685" | "N686" | "N687" | "N688" | "N689" | "N690" | "N691" | "N692" | "N693" | "N694" | "N695" | "N696" | "N697" | "N698" | "N699" | "N700" | "N701" | "N702" | "N703" | "N704" | "N705" | "N706" | "N707" | "N708" | "N709" | "N710" | "N711" | "N712" | "N713" | "N714" | "N715" | "N716" | "N717" | "N718" | "N719" | "N720" | "N721" | "N722" | "N723" | "N724" | "N725" | "N726" | "N727" | "N728" | "N729" | "N730" | "N731" | "N732" | "N733" | "N734" | "N735" | "N736" | "N737" | "N738" | "N739" | "N740" | "N741" | "N742" | "N743" | "N744" | "N745" | "N746" | "N747" | "N748" | "N749" | "N750" | "N751" | "N752" | "N753" | "N754" | "N755" | "N756" | "N757" | "N758" | "N759" | "N760" | "N761" | "N762" | "N763" | "N764" | "N765" | "N766" | "N767" | "N768" | "N769" | "N770" | "N771" | "N772" | "N773" | "N774" | "N775" | "N776" | "N777" | "N778" | "N779" | "N780" | "N781" | "N782" | "N783" | "N784" | "N785" | "N786" | "N787" | "N788" | "N789" | "N790" | "N791" | "N792" | "N793" | "N794" | "N795" | "N796" | "N797" | "N798" | "N799" | "N800" | "N801" | "N802" | "N803" | "N804" | "N805" | "N806" | "N807" | "N808" | "N809" | "N810" | "N811" | "N812" | "N815" | "N816" | "N817" | "N818" | "N819" | "N820" | "N821" | "N822" | "N823" | "N824" | "N825" | "N826" | "N827" | "N828" | "N829" | "N830" | "N831" | "N832" | "N833" | "N834" | "N835" | "N836" | "N837" | "N838" | "N839" | "N840" | "N841" | "N842" | "N843" | "N844" | "N845" | "N846" | "N847" | "N848" | "N849" | "N850" | "N851" | "N852" | "N853" | "N854" | "N855" | "N856" | "N857" | "N858" | "N859" | "N860" | "N880" | "N887" | "N891";
10
10
  }