{** * general document view * * @package OpenEMR * @link http://www.open-emr.org * @author Brady Miller * @author Jerry Padgett * @copyright Copyright (c) 2017-2018 Brady Miller * @copyright Copyright (c) 2019-2020 Jerry Padgett * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3 *}

{if !empty($error)}{$error|text|nl2br}{/if}

{if (!($patient_id > 0)) }
{xlt t="IMPORTANT: This upload tool is only for uploading documents on patients that are not yet entered into the system. To upload files for patients whom already have been entered into the system, please use the upload tool linked within the Patient Summary screen."}

{/if}
{xlt 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."}

{xlt t="Upload Document"} {if $category_name} {xlt t="to category"} '{$category_name|text}'{/if}

({xlt t="Multiple files can be uploaded at one time by selecting them using CTRL+Click or SHIFT+Click."})

{xlt t="Source File Path"}:

({xlt t="Select below to Zip Directory of image slices."})

{xlt t="Optional Destination or Dicom Study Name"}:

{if !$hide_encryption}

{xlt t="Is The File Encrypted?"}:

{xlt t="Pass Phrase"}:

{xlt t='Supports AES-256-CBC encryption/decryption only.'}

{/if}



{xlt t='Drop files here to upload'}

{xlt t="Download document template for this patient and visit"}

{xlt t="Patient Document Template Forms"}

{if !empty($file)}

{xlt t='Uploaded'}
{foreach from=$file item=file}
{if $error}{$error|text|nl2br}
{/if} {xlt t='Name'}: {$file->get_name()|text}

{/foreach} {/if}