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
@@ -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
  },
@@ -87,7 +87,7 @@ class V2 {
87
87
  Authorization: yield this._getAuthorizationHeader(),
88
88
  "X-Fern-Language": "JavaScript",
89
89
  "X-Fern-SDK-Name": "candidhealth",
90
- "X-Fern-SDK-Version": "0.34.6",
90
+ "X-Fern-SDK-Version": "0.34.9",
91
91
  "X-Fern-Runtime": core.RUNTIME.type,
92
92
  "X-Fern-Runtime-Version": core.RUNTIME.version,
93
93
  },
@@ -69,7 +69,7 @@ class V2 {
69
69
  Authorization: yield this._getAuthorizationHeader(),
70
70
  "X-Fern-Language": "JavaScript",
71
71
  "X-Fern-SDK-Name": "candidhealth",
72
- "X-Fern-SDK-Version": "0.34.6",
72
+ "X-Fern-SDK-Version": "0.34.9",
73
73
  "X-Fern-Runtime": core.RUNTIME.type,
74
74
  "X-Fern-Runtime-Version": core.RUNTIME.version,
75
75
  },
@@ -66,7 +66,7 @@ class V2 {
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
  },
@@ -171,7 +171,7 @@ class V2 {
171
171
  Authorization: yield this._getAuthorizationHeader(),
172
172
  "X-Fern-Language": "JavaScript",
173
173
  "X-Fern-SDK-Name": "candidhealth",
174
- "X-Fern-SDK-Version": "0.34.6",
174
+ "X-Fern-SDK-Version": "0.34.9",
175
175
  "X-Fern-Runtime": core.RUNTIME.type,
176
176
  "X-Fern-Runtime-Version": core.RUNTIME.version,
177
177
  },
@@ -246,7 +246,7 @@ class V2 {
246
246
  Authorization: yield this._getAuthorizationHeader(),
247
247
  "X-Fern-Language": "JavaScript",
248
248
  "X-Fern-SDK-Name": "candidhealth",
249
- "X-Fern-SDK-Version": "0.34.6",
249
+ "X-Fern-SDK-Version": "0.34.9",
250
250
  "X-Fern-Runtime": core.RUNTIME.type,
251
251
  "X-Fern-Runtime-Version": core.RUNTIME.version,
252
252
  },
@@ -292,7 +292,7 @@ class V2 {
292
292
  Authorization: yield this._getAuthorizationHeader(),
293
293
  "X-Fern-Language": "JavaScript",
294
294
  "X-Fern-SDK-Name": "candidhealth",
295
- "X-Fern-SDK-Version": "0.34.6",
295
+ "X-Fern-SDK-Version": "0.34.9",
296
296
  "X-Fern-Runtime": core.RUNTIME.type,
297
297
  "X-Fern-Runtime-Version": core.RUNTIME.version,
298
298
  },
@@ -380,7 +380,7 @@ class V2 {
380
380
  Authorization: yield this._getAuthorizationHeader(),
381
381
  "X-Fern-Language": "JavaScript",
382
382
  "X-Fern-SDK-Name": "candidhealth",
383
- "X-Fern-SDK-Version": "0.34.6",
383
+ "X-Fern-SDK-Version": "0.34.9",
384
384
  "X-Fern-Runtime": core.RUNTIME.type,
385
385
  "X-Fern-Runtime-Version": core.RUNTIME.version,
386
386
  },
@@ -67,7 +67,7 @@ class V1 {
67
67
  Authorization: yield this._getAuthorizationHeader(),
68
68
  "X-Fern-Language": "JavaScript",
69
69
  "X-Fern-SDK-Name": "candidhealth",
70
- "X-Fern-SDK-Version": "0.34.6",
70
+ "X-Fern-SDK-Version": "0.34.9",
71
71
  "X-Fern-Runtime": core.RUNTIME.type,
72
72
  "X-Fern-Runtime-Version": core.RUNTIME.version,
73
73
  },
@@ -128,7 +128,7 @@ class V1 {
128
128
  Authorization: yield this._getAuthorizationHeader(),
129
129
  "X-Fern-Language": "JavaScript",
130
130
  "X-Fern-SDK-Name": "candidhealth",
131
- "X-Fern-SDK-Version": "0.34.6",
131
+ "X-Fern-SDK-Version": "0.34.9",
132
132
  "X-Fern-Runtime": core.RUNTIME.type,
133
133
  "X-Fern-Runtime-Version": core.RUNTIME.version,
134
134
  },
