Project

General

Profile

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

calebasse / calebasse / dossiers / migrations / 0013_auto__add_field_patientrecord_deficiency_intellectual__add_field_patie.py @ b42e7736

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.deficiency_intellectual'
12
        db.add_column(u'dossiers_patientrecord', 'deficiency_intellectual',
13
                      self.gf('django.db.models.fields.IntegerField')(default=0, max_length=1),
14
                      keep_default=False)
15

    
16
        # Adding field 'PatientRecord.deficiency_autism_and_other_ted'
17
        db.add_column(u'dossiers_patientrecord', 'deficiency_autism_and_other_ted',
18
                      self.gf('django.db.models.fields.IntegerField')(default=0, max_length=1),
19
                      keep_default=False)
20

    
21
        # Adding field 'PatientRecord.deficiency_mental_disorder'
22
        db.add_column(u'dossiers_patientrecord', 'deficiency_mental_disorder',
23
                      self.gf('django.db.models.fields.IntegerField')(default=0, max_length=1),
24
                      keep_default=False)
25

    
26
        # Adding field 'PatientRecord.deficiency_learning_disorder'
27
        db.add_column(u'dossiers_patientrecord', 'deficiency_learning_disorder',
28
                      self.gf('django.db.models.fields.IntegerField')(default=0, max_length=1),
29
                      keep_default=False)
30

    
31
        # Adding field 'PatientRecord.deficiency_auditory'
32
        db.add_column(u'dossiers_patientrecord', 'deficiency_auditory',
33
                      self.gf('django.db.models.fields.IntegerField')(default=0, max_length=1),
34
                      keep_default=False)
35

    
36
        # Adding field 'PatientRecord.deficiency_visual'
37
        db.add_column(u'dossiers_patientrecord', 'deficiency_visual',
38
                      self.gf('django.db.models.fields.IntegerField')(default=0, max_length=1),
39
                      keep_default=False)
40

    
41
        # Adding field 'PatientRecord.deficiency_motor'
42
        db.add_column(u'dossiers_patientrecord', 'deficiency_motor',
43
                      self.gf('django.db.models.fields.IntegerField')(default=0, max_length=1),
44
                      keep_default=False)
45

    
46
        # Adding field 'PatientRecord.deficiency_metabolic_disorder'
47
        db.add_column(u'dossiers_patientrecord', 'deficiency_metabolic_disorder',
48
                      self.gf('django.db.models.fields.IntegerField')(default=0, max_length=1),
49
                      keep_default=False)
50

    
51
        # Adding field 'PatientRecord.deficiency_brain_damage'
52
        db.add_column(u'dossiers_patientrecord', 'deficiency_brain_damage',
53
                      self.gf('django.db.models.fields.IntegerField')(default=0, max_length=1),
54
                      keep_default=False)
55

    
56
        # Adding field 'PatientRecord.deficiency_polyhandicap'
57
        db.add_column(u'dossiers_patientrecord', 'deficiency_polyhandicap',
58
                      self.gf('django.db.models.fields.BooleanField')(default=False),
59
                      keep_default=False)
60

    
61
        # Adding field 'PatientRecord.deficiency_behavioral_disorder'
62
        db.add_column(u'dossiers_patientrecord', 'deficiency_behavioral_disorder',
63
                      self.gf('django.db.models.fields.IntegerField')(default=0, max_length=1),
64
                      keep_default=False)
65

    
66
        # Adding field 'PatientRecord.deficiency_in_diagnostic'
67
        db.add_column(u'dossiers_patientrecord', 'deficiency_in_diagnostic',
68
                      self.gf('django.db.models.fields.BooleanField')(default=False),
69
                      keep_default=False)
70

    
71
        # Adding field 'PatientRecord.deficiency_other_disorder'
72
        db.add_column(u'dossiers_patientrecord', 'deficiency_other_disorder',
73
                      self.gf('django.db.models.fields.IntegerField')(default=0, max_length=1),
74
                      keep_default=False)
75

    
76

    
77
    def backwards(self, orm):
78
        # Deleting field 'PatientRecord.deficiency_intellectual'
79
        db.delete_column(u'dossiers_patientrecord', 'deficiency_intellectual')
80

    
81
        # Deleting field 'PatientRecord.deficiency_autism_and_other_ted'
