candidhealth 0.43.0 → 0.43.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -239
- package/api/resources/chargeCapture/resources/v1/client/Client.js +16 -249
- package/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
- package/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
- package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -118
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -118
- package/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -6
- package/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +3 -3
- package/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +6 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +5 -0
- package/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
- package/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/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/encounterAttachments/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +4 -4
- package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +3 -1
- package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +2 -0
- package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
- package/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
- package/api/resources/encounters/resources/v4/client/Client.d.ts +100 -110
- package/api/resources/encounters/resources/v4/client/Client.js +105 -115
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +83 -9
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -97
- 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.d.ts +21 -1
- package/api/resources/guarantor/resources/v1/client/Client.js +24 -4
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- 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.js +6 -6
- 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/payerPlanGroups/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 +7 -7
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
- package/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -239
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +16 -249
- package/dist/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -118
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -118
- package/dist/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -6
- package/dist/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +6 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +5 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/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/encounterAttachments/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +3 -1
- package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +2 -0
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +100 -110
- package/dist/api/resources/encounters/resources/v4/client/Client.js +105 -115
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +83 -9
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -97
- 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.d.ts +21 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +24 -4
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- 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.js +6 -6
- 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/payerPlanGroups/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 +7 -7
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
- package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +5 -3
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +3 -1
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +1 -1
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +181 -358
- package/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
- package/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
- package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
- package/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -1
- package/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +5 -3
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
- package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +3 -1
- package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +1 -1
- package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -100,7 +100,10 @@ export declare class V4 {
|
|
|
100
100
|
* taxId: "string",
|
|
101
101
|
* npi: "string",
|
|
102
102
|
* taxonomyCode: "string",
|
|
103
|
-
* providerCommercialLicenseType: "0"
|
|
103
|
+
* providerCommercialLicenseType: "0",
|
|
104
|
+
* firstName: "string",
|
|
105
|
+
* lastName: "string",
|
|
106
|
+
* organizationName: "string"
|
|
104
107
|
* },
|
|
105
108
|
* renderingProvider: {
|
|
106
109
|
* npi: "string",
|
|
@@ -112,7 +115,10 @@ export declare class V4 {
|
|
|
112
115
|
* state: "NY",
|
|
113
116
|
* zipCode: "10001",
|
|
114
117
|
* zipPlusFourCode: "1234"
|
|
115
|
-
* }
|
|
118
|
+
* },
|
|
119
|
+
* firstName: "string",
|
|
120
|
+
* lastName: "string",
|
|
121
|
+
* organizationName: "string"
|
|
116
122
|
* },
|
|
117
123
|
* referringProvider: {
|
|
118
124
|
* npi: "string",
|
|
@@ -124,7 +130,10 @@ export declare class V4 {
|
|
|
124
130
|
* state: "NY",
|
|
125
131
|
* zipCode: "10001",
|
|
126
132
|
* zipPlusFourCode: "1234"
|
|
127
|
-
* }
|
|
133
|
+
* },
|
|
134
|
+
* firstName: "string",
|
|
135
|
+
* lastName: "string",
|
|
136
|
+
* organizationName: "string"
|
|
128
137
|
* },
|
|
129
138
|
* initialReferringProvider: {
|
|
130
139
|
* npi: "string",
|
|
@@ -137,7 +146,10 @@ export declare class V4 {
|
|
|
137
146
|
* zipCode: "10001",
|
|
138
147
|
* zipPlusFourCode: "1234"
|
|
139
148
|
* },
|
|
140
|
-
* qualifier: "DQ"
|
|
149
|
+
* qualifier: "DQ",
|
|
150
|
+
* firstName: "string",
|
|
151
|
+
* lastName: "string",
|
|
152
|
+
* organizationName: "string"
|
|
141
153
|
* },
|
|
142
154
|
* supervisingProvider: {
|
|
143
155
|
* npi: "string",
|
|
@@ -149,7 +161,10 @@ export declare class V4 {
|
|
|
149
161
|
* state: "NY",
|
|
150
162
|
* zipCode: "10001",
|
|
151
163
|
* zipPlusFourCode: "1234"
|
|
152
|
-
* }
|
|
164
|
+
* },
|
|
165
|
+
* firstName: "string",
|
|
166
|
+
* lastName: "string",
|
|
167
|
+
* organizationName: "string"
|
|
153
168
|
* },
|
|
154
169
|
* serviceFacility: {
|
|
155
170
|
* organizationName: "string",
|
|
@@ -168,9 +183,28 @@ export declare class V4 {
|
|
|
168
183
|
* insuranceCard: {
|
|
169
184
|
* memberId: "string",
|
|
170
185
|
* payerName: "string",
|
|
171
|
-
* payerId: "string"
|
|
186
|
+
* payerId: "string",
|
|
187
|
+
* rxBin: "string",
|
|
188
|
+
* rxPcn: "string",
|
|
189
|
+
* imageUrlFront: "string",
|
|
190
|
+
* imageUrlBack: "string",
|
|
191
|
+
* emrPayerCrosswalk: "HEALTHIE",
|
|
192
|
+
* groupNumber: "string",
|
|
193
|
+
* planName: "string",
|
|
194
|
+
* planType: "09",
|
|
195
|
+
* insuranceType: "01",
|
|
196
|
+
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
172
197
|
* },
|
|
173
198
|
* patientRelationshipToSubscriberCode: "01",
|
|
199
|
+
* dateOfBirth: "2023-01-15",
|
|
200
|
+
* address: {
|
|
201
|
+
* address1: "123 Main St",
|
|
202
|
+
* address2: "Apt 1",
|
|
203
|
+
* city: "New York",
|
|
204
|
+
* state: "NY",
|
|
205
|
+
* zipCode: "10001",
|
|
206
|
+
* zipPlusFourCode: "1234"
|
|
207
|
+
* },
|
|
174
208
|
* firstName: "string",
|
|
175
209
|
* lastName: "string",
|
|
176
210
|
* gender: "male"
|
|
@@ -179,9 +213,28 @@ export declare class V4 {
|
|
|
179
213
|
* insuranceCard: {
|
|
180
214
|
* memberId: "string",
|
|
181
215
|
* payerName: "string",
|
|
182
|
-
* payerId: "string"
|
|
216
|
+
* payerId: "string",
|
|
217
|
+
* rxBin: "string",
|
|
218
|
+
* rxPcn: "string",
|
|
219
|
+
* imageUrlFront: "string",
|
|
220
|
+
* imageUrlBack: "string",
|
|
221
|
+
* emrPayerCrosswalk: "HEALTHIE",
|
|
222
|
+
* groupNumber: "string",
|
|
223
|
+
* planName: "string",
|
|
224
|
+
* planType: "09",
|
|
225
|
+
* insuranceType: "01",
|
|
226
|
+
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
183
227
|
* },
|
|
184
228
|
* patientRelationshipToSubscriberCode: "01",
|
|
229
|
+
* dateOfBirth: "2023-01-15",
|
|
230
|
+
* address: {
|
|
231
|
+
* address1: "123 Main St",
|
|
232
|
+
* address2: "Apt 1",
|
|
233
|
+
* city: "New York",
|
|
234
|
+
* state: "NY",
|
|
235
|
+
* zipCode: "10001",
|
|
236
|
+
* zipPlusFourCode: "1234"
|
|
237
|
+
* },
|
|
185
238
|
* firstName: "string",
|
|
186
239
|
* lastName: "string",
|
|
187
240
|
* gender: "male"
|
|
@@ -190,9 +243,28 @@ export declare class V4 {
|
|
|
190
243
|
* insuranceCard: {
|
|
191
244
|
* memberId: "string",
|
|
192
245
|
* payerName: "string",
|
|
193
|
-
* payerId: "string"
|
|
246
|
+
* payerId: "string",
|
|
247
|
+
* rxBin: "string",
|
|
248
|
+
* rxPcn: "string",
|
|
249
|
+
* imageUrlFront: "string",
|
|
250
|
+
* imageUrlBack: "string",
|
|
251
|
+
* emrPayerCrosswalk: "HEALTHIE",
|
|
252
|
+
* groupNumber: "string",
|
|
253
|
+
* planName: "string",
|
|
254
|
+
* planType: "09",
|
|
255
|
+
* insuranceType: "01",
|
|
256
|
+
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
194
257
|
* },
|
|
195
258
|
* patientRelationshipToSubscriberCode: "01",
|
|
259
|
+
* dateOfBirth: "2023-01-15",
|
|
260
|
+
* address: {
|
|
261
|
+
* address1: "123 Main St",
|
|
262
|
+
* address2: "Apt 1",
|
|
263
|
+
* city: "New York",
|
|
264
|
+
* state: "NY",
|
|
265
|
+
* zipCode: "10001",
|
|
266
|
+
* zipPlusFourCode: "1234"
|
|
267
|
+
* },
|
|
196
268
|
* firstName: "string",
|
|
197
269
|
* lastName: "string",
|
|
198
270
|
* gender: "male"
|
|
@@ -281,7 +353,9 @@ export declare class V4 {
|
|
|
281
353
|
* }],
|
|
282
354
|
* referralNumber: "string",
|
|
283
355
|
* epsdtReferral: {
|
|
284
|
-
* conditionIndicator1: "AV"
|
|
356
|
+
* conditionIndicator1: "AV",
|
|
357
|
+
* conditionIndicator2: "AV",
|
|
358
|
+
* conditionIndicator3: "AV"
|
|
285
359
|
* },
|
|
286
360
|
* claimSupplementalInformation: [{
|
|
287
361
|
* attachmentReportTypeCode: "03",
|
|
@@ -387,7 +461,10 @@ export declare class V4 {
|
|
|
387
461
|
* taxId: "string",
|
|
388
462
|
* npi: "string",
|
|
389
463
|
* taxonomyCode: "string",
|
|
390
|
-
* providerCommercialLicenseType: "0"
|
|
464
|
+
* providerCommercialLicenseType: "0",
|
|
465
|
+
* firstName: "string",
|
|
466
|
+
* lastName: "string",
|
|
467
|
+
* organizationName: "string"
|
|
391
468
|
* },
|
|
392
469
|
* renderingProvider: {
|
|
393
470
|
* npi: "string",
|
|
@@ -399,7 +476,10 @@ export declare class V4 {
|
|
|
399
476
|
* state: "NY",
|
|
400
477
|
* zipCode: "10001",
|
|
401
478
|
* zipPlusFourCode: "1234"
|
|
402
|
-
* }
|
|
479
|
+
* },
|
|
480
|
+
* firstName: "string",
|
|
481
|
+
* lastName: "string",
|
|
482
|
+
* organizationName: "string"
|
|
403
483
|
* },
|
|
404
484
|
* initialReferringProvider: {
|
|
405
485
|
* npi: "string",
|
|
@@ -412,7 +492,10 @@ export declare class V4 {
|
|
|
412
492
|
* zipCode: "10001",
|
|
413
493
|
* zipPlusFourCode: "1234"
|
|
414
494
|
* },
|
|
415
|
-
* qualifier: "DQ"
|
|
495
|
+
* qualifier: "DQ",
|
|
496
|
+
* firstName: "string",
|
|
497
|
+
* lastName: "string",
|
|
498
|
+
* organizationName: "string"
|
|
416
499
|
* },
|
|
417
500
|
* supervisingProvider: {
|
|
418
501
|
* npi: "string",
|
|
@@ -424,7 +507,10 @@ export declare class V4 {
|
|
|
424
507
|
* state: "NY",
|
|
425
508
|
* zipCode: "10001",
|
|
426
509
|
* zipPlusFourCode: "1234"
|
|
427
|
-
* }
|
|
510
|
+
* },
|
|
511
|
+
* firstName: "string",
|
|
512
|
+
* lastName: "string",
|
|
513
|
+
* organizationName: "string"
|
|
428
514
|
* },
|
|
429
515
|
* serviceFacility: {
|
|
430
516
|
* organizationName: "string",
|
|
@@ -568,103 +654,7 @@ export declare class V4 {
|
|
|
568
654
|
* @example
|
|
569
655
|
* await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
570
656
|
* diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
571
|
-
* placeOfServiceCodeAsSubmitted: "01"
|
|
572
|
-
* benefitsAssignedToProvider: true,
|
|
573
|
-
* priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
|
|
574
|
-
* externalId: CandidApi.EncounterExternalId("string"),
|
|
575
|
-
* dateOfService: "2023-01-15",
|
|
576
|
-
* tagIds: [],
|
|
577
|
-
* clinicalNotes: [],
|
|
578
|
-
* payToAddress: {
|
|
579
|
-
* address1: "123 Main St",
|
|
580
|
-
* address2: "Apt 1",
|
|
581
|
-
* city: "New York",
|
|
582
|
-
* state: "NY",
|
|
583
|
-
* zipCode: "10001",
|
|
584
|
-
* zipPlusFourCode: "1234"
|
|
585
|
-
* },
|
|
586
|
-
* billableStatus: "BILLABLE",
|
|
587
|
-
* responsibleParty: "INSURANCE_PAY",
|
|
588
|
-
* providerAcceptsAssignment: true,
|
|
589
|
-
* synchronicity: "Synchronous",
|
|
590
|
-
* placeOfServiceCode: "01",
|
|
591
|
-
* appointmentType: "string",
|
|
592
|
-
* endDateOfService: "2023-01-15",
|
|
593
|
-
* subscriberPrimary: {
|
|
594
|
-
* insuranceCard: {
|
|
595
|
-
* memberId: "string",
|
|
596
|
-
* payerName: "string",
|
|
597
|
-
* payerId: "string"
|
|
598
|
-
* },
|
|
599
|
-
* patientRelationshipToSubscriberCode: "01",
|
|
600
|
-
* firstName: "string",
|
|
601
|
-
* lastName: "string",
|
|
602
|
-
* gender: "male"
|
|
603
|
-
* },
|
|
604
|
-
* subscriberSecondary: {
|
|
605
|
-
* insuranceCard: {
|
|
606
|
-
* memberId: "string",
|
|
607
|
-
* payerName: "string",
|
|
608
|
-
* payerId: "string"
|
|
609
|
-
* },
|
|
610
|
-
* patientRelationshipToSubscriberCode: "01",
|
|
611
|
-
* firstName: "string",
|
|
612
|
-
* lastName: "string",
|
|
613
|
-
* gender: "male"
|
|
614
|
-
* },
|
|
615
|
-
* subscriberTertiary: {
|
|
616
|
-
* insuranceCard: {
|
|
617
|
-
* memberId: "string",
|
|
618
|
-
* payerName: "string",
|
|
619
|
-
* payerId: "string"
|
|
620
|
-
* },
|
|
621
|
-
* patientRelationshipToSubscriberCode: "01",
|
|
622
|
-
* firstName: "string",
|
|
623
|
-
* lastName: "string",
|
|
624
|
-
* gender: "male"
|
|
625
|
-
* },
|
|
626
|
-
* additionalInformation: "string",
|
|
627
|
-
* serviceAuthorizationExceptionCode: "1",
|
|
628
|
-
* admissionDate: "2023-01-15",
|
|
629
|
-
* dischargeDate: "2023-01-15",
|
|
630
|
-
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
631
|
-
* lastMenstrualPeriodDate: "2023-01-15",
|
|
632
|
-
* delayReasonCode: "1",
|
|
633
|
-
* patient: {},
|
|
634
|
-
* patientAuthorizedRelease: true,
|
|
635
|
-
* schemaInstances: [],
|
|
636
|
-
* vitals: {
|
|
637
|
-
* heightIn: 70,
|
|
638
|
-
* weightLbs: 165,
|
|
639
|
-
* bloodPressureSystolicMmhg: 115,
|
|
640
|
-
* bloodPressureDiastolicMmhg: 85,
|
|
641
|
-
* bodyTemperatureF: 98,
|
|
642
|
-
* hemoglobinGdl: 15.1,
|
|
643
|
-
* hematocritPct: 51.2
|
|
644
|
-
* },
|
|
645
|
-
* existingMedications: [],
|
|
646
|
-
* renderingProvider: {},
|
|
647
|
-
* serviceFacility: {
|
|
648
|
-
* organizationName: "Test Organization",
|
|
649
|
-
* address: {
|
|
650
|
-
* address1: "123 Main St",
|
|
651
|
-
* address2: "Apt 1",
|
|
652
|
-
* city: "New York",
|
|
653
|
-
* state: "NY",
|
|
654
|
-
* zipCode: "10001",
|
|
655
|
-
* zipPlusFourCode: "1234"
|
|
656
|
-
* }
|
|
657
|
-
* },
|
|
658
|
-
* guarantor: {},
|
|
659
|
-
* billingProvider: {},
|
|
660
|
-
* supervisingProvider: {},
|
|
661
|
-
* referringProvider: {},
|
|
662
|
-
* initialReferringProvider: {},
|
|
663
|
-
* referralNumber: "string",
|
|
664
|
-
* epsdtReferral: {
|
|
665
|
-
* conditionIndicator1: "AV"
|
|
666
|
-
* },
|
|
667
|
-
* claimSupplementalInformation: []
|
|
657
|
+
* placeOfServiceCodeAsSubmitted: "01"
|
|
668
658
|
* })
|
|
669
659
|
*/
|
|
670
660
|
update(encounterId: CandidApi.EncounterId, request?: CandidApi.encounters.v4.EncounterUpdate, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.update.Error>>;
|
|
@@ -143,7 +143,7 @@ class V4 {
|
|
|
143
143
|
const _response = yield core.fetcher({
|
|
144
144
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/encounters/v4"),
|
|
145
145
|
method: "GET",
|
|
146
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.
|
|
146
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
queryParameters: _queryParams,
|
|
149
149
|
requestType: "json",
|
|
@@ -181,7 +181,7 @@ class V4 {
|
|
|
181
181
|
const _response = yield core.fetcher({
|
|
182
182
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounters/v4/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
183
183
|
method: "GET",
|
|
184
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.
|
|
184
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
185
185
|
contentType: "application/json",
|
|
186
186
|
requestType: "json",
|
|
187
187
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -253,7 +253,10 @@ class V4 {
|
|
|
253
253
|
* taxId: "string",
|
|
254
254
|
* npi: "string",
|
|
255
255
|
* taxonomyCode: "string",
|
|
256
|
-
* providerCommercialLicenseType: "0"
|
|
256
|
+
* providerCommercialLicenseType: "0",
|
|
257
|
+
* firstName: "string",
|
|
258
|
+
* lastName: "string",
|
|
259
|
+
* organizationName: "string"
|
|
257
260
|
* },
|
|
258
261
|
* renderingProvider: {
|
|
259
262
|
* npi: "string",
|
|
@@ -265,7 +268,10 @@ class V4 {
|
|
|
265
268
|
* state: "NY",
|
|
266
269
|
* zipCode: "10001",
|
|
267
270
|
* zipPlusFourCode: "1234"
|
|
268
|
-
* }
|
|
271
|
+
* },
|
|
272
|
+
* firstName: "string",
|
|
273
|
+
* lastName: "string",
|
|
274
|
+
* organizationName: "string"
|
|
269
275
|
* },
|
|
270
276
|
* referringProvider: {
|
|
271
277
|
* npi: "string",
|
|
@@ -277,7 +283,10 @@ class V4 {
|
|
|
277
283
|
* state: "NY",
|
|
278
284
|
* zipCode: "10001",
|
|
279
285
|
* zipPlusFourCode: "1234"
|
|
280
|
-
* }
|
|
286
|
+
* },
|
|
287
|
+
* firstName: "string",
|
|
288
|
+
* lastName: "string",
|
|
289
|
+
* organizationName: "string"
|
|
281
290
|
* },
|
|
282
291
|
* initialReferringProvider: {
|
|
283
292
|
* npi: "string",
|
|
@@ -290,7 +299,10 @@ class V4 {
|
|
|
290
299
|
* zipCode: "10001",
|
|
291
300
|
* zipPlusFourCode: "1234"
|
|
292
301
|
* },
|
|
293
|
-
* qualifier: "DQ"
|
|
302
|
+
* qualifier: "DQ",
|
|
303
|
+
* firstName: "string",
|
|
304
|
+
* lastName: "string",
|
|
305
|
+
* organizationName: "string"
|
|
294
306
|
* },
|
|
295
307
|
* supervisingProvider: {
|
|
296
308
|
* npi: "string",
|
|
@@ -302,7 +314,10 @@ class V4 {
|
|
|
302
314
|
* state: "NY",
|
|
303
315
|
* zipCode: "10001",
|
|
304
316
|
* zipPlusFourCode: "1234"
|
|
305
|
-
* }
|
|
317
|
+
* },
|
|
318
|
+
* firstName: "string",
|
|
319
|
+
* lastName: "string",
|
|
320
|
+
* organizationName: "string"
|
|
306
321
|
* },
|
|
307
322
|
* serviceFacility: {
|
|
308
323
|
* organizationName: "string",
|
|
@@ -321,9 +336,28 @@ class V4 {
|
|
|
321
336
|
* insuranceCard: {
|
|
322
337
|
* memberId: "string",
|
|
323
338
|
* payerName: "string",
|
|
324
|
-
* payerId: "string"
|
|
339
|
+
* payerId: "string",
|
|
340
|
+
* rxBin: "string",
|
|
341
|
+
* rxPcn: "string",
|
|
342
|
+
* imageUrlFront: "string",
|
|
343
|
+
* imageUrlBack: "string",
|
|
344
|
+
* emrPayerCrosswalk: "HEALTHIE",
|
|
345
|
+
* groupNumber: "string",
|
|
346
|
+
* planName: "string",
|
|
347
|
+
* planType: "09",
|
|
348
|
+
* insuranceType: "01",
|
|
349
|
+
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
325
350
|
* },
|
|
326
351
|
* patientRelationshipToSubscriberCode: "01",
|
|
352
|
+
* dateOfBirth: "2023-01-15",
|
|
353
|
+
* address: {
|
|
354
|
+
* address1: "123 Main St",
|
|
355
|
+
* address2: "Apt 1",
|
|
356
|
+
* city: "New York",
|
|
357
|
+
* state: "NY",
|
|
358
|
+
* zipCode: "10001",
|
|
359
|
+
* zipPlusFourCode: "1234"
|
|
360
|
+
* },
|
|
327
361
|
* firstName: "string",
|
|
328
362
|
* lastName: "string",
|
|
329
363
|
* gender: "male"
|
|
@@ -332,9 +366,28 @@ class V4 {
|
|
|
332
366
|
* insuranceCard: {
|
|
333
367
|
* memberId: "string",
|
|
334
368
|
* payerName: "string",
|
|
335
|
-
* payerId: "string"
|
|
369
|
+
* payerId: "string",
|
|
370
|
+
* rxBin: "string",
|
|
371
|
+
* rxPcn: "string",
|
|
372
|
+
* imageUrlFront: "string",
|
|
373
|
+
* imageUrlBack: "string",
|
|
374
|
+
* emrPayerCrosswalk: "HEALTHIE",
|
|
375
|
+
* groupNumber: "string",
|
|
376
|
+
* planName: "string",
|
|
377
|
+
* planType: "09",
|
|
378
|
+
* insuranceType: "01",
|
|
379
|
+
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
336
380
|
* },
|
|
337
381
|
* patientRelationshipToSubscriberCode: "01",
|
|
382
|
+
* dateOfBirth: "2023-01-15",
|
|
383
|
+
* address: {
|
|
384
|
+
* address1: "123 Main St",
|
|
385
|
+
* address2: "Apt 1",
|
|
386
|
+
* city: "New York",
|
|
387
|
+
* state: "NY",
|
|
388
|
+
* zipCode: "10001",
|
|
389
|
+
* zipPlusFourCode: "1234"
|
|
390
|
+
* },
|
|
338
391
|
* firstName: "string",
|
|
339
392
|
* lastName: "string",
|
|
340
393
|
* gender: "male"
|
|
@@ -343,9 +396,28 @@ class V4 {
|
|
|
343
396
|
* insuranceCard: {
|
|
344
397
|
* memberId: "string",
|
|
345
398
|
* payerName: "string",
|
|
346
|
-
* payerId: "string"
|
|
399
|
+
* payerId: "string",
|
|
400
|
+
* rxBin: "string",
|
|
401
|
+
* rxPcn: "string",
|
|
402
|
+
* imageUrlFront: "string",
|
|
403
|
+
* imageUrlBack: "string",
|
|
404
|
+
* emrPayerCrosswalk: "HEALTHIE",
|
|
405
|
+
* groupNumber: "string",
|
|
406
|
+
* planName: "string",
|
|
407
|
+
* planType: "09",
|
|
408
|
+
* insuranceType: "01",
|
|
409
|
+
* payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
347
410
|
* },
|
|
348
411
|
* patientRelationshipToSubscriberCode: "01",
|
|
412
|
+
* dateOfBirth: "2023-01-15",
|
|
413
|
+
* address: {
|
|
414
|
+
* address1: "123 Main St",
|
|
415
|
+
* address2: "Apt 1",
|
|
416
|
+
* city: "New York",
|
|
417
|
+
* state: "NY",
|
|
418
|
+
* zipCode: "10001",
|
|
419
|
+
* zipPlusFourCode: "1234"
|
|
420
|
+
* },
|
|
349
421
|
* firstName: "string",
|
|
350
422
|
* lastName: "string",
|
|
351
423
|
* gender: "male"
|
|
@@ -434,7 +506,9 @@ class V4 {
|
|
|
434
506
|
* }],
|
|
435
507
|
* referralNumber: "string",
|
|
436
508
|
* epsdtReferral: {
|
|
437
|
-
* conditionIndicator1: "AV"
|
|
509
|
+
* conditionIndicator1: "AV",
|
|
510
|
+
* conditionIndicator2: "AV",
|
|
511
|
+
* conditionIndicator3: "AV"
|
|
438
512
|
* },
|
|
439
513
|
* claimSupplementalInformation: [{
|
|
440
514
|
* attachmentReportTypeCode: "03",
|
|
@@ -507,7 +581,7 @@ class V4 {
|
|
|
507
581
|
const _response = yield core.fetcher({
|
|
508
582
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/encounters/v4"),
|
|
509
583
|
method: "POST",
|
|
510
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.
|
|
584
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
511
585
|
contentType: "application/json",
|
|
512
586
|
requestType: "json",
|
|
513
587
|
body: serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -594,7 +668,10 @@ class V4 {
|
|
|
594
668
|
* taxId: "string",
|
|
595
669
|
* npi: "string",
|
|
596
670
|
* taxonomyCode: "string",
|
|
597
|
-
* providerCommercialLicenseType: "0"
|
|
671
|
+
* providerCommercialLicenseType: "0",
|
|
672
|
+
* firstName: "string",
|
|
673
|
+
* lastName: "string",
|
|
674
|
+
* organizationName: "string"
|
|
598
675
|
* },
|
|
599
676
|
* renderingProvider: {
|
|
600
677
|
* npi: "string",
|
|
@@ -606,7 +683,10 @@ class V4 {
|
|
|
606
683
|
* state: "NY",
|
|
607
684
|
* zipCode: "10001",
|
|
608
685
|
* zipPlusFourCode: "1234"
|
|
609
|
-
* }
|
|
686
|
+
* },
|
|
687
|
+
* firstName: "string",
|
|
688
|
+
* lastName: "string",
|
|
689
|
+
* organizationName: "string"
|
|
610
690
|
* },
|
|
611
691
|
* initialReferringProvider: {
|
|
612
692
|
* npi: "string",
|
|
@@ -619,7 +699,10 @@ class V4 {
|
|
|
619
699
|
* zipCode: "10001",
|
|
620
700
|
* zipPlusFourCode: "1234"
|
|
621
701
|
* },
|
|
622
|
-
* qualifier: "DQ"
|
|
702
|
+
* qualifier: "DQ",
|
|
703
|
+
* firstName: "string",
|
|
704
|
+
* lastName: "string",
|
|
705
|
+
* organizationName: "string"
|
|
623
706
|
* },
|
|
624
707
|
* supervisingProvider: {
|
|
625
708
|
* npi: "string",
|
|
@@ -631,7 +714,10 @@ class V4 {
|
|
|
631
714
|
* state: "NY",
|
|
632
715
|
* zipCode: "10001",
|
|
633
716
|
* zipPlusFourCode: "1234"
|
|
634
|
-
* }
|
|
717
|
+
* },
|
|
718
|
+
* firstName: "string",
|
|
719
|
+
* lastName: "string",
|
|
720
|
+
* organizationName: "string"
|
|
635
721
|
* },
|
|
636
722
|
* serviceFacility: {
|
|
637
723
|
* organizationName: "string",
|
|
@@ -772,7 +858,7 @@ class V4 {
|
|
|
772
858
|
const _response = yield core.fetcher({
|
|
773
859
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/encounters/v4/create-from-pre-encounter"),
|
|
774
860
|
method: "POST",
|
|
775
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.
|
|
861
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
776
862
|
contentType: "application/json",
|
|
777
863
|
requestType: "json",
|
|
778
864
|
body: serializers.encounters.v4.EncounterCreateFromPreEncounter.jsonOrThrow(request, {
|
|
@@ -828,103 +914,7 @@ class V4 {
|
|
|
828
914
|
* @example
|
|
829
915
|
* await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
830
916
|
* diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
831
|
-
* placeOfServiceCodeAsSubmitted: "01"
|
|
832
|
-
* benefitsAssignedToProvider: true,
|
|
833
|
-
* priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
|
|
834
|
-
* externalId: CandidApi.EncounterExternalId("string"),
|
|
835
|
-
* dateOfService: "2023-01-15",
|
|
836
|
-
* tagIds: [],
|
|
837
|
-
* clinicalNotes: [],
|
|
838
|
-
* payToAddress: {
|
|
839
|
-
* address1: "123 Main St",
|
|
840
|
-
* address2: "Apt 1",
|
|
841
|
-
* city: "New York",
|
|
842
|
-
* state: "NY",
|
|
843
|
-
* zipCode: "10001",
|
|
844
|
-
* zipPlusFourCode: "1234"
|
|
845
|
-
* },
|
|
846
|
-
* billableStatus: "BILLABLE",
|
|
847
|
-
* responsibleParty: "INSURANCE_PAY",
|
|
848
|
-
* providerAcceptsAssignment: true,
|
|
849
|
-
* synchronicity: "Synchronous",
|
|
850
|
-
* placeOfServiceCode: "01",
|
|
851
|
-
* appointmentType: "string",
|
|
852
|
-
* endDateOfService: "2023-01-15",
|
|
853
|
-
* subscriberPrimary: {
|
|
854
|
-
* insuranceCard: {
|
|
855
|
-
* memberId: "string",
|
|
856
|
-
* payerName: "string",
|
|
857
|
-
* payerId: "string"
|
|
858
|
-
* },
|
|
859
|
-
* patientRelationshipToSubscriberCode: "01",
|
|
860
|
-
* firstName: "string",
|
|
861
|
-
* lastName: "string",
|
|
862
|
-
* gender: "male"
|
|
863
|
-
* },
|
|
864
|
-
* subscriberSecondary: {
|
|
865
|
-
* insuranceCard: {
|
|
866
|
-
* memberId: "string",
|
|
867
|
-
* payerName: "string",
|
|
868
|
-
* payerId: "string"
|
|
869
|
-
* },
|
|
870
|
-
* patientRelationshipToSubscriberCode: "01",
|
|
871
|
-
* firstName: "string",
|
|
872
|
-
* lastName: "string",
|
|
873
|
-
* gender: "male"
|
|
874
|
-
* },
|
|
875
|
-
* subscriberTertiary: {
|
|
876
|
-
* insuranceCard: {
|
|
877
|
-
* memberId: "string",
|
|
878
|
-
* payerName: "string",
|
|
879
|
-
* payerId: "string"
|
|
880
|
-
* },
|
|
881
|
-
* patientRelationshipToSubscriberCode: "01",
|
|
882
|
-
* firstName: "string",
|
|
883
|
-
* lastName: "string",
|
|
884
|
-
* gender: "male"
|
|
885
|
-
* },
|
|
886
|
-
* additionalInformation: "string",
|
|
887
|
-
* serviceAuthorizationExceptionCode: "1",
|
|
888
|
-
* admissionDate: "2023-01-15",
|
|
889
|
-
* dischargeDate: "2023-01-15",
|
|
890
|
-
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
891
|
-
* lastMenstrualPeriodDate: "2023-01-15",
|
|
892
|
-
* delayReasonCode: "1",
|
|
893
|
-
* patient: {},
|
|
894
|
-
* patientAuthorizedRelease: true,
|
|
895
|
-
* schemaInstances: [],
|
|
896
|
-
* vitals: {
|
|
897
|
-
* heightIn: 70,
|
|
898
|
-
* weightLbs: 165,
|
|
899
|
-
* bloodPressureSystolicMmhg: 115,
|
|
900
|
-
* bloodPressureDiastolicMmhg: 85,
|
|
901
|
-
* bodyTemperatureF: 98,
|
|
902
|
-
* hemoglobinGdl: 15.1,
|
|
903
|
-
* hematocritPct: 51.2
|
|
904
|
-
* },
|
|
905
|
-
* existingMedications: [],
|
|
906
|
-
* renderingProvider: {},
|
|
907
|
-
* serviceFacility: {
|
|
908
|
-
* organizationName: "Test Organization",
|
|
909
|
-
* address: {
|
|
910
|
-
* address1: "123 Main St",
|
|
911
|
-
* address2: "Apt 1",
|
|
912
|
-
* city: "New York",
|
|
913
|
-
* state: "NY",
|
|
914
|
-
* zipCode: "10001",
|
|
915
|
-
* zipPlusFourCode: "1234"
|
|
916
|
-
* }
|
|
917
|
-
* },
|
|
918
|
-
* guarantor: {},
|
|
919
|
-
* billingProvider: {},
|
|
920
|
-
* supervisingProvider: {},
|
|
921
|
-
* referringProvider: {},
|
|
922
|
-
* initialReferringProvider: {},
|
|
923
|
-
* referralNumber: "string",
|
|
924
|
-
* epsdtReferral: {
|
|
925
|
-
* conditionIndicator1: "AV"
|
|
926
|
-
* },
|
|
927
|
-
* claimSupplementalInformation: []
|
|
917
|
+
* placeOfServiceCodeAsSubmitted: "01"
|
|
928
918
|
* })
|
|
929
919
|
*/
|
|
930
920
|
update(encounterId_1) {
|
|
@@ -933,7 +923,7 @@ class V4 {
|
|
|
933
923
|
const _response = yield core.fetcher({
|
|
934
924
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounters/v4/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
935
925
|
method: "PATCH",
|
|
936
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.
|
|
926
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
937
927
|
contentType: "application/json",
|
|
938
928
|
requestType: "json",
|
|
939
929
|
body: serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|