@@ -207,7 +207,7 @@ class V1 {
207
207
  Authorization: yield this._getAuthorizationHeader(),
208
208
  "X-Fern-Language": "JavaScript",
209
209
  "X-Fern-SDK-Name": "candidhealth",
210
- "X-Fern-SDK-Version": "0.34.6",
210
+ "X-Fern-SDK-Version": "0.34.9",
211
211
  "X-Fern-Runtime": core.RUNTIME.type,
212
212
  "X-Fern-Runtime-Version": core.RUNTIME.version,
213
213
  },
@@ -277,7 +277,7 @@ class V1 {
277
277
  Authorization: yield this._getAuthorizationHeader(),
278
278
  "X-Fern-Language": "JavaScript",
279
279
  "X-Fern-SDK-Name": "candidhealth",
280
- "X-Fern-SDK-Version": "0.34.6",
280
+ "X-Fern-SDK-Version": "0.34.9",
281
281
  "X-Fern-Runtime": core.RUNTIME.type,
282
282
  "X-Fern-Runtime-Version": core.RUNTIME.version,
283
283
  },
@@ -73,7 +73,7 @@ class Diagnoses {
73
73
  Authorization: yield this._getAuthorizationHeader(),
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "candidhealth",
76
- "X-Fern-SDK-Version": "0.34.6",
76
+ "X-Fern-SDK-Version": "0.34.9",
77
77
  "X-Fern-Runtime": core.RUNTIME.type,
78
78
  "X-Fern-Runtime-Version": core.RUNTIME.version,
79
79
  },
@@ -126,7 +126,7 @@ class Diagnoses {
126
126
  Authorization: yield this._getAuthorizationHeader(),
127
127
  "X-Fern-Language": "JavaScript",
128
128
  "X-Fern-SDK-Name": "candidhealth",
129
- "X-Fern-SDK-Version": "0.34.6",
129
+ "X-Fern-SDK-Version": "0.34.9",
130
130
  "X-Fern-Runtime": core.RUNTIME.type,
131
131
  "X-Fern-Runtime-Version": core.RUNTIME.version,
132
132
  },
@@ -188,7 +188,7 @@ class Diagnoses {
188
188
  Authorization: yield this._getAuthorizationHeader(),
189
189
  "X-Fern-Language": "JavaScript",
190
190
  "X-Fern-SDK-Name": "candidhealth",
191
- "X-Fern-SDK-Version": "0.34.6",
191
+ "X-Fern-SDK-Version": "0.34.9",
192
192
  "X-Fern-Runtime": core.RUNTIME.type,
193
193
  "X-Fern-Runtime-Version": core.RUNTIME.version,
194
194
  },
@@ -83,7 +83,7 @@ class V2 {
83
83
  Authorization: yield this._getAuthorizationHeader(),
84
84
  "X-Fern-Language": "JavaScript",
85
85
  "X-Fern-SDK-Name": "candidhealth",
86
- "X-Fern-SDK-Version": "0.34.6",
86
+ "X-Fern-SDK-Version": "0.34.9",
87
87
  "X-Fern-Runtime": core.RUNTIME.type,
88
88
  "X-Fern-Runtime-Version": core.RUNTIME.version,
89
89
  },
@@ -156,7 +156,7 @@ class V2 {
156
156
  Authorization: yield this._getAuthorizationHeader(),
157
157
  "X-Fern-Language": "JavaScript",
158
158
  "X-Fern-SDK-Name": "candidhealth",
159
- "X-Fern-SDK-Version": "0.34.6",
159
+ "X-Fern-SDK-Version": "0.34.9",
160
160
  "X-Fern-Runtime": core.RUNTIME.type,
161
161
  "X-Fern-Runtime-Version": core.RUNTIME.version,
162
162
  },
@@ -227,7 +227,7 @@ class V2 {
227
227
  Authorization: yield this._getAuthorizationHeader(),
228
228
  "X-Fern-Language": "JavaScript",
229
229
  "X-Fern-SDK-Name": "candidhealth",
230
- "X-Fern-SDK-Version": "0.34.6",
230
+ "X-Fern-SDK-Version": "0.34.9",
231
231
  "X-Fern-Runtime": core.RUNTIME.type,
232
232
  "X-Fern-Runtime-Version": core.RUNTIME.version,
233
233
  },
@@ -81,7 +81,7 @@ class V2 {
81
81
  Authorization: yield this._getAuthorizationHeader(),
82
82
  "X-Fern-Language": "JavaScript",
83
83
  "X-Fern-SDK-Name": "candidhealth",
84
- "X-Fern-SDK-Version": "0.34.6",
84
+ "X-Fern-SDK-Version": "0.34.9",
85
85
  "X-Fern-Runtime": core.RUNTIME.type,
86
86
  "X-Fern-Runtime-Version": core.RUNTIME.version,
87
87
  },
