export interface Medicine {
    id: string;
    userId: string;
    name: string;
    type: string; // Tablet | Capsule | Syrup | Drops | Oint | Powder | Injection | Surg. Items
    dose: string;
    dose_frequency: string;
    meal_time: string;
    qty: string;
    used: number;
    isDeleted: boolean;
    patient_type: string;
    createdAt: string;
    updatedAt: string;
}

export interface Symptom {
    id: string;
    userId: string;
    drLang: string;
    ptLang: string;
    createdAt: string;
    updatedAt: string;
}

export interface DoseFrequency {
    id: string;
    userId: string;
    drLang: string;
    ptLang: string;
    createdAt: string;
    updatedAt: string;
}

export interface Instruction {
    id: string;
    userId: string;
    symptomName: string;
    shouldDo: string;
    shouldNotDo: string;
    extra: string;
    createdAt: string;
    updatedAt: string;
}

export interface Diagnosis {
    id: string;
    userId: string;
    diagnosisDrLang: string;
    diagnosisPtLang: string;
    createdAt: string;
    updatedAt: string;
}

export interface Investigation {
    id: string;
    userId: string;
    investigationDrLang: string;
    investigationPtLang: string;
    createdAt: string;
    updatedAt: string;
}

export interface UserPreferences {
    id: string;
    userId: string;
    page_size: string;
    page_height_mm: number;
    page_width_mm: number;
    page_header_size_mm: number;
    page_footer_size_mm: number;
    font_size: number;
    page_horizontal_spacing: number;
    prescription_language: string;
    is_signature_required: boolean;
    page_left_side_spacing: number;
    page_right_side_spacing: number;
    printed_letterhead: boolean;
    is_doctor_info_required: boolean;
    createdAt: string;
    updatedAt: string;
}

export interface MasterData {
    medicines: Medicine[];
    symptoms: Symptom[];
    instructions: Instruction[];
    dose_frequencies: DoseFrequency[];
    diagnoses: Diagnosis[];
    investigations: Investigation[];
    user_preferences: UserPreferences;
}