Project

General

Profile

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

calebasse / calebasse / agenda / migrations / 0001_initial.py @ 1164bc89

1
# -*- coding: utf-8 -*-
2
from south.utils import datetime_utils as 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 model 'EventType'
12
        db.create_table(u'agenda_eventtype', (
13
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
14
            ('label', self.gf('django.db.models.fields.CharField')(max_length=50)),
15
            ('rank', self.gf('django.db.models.fields.IntegerField')(default=0, null=True, blank=True)),
16
        ))
17
        db.send_create_signal(u'agenda', ['EventType'])
18

    
19
        # Adding model 'Event'
20
        db.create_table(u'agenda_event', (
21
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
22
            ('title', self.gf('django.db.models.fields.CharField')(default='', max_length=60, blank=True)),
23
            ('description', self.gf('django.db.models.fields.TextField')(max_length=100, null=True, blank=True)),
24
            ('event_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['agenda.EventType'])),
25
            ('creator', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], null=True, blank=True)),
26
            ('create_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)),
27
            ('room', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['ressources.Room'], null=True, blank=True)),
28
            ('start_datetime', self.gf('django.db.models.fields.DateTimeField')(db_index=True)),
29
            ('end_datetime', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
30
            ('old_ev_id', self.gf('django.db.models.fields.CharField')(max_length=8, null=True, blank=True)),
31
            ('old_rr_id', self.gf('django.db.models.fields.CharField')(max_length=8, null=True, blank=True)),
32
            ('old_rs_id', self.gf('django.db.models.fields.CharField')(max_length=8, null=True, blank=True)),
33
            ('exception_to', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='exceptions', null=True, to=orm['agenda.Event'])),
34
            ('exception_date', self.gf('django.db.models.fields.DateField')(db_index=True, null=True, blank=True)),
35
            ('canceled', self.gf('django.db.models.fields.BooleanField')(default=False, db_index=True)),
36
            ('recurrence_periodicity', self.gf('django.db.models.fields.PositiveIntegerField')(default=None, null=True, db_index=True, blank=True)),
37
            ('recurrence_week_day', self.gf('django.db.models.fields.PositiveIntegerField')(default=0, db_index=True)),
38
            ('recurrence_week_offset', self.gf('django.db.models.fields.PositiveIntegerField')(default=0, db_index=True)),
39
            ('recurrence_week_period', self.gf('django.db.models.fields.PositiveIntegerField')(default=None, null=True, db_index=True, blank=True)),
40
            ('recurrence_week_rank', self.gf('django.db.models.fields.PositiveIntegerField')(db_index=True, null=True, blank=True)),
41
            ('recurrence_week_parity', self.gf('django.db.models.fields.PositiveIntegerField')(db_index=True, null=True, blank=True)),
42
            ('recurrence_end_date', self.gf('django.db.models.fields.DateField')(db_index=True, null=True, blank=True)),
43
        ))
44
        db.send_create_signal(u'agenda', ['Event'])
45

    
46
        # Adding unique constraint on 'Event', fields ['exception_to', 'exception_date']
47
        db.create_unique(u'agenda_event', ['exception_to_id', 'exception_date'])
48

    
49
        # Adding M2M table for field services on 'Event'
50
        m2m_table_name = db.shorten_name(u'agenda_event_services')
51
        db.create_table(m2m_table_name, (
52
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
53
            ('event', models.ForeignKey(orm[u'agenda.event'], null=False)),
54
            ('service', models.ForeignKey(orm[u'ressources.service'], null=False))
55
        ))
56
        db.create_unique(m2m_table_name, ['event_id', 'service_id'])
57

    
58
        # Adding M2M table for field participants on 'Event'
59
        m2m_table_name = db.shorten_name(u'agenda_event_participants')
60
        db.create_table(m2m_table_name, (
61
            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
62
            ('event', models.ForeignKey(orm[u'agenda.event'], null=False)),
63
            ('people', models.ForeignKey(orm[u'personnes.people'], null=False))
64
        ))
65
        db.create_unique(m2m_table_name, ['event_id', 'people_id'])
66

    
67
        # Adding model 'EventWithAct'
68
        db.create_table(u'agenda_eventwithact', (
69
            (u'event_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['agenda.Event'], unique=True, primary_key=True)),
70
            ('act_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['ressources.ActType'])),
71
            ('patient', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dossiers.PatientRecord'])),
72
            ('convocation_sent', self.gf('django.db.models.fields.BooleanField')(default=False, db_index=True)),
73
        ))
74
        db.send_create_signal(u'agenda', ['EventWithAct'])
75

    
76

    
77
    def backwards(self, orm):
78
        # Removing unique constraint on 'Event', fields ['exception_to', 'exception_date']
79
        db.delete_unique(u'agenda_event', ['exception_to_id', 'exception_date'])
80

    
81
        # Deleting model 'EventType'
82
        db.delete_table(u'agenda_eventtype')
83

    
84
        # Deleting model 'Event'
85
        db.delete_table(u'agenda_event')
86

    
87
        # Removing M2M table for field services on 'Event'
88
        db.delete_table(db.shorten_name(u'agenda_event_services'))
89

    
90
        # Removing M2M table for field participants on 'Event'
91
        db.delete_table(db.shorten_name(u'agenda_event_participants'))
92

    
93
        # Deleting model 'EventWithAct'
94
        db.delete_table(u'agenda_eventwithact')
95

    
96

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

    
605
    complete_apps = ['agenda']
(1-1/7)