candidhealth 0.39.2 → 0.39.3
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.js +8 -8
- 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 +9 -9
- 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.js +8 -8
- 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 +9 -9
- 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 +2177 -4574
- 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
|
@@ -99,7 +99,9 @@ class V2 {
|
|
|
99
99
|
* testResults: [{
|
|
100
100
|
* value: 1.1,
|
|
101
101
|
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
102
|
-
* }]
|
|
102
|
+
* }],
|
|
103
|
+
* hasEpsdtIndicator: true,
|
|
104
|
+
* hasFamilyPlanningIndicator: true
|
|
103
105
|
* })
|
|
104
106
|
*/
|
|
105
107
|
create(request, requestOptions) {
|
|
@@ -113,7 +115,7 @@ class V2 {
|
|
|
113
115
|
Authorization: yield this._getAuthorizationHeader(),
|
|
114
116
|
"X-Fern-Language": "JavaScript",
|
|
115
117
|
"X-Fern-SDK-Name": "candidhealth",
|
|
116
|
-
"X-Fern-SDK-Version": "0.39.
|
|
118
|
+
"X-Fern-SDK-Version": "0.39.3",
|
|
117
119
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
118
120
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
119
121
|
},
|
|
@@ -194,7 +196,9 @@ class V2 {
|
|
|
194
196
|
* testResults: [{
|
|
195
197
|
* value: 1.1,
|
|
196
198
|
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
197
|
-
* }]
|
|
199
|
+
* }],
|
|
200
|
+
* hasEpsdtIndicator: true,
|
|
201
|
+
* hasFamilyPlanningIndicator: true
|
|
198
202
|
* })
|
|
199
203
|
*/
|
|
200
204
|
update(serviceLineId, request, requestOptions) {
|
|
@@ -208,7 +212,7 @@ class V2 {
|
|
|
208
212
|
Authorization: yield this._getAuthorizationHeader(),
|
|
209
213
|
"X-Fern-Language": "JavaScript",
|
|
210
214
|
"X-Fern-SDK-Name": "candidhealth",
|
|
211
|
-
"X-Fern-SDK-Version": "0.39.
|
|
215
|
+
"X-Fern-SDK-Version": "0.39.3",
|
|
212
216
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
213
217
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
214
218
|
},
|
|
@@ -272,7 +276,7 @@ class V2 {
|
|
|
272
276
|
Authorization: yield this._getAuthorizationHeader(),
|
|
273
277
|
"X-Fern-Language": "JavaScript",
|
|
274
278
|
"X-Fern-SDK-Name": "candidhealth",
|
|
275
|
-
"X-Fern-SDK-Version": "0.39.
|
|
279
|
+
"X-Fern-SDK-Version": "0.39.3",
|
|
276
280
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
277
281
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
278
282
|
},
|
|
@@ -119,4 +119,14 @@ export interface ServiceLine {
|
|
|
119
119
|
endDateOfService?: string;
|
|
120
120
|
/** Maps to MEA-02 on the 837-P. No more than 5 test results may be submitted per service line. */
|
|
121
121
|
testResults?: CandidApi.serviceLines.v2.TestResult[];
|
|
122
|
+
/**
|
|
123
|
+
* Maps to SV1-11 on the 837-P and Box 24H on the CMS-1500.
|
|
124
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
125
|
+
*/
|
|
126
|
+
hasEpsdtIndicator?: boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500.
|
|
129
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
130
|
+
*/
|
|
131
|
+
hasFamilyPlanningIndicator?: boolean;
|
|
122
132
|
}
|
|
@@ -4,6 +4,16 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
export interface ServiceLineCreate {
|
|
6
6
|
modifiers?: CandidApi.ProcedureModifier[];
|
|
7
|
+
/**
|
|
8
|
+
* Maps to SV1-11 on the 837-P and Box 24H on the CMS-1500.
|
|
9
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
10
|
+
*/
|
|
11
|
+
hasEpsdtIndicator?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500.
|
|
14
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
15
|
+
*/
|
|
16
|
+
hasFamilyPlanningIndicator?: boolean;
|
|
7
17
|
procedureCode: string;
|
|
8
18
|
/**
|
|
9
19
|
* String representation of a Decimal that can be parsed by most libraries.
|
|
@@ -33,4 +33,14 @@ export interface ServiceLineCreateStandalone {
|
|
|
33
33
|
orderingProvider?: CandidApi.encounterProviders.v2.OrderingProvider;
|
|
34
34
|
/** Maps to MEA-02 on the 837-P. No more than 5 test results may be submitted per service line. */
|
|
35
35
|
testResults?: CandidApi.serviceLines.v2.TestResult[];
|
|
36
|
+
/**
|
|
37
|
+
* Maps to SV1-11 on the 837-P and Box 24H on the CMS-1500.
|
|
38
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
39
|
+
*/
|
|
40
|
+
hasEpsdtIndicator?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500.
|
|
43
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
44
|
+
*/
|
|
45
|
+
hasFamilyPlanningIndicator?: boolean;
|
|
36
46
|
}
|
|
@@ -33,4 +33,14 @@ export interface ServiceLineUpdate {
|
|
|
33
33
|
* results may be submitted per service line.
|
|
34
34
|
*/
|
|
35
35
|
testResults?: CandidApi.serviceLines.v2.TestResult[];
|
|
36
|
+
/**
|
|
37
|
+
* Maps to SV1-11 on the 837-P and Box 24H on the CMS-1500.
|
|
38
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
39
|
+
*/
|
|
40
|
+
hasEpsdtIndicator?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500.
|
|
43
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
44
|
+
*/
|
|
45
|
+
hasFamilyPlanningIndicator?: boolean;
|
|
36
46
|
}
|
|
@@ -66,7 +66,7 @@ class V3 {
|
|
|
66
66
|
Authorization: yield this._getAuthorizationHeader(),
|
|
67
67
|
"X-Fern-Language": "JavaScript",
|
|
68
68
|
"X-Fern-SDK-Name": "candidhealth",
|
|
69
|
-
"X-Fern-SDK-Version": "0.39.
|
|
69
|
+
"X-Fern-SDK-Version": "0.39.3",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -166,7 +166,7 @@ class V3 {
|
|
|
166
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "candidhealth",
|
|
169
|
-
"X-Fern-SDK-Version": "0.39.
|
|
169
|
+
"X-Fern-SDK-Version": "0.39.3",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -226,7 +226,7 @@ class V3 {
|
|
|
226
226
|
Authorization: yield this._getAuthorizationHeader(),
|
|
227
227
|
"X-Fern-Language": "JavaScript",
|
|
228
228
|
"X-Fern-SDK-Name": "candidhealth",
|
|
229
|
-
"X-Fern-SDK-Version": "0.39.
|
|
229
|
+
"X-Fern-SDK-Version": "0.39.3",
|
|
230
230
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
231
231
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
232
232
|
},
|
|
@@ -294,7 +294,7 @@ class V3 {
|
|
|
294
294
|
Authorization: yield this._getAuthorizationHeader(),
|
|
295
295
|
"X-Fern-Language": "JavaScript",
|
|
296
296
|
"X-Fern-SDK-Name": "candidhealth",
|
|
297
|
-
"X-Fern-SDK-Version": "0.39.
|
|
297
|
+
"X-Fern-SDK-Version": "0.39.3",
|
|
298
298
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
299
299
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
300
300
|
},
|
|
@@ -345,7 +345,7 @@ class V3 {
|
|
|
345
345
|
Authorization: yield this._getAuthorizationHeader(),
|
|
346
346
|
"X-Fern-Language": "JavaScript",
|
|
347
347
|
"X-Fern-SDK-Name": "candidhealth",
|
|
348
|
-
"X-Fern-SDK-Version": "0.39.
|
|
348
|
+
"X-Fern-SDK-Version": "0.39.3",
|
|
349
349
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
350
350
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
351
351
|
},
|
|
@@ -116,7 +116,7 @@ class V1 {
|
|
|
116
116
|
Authorization: yield this._getAuthorizationHeader(),
|
|
117
117
|
"X-Fern-Language": "JavaScript",
|
|
118
118
|
"X-Fern-SDK-Name": "candidhealth",
|
|
119
|
-
"X-Fern-SDK-Version": "0.39.
|
|
119
|
+
"X-Fern-SDK-Version": "0.39.3",
|
|
120
120
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
121
121
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
122
122
|
},
|
|
@@ -164,7 +164,7 @@ class V1 {
|
|
|
164
164
|
Authorization: yield this._getAuthorizationHeader(),
|
|
165
165
|
"X-Fern-Language": "JavaScript",
|
|
166
166
|
"X-Fern-SDK-Name": "candidhealth",
|
|
167
|
-
"X-Fern-SDK-Version": "0.39.
|
|
167
|
+
"X-Fern-SDK-Version": "0.39.3",
|
|
168
168
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
169
169
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
170
170
|
},
|
|
@@ -221,7 +221,7 @@ class V1 {
|
|
|
221
221
|
Authorization: yield this._getAuthorizationHeader(),
|
|
222
222
|
"X-Fern-Language": "JavaScript",
|
|
223
223
|
"X-Fern-SDK-Name": "candidhealth",
|
|
224
|
-
"X-Fern-SDK-Version": "0.39.
|
|
224
|
+
"X-Fern-SDK-Version": "0.39.3",
|
|
225
225
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
226
226
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
227
227
|
},
|
|
@@ -271,7 +271,7 @@ class V1 {
|
|
|
271
271
|
Authorization: yield this._getAuthorizationHeader(),
|
|
272
272
|
"X-Fern-Language": "JavaScript",
|
|
273
273
|
"X-Fern-SDK-Name": "candidhealth",
|
|
274
|
-
"X-Fern-SDK-Version": "0.39.
|
|
274
|
+
"X-Fern-SDK-Version": "0.39.3",
|
|
275
275
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
276
276
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
277
277
|
},
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const EpsdtReferralConditionIndicatorCode: core.serialization.Schema<serializers.EpsdtReferralConditionIndicatorCode.Raw, CandidApi.EpsdtReferralConditionIndicatorCode>;
|
|
8
|
+
export declare namespace EpsdtReferralConditionIndicatorCode {
|
|
9
|
+
type Raw = "AV" | "NU" | "S2" | "ST";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.EpsdtReferralConditionIndicatorCode = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.EpsdtReferralConditionIndicatorCode = core.serialization.enum_(["AV", "NU", "S2", "ST"]);
|
|
@@ -80,3 +80,4 @@ __exportStar(require("./Email"), exports);
|
|
|
80
80
|
__exportStar(require("./DelayReasonCode"), exports);
|
|
81
81
|
__exportStar(require("./IntendedSubmissionMedium"), exports);
|
|
82
82
|
__exportStar(require("./BillingProviderCommercialLicenseType"), exports);
|
|
83
|
+
__exportStar(require("./EpsdtReferralConditionIndicatorCode"), exports);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { EncounterExternalIdUniquenessErrorType } from "../types/EncounterExternalIdUniquenessErrorType";
|
|
8
|
+
import { EncounterPatientControlNumberUniquenessErrorType } from "../types/EncounterPatientControlNumberUniquenessErrorType";
|
|
9
|
+
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
10
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
11
|
+
import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
|
|
12
|
+
export declare const Error: core.serialization.Schema<serializers.encounters.v4.createFromPreEncounterPatientInternal.Error.Raw, CandidApi.encounters.v4.createFromPreEncounterPatientInternal.Error>;
|
|
13
|
+
export declare namespace Error {
|
|
14
|
+
type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.HttpRequestValidationError;
|
|
15
|
+
interface EncounterExternalIdUniquenessError {
|
|
16
|
+
errorName: "EncounterExternalIdUniquenessError";
|
|
17
|
+
content: EncounterExternalIdUniquenessErrorType.Raw;
|
|
18
|
+
}
|
|
19
|
+
interface EncounterPatientControlNumberUniquenessError {
|
|
20
|
+
errorName: "EncounterPatientControlNumberUniquenessError";
|
|
21
|
+
content: EncounterPatientControlNumberUniquenessErrorType.Raw;
|
|
22
|
+
}
|
|
23
|
+
interface EntityNotFoundError {
|
|
24
|
+
errorName: "EntityNotFoundError";
|
|
25
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
26
|
+
}
|
|
27
|
+
interface HttpRequestValidationsError {
|
|
28
|
+
errorName: "HttpRequestValidationsError";
|
|
29
|
+
content: RequestValidationError.Raw[];
|
|
30
|
+
}
|
|
31
|
+
interface SchemaInstanceValidationHttpFailure {
|
|
32
|
+
errorName: "SchemaInstanceValidationHttpFailure";
|
|
33
|
+
content: SchemaInstanceValidationFailure.Raw;
|
|
34
|
+
}
|
|
35
|
+
interface HttpRequestValidationError {
|
|
36
|
+
errorName: "HttpRequestValidationError";
|
|
37
|
+
content: RequestValidationError.Raw;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Error = void 0;
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../core"));
|
|
43
|
+
const EncounterExternalIdUniquenessErrorType_1 = require("../types/EncounterExternalIdUniquenessErrorType");
|
|
44
|
+
const EncounterPatientControlNumberUniquenessErrorType_1 = require("../types/EncounterPatientControlNumberUniquenessErrorType");
|
|
45
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
46
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
47
|
+
const SchemaInstanceValidationFailure_1 = require("../types/SchemaInstanceValidationFailure");
|
|
48
|
+
exports.Error = core.serialization
|
|
49
|
+
.union("errorName", {
|
|
50
|
+
EncounterExternalIdUniquenessError: core.serialization.object({
|
|
51
|
+
content: EncounterExternalIdUniquenessErrorType_1.EncounterExternalIdUniquenessErrorType,
|
|
52
|
+
}),
|
|
53
|
+
EncounterPatientControlNumberUniquenessError: core.serialization.object({
|
|
54
|
+
content: EncounterPatientControlNumberUniquenessErrorType_1.EncounterPatientControlNumberUniquenessErrorType,
|
|
55
|
+
}),
|
|
56
|
+
EntityNotFoundError: core.serialization.object({
|
|
57
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
58
|
+
}),
|
|
59
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
60
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
61
|
+
}),
|
|
62
|
+
SchemaInstanceValidationHttpFailure: core.serialization.object({
|
|
63
|
+
content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
|
|
64
|
+
}),
|
|
65
|
+
HttpRequestValidationError: core.serialization.object({
|
|
66
|
+
content: RequestValidationError_1.RequestValidationError,
|
|
67
|
+
}),
|
|
68
|
+
})
|
|
69
|
+
.transform({
|
|
70
|
+
transform: (value) => {
|
|
71
|
+
switch (value.errorName) {
|
|
72
|
+
case "EncounterExternalIdUniquenessError":
|
|
73
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientInternal.Error.encounterExternalIdUniquenessError(value.content);
|
|
74
|
+
case "EncounterPatientControlNumberUniquenessError":
|
|
75
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientInternal.Error.encounterPatientControlNumberUniquenessError(value.content);
|
|
76
|
+
case "EntityNotFoundError":
|
|
77
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientInternal.Error.entityNotFoundError(value.content);
|
|
78
|
+
case "HttpRequestValidationsError":
|
|
79
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientInternal.Error.httpRequestValidationsError(value.content);
|
|
80
|
+
case "SchemaInstanceValidationHttpFailure":
|
|
81
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientInternal.Error.schemaInstanceValidationHttpFailure(value.content);
|
|
82
|
+
case "HttpRequestValidationError":
|
|
83
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientInternal.Error.httpRequestValidationError(value.content);
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
untransform: (_a) => {
|
|
87
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
88
|
+
return value;
|
|
89
|
+
},
|
|
90
|
+
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * as create from "./create";
|
|
2
2
|
export * as createFromPreEncounterPatient from "./createFromPreEncounterPatient";
|
|
3
|
+
export * as createFromPreEncounterPatientInternal from "./createFromPreEncounterPatientInternal";
|
|
3
4
|
export * as update from "./update";
|
|
4
5
|
export * from "./requests";
|
|
@@ -26,8 +26,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.update = exports.createFromPreEncounterPatient = exports.create = void 0;
|
|
29
|
+
exports.update = exports.createFromPreEncounterPatientInternal = exports.createFromPreEncounterPatient = exports.create = void 0;
|
|
30
30
|
exports.create = __importStar(require("./create"));
|
|
31
31
|
exports.createFromPreEncounterPatient = __importStar(require("./createFromPreEncounterPatient"));
|
|
32
|
+
exports.createFromPreEncounterPatientInternal = __importStar(require("./createFromPreEncounterPatientInternal"));
|
|
32
33
|
exports.update = __importStar(require("./update"));
|
|
33
34
|
__exportStar(require("./requests"), exports);
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ import { GuarantorCreate } from "../../../../../guarantor/resources/v1/types/Gua
|
|
|
24
24
|
import { ExternalClaimSubmissionCreate } from "../../../../../claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate";
|
|
25
25
|
import { TagId } from "../../../../../tags/types/TagId";
|
|
26
26
|
import { SchemaInstance } from "../../../../../customSchemas/resources/v1/types/SchemaInstance";
|
|
27
|
+
import { EpsdtReferral } from "../../types/EpsdtReferral";
|
|
27
28
|
import { EncounterBase } from "../../types/EncounterBase";
|
|
28
29
|
export declare const EncounterCreate: core.serialization.Schema<serializers.encounters.v4.EncounterCreate.Raw, CandidApi.encounters.v4.EncounterCreate>;
|
|
29
30
|
export declare namespace EncounterCreate {
|
|
@@ -50,5 +51,6 @@ export declare namespace EncounterCreate {
|
|
|
50
51
|
tag_ids?: TagId.Raw[] | null;
|
|
51
52
|
schema_instances?: SchemaInstance.Raw[] | null;
|
|
52
53
|
referral_number?: string | null;
|
|
54
|
+
epsdt_referral?: EpsdtReferral.Raw | null;
|
|
53
55
|
}
|
|
54
56
|
}
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js
CHANGED
|
@@ -48,6 +48,7 @@ const GuarantorCreate_1 = require("../../../../../guarantor/resources/v1/types/G
|
|
|
48
48
|
const ExternalClaimSubmissionCreate_1 = require("../../../../../claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate");
|
|
49
49
|
const TagId_1 = require("../../../../../tags/types/TagId");
|
|
50
50
|
const SchemaInstance_1 = require("../../../../../customSchemas/resources/v1/types/SchemaInstance");
|
|
51
|
+
const EpsdtReferral_1 = require("../../types/EpsdtReferral");
|
|
51
52
|
const EncounterBase_1 = require("../../types/EncounterBase");
|
|
52
53
|
exports.EncounterCreate = core.serialization
|
|
53
54
|
.object({
|
|
@@ -73,5 +74,6 @@ exports.EncounterCreate = core.serialization
|
|
|
73
74
|
tagIds: core.serialization.property("tag_ids", core.serialization.list(TagId_1.TagId).optional()),
|
|
74
75
|
schemaInstances: core.serialization.property("schema_instances", core.serialization.list(SchemaInstance_1.SchemaInstance).optional()),
|
|
75
76
|
referralNumber: core.serialization.property("referral_number", core.serialization.string().optional()),
|
|
77
|
+
epsdtReferral: core.serialization.property("epsdt_referral", EpsdtReferral_1.EpsdtReferral.optional()),
|
|
76
78
|
})
|
|
77
79
|
.extend(EncounterBase_1.EncounterBase);
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EncounterUpdate = exports.
|
|
3
|
+
exports.EncounterUpdate = exports.EncounterCreate = void 0;
|
|
4
4
|
var EncounterCreate_1 = require("./EncounterCreate");
|
|
5
5
|
Object.defineProperty(exports, "EncounterCreate", { enumerable: true, get: function () { return EncounterCreate_1.EncounterCreate; } });
|
|
6
|
-
var EncounterCreateFromPreEncounter_1 = require("./EncounterCreateFromPreEncounter");
|
|
7
|
-
Object.defineProperty(exports, "EncounterCreateFromPreEncounter", { enumerable: true, get: function () { return EncounterCreateFromPreEncounter_1.EncounterCreateFromPreEncounter; } });
|
|
8
6
|
var EncounterUpdate_1 = require("./EncounterUpdate");
|
|
9
7
|
Object.defineProperty(exports, "EncounterUpdate", { enumerable: true, get: function () { return EncounterUpdate_1.EncounterUpdate; } });
|
|
@@ -26,6 +26,7 @@ import { WorkQueueId } from "../../../../commons/types/WorkQueueId";
|
|
|
26
26
|
import { EncounterOwnerOfNextActionType } from "./EncounterOwnerOfNextActionType";
|
|
27
27
|
import { EncounterSubmissionOriginType } from "./EncounterSubmissionOriginType";
|
|
28
28
|
import { SchemaInstance } from "../../../../customSchemas/resources/v1/types/SchemaInstance";
|
|
29
|
+
import { EpsdtReferral } from "./EpsdtReferral";
|
|
29
30
|
import { EncounterBase } from "./EncounterBase";
|
|
30
31
|
export declare const Encounter: core.serialization.ObjectSchema<serializers.encounters.v4.Encounter.Raw, CandidApi.encounters.v4.Encounter>;
|
|
31
32
|
export declare namespace Encounter {
|
|
@@ -61,6 +62,7 @@ export declare namespace Encounter {
|
|
|
61
62
|
submission_origin: EncounterSubmissionOriginType.Raw;
|
|
62
63
|
schema_instances: SchemaInstance.Raw[];
|
|
63
64
|
referral_number?: string | null;
|
|
65
|
+
epsdt_referral?: EpsdtReferral.Raw | null;
|
|
64
66
|
last_submitted_at?: string | null;
|
|
65
67
|
}
|
|
66
68
|
}
|
|
@@ -50,6 +50,7 @@ const WorkQueueId_1 = require("../../../../commons/types/WorkQueueId");
|
|
|
50
50
|
const EncounterOwnerOfNextActionType_1 = require("./EncounterOwnerOfNextActionType");
|
|
51
51
|
const EncounterSubmissionOriginType_1 = require("./EncounterSubmissionOriginType");
|
|
52
52
|
const SchemaInstance_1 = require("../../../../customSchemas/resources/v1/types/SchemaInstance");
|
|
53
|
+
const EpsdtReferral_1 = require("./EpsdtReferral");
|
|
53
54
|
const EncounterBase_1 = require("./EncounterBase");
|
|
54
55
|
exports.Encounter = core.serialization
|
|
55
56
|
.object({
|
|
@@ -84,6 +85,7 @@ exports.Encounter = core.serialization
|
|
|
84
85
|
submissionOrigin: core.serialization.property("submission_origin", EncounterSubmissionOriginType_1.EncounterSubmissionOriginType),
|
|
85
86
|
schemaInstances: core.serialization.property("schema_instances", core.serialization.list(SchemaInstance_1.SchemaInstance)),
|
|
86
87
|
referralNumber: core.serialization.property("referral_number", core.serialization.string().optional()),
|
|
88
|
+
epsdtReferral: core.serialization.property("epsdt_referral", EpsdtReferral_1.EpsdtReferral.optional()),
|
|
87
89
|
lastSubmittedAt: core.serialization.property("last_submitted_at", core.serialization.date().optional()),
|
|
88
90
|
})
|
|
89
91
|
.extend(EncounterBase_1.EncounterBase);
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { PreEncounterPatientId } from "../../../../commons/types/PreEncounterPatientId";
|
|
8
|
+
import { PreEncounterAppointmentId } from "../../../../commons/types/PreEncounterAppointmentId";
|
|
9
|
+
import { BillingProvider } from "../../../../encounterProviders/resources/v2/types/BillingProvider";
|
|
10
|
+
import { RenderingProvider } from "../../../../encounterProviders/resources/v2/types/RenderingProvider";
|
|
11
|
+
import { InitialReferringProvider } from "../../../../encounterProviders/resources/v2/types/InitialReferringProvider";
|
|
12
|
+
import { SupervisingProvider } from "../../../../encounterProviders/resources/v2/types/SupervisingProvider";
|
|
13
|
+
import { EncounterServiceFacilityBase } from "../../../../serviceFacility/types/EncounterServiceFacilityBase";
|
|
14
|
+
import { DiagnosisCreate } from "../../../../diagnoses/types/DiagnosisCreate";
|
|
15
|
+
import { ClinicalNoteCategoryCreate } from "./ClinicalNoteCategoryCreate";
|
|
16
|
+
import { BillingNoteBase } from "../../../../billingNotes/resources/v2/types/BillingNoteBase";
|
|
17
|
+
import { FacilityTypeCode } from "../../../../commons/types/FacilityTypeCode";
|
|
18
|
+
import { PatientHistoryCategory } from "./PatientHistoryCategory";
|
|
19
|
+
import { ServiceLineCreate } from "../../../../serviceLines/resources/v2/types/ServiceLineCreate";
|
|
20
|
+
import { ExternalClaimSubmissionCreate } from "../../../../claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate";
|
|
21
|
+
import { TagId } from "../../../../tags/types/TagId";
|
|
22
|
+
import { SchemaInstance } from "../../../../customSchemas/resources/v1/types/SchemaInstance";
|
|
23
|
+
import { EncounterBase } from "./EncounterBase";
|
|
24
|
+
export declare const EncounterCreateFromPreEncounter: core.serialization.ObjectSchema<serializers.encounters.v4.EncounterCreateFromPreEncounter.Raw, CandidApi.encounters.v4.EncounterCreateFromPreEncounter>;
|
|
25
|
+
export declare namespace EncounterCreateFromPreEncounter {
|
|
26
|
+
interface Raw extends EncounterBase.Raw {
|
|
27
|
+
pre_encounter_patient_id: PreEncounterPatientId.Raw;
|
|
28
|
+
pre_encounter_appointment_ids: PreEncounterAppointmentId.Raw[];
|
|
29
|
+
billing_provider: BillingProvider.Raw;
|
|
30
|
+
rendering_provider: RenderingProvider.Raw;
|
|
31
|
+
initial_referring_provider?: InitialReferringProvider.Raw | null;
|
|
32
|
+
supervising_provider?: SupervisingProvider.Raw | null;
|
|
33
|
+
service_facility?: EncounterServiceFacilityBase.Raw | null;
|
|
34
|
+
diagnoses: DiagnosisCreate.Raw[];
|
|
35
|
+
clinical_notes?: ClinicalNoteCategoryCreate.Raw[] | null;
|
|
36
|
+
billing_notes?: BillingNoteBase.Raw[] | null;
|
|
37
|
+
place_of_service_code: FacilityTypeCode.Raw;
|
|
38
|
+
patient_histories?: PatientHistoryCategory.Raw[] | null;
|
|
39
|
+
service_lines?: ServiceLineCreate.Raw[] | null;
|
|
40
|
+
external_claim_submission?: ExternalClaimSubmissionCreate.Raw | null;
|
|
41
|
+
tag_ids?: TagId.Raw[] | null;
|
|
42
|
+
schema_instances?: SchemaInstance.Raw[] | null;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -27,24 +27,24 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.EncounterCreateFromPreEncounter = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
const PreEncounterPatientId_1 = require("
|
|
32
|
-
const PreEncounterAppointmentId_1 = require("
|
|
33
|
-
const BillingProvider_1 = require("
|
|
34
|
-
const RenderingProvider_1 = require("
|
|
35
|
-
const InitialReferringProvider_1 = require("
|
|
36
|
-
const SupervisingProvider_1 = require("
|
|
37
|
-
const EncounterServiceFacilityBase_1 = require("
|
|
38
|
-
const DiagnosisCreate_1 = require("
|
|
39
|
-
const ClinicalNoteCategoryCreate_1 = require("
|
|
40
|
-
const BillingNoteBase_1 = require("
|
|
41
|
-
const FacilityTypeCode_1 = require("
|
|
42
|
-
const PatientHistoryCategory_1 = require("
|
|
43
|
-
const ServiceLineCreate_1 = require("
|
|
44
|
-
const ExternalClaimSubmissionCreate_1 = require("
|
|
45
|
-
const TagId_1 = require("
|
|
46
|
-
const SchemaInstance_1 = require("
|
|
47
|
-
const EncounterBase_1 = require("
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
const PreEncounterPatientId_1 = require("../../../../commons/types/PreEncounterPatientId");
|
|
32
|
+
const PreEncounterAppointmentId_1 = require("../../../../commons/types/PreEncounterAppointmentId");
|
|
33
|
+
const BillingProvider_1 = require("../../../../encounterProviders/resources/v2/types/BillingProvider");
|
|
34
|
+
const RenderingProvider_1 = require("../../../../encounterProviders/resources/v2/types/RenderingProvider");
|
|
35
|
+
const InitialReferringProvider_1 = require("../../../../encounterProviders/resources/v2/types/InitialReferringProvider");
|
|
36
|
+
const SupervisingProvider_1 = require("../../../../encounterProviders/resources/v2/types/SupervisingProvider");
|
|
37
|
+
const EncounterServiceFacilityBase_1 = require("../../../../serviceFacility/types/EncounterServiceFacilityBase");
|
|
38
|
+
const DiagnosisCreate_1 = require("../../../../diagnoses/types/DiagnosisCreate");
|
|
39
|
+
const ClinicalNoteCategoryCreate_1 = require("./ClinicalNoteCategoryCreate");
|
|
40
|
+
const BillingNoteBase_1 = require("../../../../billingNotes/resources/v2/types/BillingNoteBase");
|
|
41
|
+
const FacilityTypeCode_1 = require("../../../../commons/types/FacilityTypeCode");
|
|
42
|
+
const PatientHistoryCategory_1 = require("./PatientHistoryCategory");
|
|
43
|
+
const ServiceLineCreate_1 = require("../../../../serviceLines/resources/v2/types/ServiceLineCreate");
|
|
44
|
+
const ExternalClaimSubmissionCreate_1 = require("../../../../claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate");
|
|
45
|
+
const TagId_1 = require("../../../../tags/types/TagId");
|
|
46
|
+
const SchemaInstance_1 = require("../../../../customSchemas/resources/v1/types/SchemaInstance");
|
|
47
|
+
const EncounterBase_1 = require("./EncounterBase");
|
|
48
48
|
exports.EncounterCreateFromPreEncounter = core.serialization
|
|
49
49
|
.object({
|
|
50
50
|
preEncounterPatientId: core.serialization.property("pre_encounter_patient_id", PreEncounterPatientId_1.PreEncounterPatientId),
|
|
@@ -27,6 +27,7 @@ import { BillingProviderUpdate } from "../../../../encounterProviders/resources/
|
|
|
27
27
|
import { SupervisingProviderUpdate } from "../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdate";
|
|
28
28
|
import { ReferringProviderUpdate } from "../../../../encounterProviders/resources/v2/types/ReferringProviderUpdate";
|
|
29
29
|
import { InitialReferringProviderUpdate } from "../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdate";
|
|
30
|
+
import { EpsdtReferral } from "./EpsdtReferral";
|
|
30
31
|
export declare const EncounterOptional: core.serialization.ObjectSchema<serializers.encounters.v4.EncounterOptional.Raw, CandidApi.encounters.v4.EncounterOptional>;
|
|
31
32
|
export declare namespace EncounterOptional {
|
|
32
33
|
interface Raw {
|
|
@@ -66,5 +67,6 @@ export declare namespace EncounterOptional {
|
|
|
66
67
|
referring_provider?: ReferringProviderUpdate.Raw | null;
|
|
67
68
|
initial_referring_provider?: InitialReferringProviderUpdate.Raw | null;
|
|
68
69
|
referral_number?: string | null;
|
|
70
|
+
epsdt_referral?: EpsdtReferral.Raw | null;
|
|
69
71
|
}
|
|
70
72
|
}
|
|
@@ -51,6 +51,7 @@ const BillingProviderUpdate_1 = require("../../../../encounterProviders/resource
|
|
|
51
51
|
const SupervisingProviderUpdate_1 = require("../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdate");
|
|
52
52
|
const ReferringProviderUpdate_1 = require("../../../../encounterProviders/resources/v2/types/ReferringProviderUpdate");
|
|
53
53
|
const InitialReferringProviderUpdate_1 = require("../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdate");
|
|
54
|
+
const EpsdtReferral_1 = require("./EpsdtReferral");
|
|
54
55
|
exports.EncounterOptional = core.serialization.object({
|
|
55
56
|
benefitsAssignedToProvider: core.serialization.property("benefits_assigned_to_provider", core.serialization.boolean().optional()),
|
|
56
57
|
priorAuthorizationNumber: core.serialization.property("prior_authorization_number", PriorAuthorizationNumber_1.PriorAuthorizationNumber.optional()),
|
|
@@ -88,4 +89,5 @@ exports.EncounterOptional = core.serialization.object({
|
|
|
88
89
|
referringProvider: core.serialization.property("referring_provider", ReferringProviderUpdate_1.ReferringProviderUpdate.optional()),
|
|
89
90
|
initialReferringProvider: core.serialization.property("initial_referring_provider", InitialReferringProviderUpdate_1.InitialReferringProviderUpdate.optional()),
|
|
90
91
|
referralNumber: core.serialization.property("referral_number", core.serialization.string().optional()),
|
|
92
|
+
epsdtReferral: core.serialization.property("epsdt_referral", EpsdtReferral_1.EpsdtReferral.optional()),
|
|
91
93
|
});
|