Added support for fields in LBF visit forms for document templates.

Conflicts:

	interface/patient_file/download_template.php