82
        db.delete_column(u'dossiers_patientrecord', 'deficiency_autism_and_other_ted')
83

    
84
        # Deleting field 'PatientRecord.deficiency_mental_disorder'
85
        db.delete_column(u'dossiers_patientrecord', 'deficiency_mental_disorder')
86

    
87
        # Deleting field 'PatientRecord.deficiency_learning_disorder'
88
        db.delete_column(u'dossiers_patientrecord', 'deficiency_learning_disorder')
89

    
90
        # Deleting field 'PatientRecord.deficiency_auditory'
91
        db.delete_column(u'dossiers_patientrecord', 'deficiency_auditory')
92

    
93
        # Deleting field 'PatientRecord.deficiency_visual'
94
        db.delete_column(u'dossiers_patientrecord', 'deficiency_visual')
95

    
96
        # Deleting field 'PatientRecord.deficiency_motor'
97
        db.delete_column(u'dossiers_patientrecord', 'deficiency_motor')
98

    
99
        # Deleting field 'PatientRecord.deficiency_metabolic_disorder'
100
        db.delete_column(u'dossiers_patientrecord', 'deficiency_metabolic_disorder')
101

    
102
        # Deleting field 'PatientRecord.deficiency_brain_damage'
103
        db.delete_column(u'dossiers_patientrecord', 'deficiency_brain_damage')
104

    
105
        # Deleting field 'PatientRecord.deficiency_polyhandicap'
106
        db.delete_column(u'dossiers_patientrecord', 'deficiency_polyhandicap')
107

    
108
        # Deleting field 'PatientRecord.deficiency_behavioral_disorder'
109
        db.delete_column(u'dossiers_patientrecord', 'deficiency_behavioral_disorder')
110

    
111
        # Deleting field 'PatientRecord.deficiency_in_diagnostic'
112
        db.delete_column(u'dossiers_patientrecord', 'deficiency_in_diagnostic')
113

    
114
        # Deleting field 'PatientRecord.deficiency_other_disorder'
115
        db.delete_column(u'dossiers_patientrecord', 'deficiency_other_disorder')
116

    
117

    
118
    models = {
119
        u'auth.group': {
120
            'Meta': {'object_name': 'Group'},
121
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
122
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
123
            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
124
        },
125
        u'auth.permission': {
126
            'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
127
            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
128
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
129
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
130
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
131
        },
132
        u'auth.user': {
133
            'Meta': {'object_name': 'User'},
134
            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
135
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
136
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
137
            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
138
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
139
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
140
            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
141
            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
142
            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
143
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
144
            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
145
            'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
146
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
147
        },
148
        u'contenttypes.contenttype': {
149
            'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
150
            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
151
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
152
            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
153
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
154
        },
155
        'dossiers.cmpphealthcarediagnostic': {
156
            'Meta': {'object_name': 'CmppHealthCareDiagnostic', '_ormbases': ['dossiers.HealthCare']},
157
            'act_number': ('django.db.models.fields.IntegerField', [], {'default': '6'}),
158
            'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
159
            u'healthcare_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dossiers.HealthCare']", 'unique': 'True', 'primary_key': 'True'})
160
        },
161
        'dossiers.cmpphealthcaretreatment': {
162
            'Meta': {'object_name': 'CmppHealthCareTreatment', '_ormbases': ['dossiers.HealthCare']},
163
            'act_number': ('django.db.models.fields.IntegerField', [], {'default': '30'}),
164
            'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
165
            u'healthcare_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dossiers.HealthCare']", 'unique': 'True', 'primary_key': 'True'}),
166
            'prolongation': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
167
            'prolongation_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'})
168
        },
169
        'dossiers.filestate': {
170
            'Meta': {'object_name': 'FileState'},
171
            'author': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}),
172
            'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
173
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
174
            'date_selected': ('django.db.models.fields.DateTimeField', [], {}),
175
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
176
            'patient': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dossiers.PatientRecord']"}),
177
            'previous_state': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dossiers.FileState']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}),
178
            'status': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dossiers.Status']"})
179
        },
180
        'dossiers.healthcare': {
181
            'Meta': {'object_name': 'HealthCare'},
182
            'agree_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
183
            'author': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'blank': 'True'}),
184
            'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
185
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
186
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
187
            'insist_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
188
            'patient': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dossiers.PatientRecord']"}),
189
            'request_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
