Project

General

Profile

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

calebasse / calebasse / dossiers / migrations / 0007_auto__add_transportprescriptionlog.py @ feffc421

1
# encoding: 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
class Migration(SchemaMigration):
8
    
9
    def forwards(self, orm):
10
        
11
        # Adding model 'TransportPrescriptionLog'
12
        db.create_table(u'dossiers_transportprescriptionlog', (
13
            ('choices', self.gf('django.db.models.fields.CharField')(max_length=4096, null=True, blank=True)),
14
            ('patient', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dossiers.PatientRecord'])),
15
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
16
            ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)),
17
        ))
18
        db.send_create_signal(u'dossiers', ['TransportPrescriptionLog'])
19
    
20
    
21
    def backwards(self, orm):
22
        
23
        # Deleting model 'TransportPrescriptionLog'
24
        db.delete_table(u'dossiers_transportprescriptionlog')
25
    
26
    
27
    models = {
28
        u'auth.group': {
29
            'Meta': {'object_name': 'Group'},
30
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
31
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
32
            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
33
        },
34
        u'auth.permission': {
35
            'Meta': {'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
36
            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
37
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
38
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
39
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
40
        },
41
        u'auth.user': {
42
            'Meta': {'object_name': 'User'},
43
            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2013, 5, 15, 16, 41, 24, 421945)'}),
44
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
45
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
46
            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
47
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
48
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
49
            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
50
            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
51
            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2013, 5, 15, 16, 41, 24, 421494)'}),
52
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
53
            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
54
            'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
55
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
56
        },
57
        u'contenttypes.contenttype': {
58
            'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
59
            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
60
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
61
            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
62
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
63
        },
64
        'dossiers.cmpphealthcarediagnostic': {
65
            'Meta': {'object_name': 'CmppHealthCareDiagnostic', '_ormbases': ['dossiers.HealthCare']},
66
            'act_number': ('django.db.models.fields.IntegerField', [], {'default': '6'}),
67
            u'healthcare_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dossiers.HealthCare']", 'unique': 'True', 'primary_key': 'True'})
68
        },
69
        'dossiers.cmpphealthcaretreatment': {
70
            'Meta': {'object_name': 'CmppHealthCareTreatment', '_ormbases': ['dossiers.HealthCare']},
71
            'act_number': ('django.db.models.fields.IntegerField', [], {'default': '30'}),
72
            'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
73
            u'healthcare_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dossiers.HealthCare']", 'unique': 'True', 'primary_key': 'True'}),
74
            'prolongation': ('django.db.models.fields.IntegerField', [], {'default': '0'})
75
        },
76
        'dossiers.filestate': {
77
            'Meta': {'object_name': 'FileState'},
78
            'author': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}),
79
            'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
80
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
81
            'date_selected': ('django.db.models.fields.DateTimeField', [], {}),
82
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
83
            'patient': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dossiers.PatientRecord']"}),
84
            'previous_state': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dossiers.FileState']", 'null': 'True', 'blank': 'True'}),
85
            'status': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dossiers.Status']"})
86
        },
87
        'dossiers.healthcare': {
88
            'Meta': {'object_name': 'HealthCare'},
89
            'agree_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
90
            'author': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'blank': 'True'}),
91
            'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
92
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
93
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
94
            'insist_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
95
            'patient': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dossiers.PatientRecord']"}),
96
            'request_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
97
            'start_date': ('django.db.models.fields.DateField', [], {})
98
        },
99
        u'dossiers.patientaddress': {
100
            'Meta': {'object_name': 'PatientAddress'},
101
            'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
102
            'city': ('django.db.models.fields.CharField', [], {'max_length': '60', 'null': 'True', 'blank': 'True'}),
103
            'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
104
            'display_name': ('django.db.models.fields.CharField', [], {'max_length': '276'}),
105
            'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
106
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
107
            'number': ('django.db.models.fields.CharField', [], {'max_length': '12', 'null': 'True', 'blank': 'True'}),
108
            'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
109
            'place_of_life': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
110
            'street': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
111
            'zip_code': ('calebasse.models.ZipCodeField', [], {'max_length': '5', 'null': 'True', 'blank': 'True'})
112
        },
