candidhealth 0.34.6 → 0.34.9

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 (214) 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/customSchemas/resources/v1/client/Client.js +4 -4
  5. package/api/resources/diagnoses/client/Client.js +3 -3
  6. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  7. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  8. package/api/resources/encounters/resources/v4/client/Client.d.ts +15 -4
  9. package/api/resources/encounters/resources/v4/client/Client.js +20 -9
  10. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -1
  11. package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +2 -1
  12. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +12 -2
  13. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +10 -0
  14. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -0
  15. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +10 -0
  16. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  17. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  18. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  19. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  20. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  21. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  22. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  23. package/api/resources/individual/types/Patient.d.ts +11 -0
  24. package/api/resources/individual/types/PatientCreate.d.ts +1 -0
  25. package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +21 -0
  26. package/api/resources/individual/types/PatientNonInsurancePayerInfo.js +5 -0
  27. package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +8 -0
  28. package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +5 -0
  29. package/api/resources/individual/types/PatientUpdate.d.ts +2 -0
  30. package/api/resources/individual/types/index.d.ts +2 -0
  31. package/api/resources/individual/types/index.js +2 -0
  32. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  33. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  34. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  35. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  36. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  37. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  38. package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +12 -1
  39. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +18 -7
  40. package/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  41. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +14 -0
  42. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +5 -0
  43. package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +1 -0
  44. package/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  45. package/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  46. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  47. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  48. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  49. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  50. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  51. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  52. package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +8 -0
  53. package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +5 -0
  54. package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  55. package/api/resources/preEncounter/resources/common/types/index.js +1 -0
  56. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +34 -2
  57. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +42 -10
  58. package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -0
  59. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  60. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +16 -2
  61. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +24 -10
  62. package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +8 -1
  63. package/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  64. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  65. package/api/resources/serviceFacility/client/Client.js +1 -1
  66. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -1
  67. package/api/resources/serviceLines/resources/v2/client/Client.js +18 -4
  68. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +3 -0
  69. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  70. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  71. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  72. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  73. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  74. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  75. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  76. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  77. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  78. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +15 -4
  79. package/dist/api/resources/encounters/resources/v4/client/Client.js +20 -9
  80. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -1
  81. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +2 -1
  82. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +12 -2
  83. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +10 -0
  84. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -0
  85. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +10 -0
  86. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  87. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  88. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  89. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  90. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  91. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  92. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  93. package/dist/api/resources/individual/types/Patient.d.ts +11 -0
  94. package/dist/api/resources/individual/types/PatientCreate.d.ts +1 -0
  95. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +21 -0
  96. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.js +5 -0
  97. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +8 -0
  98. package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +5 -0
  99. package/dist/api/resources/individual/types/PatientUpdate.d.ts +2 -0
  100. package/dist/api/resources/individual/types/index.d.ts +2 -0
  101. package/dist/api/resources/individual/types/index.js +2 -0
  102. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  103. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  104. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  105. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  106. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  107. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  108. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +12 -1
  109. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +18 -7
  110. package/dist/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  111. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +14 -0
  112. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +5 -0
  113. package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +1 -0
  114. package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  115. package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  116. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  117. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  118. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  119. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  120. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  121. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  122. package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +8 -0
  123. package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +5 -0
  124. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  125. package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -0
  126. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +34 -2
  127. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +42 -10
  128. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -0
  129. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  130. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +16 -2
  131. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +24 -10
  132. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +8 -1
  133. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  134. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
  135. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  136. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -1
  137. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +18 -4
  138. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +3 -0
  139. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  140. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  141. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  142. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  143. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
  144. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
  145. package/dist/serialization/resources/individual/types/Patient.d.ts +2 -0
  146. package/dist/serialization/resources/individual/types/Patient.js +2 -0
  147. package/dist/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
  148. package/dist/serialization/resources/individual/types/PatientCreate.js +2 -0
  149. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +14 -0
  150. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +35 -0
  151. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +14 -0
  152. package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +35 -0
  153. package/dist/serialization/resources/individual/types/PatientUpdate.d.ts +2 -0
  154. package/dist/serialization/resources/individual/types/PatientUpdate.js +2 -0
  155. package/dist/serialization/resources/individual/types/index.d.ts +2 -0
  156. package/dist/serialization/resources/individual/types/index.js +2 -0
  157. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  158. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
  159. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +18 -0
  160. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +42 -0
  161. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +2 -0
  162. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +2 -0
  163. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  164. package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  165. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +14 -0
  166. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +35 -0
  167. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  168. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
  169. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -0
  170. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -0
  171. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  172. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
  173. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -0
  174. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -0
  175. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +4 -0
  176. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +4 -0
  177. package/package.json +1 -1
  178. package/reference.md +5555 -0
  179. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  180. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  181. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
  182. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
  183. package/serialization/resources/individual/types/Patient.d.ts +2 -0
  184. package/serialization/resources/individual/types/Patient.js +2 -0
  185. package/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
  186. package/serialization/resources/individual/types/PatientCreate.js +2 -0
  187. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +14 -0
  188. package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +35 -0
  189. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +14 -0
  190. package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +35 -0
  191. package/serialization/resources/individual/types/PatientUpdate.d.ts +2 -0
  192. package/serialization/resources/individual/types/PatientUpdate.js +2 -0
  193. package/serialization/resources/individual/types/index.d.ts +2 -0
  194. package/serialization/resources/individual/types/index.js +2 -0
  195. package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
  196. package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
  197. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +18 -0
  198. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +42 -0
  199. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +2 -0
  200. package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +2 -0
  201. package/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
  202. package/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
  203. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +14 -0
  204. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +35 -0
  205. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
  206. package/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
  207. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -0
  208. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -0
  209. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
  210. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
  211. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -0
  212. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -0
  213. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +4 -0
  214. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +4 -0