190
            'start_date': ('django.db.models.fields.DateField', [], {})
191
        },
192
        u'dossiers.patientaddress': {
193
            'Meta': {'object_name': 'PatientAddress'},
194
            'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
195
            'city': ('django.db.models.fields.CharField', [], {'max_length': '60', 'null': 'True', 'blank': 'True'}),
196
            'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
197
            'display_name': ('django.db.models.fields.CharField', [], {'max_length': '276'}),
198
            'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
199
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
200
            'number': ('django.db.models.fields.CharField', [], {'max_length': '12', 'null': 'True', 'blank': 'True'}),
201
            'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
202
            'place_of_life': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
203
            'street': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
204
            'zip_code': ('calebasse.models.ZipCodeField', [], {'max_length': '5', 'null': 'True', 'blank': 'True'})
205
        },
206
        u'dossiers.patientcontact': {
207
            'Meta': {'ordering': "['last_name', 'first_name']", 'object_name': 'PatientContact', '_ormbases': [u'personnes.People']},
208
            'addresses': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dossiers.PatientAddress']", 'symmetrical': 'False'}),
209
            'ame': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
210
            'begin_rights': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
211
            'birthdate': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
212
            'birthplace': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
213
            'contact_comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
214
            'end_rights': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
215
            'health_center': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.HealthCenter']", 'null': 'True', 'blank': 'True'}),
216
            'job': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'job'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.Job']"}),
217
            'management_code': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.ManagementCode']", 'null': 'True', 'blank': 'True'}),
218
            'mobile': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
219
            'old_contact_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
220
            'other_health_center': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}),
221
            'parente': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.PatientRelatedLink']", 'null': 'True', 'blank': 'True'}),
222
            u'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
223
            'social_security_id': ('django.db.models.fields.CharField', [], {'max_length': '13', 'null': 'True', 'blank': 'True'}),
224
            'thirdparty_payer': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
225
            'twinning_rank': ('django.db.models.fields.IntegerField', [], {'default': '1'}),
226
            'type_of_contract': ('django.db.models.fields.CharField', [], {'max_length': '2', 'null': 'True', 'blank': 'True'})
227
        },
228
        u'dossiers.patientrecord': {
229
            'Meta': {'object_name': 'PatientRecord', '_ormbases': [u'dossiers.PatientContact']},
230
            'advicegiver': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.AdviceGiver']", 'null': 'True', 'blank': 'True'}),
231
            'analysemotive': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.AnalyseMotive']", 'null': 'True', 'blank': 'True'}),
232
            'apgar_score_one': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
233
            'apgar_score_two': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
234
            'chest_perimeter': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '5', 'decimal_places': '2', 'blank': 'True'}),
235
            'child_custody': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.ParentalCustodyType']", 'null': 'True', 'blank': 'True'}),
236
            'comment': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
237
            'confidential': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
238
            'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'contact_of'", 'symmetrical': 'False', 'to': u"orm['dossiers.PatientContact']"}),
239
            'coordinators': ('django.db.models.fields.related.ManyToManyField', [], {'default': 'None', 'to': u"orm['personnes.Worker']", 'null': 'True', 'symmetrical': 'False', 'blank': 'True'}),
240
            'cranium_perimeter': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '5', 'decimal_places': '2', 'blank': 'True'}),
241
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
242
            'creator': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}),
243
            'deficiency_auditory': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
244
            'deficiency_autism_and_other_ted': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
245
            'deficiency_behavioral_disorder': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
246
            'deficiency_brain_damage': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
247
            'deficiency_in_diagnostic': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
248
            'deficiency_intellectual': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
249
            'deficiency_learning_disorder': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
250
            'deficiency_mental_disorder': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
251
            'deficiency_metabolic_disorder': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
252
            'deficiency_motor': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
253
            'deficiency_other_disorder': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
254
            'deficiency_polyhandicap': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
255
            'deficiency_visual': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'}),
256
            'externaldoctor': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['personnes.ExternalTherapist']", 'null': 'True', 'blank': 'True'}),
257
            'externalintervener': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['personnes.ExternalWorker']", 'null': 'True', 'blank': 'True'}),
258
            'family_comment': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
259
            'family_situation': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.FamilySituationType']", 'null': 'True', 'blank': 'True'}),
260
            'familymotive': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.FamilyMotive']", 'null': 'True', 'blank': 'True'}),
