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
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
|
});
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { EpsdtReferralConditionIndicatorCode } from "../../../../commons/types/EpsdtReferralConditionIndicatorCode";
|
|
8
|
+
export declare const EpsdtReferral: core.serialization.ObjectSchema<serializers.encounters.v4.EpsdtReferral.Raw, CandidApi.encounters.v4.EpsdtReferral>;
|
|
9
|
+
export declare namespace EpsdtReferral {
|
|
10
|
+
interface Raw {
|
|
11
|
+
condition_indicator1: EpsdtReferralConditionIndicatorCode.Raw;
|
|
12
|
+
condition_indicator2?: EpsdtReferralConditionIndicatorCode.Raw | null;
|
|
13
|
+
condition_indicator3?: EpsdtReferralConditionIndicatorCode.Raw | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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.EpsdtReferral = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
const EpsdtReferralConditionIndicatorCode_1 = require("../../../../commons/types/EpsdtReferralConditionIndicatorCode");
|
|
32
|
+
exports.EpsdtReferral = core.serialization.object({
|
|
33
|
+
conditionIndicator1: core.serialization.property("condition_indicator1", EpsdtReferralConditionIndicatorCode_1.EpsdtReferralConditionIndicatorCode),
|
|
34
|
+
conditionIndicator2: core.serialization.property("condition_indicator2", EpsdtReferralConditionIndicatorCode_1.EpsdtReferralConditionIndicatorCode.optional()),
|
|
35
|
+
conditionIndicator3: core.serialization.property("condition_indicator3", EpsdtReferralConditionIndicatorCode_1.EpsdtReferralConditionIndicatorCode.optional()),
|
|
36
|
+
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./EncounterCreateFromPreEncounter";
|
|
1
2
|
export * from "./EncounterBase";
|
|
2
3
|
export * from "./EncounterOptional";
|
|
3
4
|
export * from "./Encounter";
|
|
@@ -24,6 +25,7 @@ export * from "./EncounterOwnerOfNextActionType";
|
|
|
24
25
|
export * from "./EncounterSubmissionOriginType";
|
|
25
26
|
export * from "./SynchronicityType";
|
|
26
27
|
export * from "./CodingAttributionType";
|
|
28
|
+
export * from "./EpsdtReferral";
|
|
27
29
|
export * from "./EncounterPage";
|
|
28
30
|
export * from "./PriorAuthorizationNumber";
|
|
29
31
|
export * from "./RxCui";
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./EncounterCreateFromPreEncounter"), exports);
|
|
17
18
|
__exportStar(require("./EncounterBase"), exports);
|
|
18
19
|
__exportStar(require("./EncounterOptional"), exports);
|
|
19
20
|
__exportStar(require("./Encounter"), exports);
|
|
@@ -40,6 +41,7 @@ __exportStar(require("./EncounterOwnerOfNextActionType"), exports);
|
|
|
40
41
|
__exportStar(require("./EncounterSubmissionOriginType"), exports);
|
|
41
42
|
__exportStar(require("./SynchronicityType"), exports);
|
|
42
43
|
__exportStar(require("./CodingAttributionType"), exports);
|
|
44
|
+
__exportStar(require("./EpsdtReferral"), exports);
|
|
43
45
|
__exportStar(require("./EncounterPage"), exports);
|
|
44
46
|
__exportStar(require("./PriorAuthorizationNumber"), exports);
|
|
45
47
|
__exportStar(require("./RxCui"), exports);
|
|
@@ -78,4 +78,6 @@ exports.ServiceLine = core.serialization.object({
|
|
|
78
78
|
dateOfService: core.serialization.property("date_of_service", core.serialization.string()),
|
|
79
79
|
endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
|
|
80
80
|
testResults: core.serialization.property("test_results", core.serialization.list(TestResult_1.TestResult).optional()),
|
|
81
|
+
hasEpsdtIndicator: core.serialization.property("has_epsdt_indicator", core.serialization.boolean().optional()),
|
|
82
|
+
hasFamilyPlanningIndicator: core.serialization.property("has_family_planning_indicator", core.serialization.boolean().optional()),
|
|
81
83
|
});
|
|
@@ -15,6 +15,8 @@ export declare const ServiceLineCreate: core.serialization.ObjectSchema<serializ
|
|
|
15
15
|
export declare namespace ServiceLineCreate {
|
|
16
16
|
interface Raw {
|
|
17
17
|
modifiers?: ProcedureModifier.Raw[] | null;
|
|
18
|
+
has_epsdt_indicator?: boolean | null;
|
|
19
|
+
has_family_planning_indicator?: boolean | null;
|
|
18
20
|
procedure_code: string;
|
|
19
21
|
quantity: Decimal.Raw;
|
|
20
22
|
units: ServiceLineUnits.Raw;
|
|
@@ -37,6 +37,8 @@ const OrderingProvider_1 = require("../../../../encounterProviders/resources/v2/
|
|
|
37
37
|
const TestResult_1 = require("./TestResult");
|
|
38
38
|
exports.ServiceLineCreate = core.serialization.object({
|
|
39
39
|
modifiers: core.serialization.list(ProcedureModifier_1.ProcedureModifier).optional(),
|
|
40
|
+
hasEpsdtIndicator: core.serialization.property("has_epsdt_indicator", core.serialization.boolean().optional()),
|
|
41
|
+
hasFamilyPlanningIndicator: core.serialization.property("has_family_planning_indicator", core.serialization.boolean().optional()),
|
|
40
42
|
procedureCode: core.serialization.property("procedure_code", core.serialization.string()),
|
|
41
43
|
quantity: Decimal_1.Decimal,
|
|
42
44
|
units: ServiceLineUnits_1.ServiceLineUnits,
|
|
@@ -35,5 +35,7 @@ export declare namespace ServiceLineCreateStandalone {
|
|
|
35
35
|
drug_identification?: DrugIdentification.Raw | null;
|
|
36
36
|
ordering_provider?: OrderingProvider.Raw | null;
|
|
37
37
|
test_results?: TestResult.Raw[] | null;
|
|
38
|
+
has_epsdt_indicator?: boolean | null;
|
|
39
|
+
has_family_planning_indicator?: boolean | null;
|
|
38
40
|
}
|
|
39
41
|
}
|
package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js
CHANGED
|
@@ -57,4 +57,6 @@ exports.ServiceLineCreateStandalone = core.serialization.object({
|
|
|
57
57
|
drugIdentification: core.serialization.property("drug_identification", DrugIdentification_1.DrugIdentification.optional()),
|
|
58
58
|
orderingProvider: core.serialization.property("ordering_provider", OrderingProvider_1.OrderingProvider.optional()),
|
|
59
59
|
testResults: core.serialization.property("test_results", core.serialization.list(TestResult_1.TestResult).optional()),
|
|
60
|
+
hasEpsdtIndicator: core.serialization.property("has_epsdt_indicator", core.serialization.boolean().optional()),
|
|
61
|
+
hasFamilyPlanningIndicator: core.serialization.property("has_family_planning_indicator", core.serialization.boolean().optional()),
|
|
60
62
|
});
|
|
@@ -32,5 +32,7 @@ export declare namespace ServiceLineUpdate {
|
|
|
32
32
|
date_of_service?: string | null;
|
|
33
33
|
end_date_of_service?: string | null;
|
|
34
34
|
test_results?: TestResult.Raw[] | null;
|
|
35
|
+
has_epsdt_indicator?: boolean | null;
|
|
36
|
+
has_family_planning_indicator?: boolean | null;
|
|
35
37
|
}
|
|
36
38
|
}
|
|
@@ -54,4 +54,6 @@ exports.ServiceLineUpdate = core.serialization.object({
|
|
|
54
54
|
dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
|
|
55
55
|
endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
|
|
56
56
|
testResults: core.serialization.property("test_results", core.serialization.list(TestResult_1.TestResult).optional()),
|
|
57
|
+
hasEpsdtIndicator: core.serialization.property("has_epsdt_indicator", core.serialization.boolean().optional()),
|
|
58
|
+
hasFamilyPlanningIndicator: core.serialization.property("has_family_planning_indicator", core.serialization.boolean().optional()),
|
|
57
59
|
});
|