@@ -72,7 +72,23 @@ class V1 {
72
72
  * }
73
73
  * },
74
74
  * dateOfBirth: "2023-01-15",
75
- * biologicalSex: CandidApi.preEncounter.Sex.Female
75
+ * biologicalSex: CandidApi.preEncounter.Sex.Female,
76
+ * address: {
77
+ * use: CandidApi.preEncounter.AddressUse.Home,
78
+ * line: ["string"],
79
+ * city: "string",
80
+ * state: "string",
81
+ * postalCode: "string",
82
+ * country: "string",
83
+ * period: {
84
+ * start: {
85
+ * "key": "value"
86
+ * },
87
+ * end: {
88
+ * "key": "value"
89
+ * }
90
+ * }
91
+ * }
76
92
  * },
77
93
  * relationship: CandidApi.preEncounter.Relationship.Self,
78
94
  * patient: CandidApi.preEncounter.PatientId("string"),
@@ -134,7 +150,7 @@ class V1 {
134
150
  Authorization: yield this._getAuthorizationHeader(),
135
151
  "X-Fern-Language": "JavaScript",
136
152
  "X-Fern-SDK-Name": "candidhealth",
137
- "X-Fern-SDK-Version": "0.34.6",
153
+ "X-Fern-SDK-Version": "0.34.9",
138
154
  "X-Fern-Runtime": core.RUNTIME.type,
139
155
  "X-Fern-Runtime-Version": core.RUNTIME.version,
140
156
  },
@@ -190,7 +206,23 @@ class V1 {
190
206
  * }
191
207
  * },
192
208
  * dateOfBirth: "2023-01-15",
193
- * biologicalSex: CandidApi.preEncounter.Sex.Female
209
+ * biologicalSex: CandidApi.preEncounter.Sex.Female,
210
+ * address: {
211
+ * use: CandidApi.preEncounter.AddressUse.Home,
212
+ * line: ["string"],
213
+ * city: "string",
214
+ * state: "string",
215
+ * postalCode: "string",
216
+ * country: "string",
217
+ * period: {
218
+ * start: {
219
+ * "key": "value"
220
+ * },
221
+ * end: {
222
+ * "key": "value"
223
+ * }
224
+ * }
225
+ * }
194
226
  * },
195
227
  * relationship: CandidApi.preEncounter.Relationship.Self,
196
228
  * patient: CandidApi.preEncounter.PatientId("string"),
@@ -252,7 +284,7 @@ class V1 {
252
284
  Authorization: yield this._getAuthorizationHeader(),
253
285
  "X-Fern-Language": "JavaScript",
254
286
  "X-Fern-SDK-Name": "candidhealth",
255
- "X-Fern-SDK-Version": "0.34.6",
287
+ "X-Fern-SDK-Version": "0.34.9",
256
288
  "X-Fern-Runtime": core.RUNTIME.type,
257
289
  "X-Fern-Runtime-Version": core.RUNTIME.version,
258
290
  },
@@ -317,7 +349,7 @@ class V1 {
317
349
  Authorization: yield this._getAuthorizationHeader(),
318
350
  "X-Fern-Language": "JavaScript",
319
351
  "X-Fern-SDK-Name": "candidhealth",
320
- "X-Fern-SDK-Version": "0.34.6",
352
+ "X-Fern-SDK-Version": "0.34.9",
321
353
  "X-Fern-Runtime": core.RUNTIME.type,
322
354
  "X-Fern-Runtime-Version": core.RUNTIME.version,
323
355
  },
@@ -364,7 +396,7 @@ class V1 {
364
396
  Authorization: yield this._getAuthorizationHeader(),
365
397
  "X-Fern-Language": "JavaScript",
366
398
  "X-Fern-SDK-Name": "candidhealth",
367
- "X-Fern-SDK-Version": "0.34.6",
399
+ "X-Fern-SDK-Version": "0.34.9",
368
400
  "X-Fern-Runtime": core.RUNTIME.type,
369
401
  "X-Fern-Runtime-Version": core.RUNTIME.version,
370
402
  },
