diff --git a/adit/batch_query/admin.py b/adit/batch_query/admin.py index 487dfd2d..d829735e 100644 --- a/adit/batch_query/admin.py +++ b/adit/batch_query/admin.py @@ -2,10 +2,27 @@ from adit.core.admin import DicomJobAdmin, DicomTaskAdmin -from .models import BatchQueryJob, BatchQuerySettings, BatchQueryTask +from .models import BatchQueryJob, BatchQueryResult, BatchQuerySettings, BatchQueryTask + + +class BatchQueryResultAdmin(admin.ModelAdmin): + list_display = ( + "id", + "job_id", + "query_id", + "patient_id", + "study_date", + "modalities", + "study_description", + "series_description", + "pseudonym", + ) + admin.site.register(BatchQueryJob, DicomJobAdmin) +admin.site.register(BatchQueryResult, BatchQueryResultAdmin) + admin.site.register(BatchQueryTask, DicomTaskAdmin) admin.site.register(BatchQuerySettings, admin.ModelAdmin)