...
It is assumed that the user has already downloaded & installed HTML form entry module containing the enhancement of file upload/download feature. More details can be found here.
The whole walk-through has been divided into two parts. While Part 1 deals with the basic steps of creating a HTML form with a file Uploader Part 2 deals on how to use it.
Part 1
For demonstration purposes the first 5 steps creates a new concept of type Complex. If the user already has got a concept with Datatype Complex and also knows the Id of the concept, can skip to step 6.
...
<tr> <td>Date:</td> <td><encounterDate default="today"/></td> </tr>
( Do not forget to fill the concept Id field with appropriate concept Id having datatype Complex )
<tr>
...
Now this file Uploader can be used to upload files through the HTML form.
Part 2
1. Go to patient dashboard and click on the HTML form created.
2. Fill ou required details and select an Image if ImageHandler was selected during creation (step 4 of Part 1) of the Concept else if TextHandler was selected, any file type can be selected except Images.
3. Click on Enter form
4. From patient dashboard click on Visits
5. The filled out details along with uploaded files can be viewed by clicking on the relevant entry of 'View' column.
6. The saved form can also be Edited if the User wishes so.
7. The Editable options regarding the Uploaded file are :
1) The file can be retained as it is
2) A new file can be uploaded in its place
3) The file can be deleted
Screenshots
1. A collage displaying the above steps
...