@@ -432,7 +464,7 @@ class V1 {
432
464
  Authorization: yield this._getAuthorizationHeader(),
433
465
  "X-Fern-Language": "JavaScript",
434
466
  "X-Fern-SDK-Name": "candidhealth",
435
- "X-Fern-SDK-Version": "0.34.6",
467
+ "X-Fern-SDK-Version": "0.34.9",
436
468
  "X-Fern-Runtime": core.RUNTIME.type,
437
469
  "X-Fern-Runtime-Version": core.RUNTIME.version,
438
470
  },
@@ -485,7 +517,7 @@ class V1 {
485
517
  Authorization: yield this._getAuthorizationHeader(),
486
518
  "X-Fern-Language": "JavaScript",
487
519
  "X-Fern-SDK-Name": "candidhealth",
488
- "X-Fern-SDK-Version": "0.34.6",
520
+ "X-Fern-SDK-Version": "0.34.9",
489
521
  "X-Fern-Runtime": core.RUNTIME.type,
490
522
  "X-Fern-Runtime-Version": core.RUNTIME.version,
491
523
  },
@@ -538,7 +570,7 @@ class V1 {
538
570
  Authorization: yield this._getAuthorizationHeader(),
539
571
  "X-Fern-Language": "JavaScript",
540
572
  "X-Fern-SDK-Name": "candidhealth",
541
- "X-Fern-SDK-Version": "0.34.6",
573
+ "X-Fern-SDK-Version": "0.34.9",
542
574
  "X-Fern-Runtime": core.RUNTIME.type,
543
575
  "X-Fern-Runtime-Version": core.RUNTIME.version,
544
576
  },
@@ -589,7 +621,7 @@ class V1 {
589
621
  Authorization: yield this._getAuthorizationHeader(),
590
622
  "X-Fern-Language": "JavaScript",
591
623
  "X-Fern-SDK-Name": "candidhealth",
592
- "X-Fern-SDK-Version": "0.34.6",
624
+ "X-Fern-SDK-Version": "0.34.9",
593
625
  "X-Fern-Runtime": core.RUNTIME.type,
594
626
  "X-Fern-Runtime-Version": core.RUNTIME.version,
595
627
  },
@@ -6,4 +6,5 @@ export interface Subscriber {
6
6
  name: CandidApi.preEncounter.HumanName;
7
7
  dateOfBirth: string;
8
8
  biologicalSex: CandidApi.preEncounter.Sex;
9
+ address?: CandidApi.preEncounter.Address;
9
10
  }
@@ -91,7 +91,7 @@ class V1 {
91
91
  Authorization: yield this._getAuthorizationHeader(),
92
92
  "X-Fern-Language": "JavaScript",
93
93
  "X-Fern-SDK-Name": "candidhealth",
94
- "X-Fern-SDK-Version": "0.34.6",
94
+ "X-Fern-SDK-Version": "0.34.9",
95
95
  "X-Fern-Runtime": core.RUNTIME.type,
96
96
  "X-Fern-Runtime-Version": core.RUNTIME.version,
97
97
  },
@@ -176,7 +176,7 @@ class V1 {
176
176
  Authorization: yield this._getAuthorizationHeader(),
177
177
  "X-Fern-Language": "JavaScript",
178
178
  "X-Fern-SDK-Name": "candidhealth",
179
- "X-Fern-SDK-Version": "0.34.6",
179
+ "X-Fern-SDK-Version": "0.34.9",
180
180
  "X-Fern-Runtime": core.RUNTIME.type,
181
181
  "X-Fern-Runtime-Version": core.RUNTIME.version,
182
182
  },
@@ -210,6 +210,12 @@ export declare class V1 {
210
210
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
211
211
  * },
212
212
  * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
213
+ * nonInsurancePayerAssociations: [{
214
+ * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string"),
215
+ * memberId: {
216
+ * "key": "value"
217
+ * }
218
+ * }],
213
219
  * guarantor: {
214
220
  * name: {
215
221
  * family: "string",
@@ -314,7 +320,8 @@ export declare class V1 {
314
320
  * notes: {
315
321
  * "key": "value"
316
322
  * }
317
- * }]
323
+ * }],
324
+ * primaryServiceFacilityId: "string"
318
325
  * }
319
326
  * })
320
327
  */
@@ -544,6 +551,12 @@ export declare class V1 {
544
551
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
545
552
  * },
546
553
  * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
554
+ * nonInsurancePayerAssociations: [{
555
+ * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string"),
556
+ * memberId: {
557
+ * "key": "value"
558
+ * }
559
+ * }],
547
560
  * guarantor: {
548
561
  * name: {
549
562
  * family: "string",
@@ -648,7 +661,8 @@ export declare class V1 {
648
661
  * notes: {
649
662
  * "key": "value"
650
663
  * }
651
- * }]
664
+ * }],
665
+ * primaryServiceFacilityId: "string"
652
666
  * })
653
667
  */
