import type * as CandidApi from "../../../index"; /** * If enabled for your organization, defines how a patient prepayment allocation should be earmarked for future auto-allocation. * Earmarks hold the allocation until a matching encounter is created, then attempt to allocate to that encounter. * Only applicable for unattributed allocations. */ export type AllocationEarmarkType = /** * Earmark for auto-allocation to an encounter with this specific date of service */ CandidApi.AllocationEarmarkType.DateOfService /** * Earmark for auto-allocation to an encounter with this specific external ID (more specific than date of service) */ | CandidApi.AllocationEarmarkType.ExternalEncounterId; export declare namespace AllocationEarmarkType { interface DateOfService { type: "date_of_service"; value: CandidApi.Date_; } interface ExternalEncounterId { type: "external_encounter_id"; value: CandidApi.EncounterExternalId; } }