@@ -163,3 +163,14 @@ if(!function_exists('renderNoteExamTemplates')) {
}
+
+if(!function_exists('getVal')) {
+ function getVal($object, $prop)
+ {
+ if (isset($object->$prop)) {
+ return $object->$prop;
+ } else {
+ return '';
+ }
+}
@@ -8,13 +8,6 @@
<?php $infoLines = !$infoLines ? [] : $infoLines; ?>
<?php
- function getVal($object, $prop){
- if(isset($object->$prop)){
- return $object->$prop;
- }else{
- return '';
- }
$vitalMap = [
'heightInches' => 'Ht. (in.)',