654
668
  update(id: CandidApi.preEncounter.PatientId, version: string, request: CandidApi.preEncounter.patients.v1.MutablePatient, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.update.Error>>;
@@ -237,6 +237,12 @@ class V1 {
237
237
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
238
238
  * },
239
239
  * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
240
+ * nonInsurancePayerAssociations: [{
241
+ * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string"),
242
+ * memberId: {
243
+ * "key": "value"
244
+ * }
245
+ * }],
240
246
  * guarantor: {
241
247
  * name: {
242
248
  * family: "string",
@@ -341,7 +347,8 @@ class V1 {
341
347
  * notes: {
342
348
  * "key": "value"
343
349
  * }
344
- * }]
350
+ * }],
351
+ * primaryServiceFacilityId: "string"
345
352
  * }
346
353
  * })
347
354
  */
@@ -361,7 +368,7 @@ class V1 {
361
368
  Authorization: yield this._getAuthorizationHeader(),
362
369
  "X-Fern-Language": "JavaScript",
363
370
  "X-Fern-SDK-Name": "candidhealth",
364
- "X-Fern-SDK-Version": "0.34.6",
371
+ "X-Fern-SDK-Version": "0.34.9",
365
372
  "X-Fern-Runtime": core.RUNTIME.type,
366
373
  "X-Fern-Runtime-Version": core.RUNTIME.version,
367
374
  },
@@ -450,7 +457,7 @@ class V1 {
450
457
  Authorization: yield this._getAuthorizationHeader(),
451
458
  "X-Fern-Language": "JavaScript",
452
459
  "X-Fern-SDK-Name": "candidhealth",
453
- "X-Fern-SDK-Version": "0.34.6",
460
+ "X-Fern-SDK-Version": "0.34.9",
454
461
  "X-Fern-Runtime": core.RUNTIME.type,
455
462
  "X-Fern-Runtime-Version": core.RUNTIME.version,
456
463
  },
@@ -498,7 +505,7 @@ class V1 {
498
505
  Authorization: yield this._getAuthorizationHeader(),
499
506
  "X-Fern-Language": "JavaScript",
500
507
  "X-Fern-SDK-Name": "candidhealth",
501
- "X-Fern-SDK-Version": "0.34.6",
508
+ "X-Fern-SDK-Version": "0.34.9",
502
509
  "X-Fern-Runtime": core.RUNTIME.type,
503
510
  "X-Fern-Runtime-Version": core.RUNTIME.version,
504
511
  },
@@ -559,7 +566,7 @@ class V1 {
559
566
  Authorization: yield this._getAuthorizationHeader(),
560
567
  "X-Fern-Language": "JavaScript",
561
568
  "X-Fern-SDK-Name": "candidhealth",
562
- "X-Fern-SDK-Version": "0.34.6",
569
+ "X-Fern-SDK-Version": "0.34.9",
563
570
  "X-Fern-Runtime": core.RUNTIME.type,
564
571
  "X-Fern-Runtime-Version": core.RUNTIME.version,
565
572
  },
@@ -789,6 +796,12 @@ class V1 {
789
796
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
790
797
  * },
791
798
  * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
799
+ * nonInsurancePayerAssociations: [{
800
+ * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string"),
801
+ * memberId: {
802
+ * "key": "value"
803
+ * }
804
+ * }],
792
805
  * guarantor: {
793
806
  * name: {
794
807
  * family: "string",
@@ -893,7 +906,8 @@ class V1 {
893
906
  * notes: {
894
907
  * "key": "value"
895
908
  * }
896
- * }]
909
+ * }],
910
+ * primaryServiceFacilityId: "string"
897
911
  * })
898
912
  */
899
913
  update(id, version, request, requestOptions) {
@@ -907,7 +921,7 @@ class V1 {
907
921
  Authorization: yield this._getAuthorizationHeader(),
908
922
  "X-Fern-Language": "JavaScript",
909
923
  "X-Fern-SDK-Name": "candidhealth",
910
- "X-Fern-SDK-Version": "0.34.6",
924
+ "X-Fern-SDK-Version": "0.34.9",
911
925
  "X-Fern-Runtime": core.RUNTIME.type,
912
926
  "X-Fern-Runtime-Version": core.RUNTIME.version,
913
927
  },
@@ -973,7 +987,7 @@ class V1 {
973
987
  Authorization: yield this._getAuthorizationHeader(),
974
988
  "X-Fern-Language": "JavaScript",
975
989
  "X-Fern-SDK-Name": "candidhealth",
976
- "X-Fern-SDK-Version": "0.34.6",
990
+ "X-Fern-SDK-Version": "0.34.9",
977
991
  "X-Fern-Runtime": core.RUNTIME.type,
978
992
  "X-Fern-Runtime-Version": core.RUNTIME.version,
979
993
  },
@@ -1041,7 +1055,7 @@ class V1 {
1041
1055
  Authorization: yield this._getAuthorizationHeader(),
1042
1056
  "X-Fern-Language": "JavaScript",
1043
1057
  "X-Fern-SDK-Name": "candidhealth",
1044
- "X-Fern-SDK-Version": "0.34.6",
1058
+ "X-Fern-SDK-Version": "0.34.9",
1045
1059
  "X-Fern-Runtime": core.RUNTIME.type,
1046
1060
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1047
1061
  },
@@ -1094,7 +1108,7 @@ class V1 {
1094
1108
  Authorization: yield this._getAuthorizationHeader(),
1095
1109
  "X-Fern-Language": "JavaScript",
1096
1110
  "X-Fern-SDK-Name": "candidhealth",
1097
- "X-Fern-SDK-Version": "0.34.6",
1111
+ "X-Fern-SDK-Version": "0.34.9",
1098
1112
  "X-Fern-Runtime": core.RUNTIME.type,
1099
1113
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1100
1114
  },
@@ -186,6 +186,12 @@ import * as CandidApi from "../../../../../../../../index";
186
186
  * coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
187
187
  * },
