furher shorts improvements
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 5.1.4 on 2025-04-07 08:49
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('shorts', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='question',
|
||||
name='marking_guidance',
|
||||
field=models.TextField(blank=True, help_text='Marking guidance for the question. This is not shown to the candidate but is used by the marker to help them mark the question.', null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='question',
|
||||
name='history',
|
||||
field=models.TextField(blank=True, help_text='Single line history for the question, e.g. Age 14, male. Referral from ED. History: Painful wrist after falling off skateboard.', null=True),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,29 @@
|
||||
# Generated by Django 5.1.4 on 2025-04-07 09:50
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('atlas', '0067_case_cimar_uuid'),
|
||||
('shorts', '0002_question_marking_guidance_alter_question_history'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='QuestionFinding',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('description', models.TextField(blank=True, help_text='Findings on the question', null=True)),
|
||||
('annotation_json', models.TextField(blank=True, null=True)),
|
||||
('viewport_json', models.TextField(blank=True, null=True)),
|
||||
('current_image_id_index', models.TextField(blank=True, null=True)),
|
||||
('conditions', models.ManyToManyField(blank=True, to='atlas.condition')),
|
||||
('findings', models.ManyToManyField(blank=True, to='atlas.finding')),
|
||||
('question', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='findings', to='shorts.question')),
|
||||
('structures', models.ManyToManyField(blank=True, to='atlas.structure')),
|
||||
],
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,17 @@
|
||||
# Generated by Django 5.1.4 on 2025-04-07 10:10
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('shorts', '0003_questionfinding'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='questionimage',
|
||||
name='image_annotations',
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user