import type * as Vital from "../../../../index.js"; /** * @example * { * idempotencyKey: "X-Idempotency-Key", * idempotencyError: "no-cache", * userId: "user_id", * patientDetails: { * firstName: "first_name", * lastName: "last_name", * dob: "dob", * gender: "female", * phoneNumber: "phone_number", * email: "email" * }, * patientAddress: { * firstLine: "first_line", * city: "city", * state: "state", * zip: "zip", * country: "country" * } * } */ export interface CreateOrderRequestCompatible { idempotencyKey?: string; idempotencyError?: "no-cache"; userId: string; labTestId?: string; orderSet?: Vital.OrderSetRequest; collectionMethod?: Vital.LabTestCollectionMethod; physician?: Vital.PhysicianCreateRequest; healthInsurance?: Vital.HealthInsuranceCreateRequest; /** Defines whether order is priority or not. For some labs, this refers to a STAT order. */ priority?: boolean; billingType?: Vital.Billing; icdCodes?: string[]; consents?: Vital.Consent[]; /** Schedule an Order to be processed in a future date. */ activateBy?: string; aoeAnswers?: Vital.AoEAnswer[]; passthrough?: string; labAccountId?: string; creatorMemberId?: string; patientDetails: Vital.PatientDetailsWithValidation; patientAddress: Vital.PatientAddressWithValidation; }