188
188
  * nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
189
+ * nonInsurancePayerAssociations: [{
190
+ * id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string"),
191
+ * memberId: {
192
+ * "key": "value"
193
+ * }
194
+ * }],
189
195
  * guarantor: {
190
196
  * name: {
191
197
  * family: "string",
@@ -290,7 +296,8 @@ import * as CandidApi from "../../../../../../../../index";
290
296
  * notes: {
291
297
  * "key": "value"
292
298
  * }
293
- * }]
299
+ * }],
300
+ * primaryServiceFacilityId: "string"
294
301
  * }
295
302
  * }
296
303
  */
@@ -4,7 +4,7 @@
4
4
  import * as CandidApi from "../../../../../../../index";
5
5
  export interface Guarantor {
6
6
  name: CandidApi.preEncounter.HumanName;
7
- telecom: CandidApi.preEncounter.ContactPoint;
7
+ telecom?: CandidApi.preEncounter.ContactPoint;
8
8
  email?: string;
9
9
  birthDate: string;
10
10
  address: CandidApi.preEncounter.Address;
@@ -43,8 +43,10 @@ export interface MutablePatient {
43
43
  generalPractitioners: CandidApi.preEncounter.ExternalProvider[];
44
44
  filingOrder: CandidApi.preEncounter.patients.v1.FilingOrder;
45
45
  nonInsurancePayers?: CandidApi.preEncounter.CanonicalNonInsurancePayerId[];
46
+ nonInsurancePayerAssociations?: CandidApi.preEncounter.CanonicalNonInsurancePayerAssociation[];
46
47
  guarantor?: CandidApi.preEncounter.patients.v1.Guarantor;
47
48
  selfPay?: boolean;
48
49
  authorizations?: CandidApi.preEncounter.patients.v1.Authorization[];
49
50
  referrals?: CandidApi.preEncounter.patients.v1.Referral[];
51
+ primaryServiceFacilityId?: string;
50
52
  }
@@ -77,7 +77,7 @@ class ServiceFacility {
77
77
  Authorization: yield this._getAuthorizationHeader(),
78
78
  "X-Fern-Language": "JavaScript",
79
79
  "X-Fern-SDK-Name": "candidhealth",
80
- "X-Fern-SDK-Version": "0.34.6",
80
+ "X-Fern-SDK-Version": "0.34.9",
81
81
  "X-Fern-Runtime": core.RUNTIME.type,
82
82
  "X-Fern-Runtime-Version": core.RUNTIME.version,
83
83
  },
@@ -43,7 +43,21 @@ export declare class V2 {
43
43
  * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
44
44
  * description: "string",
45
45
  * dateOfService: "2023-01-15",
46
- * endDateOfService: "2023-01-15"
46
+ * endDateOfService: "2023-01-15",
47
+ * drugIdentification: {
48
+ * serviceIdQualifier: CandidApi.serviceLines.v2.ServiceIdQualifier.EanUcc13,
49
+ * nationalDrugCode: "string",
50
+ * nationalDrugUnitCount: "string",
51
+ * measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
52
+ * linkSequenceNumber: "string",
53
+ * pharmacyPrescriptionNumber: "string",
54
+ * conversionFormula: "string",
55
+ * drugDescription: "string"
56
+ * },
57
+ * testResults: [{
58
+ * value: 1.1,
59
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
60
+ * }]
47
61
  * })
48
62
  */
49
63
  create(request: CandidApi.serviceLines.v2.ServiceLineCreateStandalone, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.serviceLines.v2.ServiceLine, CandidApi.serviceLines.v2.create.Error>>;
@@ -70,7 +70,21 @@ class V2 {
70
70
  * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
71
71
  * description: "string",
72
72
  * dateOfService: "2023-01-15",
73
- * endDateOfService: "2023-01-15"
73
+ * endDateOfService: "2023-01-15",
74
+ * drugIdentification: {
75
+ * serviceIdQualifier: CandidApi.serviceLines.v2.ServiceIdQualifier.EanUcc13,
76
+ * nationalDrugCode: "string",
77
+ * nationalDrugUnitCount: "string",
78
+ * measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
79
+ * linkSequenceNumber: "string",
80
+ * pharmacyPrescriptionNumber: "string",
81
+ * conversionFormula: "string",
82
+ * drugDescription: "string"
83
+ * },
84
+ * testResults: [{
85
+ * value: 1.1,
86
+ * resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
87
+ * }]
74
88
  * })
