<& Elements/Header, Title => $Title &> % if($assessment || $advanced){ <& Elements/Observation, %ARGS &> % } else { <& Elements/ObservationSimple, %ARGS &> % } <%init> my $Title = loc('New Observation'); $Title .= ' -- '.$assessment if($assessment); <%ARGS> $advanced => undef $assessment => undef