@@ -160,7 +160,7 @@ class V2 {
160
160
  Authorization: yield this._getAuthorizationHeader(),
161
161
  "X-Fern-Language": "JavaScript",
162
162
  "X-Fern-SDK-Name": "candidhealth",
163
- "X-Fern-SDK-Version": "0.34.6",
163
+ "X-Fern-SDK-Version": "0.34.9",
164
164
  "X-Fern-Runtime": core.RUNTIME.type,
165
165
  "X-Fern-Runtime-Version": core.RUNTIME.version,
166
166
  },
@@ -239,7 +239,7 @@ class V2 {
239
239
  Authorization: yield this._getAuthorizationHeader(),
240
240
  "X-Fern-Language": "JavaScript",
241
241
  "X-Fern-SDK-Name": "candidhealth",
242
- "X-Fern-SDK-Version": "0.34.6",
242
+ "X-Fern-SDK-Version": "0.34.9",
243
243
  "X-Fern-Runtime": core.RUNTIME.type,
244
244
  "X-Fern-Runtime-Version": core.RUNTIME.version,
245
245
  },
@@ -318,7 +318,7 @@ class V2 {
318
318
  Authorization: yield this._getAuthorizationHeader(),
319
319
  "X-Fern-Language": "JavaScript",
320
320
  "X-Fern-SDK-Name": "candidhealth",
321
- "X-Fern-SDK-Version": "0.34.6",
321
+ "X-Fern-SDK-Version": "0.34.9",
322
322
  "X-Fern-Runtime": core.RUNTIME.type,
323
323
  "X-Fern-Runtime-Version": core.RUNTIME.version,
324
324
  },
@@ -396,7 +396,7 @@ class V2 {
396
396
  Authorization: yield this._getAuthorizationHeader(),
397
397
  "X-Fern-Language": "JavaScript",
398
398
  "X-Fern-SDK-Name": "candidhealth",
399
- "X-Fern-SDK-Version": "0.34.6",
399
+ "X-Fern-SDK-Version": "0.34.9",
400
400
  "X-Fern-Runtime": core.RUNTIME.type,
401
401
  "X-Fern-Runtime-Version": core.RUNTIME.version,
402
402
  },
@@ -476,7 +476,7 @@ class V2 {
476
476
  Authorization: yield this._getAuthorizationHeader(),
477
477
  "X-Fern-Language": "JavaScript",
478
478
  "X-Fern-SDK-Name": "candidhealth",
479
- "X-Fern-SDK-Version": "0.34.6",
479
+ "X-Fern-SDK-Version": "0.34.9",
480
480
  "X-Fern-Runtime": core.RUNTIME.type,
481
481
  "X-Fern-Runtime-Version": core.RUNTIME.version,
482
482
  },
@@ -557,7 +557,7 @@ class V2 {
557
557
  Authorization: yield this._getAuthorizationHeader(),
558
558
  "X-Fern-Language": "JavaScript",
559
559
  "X-Fern-SDK-Name": "candidhealth",
560
- "X-Fern-SDK-Version": "0.34.6",
560
+ "X-Fern-SDK-Version": "0.34.9",
561
561
  "X-Fern-Runtime": core.RUNTIME.type,
562
562
  "X-Fern-Runtime-Version": core.RUNTIME.version,
563
563
  },
@@ -637,7 +637,7 @@ class V2 {
637
637
  Authorization: yield this._getAuthorizationHeader(),
638
638
  "X-Fern-Language": "JavaScript",
639
639
  "X-Fern-SDK-Name": "candidhealth",
640
- "X-Fern-SDK-Version": "0.34.6",
640
+ "X-Fern-SDK-Version": "0.34.9",
641
641
  "X-Fern-Runtime": core.RUNTIME.type,
642
642
  "X-Fern-Runtime-Version": core.RUNTIME.version,
643
643
  },
@@ -701,7 +701,7 @@ class V2 {
701
701
  Authorization: yield this._getAuthorizationHeader(),
702
702
  "X-Fern-Language": "JavaScript",
703
703
  "X-Fern-SDK-Name": "candidhealth",
704
- "X-Fern-SDK-Version": "0.34.6",
704
+ "X-Fern-SDK-Version": "0.34.9",
705
705
  "X-Fern-Runtime": core.RUNTIME.type,
706
706
  "X-Fern-Runtime-Version": core.RUNTIME.version,
707
707
  },