75
89
  */
76
90
  create(request, requestOptions) {
@@ -84,7 +98,7 @@ class V2 {
84
98
  Authorization: yield this._getAuthorizationHeader(),
85
99
  "X-Fern-Language": "JavaScript",
86
100
  "X-Fern-SDK-Name": "candidhealth",
87
- "X-Fern-SDK-Version": "0.34.6",
101
+ "X-Fern-SDK-Version": "0.34.9",
88
102
  "X-Fern-Runtime": core.RUNTIME.type,
89
103
  "X-Fern-Runtime-Version": core.RUNTIME.version,
90
104
  },
@@ -179,7 +193,7 @@ class V2 {
179
193
  Authorization: yield this._getAuthorizationHeader(),
180
194
  "X-Fern-Language": "JavaScript",
181
195
  "X-Fern-SDK-Name": "candidhealth",
182
- "X-Fern-SDK-Version": "0.34.6",
196
+ "X-Fern-SDK-Version": "0.34.9",
183
197
  "X-Fern-Runtime": core.RUNTIME.type,
184
198
  "X-Fern-Runtime-Version": core.RUNTIME.version,
185
199
  },
@@ -243,7 +257,7 @@ class V2 {
243
257
  Authorization: yield this._getAuthorizationHeader(),
244
258
  "X-Fern-Language": "JavaScript",
245
259
  "X-Fern-SDK-Name": "candidhealth",
246
- "X-Fern-SDK-Version": "0.34.6",
260
+ "X-Fern-SDK-Version": "0.34.9",
247
261
  "X-Fern-Runtime": core.RUNTIME.type,
248
262
  "X-Fern-Runtime-Version": core.RUNTIME.version,
249
263
  },
@@ -24,4 +24,7 @@ export interface ServiceLineCreateStandalone {
24
24
  description?: string;
25
25
  dateOfService?: string;
26
26
  endDateOfService?: string;
27
+ drugIdentification?: CandidApi.serviceLines.v2.DrugIdentification;
28
+ /** Maps to MEA-02 on the 837-P. No more than 5 test results may be submitted per service line. */
29
+ testResults?: CandidApi.serviceLines.v2.TestResult[];
27
30
  }
@@ -66,7 +66,7 @@ class V3 {
66
66
  Authorization: yield this._getAuthorizationHeader(),
67
67
  "X-Fern-Language": "JavaScript",
68
68
  "X-Fern-SDK-Name": "candidhealth",
69
- "X-Fern-SDK-Version": "0.34.6",
69
+ "X-Fern-SDK-Version": "0.34.9",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -166,7 +166,7 @@ class V3 {
166
166
  Authorization: yield this._getAuthorizationHeader(),
167
167
  "X-Fern-Language": "JavaScript",
168
168
  "X-Fern-SDK-Name": "candidhealth",
169
- "X-Fern-SDK-Version": "0.34.6",
169
+ "X-Fern-SDK-Version": "0.34.9",
170
170
  "X-Fern-Runtime": core.RUNTIME.type,
171
171
  "X-Fern-Runtime-Version": core.RUNTIME.version,
172
172
  },
@@ -226,7 +226,7 @@ class V3 {
226
226
  Authorization: yield this._getAuthorizationHeader(),
227
227
  "X-Fern-Language": "JavaScript",
228
228
  "X-Fern-SDK-Name": "candidhealth",
229
- "X-Fern-SDK-Version": "0.34.6",
229
+ "X-Fern-SDK-Version": "0.34.9",
230
230
  "X-Fern-Runtime": core.RUNTIME.type,
231
231
  "X-Fern-Runtime-Version": core.RUNTIME.version,
232
232
  },
@@ -294,7 +294,7 @@ class V3 {
294
294
  Authorization: yield this._getAuthorizationHeader(),
295
295
  "X-Fern-Language": "JavaScript",
296
296
  "X-Fern-SDK-Name": "candidhealth",
297
- "X-Fern-SDK-Version": "0.34.6",
297
+ "X-Fern-SDK-Version": "0.34.9",
298
298
  "X-Fern-Runtime": core.RUNTIME.type,
299
299
  "X-Fern-Runtime-Version": core.RUNTIME.version,
300
300
  },
@@ -345,7 +345,7 @@ class V3 {
345
345
  Authorization: yield this._getAuthorizationHeader(),
346
346
  "X-Fern-Language": "JavaScript",
347
347
  "X-Fern-SDK-Name": "candidhealth",
348
- "X-Fern-SDK-Version": "0.34.6",
348
+ "X-Fern-SDK-Version": "0.34.9",
349
349
  "X-Fern-Runtime": core.RUNTIME.type,
350
350
  "X-Fern-Runtime-Version": core.RUNTIME.version,
351
351
  },
@@ -116,7 +116,7 @@ class V1 {
116
116
  Authorization: yield this._getAuthorizationHeader(),
117
117
  "X-Fern-Language": "JavaScript",
118
118
  "X-Fern-SDK-Name": "candidhealth",
119
- "X-Fern-SDK-Version": "0.34.6",
119
+ "X-Fern-SDK-Version": "0.34.9",
120
120
  "X-Fern-Runtime": core.RUNTIME.type,
121
121
  "X-Fern-Runtime-Version": core.RUNTIME.version,
122
122
  },
@@ -164,7 +164,7 @@ class V1 {
164
164
  Authorization: yield this._getAuthorizationHeader(),
165
165
  "X-Fern-Language": "JavaScript",
166
166
  "X-Fern-SDK-Name": "candidhealth",
167
- "X-Fern-SDK-Version": "0.34.6",
167
+ "X-Fern-SDK-Version": "0.34.9",
168
168
  "X-Fern-Runtime": core.RUNTIME.type,
169
169
  "X-Fern-Runtime-Version": core.RUNTIME.version,
170
170
  },
@@ -221,7 +221,7 @@ class V1 {
221
221
  Authorization: yield this._getAuthorizationHeader(),
222
222
  "X-Fern-Language": "JavaScript",
223
223
  "X-Fern-SDK-Name": "candidhealth",
224
- "X-Fern-SDK-Version": "0.34.6",
224
+ "X-Fern-SDK-Version": "0.34.9",
225
225
  "X-Fern-Runtime": core.RUNTIME.type,
226
226
  "X-Fern-Runtime-Version": core.RUNTIME.version,
227
227
  },
@@ -271,7 +271,7 @@ class V1 {
271
271
  Authorization: yield this._getAuthorizationHeader(),
272
272
  "X-Fern-Language": "JavaScript",
273
273
  "X-Fern-SDK-Name": "candidhealth",
274
- "X-Fern-SDK-Version": "0.34.6",
274
+ "X-Fern-SDK-Version": "0.34.9",
275
275
  "X-Fern-Runtime": core.RUNTIME.type,
276
276
  "X-Fern-Runtime-Version": core.RUNTIME.version,
277
277
  },
@@ -68,5 +68,6 @@ export declare namespace EncounterUpdate {
68
68
  supervising_provider?: SupervisingProviderUpdate.Raw | null;
69
69
  referring_provider?: ReferringProviderUpdate.Raw | null;
70
70
  initial_referring_provider?: InitialReferringProviderUpdate.Raw | null;
71
+ referral_number?: string | null;
71
72
  }
72
73
  }
@@ -90,4 +90,5 @@ exports.EncounterUpdate = core.serialization.object({
90
90
  supervisingProvider: core.serialization.property("supervising_provider", SupervisingProviderUpdate_1.SupervisingProviderUpdate.optional()),
91
91
  referringProvider: core.serialization.property("referring_provider", ReferringProviderUpdate_1.ReferringProviderUpdate.optional()),
92
92
  initialReferringProvider: core.serialization.property("initial_referring_provider", InitialReferringProviderUpdate_1.InitialReferringProviderUpdate.optional()),
93
+ referralNumber: core.serialization.property("referral_number", core.serialization.string().optional()),
93
94
  });
@@ -36,5 +36,6 @@ export declare namespace EncounterBase {
36
36
  onset_of_current_illness_or_symptom_date?: string | null;
37
37
  last_menstrual_period_date?: string | null;
38
38
  delay_reason_code?: DelayReasonCode.Raw | null;
39
+ referral_number?: string | null;
39
40
  }
40
41
  }
