Adding a PHP Form


(HSNR) #1

Hello,

I code a PHP Form for wounds (ragged-,dirty-,soft).
Now i want to upload it on OpenEmr.
But i am not sure where.

I want to open it as a pop-up so you can fill the textareas.
First i wanted to edit the Blank Forms but as you click on one of the exsisting blank forms you can only print it.
Secondly i saw the issues and edit wounds as an issue.
So what do i have to edit, that i am able to open my php form as a pop-up?

Thank You

Greetings
Students from Germany


(ViSolve) #2

Hello @HSNR01,

In OpenEMR, an form can be added by two ways:
1.Create a directory under interface->forms, and copy the code into this folder.This folder has some default structure,
1.new.php - Will be used when adding new forms.
2.view.php - For viewing already saved forms.
3.save.php - saving the form.
4.report.php - Printing the form to PDF,etc.
5.table.sql - Form related tables,etc
6.info.txt. - The file describes the report name,etc.
2. In OpenEMR itself, there are some form creation tools which you find more info here: http://www.open-emr.org/wiki/index.php/OpenEMR_Form_Creation_Tools

Hope this helps.

Thanks,
ViSolve


Diary
(HSNR) #3

Thancks for your help.