<!-- BEGIN [% component.name %] -->
    [%-
        results = all_results.item(section_name); # INCLUDE dumper.tt dump = results;
	
    	test_results = [ ]; # reset array
        p53_data = {}; # for composite p21/p53 result
        
		FOREACH t IN results.test; # PROCESS dumper.tt dump = t; 
		  NEXT UNLESS t.value.result;
		  IF t.value.result.match('\d'); # add % sign:
			t.value.result = t.value.result _ '%';
          END;
          
          # composite p21/p53 result:
          IF section_name.lower.match('immunohistochemistry');
            IF t.value.test_name == 'p21';
              p53_data.p21 = t.value.result; NEXT; # don't add p21 result to test_results
            ELSIF t.value.test_name == 'p53';
              p53_data.p53 = t.value.result; NEXT; # don't add p53 result to test_results
            END;
          END;
          
		  result = t.key.html _ '<span class="superscript">' _ t.value.result.html
            _ '</span>';
		  test_results.push(result);
		END;
        
        IF p53_data.size; # PROCESS dumper.tt dump = p53_data;
            p53_result = 'p53' _ '<span class="superscript">'
                _ composite_p53(p53_data) _ '</span>';
            test_results.push(p53_result);
        END;

    	IF test_results.size; '['; test_results.join(' '); ']'; END;
    -%]
<!-- END [% component.name %] -->
