How to create fillable forms (requisitions)

In other EMRs I can upload background images/PDFs and put fillable elements over them like this

They’re used for requisitions, order forms… anything you can think of. In Canada each lab / health service has their own form you’re required to fill to refer the patient so EMRs here have ability to make these fillable eForms. They are just HTML with background image in the back and html inputs/textareas etc. placed on top, with ability to use javascript. Fields can be prefilled with database tags in the input, ex:
<input type="text" name="patient_name" emrDB=patient_name />

The key part is we can autofill any information from the database like example above which fills patient’s name. The ‘database tags’ are defined in an xml file which contains the DB queries.

The table stores the input name for each submitted field and loads that back into the html form when you reopen it after saving.

You can drag and drop fields on to the form or code the forms manually. They’re just html pages referencing image files. However in some other systems these are xml based and don’t have the customization of javascript…

The form can be saved in the patient’s chart, re-opened later, downloaded as PDF, and even faxed with a click.

How to make fillable forms like this in OpenEMR?

1 Like

Hello @emr_IT
OpenEMR has similar functionalities in its ‘document templates’ features.

If you do search the wiki for them, do not use the 4.x templates- they’re obsolete

OpenEMR does have a portal document template feature and they are also used for EMR document templates such as you describe. Both are discussed here:
https://www.open-emr.org/wiki/index.php/Patient_Portal_Document_Templates

This expands on some of the stuff mentioned in the previous doc.
https://www.open-emr.org/wiki/index.php/HOWTO:_Create_Custom_Document_Template_Categories

You might be able to adapt the questionnaire feature to meet some needs, or maybe not:
https://www.open-emr.org/wiki/index.php/OpenEMR_Questionnaire_-_Introduction

Hope that is some kind of helpful?

Best- Harley

Thanks… reviewing this…