xray/orthanc/migrations/0001_initial.py

28 lines
1023 B
Python
Raw Normal View History

2025-01-28 21:43:26 +10:00
# Generated by Django 5.1.5 on 2025-01-26 03:23
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Patient',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('orthanc_id', models.CharField(max_length=255, unique=True)),
('patient_id', models.CharField(blank=True, max_length=255, null=True)),
('patient_name', models.CharField(blank=True, max_length=255, null=True)),
('patient_sex', models.CharField(blank=True, max_length=10, null=True)),
('patient_birth_date', models.CharField(blank=True, max_length=20, null=True)),
('studies', models.JSONField(blank=True, null=True)),
('patient_metadata', models.JSONField(blank=True, null=True)),
],
),
]