Project

General

Profile

Download (43.3 KB) Statistics
| Branch: | Tag: | Revision:

calebasse / calebasse / dossiers / migrations / 0012_auto__add_field_patientrecord_pause_comment.py @ feffc421

1
# -*- coding: utf-8 -*-
2
import datetime
3
from south.db import db
4
from south.v2 import SchemaMigration
5
from django.db import models
6

    
7

    
8
class Migration(SchemaMigration):
9

    
10
    def forwards(self, orm):
11
        # Adding field 'PatientRecord.pause_comment'
12
        db.add_column(u'dossiers_patientrecord', 'pause_comment',
13
                      self.gf('django.db.models.fields.TextField')(default=None, null=True, blank=True),
14
                      keep_default=False)
15

    
16

    
17
    def backwards(self, orm):
18
        # Deleting field 'PatientRecord.pause_comment'
19
        db.delete_column(u'dossiers_patientrecord', 'pause_comment')
20

    
21

    
22
    models = {
23
        u'auth.group': {
24
            'Meta': {'object_name': 'Group'},
25
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
26
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
27
            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
28
        },
29
        u'auth.permission': {
30
            'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
31
            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
32
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
33
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
34
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
35
        },
36
        u'auth.user': {
37
            'Meta': {'object_name': 'User'},
38
            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
39
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
40
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
41
            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
42
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
43
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
44
            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
45
            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
46
            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
47
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
48
            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
49
            'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
50
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
51
        },
52
        u'contenttypes.contenttype': {
53
            'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
54
            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
55
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
56
            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
57
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
58
        },
59
        'dossiers.cmpphealthcarediagnostic': {
60
            'Meta': {'object_name': 'CmppHealthCareDiagnostic', '_ormbases': ['dossiers.HealthCare']},
61
            'act_number': ('django.db.models.fields.IntegerField', [], {'default': '6'}),
62
            'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
63
            u'healthcare_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dossiers.HealthCare']", 'unique': 'True', 'primary_key': 'True'})
64
        },
65
        'dossiers.cmpphealthcaretreatment': {
66
            'Meta': {'object_name': 'CmppHealthCareTreatment', '_ormbases': ['dossiers.HealthCare']},
67
            'act_number': ('django.db.models.fields.IntegerField', [], {'default': '30'}),
68
            'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
69
            u'healthcare_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dossiers.HealthCare']", 'unique': 'True', 'primary_key': 'True'}),
70
            'prolongation': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
71
            'prolongation_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'})
72
        },
73
        'dossiers.filestate': {
74
            'Meta': {'object_name': 'FileState'},
75
            'author': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}),
76
            'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
77
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
78
            'date_selected': ('django.db.models.fields.DateTimeField', [], {}),
79
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
80
            'patient': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dossiers.PatientRecord']"}),
81
            'previous_state': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dossiers.FileState']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
82
            'status': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dossiers.Status']"})
83
        },
84
        'dossiers.healthcare': {
85
            'Meta': {'object_name': 'HealthCare'},
86
            'agree_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
87
            'author': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'blank': 'True'}),
88
            'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
89
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
90
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
91
            'insist_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
92
            'patient': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dossiers.PatientRecord']"}),
93
            'request_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
94
            'start_date': ('django.db.models.fields.DateField', [], {})
95
        },
96
        u'dossiers.patientaddress': {
97
            'Meta': {'object_name': 'PatientAddress'},
98
            'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
99
            'city': ('django.db.models.fields.CharField', [], {'max_length': '60', 'null': 'True', 'blank': 'True'}),
100
            'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
101
            'display_name': ('django.db.models.fields.CharField', [], {'max_length': '276'}),
102
            'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
103
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
104
            'number': ('django.db.models.fields.CharField', [], {'max_length': '12', 'null': 'True', 'blank': 'True'}),
105
            'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
106
            'place_of_life': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
107
            'street': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
108
            'zip_code': ('calebasse.models.ZipCodeField', [], {'max_length': '5', 'null': 'True', 'blank': 'True'})
109
        },
