candidhealth 0.39.3 → 0.39.5
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.js +5 -5
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- 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/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.d.ts +0 -223
- package/api/resources/encounters/resources/v4/client/Client.js +5 -288
- package/api/resources/encounters/resources/v4/client/index.d.ts +0 -1
- package/api/resources/encounters/resources/v4/client/index.js +1 -2
- 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/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.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/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/coverages/resources/v1/client/Client.d.ts +2 -12
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -20
- 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.d.ts +15 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +24 -12
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +5 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +5 -1
- 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.js +3 -3
- 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 +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- 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/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +0 -223
- package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -288
- package/dist/api/resources/encounters/resources/v4/client/index.d.ts +0 -1
- package/dist/api/resources/encounters/resources/v4/client/index.js +1 -2
- 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/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.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/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/coverages/resources/v1/client/Client.d.ts +2 -12
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -20
- 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.d.ts +15 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +24 -12
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +5 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +5 -1
- 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.js +3 -3
- 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/index.d.ts +0 -1
- package/dist/serialization/resources/encounters/resources/v4/client/index.js +1 -2
- package/package.json +1 -1
- package/reference.md +4340 -2020
- package/serialization/resources/encounters/resources/v4/client/index.d.ts +0 -1
- package/serialization/resources/encounters/resources/v4/client/index.js +1 -2
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.d.ts +0 -58
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.js +0 -113
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.d.ts +0 -58
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.js +0 -113
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.d.ts +0 -39
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.js +0 -90
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.d.ts +0 -39
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.js +0 -90
|
@@ -83,7 +83,7 @@ class V2 {
|
|
|
83
83
|
Authorization: yield this._getAuthorizationHeader(),
|
|
84
84
|
"X-Fern-Language": "JavaScript",
|
|
85
85
|
"X-Fern-SDK-Name": "candidhealth",
|
|
86
|
-
"X-Fern-SDK-Version": "0.39.
|
|
86
|
+
"X-Fern-SDK-Version": "0.39.5",
|
|
87
87
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
88
88
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
89
89
|
},
|
|
@@ -156,7 +156,7 @@ class V2 {
|
|
|
156
156
|
Authorization: yield this._getAuthorizationHeader(),
|
|
157
157
|
"X-Fern-Language": "JavaScript",
|
|
158
158
|
"X-Fern-SDK-Name": "candidhealth",
|
|
159
|
-
"X-Fern-SDK-Version": "0.39.
|
|
159
|
+
"X-Fern-SDK-Version": "0.39.5",
|
|
160
160
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
161
161
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
162
162
|
},
|
|
@@ -227,7 +227,7 @@ class V2 {
|
|
|
227
227
|
Authorization: yield this._getAuthorizationHeader(),
|
|
228
228
|
"X-Fern-Language": "JavaScript",
|
|
229
229
|
"X-Fern-SDK-Name": "candidhealth",
|
|
230
|
-
"X-Fern-SDK-Version": "0.39.
|
|
230
|
+
"X-Fern-SDK-Version": "0.39.5",
|
|
231
231
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
232
232
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
233
233
|
},
|
|
@@ -81,7 +81,7 @@ class V2 {
|
|
|
81
81
|
Authorization: yield this._getAuthorizationHeader(),
|
|
82
82
|
"X-Fern-Language": "JavaScript",
|
|
83
83
|
"X-Fern-SDK-Name": "candidhealth",
|
|
84
|
-
"X-Fern-SDK-Version": "0.39.
|
|
84
|
+
"X-Fern-SDK-Version": "0.39.5",
|
|
85
85
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
86
86
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
87
87
|
},
|
|
@@ -160,7 +160,7 @@ class V2 {
|
|
|
160
160
|
Authorization: yield this._getAuthorizationHeader(),
|
|
161
161
|
"X-Fern-Language": "JavaScript",
|
|
162
162
|
"X-Fern-SDK-Name": "candidhealth",
|
|
163
|
-
"X-Fern-SDK-Version": "0.39.
|
|
163
|
+
"X-Fern-SDK-Version": "0.39.5",
|
|
164
164
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
165
165
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
166
166
|
},
|
|
@@ -239,7 +239,7 @@ class V2 {
|
|
|
239
239
|
Authorization: yield this._getAuthorizationHeader(),
|
|
240
240
|
"X-Fern-Language": "JavaScript",
|
|
241
241
|
"X-Fern-SDK-Name": "candidhealth",
|
|
242
|
-
"X-Fern-SDK-Version": "0.39.
|
|
242
|
+
"X-Fern-SDK-Version": "0.39.5",
|
|
243
243
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
244
244
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
245
245
|
},
|
|
@@ -318,7 +318,7 @@ class V2 {
|
|
|
318
318
|
Authorization: yield this._getAuthorizationHeader(),
|
|
319
319
|
"X-Fern-Language": "JavaScript",
|
|
320
320
|
"X-Fern-SDK-Name": "candidhealth",
|
|
321
|
-
"X-Fern-SDK-Version": "0.39.
|
|
321
|
+
"X-Fern-SDK-Version": "0.39.5",
|
|
322
322
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
323
323
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
324
324
|
},
|
|
@@ -396,7 +396,7 @@ class V2 {
|
|
|
396
396
|
Authorization: yield this._getAuthorizationHeader(),
|
|
397
397
|
"X-Fern-Language": "JavaScript",
|
|
398
398
|
"X-Fern-SDK-Name": "candidhealth",
|
|
399
|
-
"X-Fern-SDK-Version": "0.39.
|
|
399
|
+
"X-Fern-SDK-Version": "0.39.5",
|
|
400
400
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
401
401
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
402
402
|
},
|
|
@@ -476,7 +476,7 @@ class V2 {
|
|
|
476
476
|
Authorization: yield this._getAuthorizationHeader(),
|
|
477
477
|
"X-Fern-Language": "JavaScript",
|
|
478
478
|
"X-Fern-SDK-Name": "candidhealth",
|
|
479
|
-
"X-Fern-SDK-Version": "0.39.
|
|
479
|
+
"X-Fern-SDK-Version": "0.39.5",
|
|
480
480
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
481
481
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
482
482
|
},
|
|
@@ -557,7 +557,7 @@ class V2 {
|
|
|
557
557
|
Authorization: yield this._getAuthorizationHeader(),
|
|
558
558
|
"X-Fern-Language": "JavaScript",
|
|
559
559
|
"X-Fern-SDK-Name": "candidhealth",
|
|
560
|
-
"X-Fern-SDK-Version": "0.39.
|
|
560
|
+
"X-Fern-SDK-Version": "0.39.5",
|
|
561
561
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
562
562
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
563
563
|
},
|
|
@@ -637,7 +637,7 @@ class V2 {
|
|
|
637
637
|
Authorization: yield this._getAuthorizationHeader(),
|
|
638
638
|
"X-Fern-Language": "JavaScript",
|
|
639
639
|
"X-Fern-SDK-Name": "candidhealth",
|
|
640
|
-
"X-Fern-SDK-Version": "0.39.
|
|
640
|
+
"X-Fern-SDK-Version": "0.39.5",
|
|
641
641
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
642
642
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
643
643
|
},
|
|
@@ -701,7 +701,7 @@ class V2 {
|
|
|
701
701
|
Authorization: yield this._getAuthorizationHeader(),
|
|
702
702
|
"X-Fern-Language": "JavaScript",
|
|
703
703
|
"X-Fern-SDK-Name": "candidhealth",
|
|
704
|
-
"X-Fern-SDK-Version": "0.39.
|
|
704
|
+
"X-Fern-SDK-Version": "0.39.5",
|
|
705
705
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
706
706
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
707
707
|
},
|
|
@@ -756,7 +756,7 @@ class V2 {
|
|
|
756
756
|
Authorization: yield this._getAuthorizationHeader(),
|
|
757
757
|
"X-Fern-Language": "JavaScript",
|
|
758
758
|
"X-Fern-SDK-Name": "candidhealth",
|
|
759
|
-
"X-Fern-SDK-Version": "0.39.
|
|
759
|
+
"X-Fern-SDK-Version": "0.39.5",
|
|
760
760
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
761
761
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
762
762
|
},
|
|
@@ -811,7 +811,7 @@ class V2 {
|
|
|
811
811
|
Authorization: yield this._getAuthorizationHeader(),
|
|
812
812
|
"X-Fern-Language": "JavaScript",
|
|
813
813
|
"X-Fern-SDK-Name": "candidhealth",
|
|
814
|
-
"X-Fern-SDK-Version": "0.39.
|
|
814
|
+
"X-Fern-SDK-Version": "0.39.5",
|
|
815
815
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
816
816
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
817
817
|
},
|
|
@@ -866,7 +866,7 @@ class V2 {
|
|
|
866
866
|
Authorization: yield this._getAuthorizationHeader(),
|
|
867
867
|
"X-Fern-Language": "JavaScript",
|
|
868
868
|
"X-Fern-SDK-Name": "candidhealth",
|
|
869
|
-
"X-Fern-SDK-Version": "0.39.
|
|
869
|
+
"X-Fern-SDK-Version": "0.39.5",
|
|
870
870
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
871
871
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
872
872
|
},
|
|
@@ -603,229 +603,6 @@ export declare class V4 {
|
|
|
603
603
|
* })
|
|
604
604
|
*/
|
|
605
605
|
createFromPreEncounterPatient(request: CandidApi.encounters.v4.EncounterCreateFromPreEncounter, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.createFromPreEncounterPatient.Error>>;
|
|
606
|
-
/**
|
|
607
|
-
* Create an encounter from a pre-encounter patient and appointment. This endpoint is intended to be used by consumers who are managing
|
|
608
|
-
* patients and appointments in the pre-encounter service and is currently under development. Consumers who are not taking advantage
|
|
609
|
-
* of the pre-encounter service should use the standard create endpoint.
|
|
610
|
-
*
|
|
611
|
-
* The endpoint will create an encounter from the provided fields, pulling information from the provided patient and appointment objects
|
|
612
|
-
* where applicable. In particular, the following fields are populated from the patient and appointment objects:
|
|
613
|
-
*
|
|
614
|
-
* - Patient
|
|
615
|
-
* - Referring Provider
|
|
616
|
-
* - Subscriber Primary
|
|
617
|
-
* - Subscriber Secondary
|
|
618
|
-
* - Referral Number
|
|
619
|
-
* - Responsible Party
|
|
620
|
-
* - Guarantor
|
|
621
|
-
*
|
|
622
|
-
* Utilizing this endpoint opts you into automatic updating of the encounter when the patient or appointment is updated, assuming the
|
|
623
|
-
* encounter has not already been submitted or adjudicated.
|
|
624
|
-
*
|
|
625
|
-
* @param {CandidApi.encounters.v4.EncounterCreateFromPreEncounter} request
|
|
626
|
-
* @param {V4.RequestOptions} requestOptions - Request-specific configuration.
|
|
627
|
-
*
|
|
628
|
-
* @example
|
|
629
|
-
* await client.encounters.v4.createFromPreEncounterPatientInternal({
|
|
630
|
-
* preEncounterPatientId: CandidApi.PreEncounterPatientId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
631
|
-
* preEncounterAppointmentIds: [CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
632
|
-
* billingProvider: {
|
|
633
|
-
* address: {
|
|
634
|
-
* address1: "123 Main St",
|
|
635
|
-
* address2: "Apt 1",
|
|
636
|
-
* city: "New York",
|
|
637
|
-
* state: CandidApi.State.Ny,
|
|
638
|
-
* zipCode: "10001",
|
|
639
|
-
* zipPlusFourCode: "1234"
|
|
640
|
-
* },
|
|
641
|
-
* taxId: "string",
|
|
642
|
-
* npi: "string",
|
|
643
|
-
* taxonomyCode: "string",
|
|
644
|
-
* providerCommercialLicenseType: CandidApi.BillingProviderCommercialLicenseType.LicensedClinicalSocialWorker,
|
|
645
|
-
* firstName: "string",
|
|
646
|
-
* lastName: "string",
|
|
647
|
-
* organizationName: "string"
|
|
648
|
-
* },
|
|
649
|
-
* renderingProvider: {
|
|
650
|
-
* npi: "string",
|
|
651
|
-
* taxonomyCode: "string",
|
|
652
|
-
* address: {
|
|
653
|
-
* address1: "123 Main St",
|
|
654
|
-
* address2: "Apt 1",
|
|
655
|
-
* city: "New York",
|
|
656
|
-
* state: CandidApi.State.Ny,
|
|
657
|
-
* zipCode: "10001",
|
|
658
|
-
* zipPlusFourCode: "1234"
|
|
659
|
-
* },
|
|
660
|
-
* firstName: "string",
|
|
661
|
-
* lastName: "string",
|
|
662
|
-
* organizationName: "string"
|
|
663
|
-
* },
|
|
664
|
-
* initialReferringProvider: {
|
|
665
|
-
* npi: "string",
|
|
666
|
-
* taxonomyCode: "string",
|
|
667
|
-
* address: {
|
|
668
|
-
* address1: "123 Main St",
|
|
669
|
-
* address2: "Apt 1",
|
|
670
|
-
* city: "New York",
|
|
671
|
-
* state: CandidApi.State.Ny,
|
|
672
|
-
* zipCode: "10001",
|
|
673
|
-
* zipPlusFourCode: "1234"
|
|
674
|
-
* },
|
|
675
|
-
* qualifier: CandidApi.QualifierCode.Dq,
|
|
676
|
-
* firstName: "string",
|
|
677
|
-
* lastName: "string",
|
|
678
|
-
* organizationName: "string"
|
|
679
|
-
* },
|
|
680
|
-
* supervisingProvider: {
|
|
681
|
-
* npi: "string",
|
|
682
|
-
* taxonomyCode: "string",
|
|
683
|
-
* address: {
|
|
684
|
-
* address1: "123 Main St",
|
|
685
|
-
* address2: "Apt 1",
|
|
686
|
-
* city: "New York",
|
|
687
|
-
* state: CandidApi.State.Ny,
|
|
688
|
-
* zipCode: "10001",
|
|
689
|
-
* zipPlusFourCode: "1234"
|
|
690
|
-
* },
|
|
691
|
-
* firstName: "string",
|
|
692
|
-
* lastName: "string",
|
|
693
|
-
* organizationName: "string"
|
|
694
|
-
* },
|
|
695
|
-
* serviceFacility: {
|
|
696
|
-
* organizationName: "string",
|
|
697
|
-
* npi: "string",
|
|
698
|
-
* address: {
|
|
699
|
-
* address1: "123 Main St",
|
|
700
|
-
* address2: "Apt 1",
|
|
701
|
-
* city: "New York",
|
|
702
|
-
* state: CandidApi.State.Ny,
|
|
703
|
-
* zipCode: "10001",
|
|
704
|
-
* zipPlusFourCode: "1234"
|
|
705
|
-
* },
|
|
706
|
-
* secondaryIdentification: "string"
|
|
707
|
-
* },
|
|
708
|
-
* diagnoses: [{
|
|
709
|
-
* name: "string",
|
|
710
|
-
* codeType: CandidApi.DiagnosisTypeCode.Abf,
|
|
711
|
-
* code: "string"
|
|
712
|
-
* }],
|
|
713
|
-
* clinicalNotes: [{
|
|
714
|
-
* category: CandidApi.encounters.v4.NoteCategory.Clinical,
|
|
715
|
-
* notes: []
|
|
716
|
-
* }],
|
|
717
|
-
* billingNotes: [{
|
|
718
|
-
* text: "string"
|
|
719
|
-
* }],
|
|
720
|
-
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
721
|
-
* patientHistories: [{
|
|
722
|
-
* category: CandidApi.encounters.v4.PatientHistoryCategoryEnum.PresentIllness,
|
|
723
|
-
* questions: [{
|
|
724
|
-
* id: CandidApi.encounters.v4.IntakeQuestionId("6E7FBCE4-A8EA-46D0-A8D8-FF83CA3BB176"),
|
|
725
|
-
* text: "Do you have any allergies?",
|
|
726
|
-
* responses: [{
|
|
727
|
-
* response: "No allergies",
|
|
728
|
-
* followUps: [{
|
|
729
|
-
* id: CandidApi.encounters.v4.IntakeFollowUpId("4F3D57F9-AC94-49D6-87E4-E804B709917A"),
|
|
730
|
-
* text: "Do you have any allergies?",
|
|
731
|
-
* response: "No allergies"
|
|
732
|
-
* }]
|
|
733
|
-
* }]
|
|
734
|
-
* }]
|
|
735
|
-
* }],
|
|
736
|
-
* serviceLines: [{
|
|
737
|
-
* procedureCode: "string",
|
|
738
|
-
* quantity: CandidApi.Decimal("string"),
|
|
739
|
-
* units: CandidApi.ServiceLineUnits.Mj,
|
|
740
|
-
* diagnosisPointers: []
|
|
741
|
-
* }],
|
|
742
|
-
* externalClaimSubmission: {
|
|
743
|
-
* claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|
|
744
|
-
* patientControlNumber: "PATIENT_CONTROL_NUMBER",
|
|
745
|
-
* submissionRecords: [{
|
|
746
|
-
* submittedAt: new Date("2023-01-01T13:00:00.000Z"),
|
|
747
|
-
* claimFrequencyCode: CandidApi.claimSubmission.v1.ClaimFrequencyTypeCode.Original,
|
|
748
|
-
* payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
749
|
-
* intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Electronic
|
|
750
|
-
* }, {
|
|
751
|
-
* submittedAt: new Date("2023-01-04T12:00:00.000Z"),
|
|
752
|
-
* claimFrequencyCode: CandidApi.claimSubmission.v1.ClaimFrequencyTypeCode.Replacement,
|
|
753
|
-
* payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
754
|
-
* intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Paper
|
|
755
|
-
* }]
|
|
756
|
-
* },
|
|
757
|
-
* tagIds: [CandidApi.TagId("string")],
|
|
758
|
-
* schemaInstances: [{
|
|
759
|
-
* schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
|
|
760
|
-
* content: {
|
|
761
|
-
* "provider_category": "internist",
|
|
762
|
-
* "is_urgent_care": true,
|
|
763
|
-
* "bmi": 24.2,
|
|
764
|
-
* "age": 38
|
|
765
|
-
* }
|
|
766
|
-
* }],
|
|
767
|
-
* externalId: CandidApi.EncounterExternalId("string"),
|
|
768
|
-
* dateOfService: "2023-01-15",
|
|
769
|
-
* endDateOfService: "2023-01-15",
|
|
770
|
-
* patientAuthorizedRelease: true,
|
|
771
|
-
* benefitsAssignedToProvider: true,
|
|
772
|
-
* providerAcceptsAssignment: true,
|
|
773
|
-
* appointmentType: "string",
|
|
774
|
-
* existingMedications: [{
|
|
775
|
-
* name: "Lisinopril",
|
|
776
|
-
* rxCui: CandidApi.encounters.v4.RxCui("860975"),
|
|
777
|
-
* dosage: "10mg",
|
|
778
|
-
* dosageForm: "Tablet",
|
|
779
|
-
* frequency: "Once Daily",
|
|
780
|
-
* asNeeded: true
|
|
781
|
-
* }],
|
|
782
|
-
* vitals: {
|
|
783
|
-
* heightIn: 70,
|
|
784
|
-
* weightLbs: 165,
|
|
785
|
-
* bloodPressureSystolicMmhg: 115,
|
|
786
|
-
* bloodPressureDiastolicMmhg: 85,
|
|
787
|
-
* bodyTemperatureF: 98,
|
|
788
|
-
* hemoglobinGdl: 15.1,
|
|
789
|
-
* hematocritPct: 51.2
|
|
790
|
-
* },
|
|
791
|
-
* interventions: [{
|
|
792
|
-
* name: "Physical Therapy Session",
|
|
793
|
-
* category: CandidApi.encounters.v4.InterventionCategory.Lifestyle,
|
|
794
|
-
* description: "A session focused on improving muscular strength, flexibility, and range of motion post-injury.",
|
|
795
|
-
* medication: {
|
|
796
|
-
* name: "Lisinopril",
|
|
797
|
-
* rxCui: CandidApi.encounters.v4.RxCui("860975"),
|
|
798
|
-
* dosage: "10mg",
|
|
799
|
-
* dosageForm: "Tablet",
|
|
800
|
-
* frequency: "Once Daily",
|
|
801
|
-
* asNeeded: true
|
|
802
|
-
* },
|
|
803
|
-
* labs: [{
|
|
804
|
-
* name: "Genetic Health Labs",
|
|
805
|
-
* code: "GH12345",
|
|
806
|
-
* codeType: CandidApi.encounters.v4.LabCodeType.Quest
|
|
807
|
-
* }]
|
|
808
|
-
* }],
|
|
809
|
-
* payToAddress: {
|
|
810
|
-
* address1: "123 Main St",
|
|
811
|
-
* address2: "Apt 1",
|
|
812
|
-
* city: "New York",
|
|
813
|
-
* state: CandidApi.State.Ny,
|
|
814
|
-
* zipCode: "10001",
|
|
815
|
-
* zipPlusFourCode: "1234"
|
|
816
|
-
* },
|
|
817
|
-
* synchronicity: CandidApi.encounters.v4.SynchronicityType.Synchronous,
|
|
818
|
-
* billableStatus: CandidApi.encounters.v4.BillableStatusType.Billable,
|
|
819
|
-
* additionalInformation: "string",
|
|
820
|
-
* serviceAuthorizationExceptionCode: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode.C1,
|
|
821
|
-
* admissionDate: "2023-01-15",
|
|
822
|
-
* dischargeDate: "2023-01-15",
|
|
823
|
-
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
824
|
-
* lastMenstrualPeriodDate: "2023-01-15",
|
|
825
|
-
* delayReasonCode: CandidApi.DelayReasonCode.C1
|
|
826
|
-
* })
|
|
827
|
-
*/
|
|
828
|
-
createFromPreEncounterPatientInternal(request: CandidApi.encounters.v4.EncounterCreateFromPreEncounter, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.createFromPreEncounterPatientInternal.Error>>;
|
|
829
606
|
/**
|
|
830
607
|
* @param {CandidApi.EncounterId} encounterId
|
|
831
608
|
* @param {CandidApi.encounters.v4.EncounterUpdate} request
|