261
            'job_father': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'job_father'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.Job']"}),
262
            'job_mother': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'job_mother'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.Job']"}),
263
            'last_state': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['dossiers.FileState']"}),
264
            'mdph_requests': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mdph_requests_of'", 'symmetrical': 'False', 'to': u"orm['ressources.MDPHRequest']"}),
265
            'mdph_responses': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mdph_responses_of'", 'symmetrical': 'False', 'to': u"orm['ressources.MDPHResponse']"}),
266
            'mises_1': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mises1'", 'default': 'None', 'to': u"orm['ressources.CodeCFTMEA']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
267
            'mises_2': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mises2'", 'default': 'None', 'to': u"orm['ressources.CodeCFTMEA']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
268
            'mises_3': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mises3'", 'default': 'None', 'to': u"orm['ressources.CodeCFTMEA']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
269
            'nationality': ('django.db.models.fields.CharField', [], {'max_length': '70', 'null': 'True', 'blank': 'True'}),
270
            'nb_children_family': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
271
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
272
            'old_old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
273
            'outmotive': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.OutMotive']", 'null': 'True', 'blank': 'True'}),
274
            'outto': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.OutTo']", 'null': 'True', 'blank': 'True'}),
275
            'paper_id': ('django.db.models.fields.CharField', [], {'max_length': '6', 'null': 'True', 'blank': 'True'}),
276
            'parental_authority': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.ParentalAuthorityType']", 'null': 'True', 'blank': 'True'}),
277
            u'patientcontact_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dossiers.PatientContact']", 'unique': 'True', 'primary_key': 'True'}),
278
            'pause': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
279
            'pause_comment': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
280
            'policyholder': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['dossiers.PatientContact']"}),
281
            'pregnancy_term': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
282
            'provenance': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.Provenance']", 'null': 'True', 'blank': 'True'}),
283
            'rm_father': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'rm_father'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.MaritalStatusType']"}),
284
            'rm_mother': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'rm_mother'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.MaritalStatusType']"}),
285
            'service': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.Service']", 'null': 'True', 'blank': 'True'}),
286
            'sibship_place': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
287
            'size': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '5', 'decimal_places': '1', 'blank': 'True'}),
288
            'socialisation_durations': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'socialisation_duration_of'", 'symmetrical': 'False', 'to': u"orm['ressources.SocialisationDuration']"}),
289
            'transportcompany': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.TransportCompany']", 'null': 'True', 'blank': 'True'}),
290
            'transporttype': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.TransportType']", 'null': 'True', 'blank': 'True'}),
291
            'weight': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'})
292
        },
293
        'dossiers.sessadhealthcarenotification': {
294
            'Meta': {'object_name': 'SessadHealthCareNotification', '_ormbases': ['dossiers.HealthCare']},
295
            'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
296
            u'healthcare_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dossiers.HealthCare']", 'unique': 'True', 'primary_key': 'True'})
297
        },
298
        'dossiers.status': {
299
            'Meta': {'object_name': 'Status'},
300
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
301
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
302
            'services': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['ressources.Service']", 'symmetrical': 'False'}),
303
            'type': ('django.db.models.fields.CharField', [], {'max_length': '80'})
304
        },
305
        u'dossiers.transportprescriptionlog': {
306
            'Meta': {'object_name': 'TransportPrescriptionLog'},
307
            'choices': ('django.db.models.fields.CharField', [], {'max_length': '4096', 'null': 'True', 'blank': 'True'}),
308
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
309
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
310
            'patient': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dossiers.PatientRecord']"})
311
        },
312
        u'personnes.externaltherapist': {
313
            'Meta': {'ordering': "['last_name', 'first_name']", 'object_name': 'ExternalTherapist', '_ormbases': [u'personnes.People']},
314
            'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
315
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
316
            'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
317
            'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
318
            'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
319
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
320
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
321
            u'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
322
            'phone_work': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
323
            'type': ('django.db.models.fields.related.ForeignKey', [], {'default': '18', 'to': u"orm['ressources.WorkerType']"}),
324
            'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
325
        },
