Coverage for crateweb/consent/migrations/0007_auto_20170228_1052.py: 100%
5 statements
« prev ^ index » next coverage.py v7.8.0, created at 2025-08-27 10:34 -0500
« prev ^ index » next coverage.py v7.8.0, created at 2025-08-27 10:34 -0500
1"""
2crate_anon/crateweb/consent/migrations/0007_auto_20170228_1052.py
4===============================================================================
6 Copyright (C) 2015, University of Cambridge, Department of Psychiatry.
7 Created by Rudolf Cardinal (rnc1001@cam.ac.uk).
9 This file is part of CRATE.
11 CRATE is free software: you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation, either version 3 of the License, or
14 (at your option) any later version.
16 CRATE is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with CRATE. If not, see <https://www.gnu.org/licenses/>.
24===============================================================================
26**Consent app, migration 0007.**
28"""
30# Generated by Django 1.10.5 on 2017-02-28 10:52
31from __future__ import unicode_literals
33from django.db import migrations, models
36class Migration(migrations.Migration):
38 dependencies = [
39 ("consent", "0006_auto_20170206_1617"),
40 ]
42 operations = [
43 migrations.AddField(
44 model_name="consentmode",
45 name="source",
46 field=models.CharField(
47 default="crate_user_entry",
48 max_length=20,
49 verbose_name="Source database used for lookup, or "
50 "crate_user_entry/crate_auto_created",
51 ),
52 ),
53 migrations.AlterField(
54 model_name="patientlookup",
55 name="source_db",
56 field=models.CharField(
57 choices=[
58 ("dummy_clinical", "Dummy clinical database for testing"),
59 ("cpft_crs", "CPFT Care Records System (CRS) 2005-2012"),
60 (
61 "cpft_rio_rcep",
62 "CPFT RiO 2013- (preprocessed by Servelec RCEP tool)",
63 ),
64 ("cpft_rio_crate", "CPFT RiO 2013- (raw)"),
65 ],
66 max_length=20,
67 verbose_name="Source database used for lookup",
68 ),
69 ),
70 ]