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.
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.d.ts +15 -4
- package/api/resources/encounters/resources/v4/client/Client.js +20 -9
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -1
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +2 -1
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +12 -2
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +10 -0
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -0
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +10 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/individual/types/Patient.d.ts +11 -0
- package/api/resources/individual/types/PatientCreate.d.ts +1 -0
- package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +21 -0
- package/api/resources/individual/types/PatientNonInsurancePayerInfo.js +5 -0
- package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +8 -0
- package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +5 -0
- package/api/resources/individual/types/PatientUpdate.d.ts +2 -0
- package/api/resources/individual/types/index.d.ts +2 -0
- package/api/resources/individual/types/index.js +2 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +12 -1
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +18 -7
- package/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +14 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +5 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +1 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +8 -0
- package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +5 -0
- package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +34 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +42 -10
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +16 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +24 -10
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +8 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +18 -4
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +3 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +15 -4
- package/dist/api/resources/encounters/resources/v4/client/Client.js +20 -9
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -1
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +2 -1
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +12 -2
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +10 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +10 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/individual/types/Patient.d.ts +11 -0
- package/dist/api/resources/individual/types/PatientCreate.d.ts +1 -0
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +21 -0
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.js +5 -0
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +8 -0
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +5 -0
- package/dist/api/resources/individual/types/PatientUpdate.d.ts +2 -0
- package/dist/api/resources/individual/types/index.d.ts +2 -0
- package/dist/api/resources/individual/types/index.js +2 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +12 -1
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +18 -7
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +14 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +5 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +34 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +42 -10
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +16 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +24 -10
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +8 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +18 -4
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +3 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
- package/dist/serialization/resources/individual/types/Patient.d.ts +2 -0
- package/dist/serialization/resources/individual/types/Patient.js +2 -0
- package/dist/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
- package/dist/serialization/resources/individual/types/PatientCreate.js +2 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +14 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +35 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +14 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +35 -0
- package/dist/serialization/resources/individual/types/PatientUpdate.d.ts +2 -0
- package/dist/serialization/resources/individual/types/PatientUpdate.js +2 -0
- package/dist/serialization/resources/individual/types/index.d.ts +2 -0
- package/dist/serialization/resources/individual/types/index.js +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +18 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +42 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +4 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +4 -0
- package/package.json +1 -1
- package/reference.md +5555 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
- package/serialization/resources/individual/types/Patient.d.ts +2 -0
- package/serialization/resources/individual/types/Patient.js +2 -0
- package/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
- package/serialization/resources/individual/types/PatientCreate.js +2 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +14 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +35 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +14 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +35 -0
- package/serialization/resources/individual/types/PatientUpdate.d.ts +2 -0
- package/serialization/resources/individual/types/PatientUpdate.js +2 -0
- package/serialization/resources/individual/types/index.d.ts +2 -0
- package/serialization/resources/individual/types/index.js +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +18 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +42 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +35 -0
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +4 -0
- 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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
},
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
*/
|
package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../../index";
|
|
5
5
|
export interface Guarantor {
|
|
6
6
|
name: CandidApi.preEncounter.HumanName;
|
|
7
|
-
telecom
|
|
7
|
+
telecom?: CandidApi.preEncounter.ContactPoint;
|
|
8
8
|
email?: string;
|
|
9
9
|
birthDate: string;
|
|
10
10
|
address: CandidApi.preEncounter.Address;
|
package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
},
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts
CHANGED
|
@@ -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
|
}
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js
CHANGED
|
@@ -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
|
});
|
|
@@ -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
|
+
}
|