110
        u'dossiers.patientcontact': {
111
            'Meta': {'ordering': "['last_name', 'first_name']", 'object_name': 'PatientContact', '_ormbases': [u'personnes.People']},
112
            'addresses': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dossiers.PatientAddress']", 'symmetrical': 'False'}),
113
            'ame': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
114
            'begin_rights': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
115
            'birthdate': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
116
            'birthplace': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
117
            'contact_comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
118
            'end_rights': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
119
            'health_center': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.HealthCenter']", 'null': 'True', 'blank': 'True'}),
120
            'job': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'job'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.Job']"}),
121
            'management_code': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.ManagementCode']", 'null': 'True', 'blank': 'True'}),
122
            'mobile': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
123
            'old_contact_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
124
            'other_health_center': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}),
125
            'parente': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.PatientRelatedLink']", 'null': 'True', 'blank': 'True'}),
126
            u'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
127
            'social_security_id': ('django.db.models.fields.CharField', [], {'max_length': '13', 'null': 'True', 'blank': 'True'}),
128
            'thirdparty_payer': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
129
            'twinning_rank': ('django.db.models.fields.IntegerField', [], {'default': '1'}),
130
            'type_of_contract': ('django.db.models.fields.CharField', [], {'max_length': '2', 'null': 'True', 'blank': 'True'})
131
        },
132
        u'dossiers.patientrecord': {
133
            'Meta': {'object_name': 'PatientRecord', '_ormbases': [u'dossiers.PatientContact']},
134
            'advicegiver': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.AdviceGiver']", 'null': 'True', 'blank': 'True'}),
135
            'analysemotive': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.AnalyseMotive']", 'null': 'True', 'blank': 'True'}),
136
            'apgar_score_one': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
137
            'apgar_score_two': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
138
            'chest_perimeter': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '5', 'decimal_places': '2', 'blank': 'True'}),
139
            'child_custody': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.ParentalCustodyType']", 'null': 'True', 'blank': 'True'}),
140
            'comment': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
141
            'confidential': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
142
            'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'contact_of'", 'symmetrical': 'False', 'to': u"orm['dossiers.PatientContact']"}),
143
            'coordinators': ('django.db.models.fields.related.ManyToManyField', [], {'default': 'None', 'to': u"orm['personnes.Worker']", 'null': 'True', 'symmetrical': 'False', 'blank': 'True'}),
144
            'cranium_perimeter': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '5', 'decimal_places': '2', 'blank': 'True'}),
145
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
146
            'creator': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}),
147
            'externaldoctor': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['personnes.ExternalTherapist']", 'null': 'True', 'blank': 'True'}),
148
            'externalintervener': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['personnes.ExternalWorker']", 'null': 'True', 'blank': 'True'}),
149
            'family_comment': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
150
            'family_situation': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.FamilySituationType']", 'null': 'True', 'blank': 'True'}),
151
            'familymotive': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.FamilyMotive']", 'null': 'True', 'blank': 'True'}),
152
            'job_father': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'job_father'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.Job']"}),
153
            'job_mother': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'job_mother'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.Job']"}),
154
            'last_state': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['dossiers.FileState']"}),
155
            'mdph_requests': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mdph_requests_of'", 'symmetrical': 'False', 'to': u"orm['ressources.MDPHRequest']"}),
156
            'mdph_responses': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mdph_responses_of'", 'symmetrical': 'False', 'to': u"orm['ressources.MDPHResponse']"}),
157
            'mises_1': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mises1'", 'default': 'None', 'to': u"orm['ressources.CodeCFTMEA']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
158
            'mises_2': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mises2'", 'default': 'None', 'to': u"orm['ressources.CodeCFTMEA']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
159
            'mises_3': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mises3'", 'default': 'None', 'to': u"orm['ressources.CodeCFTMEA']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
160
            'nationality': ('django.db.models.fields.CharField', [], {'max_length': '70', 'null': 'True', 'blank': 'True'}),
