Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Introduction

NOTE: this functionality has not yet been completed.  See details here:

https://tickets.openmrs.org/browse/HTML-314

HTML form entry module is basically used for creating custom forms that can be filled up by the data clerks, A variety of information can be captured by custom HTML forms. Few, of these can be like patient age, weight etc. Until now, there was restriction to the myriad varieties of data that could be captured by HTML forms. The, restriction was inability of creating custom forms that could captures patient data such as Images, document reports etc. The present improvement of HTML form entry module overcomes this restriction and allows creation of custom HTML forms that can do so.

Documentation / How-To

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.

...

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.

...

A detailed video can be found here:  YouTube

Screenshots

1. A collage displaying the above steps

2. Using the HTML form entry module with file upload feature

Using the form to select a file to be uploaded. 
Image Modified

The file being displayed on saving the form

 

Editing the submitted HTML form. The user has three choices regarding the uploaded file: 1. Retain it  2. Upload a new file  3. Delete the file

 

The HTML form after deleting the file.

 

About

This enhancement of the HTML form entry module was developed by ~jibesh Jibesh Patra under the guidance of  ~sunbiz Saptarshi Purkayastha & ~mogoodrich Mark Goodrich for Google Summer Of Code 2012