@@ -58,4 +58,5 @@ exports.EncounterBase = core.serialization.object({
58
58
  onsetOfCurrentIllnessOrSymptomDate: core.serialization.property("onset_of_current_illness_or_symptom_date", core.serialization.string().optional()),
59
59
  lastMenstrualPeriodDate: core.serialization.property("last_menstrual_period_date", core.serialization.string().optional()),
60
60
  delayReasonCode: core.serialization.property("delay_reason_code", DelayReasonCode_1.DelayReasonCode.optional()),
61
+ referralNumber: core.serialization.property("referral_number", core.serialization.string().optional()),
61
62
  });
@@ -8,6 +8,7 @@ import { IndividualId } from "./IndividualId";
8
8
  import { PhoneNumber } from "../../commons/types/PhoneNumber";
9
9
  import { Email } from "../../commons/types/Email";
10
10
  import { NonInsurancePayer } from "../../nonInsurancePayers/resources/v1/types/NonInsurancePayer";
11
+ import { PatientNonInsurancePayerInfo } from "./PatientNonInsurancePayerInfo";
11
12
  import { PatientBase } from "./PatientBase";
12
13
  export declare const Patient: core.serialization.ObjectSchema<serializers.Patient.Raw, CandidApi.Patient>;
13
14
  export declare namespace Patient {
@@ -18,5 +19,6 @@ export declare namespace Patient {
18
19
  email?: Email.Raw | null;
19
20
  email_consent: boolean;
20
21
  non_insurance_payers: NonInsurancePayer.Raw[];
22
+ non_insurance_payers_info: PatientNonInsurancePayerInfo.Raw[];
21
23
  }
22
24
  }
