Project

General

Profile

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

calebasse / calebasse / dossiers / migrations / 0011_auto__add_field_patientcontact_ame.py @ feffc421

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

    
7

    
8
class Migration(SchemaMigration):
9

    
10
    def forwards(self, orm):
11
        # Adding field 'PatientContact.ame'
12
        db.add_column(u'dossiers_patientcontact', 'ame',
13
                      self.gf('django.db.models.fields.BooleanField')(default=False),
14
                      keep_default=False)
15

    
16

    
17
    def backwards(self, orm):
18
        # Deleting field 'PatientContact.ame'
19
        db.delete_column(u'dossiers_patientcontact', 'ame')
20

    
21

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

    
478
    complete_apps = ['dossiers']
(11-11/18)