161
            'nb_children_family': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
162
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
163
            'old_old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
164
            'outmotive': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.OutMotive']", 'null': 'True', 'blank': 'True'}),
165
            'outto': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.OutTo']", 'null': 'True', 'blank': 'True'}),
166
            'paper_id': ('django.db.models.fields.CharField', [], {'max_length': '6', 'null': 'True', 'blank': 'True'}),
167
            'parental_authority': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.ParentalAuthorityType']", 'null': 'True', 'blank': 'True'}),
168
            u'patientcontact_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dossiers.PatientContact']", 'unique': 'True', 'primary_key': 'True'}),
169
            'pause': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
170
            'pause_comment': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
171
            'policyholder': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['dossiers.PatientContact']"}),
172
            'pregnancy_term': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
173
            'provenance': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.Provenance']", 'null': 'True', 'blank': 'True'}),
174
            'rm_father': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'rm_father'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.MaritalStatusType']"}),
175
            'rm_mother': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'rm_mother'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.MaritalStatusType']"}),
176
            'service': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.Service']", 'null': 'True', 'blank': 'True'}),
177
            'sibship_place': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
178
            'size': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '5', 'decimal_places': '1', 'blank': 'True'}),
179
            'socialisation_durations': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'socialisation_duration_of'", 'symmetrical': 'False', 'to': u"orm['ressources.SocialisationDuration']"}),
180
            'transportcompany': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.TransportCompany']", 'null': 'True', 'blank': 'True'}),
181
            'transporttype': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.TransportType']", 'null': 'True', 'blank': 'True'}),
182
            'weight': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'})
183
        },
184
        'dossiers.sessadhealthcarenotification': {
185
            'Meta': {'object_name': 'SessadHealthCareNotification', '_ormbases': ['dossiers.HealthCare']},
186
            'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
187
            u'healthcare_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dossiers.HealthCare']", 'unique': 'True', 'primary_key': 'True'})
188
        },
189
        'dossiers.status': {
190
            'Meta': {'object_name': 'Status'},
191
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
192
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
193
            'services': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['ressources.Service']", 'symmetrical': 'False'}),
194
            'type': ('django.db.models.fields.CharField', [], {'max_length': '80'})
195
        },
196
        u'dossiers.transportprescriptionlog': {
197
            'Meta': {'object_name': 'TransportPrescriptionLog'},
198
            'choices': ('django.db.models.fields.CharField', [], {'max_length': '4096', 'null': 'True', 'blank': 'True'}),
199
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
200
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
201
            'patient': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dossiers.PatientRecord']"})
202
        },
203
        u'personnes.externaltherapist': {
204
            'Meta': {'ordering': "['last_name', 'first_name']", 'object_name': 'ExternalTherapist', '_ormbases': [u'personnes.People']},
205
            'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
206
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
207
            'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
208
            'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
209
            'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
210
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
211
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
212
            u'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
213
            'phone_work': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
214
            'type': ('django.db.models.fields.related.ForeignKey', [], {'default': '18', 'to': u"orm['ressources.WorkerType']"}),
215
            'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
216
        },
217
        u'personnes.externalworker': {
218
            'Meta': {'ordering': "['last_name', 'first_name']", 'object_name': 'ExternalWorker', '_ormbases': [u'personnes.People']},
219
            'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
220
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
221
            'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
222
            'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
223
            'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
224
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
225
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
226
            u'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
227
            'phone_work': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
228
            'type': ('django.db.models.fields.related.ForeignKey', [], {'default': '18', 'to': u"orm['ressources.WorkerType']"}),
229
            'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
230
        },
231
        u'personnes.people': {
232
            'Meta': {'ordering': "['last_name', 'first_name']", 'object_name': 'People'},
233
            'display_name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}),
234
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
235
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
236
            'gender': ('django.db.models.fields.IntegerField', [], {'max_length': '1', 'null': 'True', 'blank': 'True'}),
237
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
238
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}),
239
            'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'})
240
        },
