Overview

django_dicom is a reusable Django application built to maintain a database of DICOM data. It was created to support the pylabber project, but does not depend on it.

DICOM header information is represented using Model subclasses that represent the various entities it may contain (see the DICOM standard specification and this blog post for more information) and provides utility methods to import data and easily maintain the DICOM entities and their relationship.

django_dicom models diagram

The fundamental entities (colored in blue) will be created automatically whenever data is imported to the database by reading the required header information using dicom_parser.

The import mode configuration will determine which data elements will be serialized to the database under that Header.