candidhealth 0.39.2 → 0.39.4
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/commons/types/EpsdtReferralConditionIndicatorCode.d.ts +10 -0
- package/api/resources/commons/types/EpsdtReferralConditionIndicatorCode.js +12 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- 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 +231 -83
- package/api/resources/encounters/resources/v4/client/Client.js +297 -89
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.d.ts +58 -0
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.js +113 -0
- package/api/resources/encounters/resources/v4/client/index.d.ts +1 -0
- package/api/resources/encounters/resources/v4/client/index.js +2 -1
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +12 -43
- package/api/resources/encounters/resources/v4/client/requests/index.d.ts +0 -1
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +58 -0
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
- package/api/resources/encounters/resources/v4/types/EpsdtReferral.d.ts +9 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +2 -0
- package/api/resources/encounters/resources/v4/types/index.js +2 -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/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.d.ts +6 -2
- package/api/resources/serviceLines/resources/v2/client/Client.js +9 -5
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +10 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +10 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +10 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +10 -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 +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/commons/types/EpsdtReferralConditionIndicatorCode.d.ts +10 -0
- package/dist/api/resources/commons/types/EpsdtReferralConditionIndicatorCode.js +12 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- 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 +231 -83
- package/dist/api/resources/encounters/resources/v4/client/Client.js +297 -89
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.d.ts +58 -0
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.js +113 -0
- package/dist/api/resources/encounters/resources/v4/client/index.d.ts +1 -0
- package/dist/api/resources/encounters/resources/v4/client/index.js +2 -1
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +12 -43
- package/dist/api/resources/encounters/resources/v4/client/requests/index.d.ts +0 -1
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +58 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
- package/dist/api/resources/encounters/resources/v4/types/EpsdtReferral.d.ts +9 -0
- package/dist/api/resources/encounters/resources/v4/types/EpsdtReferral.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +2 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +2 -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/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.d.ts +6 -2
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +9 -5
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +10 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +10 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +10 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +10 -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/commons/types/EpsdtReferralConditionIndicatorCode.d.ts +10 -0
- package/dist/serialization/resources/commons/types/EpsdtReferralConditionIndicatorCode.js +31 -0
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.d.ts +39 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.js +90 -0
- package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/index.js +2 -1
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/encounters/resources/v4/client/requests/index.js +1 -3
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +44 -0
- package/dist/serialization/resources/encounters/resources/v4/{client/requests → types}/EncounterCreateFromPreEncounter.js +18 -18
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EpsdtReferral.d.ts +15 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EpsdtReferral.js +36 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
- package/package.json +1 -1
- package/reference.md +327 -100
- package/serialization/resources/commons/types/EpsdtReferralConditionIndicatorCode.d.ts +10 -0
- package/serialization/resources/commons/types/EpsdtReferralConditionIndicatorCode.js +31 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.d.ts +39 -0
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.js +90 -0
- package/serialization/resources/encounters/resources/v4/client/index.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/client/index.js +2 -1
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/index.d.ts +0 -1
- package/serialization/resources/encounters/resources/v4/client/requests/index.js +1 -3
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +44 -0
- package/serialization/resources/encounters/resources/v4/{client/requests → types}/EncounterCreateFromPreEncounter.js +18 -18
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/EpsdtReferral.d.ts +15 -0
- package/serialization/resources/encounters/resources/v4/types/EpsdtReferral.js +36 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +0 -319
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +0 -319
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +0 -44
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +0 -44
- /package/api/resources/encounters/resources/v4/{client/requests → types}/EncounterCreateFromPreEncounter.js +0 -0
- /package/{dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.js → api/resources/encounters/resources/v4/types/EpsdtReferral.js} +0 -0
|
@@ -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.4",
|
|
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.4",
|
|
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.4",
|
|
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.4",
|
|
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.4",
|
|
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.4",
|
|
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.4",
|
|
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.4",
|
|
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.4",
|
|
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.4",
|
|
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.4",
|
|
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.4",
|
|
870
870
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
871
871
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
872
872
|
},
|
|
@@ -239,12 +239,7 @@ export declare class V4 {
|
|
|
239
239
|
* }],
|
|
240
240
|
* clinicalNotes: [{
|
|
241
241
|
* category: CandidApi.encounters.v4.NoteCategory.Clinical,
|
|
242
|
-
* notes: [
|
|
243
|
-
* text: "string",
|
|
244
|
-
* authorName: "string",
|
|
245
|
-
* authorNpi: CandidApi.Npi("string"),
|
|
246
|
-
* timestamp: new Date("2024-01-15T09:30:00.000Z")
|
|
247
|
-
* }]
|
|
242
|
+
* notes: []
|
|
248
243
|
* }],
|
|
249
244
|
* billingNotes: [{
|
|
250
245
|
* text: "string"
|
|
@@ -266,45 +261,10 @@ export declare class V4 {
|
|
|
266
261
|
* }]
|
|
267
262
|
* }],
|
|
268
263
|
* serviceLines: [{
|
|
269
|
-
* modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
|
|
270
264
|
* procedureCode: "string",
|
|
271
265
|
* quantity: CandidApi.Decimal("string"),
|
|
272
266
|
* units: CandidApi.ServiceLineUnits.Mj,
|
|
273
|
-
*
|
|
274
|
-
* diagnosisPointers: [1],
|
|
275
|
-
* drugIdentification: {
|
|
276
|
-
* serviceIdQualifier: CandidApi.serviceLines.v2.ServiceIdQualifier.EanUcc13,
|
|
277
|
-
* nationalDrugCode: "string",
|
|
278
|
-
* nationalDrugUnitCount: "string",
|
|
279
|
-
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
280
|
-
* linkSequenceNumber: "string",
|
|
281
|
-
* pharmacyPrescriptionNumber: "string",
|
|
282
|
-
* conversionFormula: "string",
|
|
283
|
-
* drugDescription: "string"
|
|
284
|
-
* },
|
|
285
|
-
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
286
|
-
* description: "string",
|
|
287
|
-
* dateOfService: "2023-01-15",
|
|
288
|
-
* endDateOfService: "2023-01-15",
|
|
289
|
-
* orderingProvider: {
|
|
290
|
-
* npi: "string",
|
|
291
|
-
* taxonomyCode: "string",
|
|
292
|
-
* address: {
|
|
293
|
-
* address1: "123 Main St",
|
|
294
|
-
* address2: "Apt 1",
|
|
295
|
-
* city: "New York",
|
|
296
|
-
* state: CandidApi.State.Ny,
|
|
297
|
-
* zipCode: "10001",
|
|
298
|
-
* zipPlusFourCode: "1234"
|
|
299
|
-
* },
|
|
300
|
-
* firstName: "string",
|
|
301
|
-
* lastName: "string",
|
|
302
|
-
* organizationName: "string"
|
|
303
|
-
* },
|
|
304
|
-
* testResults: [{
|
|
305
|
-
* value: 1.1,
|
|
306
|
-
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
307
|
-
* }]
|
|
267
|
+
* diagnosisPointers: []
|
|
308
268
|
* }],
|
|
309
269
|
* guarantor: {
|
|
310
270
|
* phoneNumbers: [{
|
|
@@ -353,6 +313,11 @@ export declare class V4 {
|
|
|
353
313
|
* }
|
|
354
314
|
* }],
|
|
355
315
|
* referralNumber: "string",
|
|
316
|
+
* epsdtReferral: {
|
|
317
|
+
* conditionIndicator1: CandidApi.EpsdtReferralConditionIndicatorCode.Av,
|
|
318
|
+
* conditionIndicator2: CandidApi.EpsdtReferralConditionIndicatorCode.Av,
|
|
319
|
+
* conditionIndicator3: CandidApi.EpsdtReferralConditionIndicatorCode.Av
|
|
320
|
+
* },
|
|
356
321
|
* externalId: CandidApi.EncounterExternalId("string"),
|
|
357
322
|
* dateOfService: "2023-01-15",
|
|
358
323
|
* endDateOfService: "2023-01-15",
|
|
@@ -524,12 +489,7 @@ export declare class V4 {
|
|
|
524
489
|
* }],
|
|
525
490
|
* clinicalNotes: [{
|
|
526
491
|
* category: CandidApi.encounters.v4.NoteCategory.Clinical,
|
|
527
|
-
* notes: [
|
|
528
|
-
* text: "string",
|
|
529
|
-
* authorName: "string",
|
|
530
|
-
* authorNpi: CandidApi.Npi("string"),
|
|
531
|
-
* timestamp: new Date("2024-01-15T09:30:00.000Z")
|
|
532
|
-
* }]
|
|
492
|
+
* notes: []
|
|
533
493
|
* }],
|
|
534
494
|
* billingNotes: [{
|
|
535
495
|
* text: "string"
|
|
@@ -551,46 +511,234 @@ export declare class V4 {
|
|
|
551
511
|
* }]
|
|
552
512
|
* }],
|
|
553
513
|
* serviceLines: [{
|
|
554
|
-
* modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
|
|
555
514
|
* procedureCode: "string",
|
|
556
515
|
* quantity: CandidApi.Decimal("string"),
|
|
557
516
|
* units: CandidApi.ServiceLineUnits.Mj,
|
|
558
|
-
*
|
|
559
|
-
*
|
|
560
|
-
*
|
|
561
|
-
*
|
|
562
|
-
*
|
|
563
|
-
*
|
|
564
|
-
*
|
|
565
|
-
*
|
|
566
|
-
*
|
|
567
|
-
*
|
|
568
|
-
*
|
|
569
|
-
*
|
|
570
|
-
*
|
|
571
|
-
*
|
|
572
|
-
*
|
|
573
|
-
*
|
|
574
|
-
*
|
|
575
|
-
*
|
|
576
|
-
*
|
|
577
|
-
*
|
|
578
|
-
*
|
|
579
|
-
*
|
|
580
|
-
*
|
|
581
|
-
*
|
|
582
|
-
*
|
|
583
|
-
*
|
|
584
|
-
*
|
|
585
|
-
*
|
|
586
|
-
*
|
|
587
|
-
*
|
|
517
|
+
* diagnosisPointers: []
|
|
518
|
+
* }],
|
|
519
|
+
* externalClaimSubmission: {
|
|
520
|
+
* claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|
|
521
|
+
* patientControlNumber: "PATIENT_CONTROL_NUMBER",
|
|
522
|
+
* submissionRecords: [{
|
|
523
|
+
* submittedAt: new Date("2023-01-01T13:00:00.000Z"),
|
|
524
|
+
* claimFrequencyCode: CandidApi.claimSubmission.v1.ClaimFrequencyTypeCode.Original,
|
|
525
|
+
* payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
526
|
+
* intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Electronic
|
|
527
|
+
* }, {
|
|
528
|
+
* submittedAt: new Date("2023-01-04T12:00:00.000Z"),
|
|
529
|
+
* claimFrequencyCode: CandidApi.claimSubmission.v1.ClaimFrequencyTypeCode.Replacement,
|
|
530
|
+
* payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
531
|
+
* intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Paper
|
|
532
|
+
* }]
|
|
533
|
+
* },
|
|
534
|
+
* tagIds: [CandidApi.TagId("string")],
|
|
535
|
+
* schemaInstances: [{
|
|
536
|
+
* schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
|
|
537
|
+
* content: {
|
|
538
|
+
* "provider_category": "internist",
|
|
539
|
+
* "is_urgent_care": true,
|
|
540
|
+
* "bmi": 24.2,
|
|
541
|
+
* "age": 38
|
|
542
|
+
* }
|
|
543
|
+
* }],
|
|
544
|
+
* externalId: CandidApi.EncounterExternalId("string"),
|
|
545
|
+
* dateOfService: "2023-01-15",
|
|
546
|
+
* endDateOfService: "2023-01-15",
|
|
547
|
+
* patientAuthorizedRelease: true,
|
|
548
|
+
* benefitsAssignedToProvider: true,
|
|
549
|
+
* providerAcceptsAssignment: true,
|
|
550
|
+
* appointmentType: "string",
|
|
551
|
+
* existingMedications: [{
|
|
552
|
+
* name: "Lisinopril",
|
|
553
|
+
* rxCui: CandidApi.encounters.v4.RxCui("860975"),
|
|
554
|
+
* dosage: "10mg",
|
|
555
|
+
* dosageForm: "Tablet",
|
|
556
|
+
* frequency: "Once Daily",
|
|
557
|
+
* asNeeded: true
|
|
558
|
+
* }],
|
|
559
|
+
* vitals: {
|
|
560
|
+
* heightIn: 70,
|
|
561
|
+
* weightLbs: 165,
|
|
562
|
+
* bloodPressureSystolicMmhg: 115,
|
|
563
|
+
* bloodPressureDiastolicMmhg: 85,
|
|
564
|
+
* bodyTemperatureF: 98,
|
|
565
|
+
* hemoglobinGdl: 15.1,
|
|
566
|
+
* hematocritPct: 51.2
|
|
567
|
+
* },
|
|
568
|
+
* interventions: [{
|
|
569
|
+
* name: "Physical Therapy Session",
|
|
570
|
+
* category: CandidApi.encounters.v4.InterventionCategory.Lifestyle,
|
|
571
|
+
* description: "A session focused on improving muscular strength, flexibility, and range of motion post-injury.",
|
|
572
|
+
* medication: {
|
|
573
|
+
* name: "Lisinopril",
|
|
574
|
+
* rxCui: CandidApi.encounters.v4.RxCui("860975"),
|
|
575
|
+
* dosage: "10mg",
|
|
576
|
+
* dosageForm: "Tablet",
|
|
577
|
+
* frequency: "Once Daily",
|
|
578
|
+
* asNeeded: true
|
|
588
579
|
* },
|
|
589
|
-
*
|
|
590
|
-
*
|
|
591
|
-
*
|
|
580
|
+
* labs: [{
|
|
581
|
+
* name: "Genetic Health Labs",
|
|
582
|
+
* code: "GH12345",
|
|
583
|
+
* codeType: CandidApi.encounters.v4.LabCodeType.Quest
|
|
584
|
+
* }]
|
|
585
|
+
* }],
|
|
586
|
+
* payToAddress: {
|
|
587
|
+
* address1: "123 Main St",
|
|
588
|
+
* address2: "Apt 1",
|
|
589
|
+
* city: "New York",
|
|
590
|
+
* state: CandidApi.State.Ny,
|
|
591
|
+
* zipCode: "10001",
|
|
592
|
+
* zipPlusFourCode: "1234"
|
|
593
|
+
* },
|
|
594
|
+
* synchronicity: CandidApi.encounters.v4.SynchronicityType.Synchronous,
|
|
595
|
+
* billableStatus: CandidApi.encounters.v4.BillableStatusType.Billable,
|
|
596
|
+
* additionalInformation: "string",
|
|
597
|
+
* serviceAuthorizationExceptionCode: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode.C1,
|
|
598
|
+
* admissionDate: "2023-01-15",
|
|
599
|
+
* dischargeDate: "2023-01-15",
|
|
600
|
+
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
601
|
+
* lastMenstrualPeriodDate: "2023-01-15",
|
|
602
|
+
* delayReasonCode: CandidApi.DelayReasonCode.C1
|
|
603
|
+
* })
|
|
604
|
+
*/
|
|
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
|
+
* }]
|
|
592
734
|
* }]
|
|
593
735
|
* }],
|
|
736
|
+
* serviceLines: [{
|
|
737
|
+
* procedureCode: "string",
|
|
738
|
+
* quantity: CandidApi.Decimal("string"),
|
|
739
|
+
* units: CandidApi.ServiceLineUnits.Mj,
|
|
740
|
+
* diagnosisPointers: []
|
|
741
|
+
* }],
|
|
594
742
|
* externalClaimSubmission: {
|
|
595
743
|
* claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|
|
596
744
|
* patientControlNumber: "PATIENT_CONTROL_NUMBER",
|
|
@@ -677,7 +825,7 @@ export declare class V4 {
|
|
|
677
825
|
* delayReasonCode: CandidApi.DelayReasonCode.C1
|
|
678
826
|
* })
|
|
679
827
|
*/
|
|
680
|
-
|
|
828
|
+
createFromPreEncounterPatientInternal(request: CandidApi.encounters.v4.EncounterCreateFromPreEncounter, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.createFromPreEncounterPatientInternal.Error>>;
|
|
681
829
|
/**
|
|
682
830
|
* @param {CandidApi.EncounterId} encounterId
|
|
683
831
|
* @param {CandidApi.encounters.v4.EncounterUpdate} request
|