241
        u'personnes.worker': {
242
            'Meta': {'ordering': "['last_name', 'first_name']", 'object_name': 'Worker', '_ormbases': [u'personnes.People']},
243
            'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
244
            'initials': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '5', 'blank': 'True'}),
245
            'old_camsp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
246
            'old_cmpp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
247
            'old_sessad_dys_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
248
            'old_sessad_ted_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
249
            u'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
250
            'services': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['ressources.Service']", 'null': 'True', 'blank': 'True'}),
251
            'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.WorkerType']"})
252
        },
253
        u'ressources.advicegiver': {
254
            'Meta': {'object_name': 'AdviceGiver'},
255
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
256
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
257
        },
258
        u'ressources.analysemotive': {
259
            'Meta': {'object_name': 'AnalyseMotive'},
260
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
261
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
262
        },
263
        u'ressources.codecftmea': {
264
            'Meta': {'ordering': "['ordering_code']", 'object_name': 'CodeCFTMEA'},
265
            'axe': ('django.db.models.fields.IntegerField', [], {'max_length': '1'}),
266
            'code': ('django.db.models.fields.IntegerField', [], {}),
267
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
268
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
269
            'ordering_code': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'})
270
        },
271
        u'ressources.familymotive': {
272
            'Meta': {'object_name': 'FamilyMotive'},
273
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
274
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
275
        },
276
        u'ressources.familysituationtype': {
277
            'Meta': {'object_name': 'FamilySituationType'},
278
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
279
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
280
        },
281
        u'ressources.healthcenter': {
282
            'Meta': {'object_name': 'HealthCenter'},
283
            'abbreviation': ('django.db.models.fields.CharField', [], {'default': 'True', 'max_length': '8', 'null': 'True'}),
284
            'accounting_number': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
285
            'active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
286
            'address': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
287
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
288
            'city': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
289
            'code': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}),
290
            'computer_center_code': ('django.db.models.fields.CharField', [], {'default': 'True', 'max_length': '8', 'null': 'True'}),
291
            'correspondant': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
292
            'dest_organism': ('django.db.models.fields.CharField', [], {'max_length': '8'}),
293
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
294
            'fax': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
295
            'hc_invoice': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.HealthCenter']", 'null': 'True', 'blank': 'True'}),
296
            'health_fund': ('django.db.models.fields.CharField', [], {'max_length': '3'}),
297
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
298
            'large_regime': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.LargeRegime']"}),
299
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
300
            'phone': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
301
            'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '8'})
302
        },
303
        u'ressources.job': {
304
            'Meta': {'object_name': 'Job'},
305
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
306
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
307
        },
308
        u'ressources.largeregime': {
309
            'Meta': {'object_name': 'LargeRegime'},
310
            'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}),
311
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
312
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
313
        },
314
        u'ressources.managementcode': {
315
            'Meta': {'object_name': 'ManagementCode'},
316
            'code': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
317
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
318
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
319
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'})
320
        },
321
        u'ressources.maritalstatustype': {
322
            'Meta': {'object_name': 'MaritalStatusType'},
323
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
324
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
325
        },
326
        u'ressources.mdph': {
327
            'Meta': {'object_name': 'MDPH'},
328
            'address': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}),
329
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
330
            'city': ('django.db.models.fields.CharField', [], {'max_length': '80', 'null': 'True', 'blank': 'True'}),
331
            'department': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
332
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
333
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
334
            'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
335
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
336
            'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
337
            'website': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
338
            'zip_code': ('calebasse.models.ZipCodeField', [], {'max_length': '5', 'null': 'True', 'blank': 'True'})
339
        },
340
        u'ressources.mdphrequest': {
341
            'Meta': {'object_name': 'MDPHRequest'},
342
            'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
343
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
344
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
345
            'mdph': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.MDPH']"}),
346
            'start_date': ('django.db.models.fields.DateField', [], {})
347
        },