@@ -756,7 +756,7 @@ class V2 {
756
756
  Authorization: yield this._getAuthorizationHeader(),
757
757
  "X-Fern-Language": "JavaScript",
758
758
  "X-Fern-SDK-Name": "candidhealth",
759
- "X-Fern-SDK-Version": "0.34.6",
759
+ "X-Fern-SDK-Version": "0.34.9",
760
760
  "X-Fern-Runtime": core.RUNTIME.type,
761
761
  "X-Fern-Runtime-Version": core.RUNTIME.version,
762
762
  },
@@ -811,7 +811,7 @@ class V2 {
811
811
  Authorization: yield this._getAuthorizationHeader(),
812
812
  "X-Fern-Language": "JavaScript",
813
813
  "X-Fern-SDK-Name": "candidhealth",
814
- "X-Fern-SDK-Version": "0.34.6",
814
+ "X-Fern-SDK-Version": "0.34.9",
815
815
  "X-Fern-Runtime": core.RUNTIME.type,
816
816
  "X-Fern-Runtime-Version": core.RUNTIME.version,
817
817
  },
@@ -866,7 +866,7 @@ class V2 {
866
866
  Authorization: yield this._getAuthorizationHeader(),
867
867
  "X-Fern-Language": "JavaScript",
868
868
  "X-Fern-SDK-Name": "candidhealth",
869
- "X-Fern-SDK-Version": "0.34.6",
869
+ "X-Fern-SDK-Version": "0.34.9",
870
870
  "X-Fern-Runtime": core.RUNTIME.type,
871
871
  "X-Fern-Runtime-Version": core.RUNTIME.version,
872
872
  },
@@ -62,6 +62,10 @@ export declare class V4 {
62
62
  * phoneConsent: true,
63
63
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
64
64
  * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
65
+ * nonInsurancePayersInfo: [{
66
+ * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
67
+ * memberId: "string"
68
+ * }],
65
69
  * emailConsent: true,
66
70
  * externalId: "string",
67
71
  * dateOfBirth: "2023-01-15",
@@ -404,7 +408,8 @@ export declare class V4 {
404
408
  * dischargeDate: "2023-01-15",
405
409
  * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
406
410
  * lastMenstrualPeriodDate: "2023-01-15",
407
- * delayReasonCode: CandidApi.DelayReasonCode.C1
411
+ * delayReasonCode: CandidApi.DelayReasonCode.C1,
412
+ * referralNumber: "string"
408
413
  * })
409
414
  */
410
415
  create(request: CandidApi.encounters.v4.EncounterCreate, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.create.Error>>;
@@ -665,7 +670,8 @@ export declare class V4 {
665
670
  * dischargeDate: "2023-01-15",
666
671
  * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
667
672
  * lastMenstrualPeriodDate: "2023-01-15",
668
- * delayReasonCode: CandidApi.DelayReasonCode.C1
673
+ * delayReasonCode: CandidApi.DelayReasonCode.C1,
674
+ * referralNumber: "string"
669
675
  * })
670
676
  */
671
677
  createFromPreEncounterPatient(request: CandidApi.encounters.v4.EncounterCreateFromPreEncounter, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.createFromPreEncounterPatient.Error>>;
@@ -793,7 +799,11 @@ export declare class V4 {
793
799
  * phoneConsent: true,
794
800
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
795
801
  * emailConsent: true,
796
- * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
802
+ * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
803
+ * nonInsurancePayersInfo: [{
804
+ * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
805
+ * memberId: "string"
806
+ * }]
797
807
  * },
798
808
  * patientAuthorizedRelease: true,
799
809
  * schemaInstances: [{
@@ -930,7 +940,8 @@ export declare class V4 {
930
940
  * firstName: "string",
931
941
  * lastName: "string",
932
942
  * organizationName: "string"
933
- * }
943
+ * },
944
+ * referralNumber: "string"
934
945
  * })
935
946
  */
