django_dicom.models.managers.values package¶
Module contents¶
Custom managers for specific
DataElementValue
subclasses.
Submodules¶
django_dicom.models.managers.values.sequence_of_items module¶
Definition of the SequenceOfItemsManager
class.
-
class
django_dicom.models.managers.values.sequence_of_items.
SequenceOfItemsManager
¶ Bases:
django_dicom.models.managers.data_element_value.DataElementValueManager
Custom manager for the
SequenceOfItems
model.-
from_dicom_parser
(data_element: dicom_parser.data_element.DataElement) → tuple¶ Create a sequence of items by reading the included headers and populating the database accordingly.
Parameters: data_element (DicomDataElement) – Sequence of items data element Returns: The data element and whether is was created or not Return type: Tuple[DataElementValue, bool]
-