348
        u'ressources.mdphresponse': {
349
            'Meta': {'object_name': 'MDPHResponse'},
350
            'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
351
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
352
            'end_date': ('django.db.models.fields.DateField', [], {}),
353
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
354
            'mdph': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.MDPH']"}),
355
            'name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
356
            'rate': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}),
357
            'start_date': ('django.db.models.fields.DateField', [], {}),
358
            'type_aide': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'})
359
        },
360
        u'ressources.outmotive': {
361
            'Meta': {'object_name': 'OutMotive'},
362
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
363
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
364
        },
365
        u'ressources.outto': {
366
            'Meta': {'object_name': 'OutTo'},
367
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
368
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
369
        },
370
        u'ressources.parentalauthoritytype': {
371
            'Meta': {'object_name': 'ParentalAuthorityType'},
372
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
373
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
374
        },
375
        u'ressources.parentalcustodytype': {
376
            'Meta': {'object_name': 'ParentalCustodyType'},
377
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
378
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
379
        },
380
        u'ressources.patientrelatedlink': {
381
            'Meta': {'object_name': 'PatientRelatedLink'},
382
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
383
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
384
            'old_camsp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
385
            'old_cmpp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
386
            'old_sessad_dys_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
387
            'old_sessad_ted_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'})
388
        },
389
        u'ressources.provenance': {
390
            'Meta': {'object_name': 'Provenance'},
391
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
392
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
393
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
394
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'})
395
        },
396
        u'ressources.school': {
397
            'Meta': {'object_name': 'School'},
398
            'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
399
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
400
            'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
401
            'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
402
            'director_name': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '70', 'null': 'True', 'blank': 'True'}),
403
            'email': ('django.db.models.fields.EmailField', [], {'default': 'None', 'max_length': '75', 'null': 'True', 'blank': 'True'}),
404
            'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
405
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
406
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
407
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
408
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
409
            'phone': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
410
            'school_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.SchoolType']"}),
411
            'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
412
        },
413
        u'ressources.schoollevel': {
414
            'Meta': {'object_name': 'SchoolLevel'},
415
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
416
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
417
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
418
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'})
419
        },
420
        u'ressources.schooltype': {
421
            'Meta': {'object_name': 'SchoolType'},
422
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
423
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
424
            'services': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['ressources.Service']", 'symmetrical': 'False'})
425
        },
426
        u'ressources.service': {
427
            'Meta': {'object_name': 'Service'},
428
            'description': ('django.db.models.fields.TextField', [], {}),
429
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
430
            'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20'}),
431
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
432
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
433
            'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20'}),
434
            'slug': ('django.db.models.fields.SlugField', [], {'max_length': '50'})
435
        },
436
        u'ressources.socialisationduration': {
437
            'Meta': {'object_name': 'SocialisationDuration'},
438
            'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
439
            'contact': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '200', 'null': 'True', 'blank': 'True'}),
440
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
441
            'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
442
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
443
            'level': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.SchoolLevel']", 'null': 'True', 'blank': 'True'}),
444
            'redoublement': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
445
            'school': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.School']", 'null': 'True', 'blank': 'True'}),
446
            'start_date': ('django.db.models.fields.DateField', [], {})
447
        },
448
        u'ressources.transportcompany': {
449
            'Meta': {'object_name': 'TransportCompany'},
450
            'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
451
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
452
            'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
453
            'correspondant': ('django.db.models.fields.CharField', [], {'max_length': '80', 'null': 'True', 'blank': 'True'}),
454
            'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
455
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
456
            'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
457
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
458
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
459
            'old_camsp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
460
            'old_cmpp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
461
            'old_sessad_dys_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
462
            'old_sessad_ted_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
463
            'phone': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
464
            'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
465
        },
466
        u'ressources.transporttype': {
467
            'Meta': {'object_name': 'TransportType'},
468
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
469
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
470
        },
471
        u'ressources.workertype': {
472
            'Meta': {'object_name': 'WorkerType'},
473
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
474
            'intervene': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
475
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
476
        }
477
    }
478

    
479
    complete_apps = ['dossiers']
(12-12/18)