*/
public static String displayComplexValue(Obs obs) {
String hyperlink = getViewHyperlink(obs);
// check if concept is complex and uses ImageHandler. If so, display image
ConceptComplex complex = Context.getConceptService().getConceptComplex(obs.getConcept().getId());
if (complex != null) {
try {
if (ImageHandler.class.isAssignableFrom(Class.forName(AbstractHandler.class.getPackage().getName() + "."
+ complex.getHandler()))) {
String imgTag = "<img src='" + hyperlink + "' class=\"complexImage\" />";
return "<a href=\"" + hyperlink + "\">" + imgTag + "</a><br/><a href=\"" + getDownloadHyperlink(obs)
+ "\">" + Context.getMessageSourceService().getMessage("htmlformentry.form.complex.download")
+ "</a>";
}