326
        u'personnes.externalworker': {
327
            'Meta': {'ordering': "['last_name', 'first_name']", 'object_name': 'ExternalWorker', '_ormbases': [u'personnes.People']},
328
            'address': ('django.db.models.fields.CharField', [], {'default': 'None', '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', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
331
            'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
332
            'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
333
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
334
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
335
            u'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
336
            'phone_work': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
337
            'type': ('django.db.models.fields.related.ForeignKey', [], {'default': '18', 'to': u"orm['ressources.WorkerType']"}),
338
            'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
339
        },
340
        u'personnes.people': {
341
            'Meta': {'ordering': "['last_name', 'first_name']", 'object_name': 'People'},
342
            'display_name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}),
343
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
344
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
345
            'gender': ('django.db.models.fields.IntegerField', [], {'max_length': '1', 'null': 'True', 'blank': 'True'}),
346
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
347
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}),
348
            'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'})
349
        },
350
        u'personnes.worker': {
351
            'Meta': {'ordering': "['last_name', 'first_name']", 'object_name': 'Worker', '_ormbases': [u'personnes.People']},
352
            'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
353
            'initials': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '5', 'blank': 'True'}),
354
            'old_camsp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
355
            'old_cmpp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
356
            'old_sessad_dys_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
357
            'old_sessad_ted_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
358
            u'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
359
            'services': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['ressources.Service']", 'null': 'True', 'blank': 'True'}),
360
            'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.WorkerType']"})
361
        },
362
        u'ressources.advicegiver': {
363
            'Meta': {'object_name': 'AdviceGiver'},
364
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
365
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
366
        },
367
        u'ressources.analysemotive': {
368
            'Meta': {'object_name': 'AnalyseMotive'},
369
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
370
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
371
        },
372
        u'ressources.codecftmea': {
373
            'Meta': {'ordering': "['ordering_code']", 'object_name': 'CodeCFTMEA'},
374
            'axe': ('django.db.models.fields.IntegerField', [], {'max_length': '1'}),
375
            'code': ('django.db.models.fields.IntegerField', [], {}),
376
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
377
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
378
            'ordering_code': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'})
379
        },
380
        u'ressources.familymotive': {
381
            'Meta': {'object_name': 'FamilyMotive'},
382
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
383
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
384
        },
385
        u'ressources.familysituationtype': {
386
            'Meta': {'object_name': 'FamilySituationType'},
387
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
388
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
389
        },
390
        u'ressources.healthcenter': {
391
            'Meta': {'object_name': 'HealthCenter'},
392
            'abbreviation': ('django.db.models.fields.CharField', [], {'default': 'True', 'max_length': '8', 'null': 'True'}),
393
            'accounting_number': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
394
            'active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
395
            'address': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
396
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
397
            'city': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
398
            'code': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}),
399
            'computer_center_code': ('django.db.models.fields.CharField', [], {'default': 'True', 'max_length': '8', 'null': 'True'}),
400
            'correspondant': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
401
            'dest_organism': ('django.db.models.fields.CharField', [], {'max_length': '8'}),
402
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
403
            'fax': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
404
            'hc_invoice': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.HealthCenter']", 'null': 'True', 'blank': 'True'}),
405
            'health_fund': ('django.db.models.fields.CharField', [], {'max_length': '3'}),
406
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
407
            'large_regime': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.LargeRegime']"}),
408
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
409
            'phone': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
410
            'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '8'})
411
        },
412
        u'ressources.job': {
413
            'Meta': {'object_name': 'Job'},
414
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
415
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
416
        },
417
        u'ressources.largeregime': {
418
            'Meta': {'object_name': 'LargeRegime'},
419
            'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}),
420
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
421
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
422
        },
423
        u'ressources.managementcode': {
424
            'Meta': {'object_name': 'ManagementCode'},
425
            'code': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
426
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
427
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
428
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'})
429
        },
430
        u'ressources.maritalstatustype': {
431
            'Meta': {'object_name': 'MaritalStatusType'},
432
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
433
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
434
        },
435
        u'ressources.mdph': {
436
            'Meta': {'object_name': 'MDPH'},
437
            'address': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}),
438
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
439
            'city': ('django.db.models.fields.CharField', [], {'max_length': '80', 'null': 'True', 'blank': 'True'}),
440
            'department': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
441
            'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
442
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
443
            'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
444
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
445
            'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
446
            'website': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
447
            'zip_code': ('calebasse.models.ZipCodeField', [], {'max_length': '5', 'null': 'True', 'blank': 'True'})
448
        },
