Project

General

Profile

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

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