Skip to content

Commit

Permalink
2 minor fixes to zend patient validation module - (openemr#232)
Browse files Browse the repository at this point in the history
1. adding patientvalidation to array in application.config.php
2. change the view in the new patient to short form
  • Loading branch information
matrix-amiel authored and bradymiller committed Sep 9, 2016
1 parent 3c611dc commit 0a8a8cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array( 'modules' => array( '0' => 'Application', '1' => 'Installer', '2' => 'Acl', '3' => 'Carecoordination', '4' => 'Ccr', '5' => 'Documents', '6' => 'Immunization', '7' => 'Syndromicsurveillance', ), 'module_listener_options' => array( 'config_glob_paths' => array( '0' => 'config/autoload/{,*.}{global,local}.php', ), 'module_paths' => array( '0' => './module', '1' => './vendor', ), ),);
<?php return array( 'modules' => array( '0' => 'Application', '1' => 'Installer', '2' => 'Acl', '3' => 'Carecoordination', '4' => 'Ccr', '5' => 'Documents', '6' => 'Immunization', '7' => 'Syndromicsurveillance', '8'=> 'Patientvalidation', ), 'module_listener_options' => array( 'config_glob_paths' => array( '0' => 'config/autoload/{,*.}{global,local}.php', ), 'module_paths' => array( '0' => './module', '1' => './vendor', ), ),);
4 changes: 2 additions & 2 deletions interface/new/new_comprehensive.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
$searchcolor = empty($GLOBALS['layout_search_color']) ?
'#ffff55' : $GLOBALS['layout_search_color'];

$WITH_SEARCH = ($GLOBALS['full_new_patient_form'] == '1' || $GLOBALS['full_new_patient_form'] == '2' || $GLOBALS['full_new_patient_form'] == '4');
$SHORT_FORM = ($GLOBALS['full_new_patient_form'] == '2' || $GLOBALS['full_new_patient_form'] == '3' );
$WITH_SEARCH = ($GLOBALS['full_new_patient_form'] == '1' || $GLOBALS['full_new_patient_form'] == '2' );
$SHORT_FORM = ($GLOBALS['full_new_patient_form'] == '2' || $GLOBALS['full_new_patient_form'] == '3' || $GLOBALS['full_new_patient_form'] == '4');

function getLayoutRes() {
global $SHORT_FORM;
Expand Down

0 comments on commit 0a8a8cf

Please sign in to comment.