Project

General

Profile

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

calebasse / calebasse / facturation / migrations / 0011_auto__chg_field_invoice_list_dates.py @ 8b60637d

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

    
12
        # Changing field 'Invoice.list_dates'
13
        db.alter_column(u'facturation_invoice', 'list_dates', self.gf('django.db.models.fields.CharField')(max_length=8192, null=True))
14

    
15
    def backwards(self, orm):
16

    
17
        # Changing field 'Invoice.list_dates'
18
        db.alter_column(u'facturation_invoice', 'list_dates', self.gf('django.db.models.fields.CharField')(max_length=2048, null=True))
19

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

    
616
    complete_apps = ['facturation']
(11-11/12)