{if !empty($file)} {/if}
{xl t="NOTE: Uploading files with duplicate names will cause the files to be automatically renamed (for example, file.jpg will become file.1.jpg). Filenames are considered unique per patient, not per category."}
{xl t="Upload Document"} {if $category_name} {xl t="to category"} '{$category_name}'{/if}


{xl t='Upload Report'}
{$error}
{xl t='ID'}: {$file->get_id()}
{xl t='Patient'}: {$file->get_foreign_id()}
{xl t='URL'}: {$file->get_url()}
{xl t='Size'}: {$file->get_size()}
{xl t='Date'}: {$file->get_date()}
{xl t='MimeType'}: {$file->get_mimetype()}
{xl t='Revision'}: {$file->revision}