Project

General

Profile

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

calebasse / calebasse / dossiers / migrations / 0010_auto__add_field_cmpphealthcaretreatment_prolongation_date.py @ 54318d2c

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 'CmppHealthCareTreatment.prolongation_date'
12
        db.add_column(u'dossiers_cmpphealthcaretreatment', 'prolongation_date',
13
                      self.gf('django.db.models.fields.DateField')(null=True, blank=True),
14
                      keep_default=False)
15

    
16

    
17
    def backwards(self, orm):
18
        # Deleting field 'CmppHealthCareTreatment.prolongation_date'
19
        db.delete_column(u'dossiers_cmpphealthcaretreatment', 'prolongation_date')
20

    
21

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

    
477
    complete_apps = ['dossiers']
(10-10/18)