This article has been written to give new users a detailed overview of the File Upload in MediRecords.
MediRecords support documents such as pdf, jpg, png, jpeg, tiff, Docx, doc, txt, Xls, xlsm, XML, CSV, Mkv, mp4, MPEG, WMV, Avi, MOV formats, and the maximum file size is 20MB with a maximum attachment of 20 per record.
File Upload Component
This component comprised the upload functionality only. This will be used in cases where the file upload feature will be integrated with an existing modal, for example, consent.
This consists of the ‘Select Files’ button that will allow the user to select files to be uploaded. The user also has the option to drag and drop files to this component.
The info icon beside the ‘Select Files’ button provides information to the user on the valid file types, maximum file size, and the maximum attachments you can add to a record.
The component can also have different validation messages in place to give the user more specific information when files have failed to upload.
- File successfully uploaded.
- File failed to upload. File type invalid.
The file failed to Upload. Maximum combined file size exceeded.
The file failed to upload. A maximum number of attachments was reached.
The file failed to upload, File name already exists.
The file failed to upload. The filename is too long.
The file failed to upload. (for generic errors)