import type * as Vital from "../index.js"; export interface ClientFacingOrder { /** User id returned by vital create user request. This id should be stored in your database against the user and used for all interactions with the vital api. */ userId: string; /** The Vital Order ID */ id: string; /** Your team id. */ teamId: string; /** Patient Details */ patientDetails?: Vital.ClientFacingPatientDetailsCompatible; /** Patient Address */ patientAddress?: Vital.PatientAddressCompatible; /** The Vital Test associated with the order */ labTest: Vital.ClientFacingLabTest; details: Vital.ClientFacingOrderDetails; /** Sample ID */ sampleId?: string; /** Notes associated with the order */ notes?: string; /** When your order was created */ createdAt: Date; /** When your order was last updated. */ updatedAt: Date; events: Vital.ClientFacingOrderEvent[]; status?: Vital.OrderTopLevelStatus; physician?: Vital.ClientFacingPhysician; /** Vital ID of the health insurance. */ healthInsuranceId?: string; /** DEPRECATED. Requistion form url. */ requisitionFormUrl?: string; /** Defines whether order is priority or not. For some labs, this refers to a STAT order. */ priority?: boolean; /** Shipping Details. For unregistered testkit orders. */ shippingDetails?: Vital.ShippingAddress; /** Schedule an Order to be processed in a future date. */ activateBy?: string; passthrough?: string; billingType?: Vital.Billing; icdCodes?: string[]; /** Defines whether the order has an Advanced Beneficiary Notice (ABN) form or not. */ hasAbn: boolean; /** Interpretation of the order result. Can be one of (normal, abnormal, critical). */ interpretation?: Vital.Interpretation; /** Defines whether the order result has missing biomarkers. */ hasMissingResults?: boolean; /** The common-case date by which the order result is expected to be available. */ expectedResultByDate?: string; /** The latest date by which the order result is expected to be available. */ worstCaseResultByDate?: string; }