113
        u'dossiers.patientcontact': {
114
            'Meta': {'object_name': 'PatientContact', '_ormbases': [u'personnes.People']},
115
            'addresses': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['dossiers.PatientAddress']", 'symmetrical': 'False'}),
116
            'begin_rights': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
117
            'birthdate': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
118
            'birthplace': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
119
            'contact_comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
120
            'end_rights': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
121
            'health_center': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.HealthCenter']", 'null': 'True', 'blank': 'True'}),
122
            'job': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'job'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.Job']"}),
123
            'management_code': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.ManagementCode']", 'null': 'True', 'blank': 'True'}),
124
            'mobile': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
125
            'old_contact_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
126
            'other_health_center': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}),
127
            'parente': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.PatientRelatedLink']", 'null': 'True', 'blank': 'True'}),
128
            u'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
129
            'social_security_id': ('django.db.models.fields.CharField', [], {'max_length': '13', 'null': 'True', 'blank': 'True'}),
130
            'thirdparty_payer': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
131
            'twinning_rank': ('django.db.models.fields.IntegerField', [], {'default': '1'}),
132
            'type_of_contract': ('django.db.models.fields.CharField', [], {'max_length': '2', 'null': 'True', 'blank': 'True'})
133
        },
134
        u'dossiers.patientrecord': {
135
            'Meta': {'object_name': 'PatientRecord', '_ormbases': [u'dossiers.PatientContact']},
136
            'advicegiver': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.AdviceGiver']", 'null': 'True', 'blank': 'True'}),
137
            'analysemotive': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.AnalyseMotive']", 'null': 'True', 'blank': 'True'}),
138
            'apgar_score_one': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
139
            'apgar_score_two': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
140
            'chest_perimeter': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '5', 'decimal_places': '2', 'blank': 'True'}),
141
            'child_custody': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.ParentalCustodyType']", 'null': 'True', 'blank': 'True'}),
142
            'comment': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
143
            'confidential': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
144
            'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'contact_of'", 'symmetrical': 'False', 'to': u"orm['dossiers.PatientContact']"}),
145
            'coordinators': ('django.db.models.fields.related.ManyToManyField', [], {'default': 'None', 'to': u"orm['personnes.Worker']", 'null': 'True', 'symmetrical': 'False', 'blank': 'True'}),
146
            'cranium_perimeter': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '5', 'decimal_places': '2', 'blank': 'True'}),
147
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
148
            'creator': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}),
149
            'externaldoctor': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['personnes.ExternalTherapist']", 'null': 'True', 'blank': 'True'}),
150
            'externalintervener': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['personnes.ExternalWorker']", 'null': 'True', 'blank': 'True'}),
151
            'family_comment': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
152
            'family_situation': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.FamilySituationType']", 'null': 'True', 'blank': 'True'}),
153
            'familymotive': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.FamilyMotive']", 'null': 'True', 'blank': 'True'}),
154
            'job_father': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'job_father'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.Job']"}),
155
            'job_mother': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'job_mother'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.Job']"}),
156
            'last_state': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'to': "orm['dossiers.FileState']"}),
157
            'mdph_requests': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mdph_requests_of'", 'symmetrical': 'False', 'to': u"orm['ressources.MDPHRequest']"}),
158
            'mdph_responses': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mdph_responses_of'", 'symmetrical': 'False', 'to': u"orm['ressources.MDPHResponse']"}),
159
            'mises_1': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mises1'", 'default': 'None', 'to': u"orm['ressources.CodeCFTMEA']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
160
            'mises_2': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mises2'", 'default': 'None', 'to': u"orm['ressources.CodeCFTMEA']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
161
            'mises_3': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mises3'", 'default': 'None', 'to': u"orm['ressources.CodeCFTMEA']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
162
            'nationality': ('django.db.models.fields.CharField', [], {'max_length': '70', 'null': 'True', 'blank': 'True'}),
163
            'nb_children_family': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
164
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
165
            'old_old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
166
            'outmotive': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.OutMotive']", 'null': 'True', 'blank': 'True'}),
167
            'outto': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.OutTo']", 'null': 'True', 'blank': 'True'}),
168
            'paper_id': ('django.db.models.fields.CharField', [], {'max_length': '6', 'null': 'True', 'blank': 'True'}),
169
            'parental_authority': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.ParentalAuthorityType']", 'null': 'True', 'blank': 'True'}),
170
            u'patientcontact_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['dossiers.PatientContact']", 'unique': 'True', 'primary_key': 'True'}),
171
            'pause': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
172
            'policyholder': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': u"orm['dossiers.PatientContact']"}),
173
            'pregnancy_term': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
