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