@@ -32,6 +32,7 @@ const IndividualId_1 = require("./IndividualId");
32
32
  const PhoneNumber_1 = require("../../commons/types/PhoneNumber");
33
33
  const Email_1 = require("../../commons/types/Email");
34
34
  const NonInsurancePayer_1 = require("../../nonInsurancePayers/resources/v1/types/NonInsurancePayer");
35
+ const PatientNonInsurancePayerInfo_1 = require("./PatientNonInsurancePayerInfo");
35
36
  const PatientBase_1 = require("./PatientBase");
36
37
  exports.Patient = core.serialization
37
38
  .object({
@@ -41,5 +42,6 @@ exports.Patient = core.serialization
41
42
  email: Email_1.Email.optional(),
42
43
  emailConsent: core.serialization.property("email_consent", core.serialization.boolean()),
43
44
  nonInsurancePayers: core.serialization.property("non_insurance_payers", core.serialization.list(NonInsurancePayer_1.NonInsurancePayer)),
45
+ nonInsurancePayersInfo: core.serialization.property("non_insurance_payers_info", core.serialization.list(PatientNonInsurancePayerInfo_1.PatientNonInsurancePayerInfo)),
44
46
  })
45
47
  .extend(PatientBase_1.PatientBase);
@@ -7,6 +7,7 @@ import * as core from "../../../../core";
7
7
  import { PhoneNumber } from "../../commons/types/PhoneNumber";
8
8
  import { Email } from "../../commons/types/Email";
9
9
  import { NonInsurancePayerId } from "../../nonInsurancePayers/resources/v1/types/NonInsurancePayerId";
10
+ import { PatientNonInsurancePayerInfoCreate } from "./PatientNonInsurancePayerInfoCreate";
10
11
  import { PatientBase } from "./PatientBase";
11
12
  export declare const PatientCreate: core.serialization.ObjectSchema<serializers.PatientCreate.Raw, CandidApi.PatientCreate>;
12
13
  export declare namespace PatientCreate {
@@ -15,6 +16,7 @@ export declare namespace PatientCreate {
15
16
  phone_consent?: boolean | null;
16
17
  email?: Email.Raw | null;
17
18
  non_insurance_payers?: NonInsurancePayerId.Raw[] | null;
19
+ non_insurance_payers_info?: PatientNonInsurancePayerInfoCreate.Raw[] | null;
18
20
  email_consent?: boolean | null;
19
21
  }
20
22
  }
@@ -31,6 +31,7 @@ const core = __importStar(require("../../../../core"));
31
31
  const PhoneNumber_1 = require("../../commons/types/PhoneNumber");
32
32
  const Email_1 = require("../../commons/types/Email");
33
33
  const NonInsurancePayerId_1 = require("../../nonInsurancePayers/resources/v1/types/NonInsurancePayerId");
34
+ const PatientNonInsurancePayerInfoCreate_1 = require("./PatientNonInsurancePayerInfoCreate");
34
35
  const PatientBase_1 = require("./PatientBase");
35
36
  exports.PatientCreate = core.serialization
36
37
  .object({
@@ -38,6 +39,7 @@ exports.PatientCreate = core.serialization
38
39
  phoneConsent: core.serialization.property("phone_consent", core.serialization.boolean().optional()),
39
40
  email: Email_1.Email.optional(),
40
41
  nonInsurancePayers: core.serialization.property("non_insurance_payers", core.serialization.list(NonInsurancePayerId_1.NonInsurancePayerId).optional()),
42
+ nonInsurancePayersInfo: core.serialization.property("non_insurance_payers_info", core.serialization.list(PatientNonInsurancePayerInfoCreate_1.PatientNonInsurancePayerInfoCreate).optional()),
41
43
  emailConsent: core.serialization.property("email_consent", core.serialization.boolean().optional()),
42
44
  })
43
45
  .extend(PatientBase_1.PatientBase);
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as CandidApi from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { NonInsurancePayer } from "../../nonInsurancePayers/resources/v1/types/NonInsurancePayer";
8
+ export declare const PatientNonInsurancePayerInfo: core.serialization.ObjectSchema<serializers.PatientNonInsurancePayerInfo.Raw, CandidApi.PatientNonInsurancePayerInfo>;
9
+ export declare namespace PatientNonInsurancePayerInfo {
10
+ interface Raw {
11
+ non_insurance_payer: NonInsurancePayer.Raw;
12
+ member_id?: string | null;
13
+ }
14
+ }