Commit 02a923be authored by Vincent Michel's avatar Vincent Michel
Browse files

[clinipath] Add Biopsy on startup page and display AnatomicalReport

parent 66953e9f51f7
......@@ -120,7 +120,7 @@ class AnatomicPathologyReportView(EntityView):
w(u'<div class="panel-heading">')
w(u'<h4 class="panel-title">')
w(u'<a data-toggle="collapse" data-parent="#biopsy-reports" href="#report-%s">%s</a>'
% (entity.eid, entity.formatted_title))
% (entity.eid, entity.dc_title()))
w(u'<div id="report-%s" class="panel-collapse collapse in">' % entity.eid)
......@@ -84,7 +84,7 @@ class BrainomicsIndexView(IndexView):
def get_clinical_data_etypes(self):
measures = set([(r.type, None, None) for r in self._cw.vreg.schema.rschema('concerns').subjects()])
return chain(((etype, None, None) for etype in ('Study', 'Subject', 'Therapy',
'Diagnostic', 'DrugTake')), measures)
'Diagnostic', 'DrugTake', 'Biopsy')), measures)
def get_thesaurus_data_etypes(self):
return ((etype, None, None) for etype in ('Disease', 'BodyLocation', 'MedicalTechnique', 'Drug'))
......@@ -263,4 +263,4 @@ class BiopsySampleTableView(EntityTableView):
__select__ = EntityTableView.__select__ & is_instance('BiopsySample')
__regid__ = 'biopsysample-table-view'
layout_id = 'table_layout'
columns = ['size', 'name', 'code', 'tumoral_cell_percent', 'necrosis_percent']
columns = ['size', 'tumoral_cell_percent', 'necrosis_percent']
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment