28 lines
1023 B
Python
28 lines
1023 B
Python
|
|
# 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)),
|
||
|
|
],
|
||
|
|
),
|
||
|
|
]
|