Skip to content

Commit

Permalink
Show metadata in report details
Browse files Browse the repository at this point in the history
  • Loading branch information
medihack committed Apr 15, 2024
1 parent 38ce56b commit 7045b10
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 12 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,31 @@

## About

RADIS (Radiology Report Archive and Discovery System) is an application to archive, query and collect radiology reports.
RADIS (Radiology Report Archive and Discovery System) is a web application to archive, query and collect radiology reports.

## Features

- Store radiology reports in structured way and allow to retrieve them
- Full text search using different algorithms (BM25, vector hybrid search)
- Search and filter reports using Retrieval Augmented Generation (RAG)
- Add user specific notes to reports
- Add reports to creatable collections
- Directly open the PACS viewer with the corresponding study

## Upcoming features

- Search using Retrieval Augmented Generation (RAG)
- Subscriptions to get informed by Email when newly added reports match some specific criteria
- Export collected reports and allow the corresponding studies to be transferred by using [ADIT](https://github.com/openradx/adit)
- Automatically categorize all reports by using an LLM
- Export collected reports and allow the corresponding studies to be transferred by using [ADIT](https://github.com/openradx/adit)

## API Client

[RADIS Client](https://github.com/openradx/radis-client) is a Python library to search for reports on RADIS in a programmatic way. It also allows admins to feed new reports to RADIS.

## Screenshots

Upcoming ...

## Architectural overview

RADIS is built using the Django web framework, and data is stored in a [PostgreSQL](https://www.postgresql.org/) database. Uploaded radiology reports are additionally stored and indexed for full text search in a [Vespa](https://vespa.ai/) vector database. The design of RADIS is very modular so that other text search databases can easily be integrated.
Expand Down
4 changes: 0 additions & 4 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,12 @@

## High Priority

- Move statics vendors back to main projects
- Check if for RAG ranking should be turned off for performance improvements (and using some fixed sort order)
- Some present provider.max_results to the user somehow, especially important if the query results (step 1) is larger
- task control panel
- Limit RAG search result choice (stop when there x positive results)
- Limit RAG search by maximum number of reports that gets processed
- Show metadata in report details
- Upgrade Github actions workflows (also ADIT)
- Allow to set filters when using search
- from:2024-01-01 until:2024-02-01 modality:ct description:"CT\*"
- Improve TokenFactory (+ ADIT)
- <https://docs.vespa.ai/en/operations/docker-containers.html#mounting-persistent-volumes>
- Change maxHits and maxOffset for farer pagination
Expand Down
4 changes: 0 additions & 4 deletions radis/reports/static/reports/reports.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.definition-table {
width: auto;
}

.definition-table th {
padding-right: 32px;
}
15 changes: 14 additions & 1 deletion radis/reports/templates/reports/report_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<h4 class="mb-3">Report Details</h4>
{% endblock heading %}
{% block content %}
<table class="table table-sm table-borderless definition-table mb-2">
<table class="table table-sm table-borderless w-auto mb-2 definition-table">
<tbody>
<tr>
<th>Document ID</th>
Expand Down Expand Up @@ -31,6 +31,19 @@ <h4 class="mb-3">Report Details</h4>
</tr>
</tbody>
</table>
{% if report.metadata.exists %}
<table class="table table-sm table-borderless w-auto mb-2 definition-table">
<caption>Metadata</caption>
<tbody>
{% for data in report.metadata.all %}
<tr>
<th class="pe-3">{{ data.key }}</th>
<td>{{ data.value }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
<div class="mb-3 mx-1">{% include "reports/_report_buttons_panel.html" with hide_view_button=True %}</div>
<div class="card">
<div class="card-body">
Expand Down

0 comments on commit 7045b10

Please sign in to comment.