Justify weight_loss_clinic?

michael_barnett wrote on Wednesday, July 19, 2006:

ok I am putting the justification on the fee sheet and moving both to the summary screen.

But when reading the code i ran across this
diagnosis.php around line 95

<?php if (!$GLOBALS[‘weight_loss_clinic’]) { ?>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=“submit” name=“justify” value=“Justify”>
<?php } ?>

whats the global weight_loss_clinic??? and why is this check needed.

i do find it humorus to think there is no justifying weight_loss but was wondering if it was ok to remove the check and just have the justify button show up no matter what.

markleeds wrote on Wednesday, July 19, 2006:

If you open a cash only weight loss clinic, you don’t want your front desk staff confused by a button that has no use.

sunsetsystems wrote on Thursday, July 20, 2006:

Like Mark says.  You’ll find several options like this in interface/globals.php.  OpenEMR is used in a variety of settings, and it’s important to avoid breaking any of them.

Rod
www.sunsetsystems.com