449
        u'ressources.mdphrequest': {
450
            'Meta': {'object_name': 'MDPHRequest'},
451
            'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
452
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
453
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
454
            'mdph': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.MDPH']"}),
455
            'start_date': ('django.db.models.fields.DateField', [], {})
456
        },
457
        u'ressources.mdphresponse': {
458
            'Meta': {'object_name': 'MDPHResponse'},
459
            'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
460
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
461
            'end_date': ('django.db.models.fields.DateField', [], {}),
462
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
463
            'mdph': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.MDPH']"}),
464
            'name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
465
            'rate': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}),
466
            'start_date': ('django.db.models.fields.DateField', [], {}),
467
            'type_aide': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'})
468
        },
469
        u'ressources.outmotive': {
470
            'Meta': {'object_name': 'OutMotive'},
471
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
472
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
473
        },
474
        u'ressources.outto': {
475
            'Meta': {'object_name': 'OutTo'},
476
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
477
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
478
        },
479
        u'ressources.parentalauthoritytype': {
480
            'Meta': {'object_name': 'ParentalAuthorityType'},
481
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
482
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
483
        },
484
        u'ressources.parentalcustodytype': {
485
            'Meta': {'object_name': 'ParentalCustodyType'},
486
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
487
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
488
        },
489
        u'ressources.patientrelatedlink': {
490
            'Meta': {'object_name': 'PatientRelatedLink'},
491
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
492
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
493
            'old_camsp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
494
            'old_cmpp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
495
            'old_sessad_dys_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
496
            'old_sessad_ted_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'})
497
        },
498
        u'ressources.provenance': {
499
            'Meta': {'object_name': 'Provenance'},
500
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
501
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
502
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
503
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'})
504
        },
505
        u'ressources.school': {
506
            'Meta': {'object_name': 'School'},
507
            'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
508
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
509
            'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
510
            'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
511
            'director_name': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '70', 'null': 'True', 'blank': 'True'}),
512
            'email': ('django.db.models.fields.EmailField', [], {'default': 'None', 'max_length': '75', 'null': 'True', 'blank': 'True'}),
513
            'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
514
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
515
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
516
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
517
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
518
            'phone': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
519
            'school_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.SchoolType']"}),
520
            'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
521
        },
522
        u'ressources.schoollevel': {
523
            'Meta': {'object_name': 'SchoolLevel'},
524
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
525
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
526
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
527
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'})
528
        },
529
        u'ressources.schooltype': {
530
            'Meta': {'object_name': 'SchoolType'},
531
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
532
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
533
            'services': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['ressources.Service']", 'symmetrical': 'False'})
534
        },
535
        u'ressources.service': {
536
            'Meta': {'object_name': 'Service'},
537
            'description': ('django.db.models.fields.TextField', [], {}),
538
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
539
            'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20'}),
540
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
541
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
542
            'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20'}),
543
            'slug': ('django.db.models.fields.SlugField', [], {'max_length': '50'})
544
        },
545
        u'ressources.socialisationduration': {
546
            'Meta': {'object_name': 'SocialisationDuration'},
547
            'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
548
            'contact': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '200', 'null': 'True', 'blank': 'True'}),
549
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
550
            'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
551
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
552
            'level': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.SchoolLevel']", 'null': 'True', 'blank': 'True'}),
553
            'redoublement': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
554
            'school': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.School']", 'null': 'True', 'blank': 'True'}),
555
            'start_date': ('django.db.models.fields.DateField', [], {})
556
        },
557
        u'ressources.transportcompany': {
558
            'Meta': {'object_name': 'TransportCompany'},
559
            'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
560
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
561
            'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
562
            'correspondant': ('django.db.models.fields.CharField', [], {'max_length': '80', 'null': 'True', 'blank': 'True'}),
563
            'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
564
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
565
            'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
566
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
567
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
568
            'old_camsp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
569
            'old_cmpp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
570
            'old_sessad_dys_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
571
            'old_sessad_ted_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
572
            'phone': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
573
            'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
574
        },
575
        u'ressources.transporttype': {
576
            'Meta': {'object_name': 'TransportType'},
577
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
578
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
579
        },
580
        u'ressources.workertype': {
581
            'Meta': {'object_name': 'WorkerType'},
582
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
583
            'intervene': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
584
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
585
        }
586
    }
587

    
588
    complete_apps = ['dossiers']
(13-13/14)