add a field to store dicom tags for the ohif viewer
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 4.1.4 on 2023-08-14 08:00
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('atlas', '0010_series_description'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='seriesimage',
|
||||||
|
name='dicom_tags_ohif',
|
||||||
|
field=models.JSONField(blank=True, help_text='Holds the dicom tags required for the OHIF viewer', null=True),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -185,6 +185,7 @@ class SeriesImageBase(models.Model):
|
|||||||
series = models.ForeignKey(
|
series = models.ForeignKey(
|
||||||
"Series", related_name="images", on_delete=models.SET_NULL, null=True
|
"Series", related_name="images", on_delete=models.SET_NULL, null=True
|
||||||
)
|
)
|
||||||
|
dicom_tags_ohif = models.JSONField(help_text="Holds the dicom tags required for the OHIF viewer", blank=True, null=True)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
ordering = ["position"]
|
ordering = ["position"]
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 4.1.4 on 2023-08-14 08:00
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('longs', '0005_longseries_description'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='longseriesimage',
|
||||||
|
name='dicom_tags_ohif',
|
||||||
|
field=models.JSONField(blank=True, help_text='Holds the dicom tags required for the OHIF viewer', null=True),
|
||||||
|
),
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user