174
            'provenance': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.Provenance']", 'null': 'True', 'blank': 'True'}),
175
            'rm_father': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'rm_father'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.MaritalStatusType']"}),
176
            'rm_mother': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'rm_mother'", 'null': 'True', 'blank': 'True', 'to': u"orm['ressources.MaritalStatusType']"}),
177
            'service': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.Service']", 'null': 'True', 'blank': 'True'}),
178
            'sibship_place': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
179
            'size': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
180
            'socialisation_durations': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'socialisation_duration_of'", 'symmetrical': 'False', 'to': u"orm['ressources.SocialisationDuration']"}),
181
            'transportcompany': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.TransportCompany']", 'null': 'True', 'blank': 'True'}),
182
            'transporttype': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['ressources.TransportType']", 'null': 'True', 'blank': 'True'}),
183
            'weight': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'})
184
        },
185
        'dossiers.sessadhealthcarenotification': {
186
            'Meta': {'object_name': 'SessadHealthCareNotification', '_ormbases': ['dossiers.HealthCare']},
187
            'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
188
            u'healthcare_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dossiers.HealthCare']", 'unique': 'True', 'primary_key': 'True'})
189
        },
190
        'dossiers.status': {
191
            'Meta': {'object_name': 'Status'},
192
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
193
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
194
            'services': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['ressources.Service']", 'symmetrical': 'False'}),
195
            'type': ('django.db.models.fields.CharField', [], {'max_length': '80'})
196
        },
197
        u'dossiers.transportprescriptionlog': {
198
            'Meta': {'object_name': 'TransportPrescriptionLog'},
199
            'choices': ('django.db.models.fields.CharField', [], {'max_length': '4096', 'null': 'True', 'blank': 'True'}),
200
            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
201
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
202
            'patient': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['dossiers.PatientRecord']"})
203
        },
204
        u'personnes.externaltherapist': {
205
            'Meta': {'object_name': 'ExternalTherapist', '_ormbases': [u'personnes.People']},
206
            'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
207
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
208
            'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
209
            'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
210
            'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
211
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
212
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
213
            u'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
214
            'phone_work': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
215
            'type': ('django.db.models.fields.related.ForeignKey', [], {'default': '18', 'to': u"orm['ressources.WorkerType']"}),
216
            'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
217
        },
218
        u'personnes.externalworker': {
219
            'Meta': {'object_name': 'ExternalWorker', '_ormbases': [u'personnes.People']},
220
            'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
221
            'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
222
            'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
223
            'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
224
            'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
225
            'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
226
            'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
227
            u'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
228
            'phone_work': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
229
            'type': ('django.db.models.fields.related.ForeignKey', [], {'default': '18', 'to': u"orm['ressources.WorkerType']"}),
230
            'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
231
        },
232
        u'personnes.people': {
233
            'Meta': {'object_name': 'People'},
234
            'display_name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}),
235
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
236
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
237
            'gender': ('django.db.models.fields.IntegerField', [], {'max_length': '1', 'null': 'True', 'blank': 'True'}),
238
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
239
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}),
240
            'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'})
241
        },
242
        u'personnes.worker': {
243
            'Meta': {'object_name': 'Worker', '_ormbases': [u'personnes.People']},
244
            'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
245
            'initials': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '5', 'blank': 'True'}),
246
            'old_camsp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
247
            'old_cmpp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
248
            'old_sessad_dys_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
249
            'old_sessad_ted_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
250
            u'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
251
            'services': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['ressources.Service']", 'null': 'True', 'blank': 'True'}),
252
            'type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['ressources.WorkerType']"})
253
        },
254
        u'ressources.advicegiver': {
255
            'Meta': {'object_name': 'AdviceGiver'},
256
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
257
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
258
        },
259
        u'ressources.analysemotive': {
260
            'Meta': {'object_name': 'AnalyseMotive'},
261
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
262
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
263
        },
264
        u'ressources.codecftmea': {
265
            'Meta': {'object_name': 'CodeCFTMEA'},
266
            'axe': ('django.db.models.fields.IntegerField', [], {'max_length': '1'}),
267
            'code': ('django.db.models.fields.IntegerField', [], {}),
268
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
269
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
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', 'blank': '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', 'db_index': 'True'})
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', 'blank': 'True'}),
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', 'blank': 'True'}),
475
            'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
476
        }
477
    }
478
    
479
    complete_apps = ['dossiers']
(7-7/18)