936
947
  update(encounterId: CandidApi.EncounterId, request?: CandidApi.encounters.v4.EncounterUpdate, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.update.Error>>;
@@ -132,7 +132,7 @@ class V4 {
132
132
  Authorization: yield this._getAuthorizationHeader(),
133
133
  "X-Fern-Language": "JavaScript",
134
134
  "X-Fern-SDK-Name": "candidhealth",
135
- "X-Fern-SDK-Version": "0.34.6",
135
+ "X-Fern-SDK-Version": "0.34.9",
136
136
  "X-Fern-Runtime": core.RUNTIME.type,
137
137
  "X-Fern-Runtime-Version": core.RUNTIME.version,
138
138
  },
@@ -178,7 +178,7 @@ class V4 {
178
178
  Authorization: yield this._getAuthorizationHeader(),
179
179
  "X-Fern-Language": "JavaScript",
180
180
  "X-Fern-SDK-Name": "candidhealth",
181
- "X-Fern-SDK-Version": "0.34.6",
181
+ "X-Fern-SDK-Version": "0.34.9",
182
182
  "X-Fern-Runtime": core.RUNTIME.type,
183
183
  "X-Fern-Runtime-Version": core.RUNTIME.version,
184
184
  },
@@ -219,6 +219,10 @@ class V4 {
219
219
  * phoneConsent: true,
220
220
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
221
221
  * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
222
+ * nonInsurancePayersInfo: [{
223
+ * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
224
+ * memberId: "string"
225
+ * }],
222
226
  * emailConsent: true,
223
227
  * externalId: "string",
224
228
  * dateOfBirth: "2023-01-15",
@@ -561,7 +565,8 @@ class V4 {
561
565
  * dischargeDate: "2023-01-15",
562
566
  * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
563
567
  * lastMenstrualPeriodDate: "2023-01-15",
564
- * delayReasonCode: CandidApi.DelayReasonCode.C1
568
+ * delayReasonCode: CandidApi.DelayReasonCode.C1,
569
+ * referralNumber: "string"
565
570
  * })
566
571
  */
567
572
  create(request, requestOptions) {
@@ -575,7 +580,7 @@ class V4 {
575
580
  Authorization: yield this._getAuthorizationHeader(),
576
581
  "X-Fern-Language": "JavaScript",
577
582
  "X-Fern-SDK-Name": "candidhealth",
578
- "X-Fern-SDK-Version": "0.34.6",
583
+ "X-Fern-SDK-Version": "0.34.9",
579
584
  "X-Fern-Runtime": core.RUNTIME.type,
580
585
  "X-Fern-Runtime-Version": core.RUNTIME.version,
581
586
  },
@@ -880,7 +885,8 @@ class V4 {
880
885
  * dischargeDate: "2023-01-15",
881
886
  * onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
882
887
  * lastMenstrualPeriodDate: "2023-01-15",
883
- * delayReasonCode: CandidApi.DelayReasonCode.C1
888
+ * delayReasonCode: CandidApi.DelayReasonCode.C1,
889
+ * referralNumber: "string"
884
890
  * })
885
891
  */
886
892
  createFromPreEncounterPatient(request, requestOptions) {
@@ -894,7 +900,7 @@ class V4 {
894
900
  Authorization: yield this._getAuthorizationHeader(),
895
901
  "X-Fern-Language": "JavaScript",
896
902
  "X-Fern-SDK-Name": "candidhealth",
897
- "X-Fern-SDK-Version": "0.34.6",
903
+ "X-Fern-SDK-Version": "0.34.9",
898
904
  "X-Fern-Runtime": core.RUNTIME.type,
899
905
  "X-Fern-Runtime-Version": core.RUNTIME.version,
900
906
  },
@@ -1067,7 +1073,11 @@ class V4 {
1067
1073
  * phoneConsent: true,
1068
1074
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
1069
1075
  * emailConsent: true,
1070
- * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
1076
+ * nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
1077
+ * nonInsurancePayersInfo: [{
1078
+ * nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
1079
+ * memberId: "string"
1080
+ * }]
1071
1081
  * },
1072
1082
  * patientAuthorizedRelease: true,
1073
1083
  * schemaInstances: [{
@@ -1204,7 +1214,8 @@ class V4 {
1204
1214
  * firstName: "string",
1205
1215
  * lastName: "string",
1206
1216
  * organizationName: "string"
1207
- * }
1217
+ * },
1218
+ * referralNumber: "string"
1208
1219
  * })
1209
1220
  */
1210
1221
  update(encounterId, request = {}, requestOptions) {
@@ -1218,7 +1229,7 @@ class V4 {
1218
1229
  Authorization: yield this._getAuthorizationHeader(),
1219
1230
  "X-Fern-Language": "JavaScript",
1220
1231
  "X-Fern-SDK-Name": "candidhealth",
1221
- "X-Fern-SDK-Version": "0.34.6",
1232
+ "X-Fern-SDK-Version": "0.34.9",
1222
1233
  "X-Fern-Runtime": core.RUNTIME.type,
1223
1234
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1224
1235
  },