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
|
# Adding model 'HealthCare'
|
12
|
db.create_table('dossiers_healthcare', (
|
13
|
('comment', self.gf('django.db.models.fields.TextField')(max_length=3000, null=True, blank=True)),
|
14
|
('patient', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dossiers.PatientRecord'])),
|
15
|
('request_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),
|
16
|
('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)),
|
17
|
('insist_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),
|
18
|
('author', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], null=True, blank=True)),
|
19
|
('start_date', self.gf('django.db.models.fields.DateField')()),
|
20
|
('agree_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),
|
21
|
('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
|
22
|
))
|
23
|
db.send_create_signal('dossiers', ['HealthCare'])
|
24
|
|
25
|
# Adding model 'CmppHealthCareDiagnostic'
|
26
|
db.create_table('dossiers_cmpphealthcarediagnostic', (
|
27
|
('healthcare_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['dossiers.HealthCare'], unique=True, primary_key=True)),
|
28
|
('act_number', self.gf('django.db.models.fields.IntegerField')(default=6)),
|
29
|
))
|
30
|
db.send_create_signal('dossiers', ['CmppHealthCareDiagnostic'])
|
31
|
|
32
|
# Adding model 'CmppHealthCareTreatment'
|
33
|
db.create_table('dossiers_cmpphealthcaretreatment', (
|
34
|
('healthcare_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['dossiers.HealthCare'], unique=True, primary_key=True)),
|
35
|
('prolongation', self.gf('django.db.models.fields.IntegerField')(default=0)),
|
36
|
('end_date', self.gf('django.db.models.fields.DateField')()),
|
37
|
('act_number', self.gf('django.db.models.fields.IntegerField')(default=30)),
|
38
|
))
|
39
|
db.send_create_signal('dossiers', ['CmppHealthCareTreatment'])
|
40
|
|
41
|
# Adding model 'SessadHealthCareNotification'
|
42
|
db.create_table('dossiers_sessadhealthcarenotification', (
|
43
|
('healthcare_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['dossiers.HealthCare'], unique=True, primary_key=True)),
|
44
|
('end_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),
|
45
|
))
|
46
|
db.send_create_signal('dossiers', ['SessadHealthCareNotification'])
|
47
|
|
48
|
# Adding model 'Status'
|
49
|
db.create_table('dossiers_status', (
|
50
|
('type', self.gf('django.db.models.fields.CharField')(max_length=80)),
|
51
|
('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
|
52
|
('name', self.gf('django.db.models.fields.CharField')(max_length=150)),
|
53
|
))
|
54
|
db.send_create_signal('dossiers', ['Status'])
|
55
|
|
56
|
# Adding M2M table for field services on 'Status'
|
57
|
db.create_table('dossiers_status_services', (
|
58
|
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
|
59
|
('status', models.ForeignKey(orm['dossiers.status'], null=False)),
|
60
|
('service', models.ForeignKey(orm['ressources.service'], null=False))
|
61
|
))
|
62
|
db.create_unique('dossiers_status_services', ['status_id', 'service_id'])
|
63
|
|
64
|
# Adding model 'FileState'
|
65
|
db.create_table('dossiers_filestate', (
|
66
|
('status', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dossiers.Status'])),
|
67
|
('comment', self.gf('django.db.models.fields.TextField')(max_length=3000, null=True, blank=True)),
|
68
|
('patient', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dossiers.PatientRecord'])),
|
69
|
('author', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'])),
|
70
|
('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)),
|
71
|
('date_selected', self.gf('django.db.models.fields.DateTimeField')()),
|
72
|
('previous_state', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['dossiers.FileState'], null=True, blank=True)),
|
73
|
('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
|
74
|
))
|
75
|
db.send_create_signal('dossiers', ['FileState'])
|
76
|
|
77
|
# Adding model 'PatientAddress'
|
78
|
db.create_table('dossiers_patientaddress', (
|
79
|
('comment', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
|
80
|
('city', self.gf('django.db.models.fields.CharField')(max_length=60, null=True, blank=True)),
|
81
|
('fax', self.gf('calebasse.models.PhoneNumberField')(max_length=20, null=True, blank=True)),
|
82
|
('display_name', self.gf('django.db.models.fields.CharField')(max_length=276)),
|
83
|
('address_complement', self.gf('django.db.models.fields.CharField')(max_length=100, null=True, blank=True)),
|
84
|
('number', self.gf('django.db.models.fields.CharField')(max_length=12, null=True, blank=True)),
|
85
|
('phone', self.gf('calebasse.models.PhoneNumberField')(max_length=20, null=True, blank=True)),
|
86
|
('street', self.gf('django.db.models.fields.CharField')(max_length=100, null=True, blank=True)),
|
87
|
('place_of_life', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
|
88
|
('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
|
89
|
('zip_code', self.gf('calebasse.models.ZipCodeField')(max_length=5, null=True, blank=True)),
|
90
|
))
|
91
|
db.send_create_signal('dossiers', ['PatientAddress'])
|
92
|
|
93
|
# Adding model 'PatientContact'
|
94
|
db.create_table('dossiers_patientcontact', (
|
95
|
('birthplace', self.gf('django.db.models.fields.CharField')(max_length=100, null=True, blank=True)),
|
96
|
('old_contact_id', self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True)),
|
97
|
('thirdparty_payer', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
|
98
|
('mobile', self.gf('calebasse.models.PhoneNumberField')(max_length=20, null=True, blank=True)),
|
99
|
('health_center', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['ressources.HealthCenter'], null=True, blank=True)),
|
100
|
('social_security_id', self.gf('django.db.models.fields.CharField')(max_length=13, null=True, blank=True)),
|
101
|
('parente', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.PatientRelatedLink'], null=True, blank=True)),
|
102
|
('birthdate', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),
|
103
|
('people_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['personnes.People'], unique=True, primary_key=True)),
|
104
|
('contact_comment', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
|
105
|
('job', self.gf('django.db.models.fields.related.ForeignKey')(default=None, related_name='job', null=True, blank=True, to=orm['ressources.Job'])),
|
106
|
('twinning_rank', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)),
|
107
|
('other_health_center', self.gf('django.db.models.fields.CharField')(max_length=4, null=True, blank=True)),
|
108
|
('begin_rights', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),
|
109
|
('end_rights', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),
|
110
|
))
|
111
|
db.send_create_signal('dossiers', ['PatientContact'])
|
112
|
|
113
|
# Adding M2M table for field addresses on 'PatientContact'
|
114
|
db.create_table('dossiers_patientcontact_addresses', (
|
115
|
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
|
116
|
('patientcontact', models.ForeignKey(orm['dossiers.patientcontact'], null=False)),
|
117
|
('patientaddress', models.ForeignKey(orm['dossiers.patientaddress'], null=False))
|
118
|
))
|
119
|
db.create_unique('dossiers_patientcontact_addresses', ['patientcontact_id', 'patientaddress_id'])
|
120
|
|
121
|
# Adding model 'PatientRecord'
|
122
|
db.create_table('dossiers_patientrecord', (
|
123
|
('comment', self.gf('django.db.models.fields.TextField')(default=None, null=True, blank=True)),
|
124
|
('transporttype', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.TransportType'], null=True, blank=True)),
|
125
|
('weight', self.gf('django.db.models.fields.IntegerField')(default=None, null=True, blank=True)),
|
126
|
('creator', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'])),
|
127
|
('outto', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.OutTo'], null=True, blank=True)),
|
128
|
('paper_id', self.gf('django.db.models.fields.CharField')(max_length=6, null=True, blank=True)),
|
129
|
('familymotive', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.FamilyMotive'], null=True, blank=True)),
|
130
|
('externalintervener', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['personnes.ExternalWorker'], null=True, blank=True)),
|
131
|
('apgar_score_two', self.gf('django.db.models.fields.IntegerField')(default=None, null=True, blank=True)),
|
132
|
('rm_mother', self.gf('django.db.models.fields.related.ForeignKey')(default=None, related_name='rm_mother', null=True, blank=True, to=orm['ressources.MaritalStatusType'])),
|
133
|
('size', self.gf('django.db.models.fields.IntegerField')(default=None, null=True, blank=True)),
|
134
|
('last_state', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', null=True, to=orm['dossiers.FileState'])),
|
135
|
('externaldoctor', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['personnes.ExternalTherapist'], null=True, blank=True)),
|
136
|
('pause', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
|
137
|
('pregnancy_term', self.gf('django.db.models.fields.IntegerField')(default=None, null=True, blank=True)),
|
138
|
('service', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['ressources.Service'], null=True, blank=True)),
|
139
|
('job_mother', self.gf('django.db.models.fields.related.ForeignKey')(default=None, related_name='job_mother', null=True, blank=True, to=orm['ressources.Job'])),
|
140
|
('apgar_score_one', self.gf('django.db.models.fields.IntegerField')(default=None, null=True, blank=True)),
|
141
|
('provenance', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.Provenance'], null=True, blank=True)),
|
142
|
('cranium_perimeter', self.gf('django.db.models.fields.DecimalField')(default=None, null=True, max_digits=5, decimal_places=2, blank=True)),
|
143
|
('outmotive', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.OutMotive'], null=True, blank=True)),
|
144
|
('job_father', self.gf('django.db.models.fields.related.ForeignKey')(default=None, related_name='job_father', null=True, blank=True, to=orm['ressources.Job'])),
|
145
|
('nb_children_family', self.gf('django.db.models.fields.IntegerField')(default=None, null=True, blank=True)),
|
146
|
('transportcompany', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.TransportCompany'], null=True, blank=True)),
|
147
|
('policyholder', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='+', null=True, to=orm['dossiers.PatientContact'])),
|
148
|
('confidential', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
|
149
|
('old_id', self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True)),
|
150
|
('advicegiver', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.AdviceGiver'], null=True, blank=True)),
|
151
|
('rm_father', self.gf('django.db.models.fields.related.ForeignKey')(default=None, related_name='rm_father', null=True, blank=True, to=orm['ressources.MaritalStatusType'])),
|
152
|
('nationality', self.gf('django.db.models.fields.CharField')(max_length=70, null=True, blank=True)),
|
153
|
('old_old_id', self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True)),
|
154
|
('parental_authority', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.ParentalAuthorityType'], null=True, blank=True)),
|
155
|
('sibship_place', self.gf('django.db.models.fields.IntegerField')(default=None, null=True, blank=True)),
|
156
|
('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)),
|
157
|
('child_custody', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.ParentalCustodyType'], null=True, blank=True)),
|
158
|
('family_comment', self.gf('django.db.models.fields.TextField')(default=None, null=True, blank=True)),
|
159
|
('family_situation', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.FamilySituationType'], null=True, blank=True)),
|
160
|
('analysemotive', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['ressources.AnalyseMotive'], null=True, blank=True)),
|
161
|
('chest_perimeter', self.gf('django.db.models.fields.DecimalField')(default=None, null=True, max_digits=5, decimal_places=2, blank=True)),
|
162
|
('patientcontact_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['dossiers.PatientContact'], unique=True, primary_key=True)),
|
163
|
))
|
164
|
db.send_create_signal('dossiers', ['PatientRecord'])
|
165
|
|
166
|
# Adding M2M table for field coordinators on 'PatientRecord'
|
167
|
db.create_table('dossiers_patientrecord_coordinators', (
|
168
|
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
|
169
|
('patientrecord', models.ForeignKey(orm['dossiers.patientrecord'], null=False)),
|
170
|
('worker', models.ForeignKey(orm['personnes.worker'], null=False))
|
171
|
))
|
172
|
db.create_unique('dossiers_patientrecord_coordinators', ['patientrecord_id', 'worker_id'])
|
173
|
|
174
|
# Adding M2M table for field contacts on 'PatientRecord'
|
175
|
db.create_table('dossiers_patientrecord_contacts', (
|
176
|
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
|
177
|
('patientrecord', models.ForeignKey(orm['dossiers.patientrecord'], null=False)),
|
178
|
('patientcontact', models.ForeignKey(orm['dossiers.patientcontact'], null=False))
|
179
|
))
|
180
|
db.create_unique('dossiers_patientrecord_contacts', ['patientrecord_id', 'patientcontact_id'])
|
181
|
|
182
|
# Adding M2M table for field mdph_responses on 'PatientRecord'
|
183
|
db.create_table('dossiers_patientrecord_mdph_responses', (
|
184
|
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
|
185
|
('patientrecord', models.ForeignKey(orm['dossiers.patientrecord'], null=False)),
|
186
|
('mdphresponse', models.ForeignKey(orm['ressources.mdphresponse'], null=False))
|
187
|
))
|
188
|
db.create_unique('dossiers_patientrecord_mdph_responses', ['patientrecord_id', 'mdphresponse_id'])
|
189
|
|
190
|
# Adding M2M table for field mises_2 on 'PatientRecord'
|
191
|
db.create_table('dossiers_patientrecord_mises_2', (
|
192
|
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
|
193
|
('patientrecord', models.ForeignKey(orm['dossiers.patientrecord'], null=False)),
|
194
|
('codecftmea', models.ForeignKey(orm['ressources.codecftmea'], null=False))
|
195
|
))
|
196
|
db.create_unique('dossiers_patientrecord_mises_2', ['patientrecord_id', 'codecftmea_id'])
|
197
|
|
198
|
# Adding M2M table for field mises_1 on 'PatientRecord'
|
199
|
db.create_table('dossiers_patientrecord_mises_1', (
|
200
|
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
|
201
|
('patientrecord', models.ForeignKey(orm['dossiers.patientrecord'], null=False)),
|
202
|
('codecftmea', models.ForeignKey(orm['ressources.codecftmea'], null=False))
|
203
|
))
|
204
|
db.create_unique('dossiers_patientrecord_mises_1', ['patientrecord_id', 'codecftmea_id'])
|
205
|
|
206
|
# Adding M2M table for field socialisation_durations on 'PatientRecord'
|
207
|
db.create_table('dossiers_patientrecord_socialisation_durations', (
|
208
|
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
|
209
|
('patientrecord', models.ForeignKey(orm['dossiers.patientrecord'], null=False)),
|
210
|
('socialisationduration', models.ForeignKey(orm['ressources.socialisationduration'], null=False))
|
211
|
))
|
212
|
db.create_unique('dossiers_patientrecord_socialisation_durations', ['patientrecord_id', 'socialisationduration_id'])
|
213
|
|
214
|
# Adding M2M table for field mdph_requests on 'PatientRecord'
|
215
|
db.create_table('dossiers_patientrecord_mdph_requests', (
|
216
|
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
|
217
|
('patientrecord', models.ForeignKey(orm['dossiers.patientrecord'], null=False)),
|
218
|
('mdphrequest', models.ForeignKey(orm['ressources.mdphrequest'], null=False))
|
219
|
))
|
220
|
db.create_unique('dossiers_patientrecord_mdph_requests', ['patientrecord_id', 'mdphrequest_id'])
|
221
|
|
222
|
# Adding M2M table for field mises_3 on 'PatientRecord'
|
223
|
db.create_table('dossiers_patientrecord_mises_3', (
|
224
|
('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
|
225
|
('patientrecord', models.ForeignKey(orm['dossiers.patientrecord'], null=False)),
|
226
|
('codecftmea', models.ForeignKey(orm['ressources.codecftmea'], null=False))
|
227
|
))
|
228
|
db.create_unique('dossiers_patientrecord_mises_3', ['patientrecord_id', 'codecftmea_id'])
|
229
|
|
230
|
|
231
|
def backwards(self, orm):
|
232
|
|
233
|
# Deleting model 'HealthCare'
|
234
|
db.delete_table('dossiers_healthcare')
|
235
|
|
236
|
# Deleting model 'CmppHealthCareDiagnostic'
|
237
|
db.delete_table('dossiers_cmpphealthcarediagnostic')
|
238
|
|
239
|
# Deleting model 'CmppHealthCareTreatment'
|
240
|
db.delete_table('dossiers_cmpphealthcaretreatment')
|
241
|
|
242
|
# Deleting model 'SessadHealthCareNotification'
|
243
|
db.delete_table('dossiers_sessadhealthcarenotification')
|
244
|
|
245
|
# Deleting model 'Status'
|
246
|
db.delete_table('dossiers_status')
|
247
|
|
248
|
# Removing M2M table for field services on 'Status'
|
249
|
db.delete_table('dossiers_status_services')
|
250
|
|
251
|
# Deleting model 'FileState'
|
252
|
db.delete_table('dossiers_filestate')
|
253
|
|
254
|
# Deleting model 'PatientAddress'
|
255
|
db.delete_table('dossiers_patientaddress')
|
256
|
|
257
|
# Deleting model 'PatientContact'
|
258
|
db.delete_table('dossiers_patientcontact')
|
259
|
|
260
|
# Removing M2M table for field addresses on 'PatientContact'
|
261
|
db.delete_table('dossiers_patientcontact_addresses')
|
262
|
|
263
|
# Deleting model 'PatientRecord'
|
264
|
db.delete_table('dossiers_patientrecord')
|
265
|
|
266
|
# Removing M2M table for field coordinators on 'PatientRecord'
|
267
|
db.delete_table('dossiers_patientrecord_coordinators')
|
268
|
|
269
|
# Removing M2M table for field contacts on 'PatientRecord'
|
270
|
db.delete_table('dossiers_patientrecord_contacts')
|
271
|
|
272
|
# Removing M2M table for field mdph_responses on 'PatientRecord'
|
273
|
db.delete_table('dossiers_patientrecord_mdph_responses')
|
274
|
|
275
|
# Removing M2M table for field mises_2 on 'PatientRecord'
|
276
|
db.delete_table('dossiers_patientrecord_mises_2')
|
277
|
|
278
|
# Removing M2M table for field mises_1 on 'PatientRecord'
|
279
|
db.delete_table('dossiers_patientrecord_mises_1')
|
280
|
|
281
|
# Removing M2M table for field socialisation_durations on 'PatientRecord'
|
282
|
db.delete_table('dossiers_patientrecord_socialisation_durations')
|
283
|
|
284
|
# Removing M2M table for field mdph_requests on 'PatientRecord'
|
285
|
db.delete_table('dossiers_patientrecord_mdph_requests')
|
286
|
|
287
|
# Removing M2M table for field mises_3 on 'PatientRecord'
|
288
|
db.delete_table('dossiers_patientrecord_mises_3')
|
289
|
|
290
|
|
291
|
models = {
|
292
|
'auth.group': {
|
293
|
'Meta': {'object_name': 'Group'},
|
294
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
295
|
'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
|
296
|
'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
|
297
|
},
|
298
|
'auth.permission': {
|
299
|
'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
|
300
|
'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
|
301
|
'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
|
302
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
303
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
|
304
|
},
|
305
|
'auth.user': {
|
306
|
'Meta': {'object_name': 'User'},
|
307
|
'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2013, 2, 13, 16, 37, 34, 720049)'}),
|
308
|
'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
|
309
|
'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
|
310
|
'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
|
311
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
312
|
'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
|
313
|
'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
314
|
'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
315
|
'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2013, 2, 13, 16, 37, 34, 719965)'}),
|
316
|
'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
|
317
|
'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
|
318
|
'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
|
319
|
'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
|
320
|
},
|
321
|
'contenttypes.contenttype': {
|
322
|
'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
|
323
|
'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
|
324
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
325
|
'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
|
326
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
|
327
|
},
|
328
|
'dossiers.cmpphealthcarediagnostic': {
|
329
|
'Meta': {'object_name': 'CmppHealthCareDiagnostic', '_ormbases': ['dossiers.HealthCare']},
|
330
|
'act_number': ('django.db.models.fields.IntegerField', [], {'default': '6'}),
|
331
|
'healthcare_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dossiers.HealthCare']", 'unique': 'True', 'primary_key': 'True'})
|
332
|
},
|
333
|
'dossiers.cmpphealthcaretreatment': {
|
334
|
'Meta': {'object_name': 'CmppHealthCareTreatment', '_ormbases': ['dossiers.HealthCare']},
|
335
|
'act_number': ('django.db.models.fields.IntegerField', [], {'default': '30'}),
|
336
|
'end_date': ('django.db.models.fields.DateField', [], {}),
|
337
|
'healthcare_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dossiers.HealthCare']", 'unique': 'True', 'primary_key': 'True'}),
|
338
|
'prolongation': ('django.db.models.fields.IntegerField', [], {'default': '0'})
|
339
|
},
|
340
|
'dossiers.filestate': {
|
341
|
'Meta': {'object_name': 'FileState'},
|
342
|
'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}),
|
343
|
'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
|
344
|
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
|
345
|
'date_selected': ('django.db.models.fields.DateTimeField', [], {}),
|
346
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
347
|
'patient': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dossiers.PatientRecord']"}),
|
348
|
'previous_state': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dossiers.FileState']", 'null': 'True', 'blank': 'True'}),
|
349
|
'status': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dossiers.Status']"})
|
350
|
},
|
351
|
'dossiers.healthcare': {
|
352
|
'Meta': {'object_name': 'HealthCare'},
|
353
|
'agree_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
|
354
|
'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}),
|
355
|
'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
|
356
|
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
|
357
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
358
|
'insist_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
|
359
|
'patient': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['dossiers.PatientRecord']"}),
|
360
|
'request_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
|
361
|
'start_date': ('django.db.models.fields.DateField', [], {})
|
362
|
},
|
363
|
'dossiers.patientaddress': {
|
364
|
'Meta': {'object_name': 'PatientAddress'},
|
365
|
'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
|
366
|
'city': ('django.db.models.fields.CharField', [], {'max_length': '60', 'null': 'True', 'blank': 'True'}),
|
367
|
'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
|
368
|
'display_name': ('django.db.models.fields.CharField', [], {'max_length': '276'}),
|
369
|
'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
|
370
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
371
|
'number': ('django.db.models.fields.CharField', [], {'max_length': '12', 'null': 'True', 'blank': 'True'}),
|
372
|
'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
|
373
|
'place_of_life': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
374
|
'street': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
|
375
|
'zip_code': ('calebasse.models.ZipCodeField', [], {'max_length': '5', 'null': 'True', 'blank': 'True'})
|
376
|
},
|
377
|
'dossiers.patientcontact': {
|
378
|
'Meta': {'object_name': 'PatientContact', '_ormbases': ['personnes.People']},
|
379
|
'addresses': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['dossiers.PatientAddress']", 'symmetrical': 'False'}),
|
380
|
'begin_rights': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
|
381
|
'birthdate': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
|
382
|
'birthplace': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
|
383
|
'contact_comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
|
384
|
'end_rights': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
|
385
|
'health_center': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ressources.HealthCenter']", 'null': 'True', 'blank': 'True'}),
|
386
|
'job': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'job'", 'null': 'True', 'blank': 'True', 'to': "orm['ressources.Job']"}),
|
387
|
'mobile': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
|
388
|
'old_contact_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
389
|
'other_health_center': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}),
|
390
|
'parente': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.PatientRelatedLink']", 'null': 'True', 'blank': 'True'}),
|
391
|
'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
|
392
|
'social_security_id': ('django.db.models.fields.CharField', [], {'max_length': '13', 'null': 'True', 'blank': 'True'}),
|
393
|
'thirdparty_payer': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
394
|
'twinning_rank': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'})
|
395
|
},
|
396
|
'dossiers.patientrecord': {
|
397
|
'Meta': {'object_name': 'PatientRecord', '_ormbases': ['dossiers.PatientContact']},
|
398
|
'advicegiver': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.AdviceGiver']", 'null': 'True', 'blank': 'True'}),
|
399
|
'analysemotive': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.AnalyseMotive']", 'null': 'True', 'blank': 'True'}),
|
400
|
'apgar_score_one': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
|
401
|
'apgar_score_two': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
|
402
|
'chest_perimeter': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '5', 'decimal_places': '2', 'blank': 'True'}),
|
403
|
'child_custody': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.ParentalCustodyType']", 'null': 'True', 'blank': 'True'}),
|
404
|
'comment': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
|
405
|
'confidential': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
406
|
'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'contact_of'", 'symmetrical': 'False', 'to': "orm['dossiers.PatientContact']"}),
|
407
|
'coordinators': ('django.db.models.fields.related.ManyToManyField', [], {'default': 'None', 'to': "orm['personnes.Worker']", 'null': 'True', 'symmetrical': 'False', 'blank': 'True'}),
|
408
|
'cranium_perimeter': ('django.db.models.fields.DecimalField', [], {'default': 'None', 'null': 'True', 'max_digits': '5', 'decimal_places': '2', 'blank': 'True'}),
|
409
|
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
|
410
|
'creator': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}),
|
411
|
'externaldoctor': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['personnes.ExternalTherapist']", 'null': 'True', 'blank': 'True'}),
|
412
|
'externalintervener': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['personnes.ExternalWorker']", 'null': 'True', 'blank': 'True'}),
|
413
|
'family_comment': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
|
414
|
'family_situation': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.FamilySituationType']", 'null': 'True', 'blank': 'True'}),
|
415
|
'familymotive': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.FamilyMotive']", 'null': 'True', 'blank': 'True'}),
|
416
|
'job_father': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'job_father'", 'null': 'True', 'blank': 'True', 'to': "orm['ressources.Job']"}),
|
417
|
'job_mother': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'job_mother'", 'null': 'True', 'blank': 'True', 'to': "orm['ressources.Job']"}),
|
418
|
'last_state': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'null': 'True', 'to': "orm['dossiers.FileState']"}),
|
419
|
'mdph_requests': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mdph_requests_of'", 'symmetrical': 'False', 'to': "orm['ressources.MDPHRequest']"}),
|
420
|
'mdph_responses': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mdph_responses_of'", 'symmetrical': 'False', 'to': "orm['ressources.MDPHResponse']"}),
|
421
|
'mises_1': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mises1'", 'default': 'None', 'to': "orm['ressources.CodeCFTMEA']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
|
422
|
'mises_2': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mises2'", 'default': 'None', 'to': "orm['ressources.CodeCFTMEA']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
|
423
|
'mises_3': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mises3'", 'default': 'None', 'to': "orm['ressources.CodeCFTMEA']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}),
|
424
|
'nationality': ('django.db.models.fields.CharField', [], {'max_length': '70', 'null': 'True', 'blank': 'True'}),
|
425
|
'nb_children_family': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
|
426
|
'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
427
|
'old_old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
428
|
'outmotive': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.OutMotive']", 'null': 'True', 'blank': 'True'}),
|
429
|
'outto': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.OutTo']", 'null': 'True', 'blank': 'True'}),
|
430
|
'paper_id': ('django.db.models.fields.CharField', [], {'max_length': '6', 'null': 'True', 'blank': 'True'}),
|
431
|
'parental_authority': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.ParentalAuthorityType']", 'null': 'True', 'blank': 'True'}),
|
432
|
'patientcontact_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dossiers.PatientContact']", 'unique': 'True', 'primary_key': 'True'}),
|
433
|
'pause': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
434
|
'policyholder': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['dossiers.PatientContact']"}),
|
435
|
'pregnancy_term': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
|
436
|
'provenance': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.Provenance']", 'null': 'True', 'blank': 'True'}),
|
437
|
'rm_father': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'rm_father'", 'null': 'True', 'blank': 'True', 'to': "orm['ressources.MaritalStatusType']"}),
|
438
|
'rm_mother': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'rm_mother'", 'null': 'True', 'blank': 'True', 'to': "orm['ressources.MaritalStatusType']"}),
|
439
|
'service': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ressources.Service']", 'null': 'True', 'blank': 'True'}),
|
440
|
'sibship_place': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
|
441
|
'size': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
|
442
|
'socialisation_durations': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'socialisation_duration_of'", 'symmetrical': 'False', 'to': "orm['ressources.SocialisationDuration']"}),
|
443
|
'transportcompany': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.TransportCompany']", 'null': 'True', 'blank': 'True'}),
|
444
|
'transporttype': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': "orm['ressources.TransportType']", 'null': 'True', 'blank': 'True'}),
|
445
|
'weight': ('django.db.models.fields.IntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'})
|
446
|
},
|
447
|
'dossiers.sessadhealthcarenotification': {
|
448
|
'Meta': {'object_name': 'SessadHealthCareNotification', '_ormbases': ['dossiers.HealthCare']},
|
449
|
'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
|
450
|
'healthcare_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['dossiers.HealthCare']", 'unique': 'True', 'primary_key': 'True'})
|
451
|
},
|
452
|
'dossiers.status': {
|
453
|
'Meta': {'object_name': 'Status'},
|
454
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
455
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
|
456
|
'services': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['ressources.Service']", 'symmetrical': 'False'}),
|
457
|
'type': ('django.db.models.fields.CharField', [], {'max_length': '80'})
|
458
|
},
|
459
|
'personnes.externaltherapist': {
|
460
|
'Meta': {'object_name': 'ExternalTherapist', '_ormbases': ['personnes.People']},
|
461
|
'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
|
462
|
'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
|
463
|
'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
|
464
|
'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
|
465
|
'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
|
466
|
'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
467
|
'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
468
|
'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
|
469
|
'phone_work': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
|
470
|
'type': ('django.db.models.fields.related.ForeignKey', [], {'default': '18', 'to': "orm['ressources.WorkerType']"}),
|
471
|
'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
|
472
|
},
|
473
|
'personnes.externalworker': {
|
474
|
'Meta': {'object_name': 'ExternalWorker', '_ormbases': ['personnes.People']},
|
475
|
'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
|
476
|
'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
|
477
|
'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
|
478
|
'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
|
479
|
'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
|
480
|
'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
481
|
'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
482
|
'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
|
483
|
'phone_work': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
|
484
|
'type': ('django.db.models.fields.related.ForeignKey', [], {'default': '18', 'to': "orm['ressources.WorkerType']"}),
|
485
|
'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
|
486
|
},
|
487
|
'personnes.people': {
|
488
|
'Meta': {'object_name': 'People'},
|
489
|
'display_name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}),
|
490
|
'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
|
491
|
'first_name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
|
492
|
'gender': ('django.db.models.fields.IntegerField', [], {'max_length': '1', 'null': 'True', 'blank': 'True'}),
|
493
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
494
|
'last_name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}),
|
495
|
'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'})
|
496
|
},
|
497
|
'personnes.worker': {
|
498
|
'Meta': {'object_name': 'Worker', '_ormbases': ['personnes.People']},
|
499
|
'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
|
500
|
'initials': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '5'}),
|
501
|
'old_camsp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
502
|
'old_cmpp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
503
|
'old_sessad_dys_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
504
|
'old_sessad_ted_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
505
|
'people_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['personnes.People']", 'unique': 'True', 'primary_key': 'True'}),
|
506
|
'services': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['ressources.Service']", 'null': 'True', 'blank': 'True'}),
|
507
|
'type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ressources.WorkerType']"})
|
508
|
},
|
509
|
'ressources.advicegiver': {
|
510
|
'Meta': {'object_name': 'AdviceGiver'},
|
511
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
512
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
|
513
|
},
|
514
|
'ressources.analysemotive': {
|
515
|
'Meta': {'object_name': 'AnalyseMotive'},
|
516
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
517
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
|
518
|
},
|
519
|
'ressources.codecftmea': {
|
520
|
'Meta': {'object_name': 'CodeCFTMEA'},
|
521
|
'axe': ('django.db.models.fields.IntegerField', [], {'max_length': '1'}),
|
522
|
'code': ('django.db.models.fields.IntegerField', [], {}),
|
523
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
524
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
|
525
|
},
|
526
|
'ressources.familymotive': {
|
527
|
'Meta': {'object_name': 'FamilyMotive'},
|
528
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
529
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
|
530
|
},
|
531
|
'ressources.familysituationtype': {
|
532
|
'Meta': {'object_name': 'FamilySituationType'},
|
533
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
534
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
|
535
|
},
|
536
|
'ressources.healthcenter': {
|
537
|
'Meta': {'object_name': 'HealthCenter'},
|
538
|
'abbreviation': ('django.db.models.fields.CharField', [], {'default': 'True', 'max_length': '8', 'null': 'True'}),
|
539
|
'accounting_number': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
|
540
|
'active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
|
541
|
'address': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
|
542
|
'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
|
543
|
'city': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
|
544
|
'code': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}),
|
545
|
'computer_center_code': ('django.db.models.fields.CharField', [], {'default': 'True', 'max_length': '8', 'null': 'True'}),
|
546
|
'correspondant': ('django.db.models.fields.CharField', [], {'max_length': '80'}),
|
547
|
'dest_organism': ('django.db.models.fields.CharField', [], {'max_length': '8'}),
|
548
|
'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
|
549
|
'fax': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}),
|
550
|
'health_fund': ('django.db.models.fields.CharField', [], {'max_length': '3'}),
|
551
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
552
|
'large_regime': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ressources.LargeRegime']"}),
|
553
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
|
554
|
'phone': ('django.db.models.fields.CharField', [], {'max_length': '30'}),
|
555
|
'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '8'})
|
556
|
},
|
557
|
'ressources.job': {
|
558
|
'Meta': {'object_name': 'Job'},
|
559
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
560
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
|
561
|
},
|
562
|
'ressources.largeregime': {
|
563
|
'Meta': {'object_name': 'LargeRegime'},
|
564
|
'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}),
|
565
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
566
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
|
567
|
},
|
568
|
'ressources.maritalstatustype': {
|
569
|
'Meta': {'object_name': 'MaritalStatusType'},
|
570
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
571
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
|
572
|
},
|
573
|
'ressources.mdph': {
|
574
|
'Meta': {'object_name': 'MDPH'},
|
575
|
'address': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}),
|
576
|
'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
|
577
|
'city': ('django.db.models.fields.CharField', [], {'max_length': '80', 'null': 'True', 'blank': 'True'}),
|
578
|
'department': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
|
579
|
'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
|
580
|
'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
|
581
|
'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
|
582
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
583
|
'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
|
584
|
'website': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
|
585
|
'zip_code': ('calebasse.models.ZipCodeField', [], {'max_length': '5', 'null': 'True', 'blank': 'True'})
|
586
|
},
|
587
|
'ressources.mdphrequest': {
|
588
|
'Meta': {'object_name': 'MDPHRequest'},
|
589
|
'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
|
590
|
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
|
591
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
592
|
'mdph': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ressources.MDPH']"}),
|
593
|
'start_date': ('django.db.models.fields.DateField', [], {})
|
594
|
},
|
595
|
'ressources.mdphresponse': {
|
596
|
'Meta': {'object_name': 'MDPHResponse'},
|
597
|
'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
|
598
|
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
|
599
|
'end_date': ('django.db.models.fields.DateField', [], {}),
|
600
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
601
|
'mdph': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ressources.MDPH']"}),
|
602
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
|
603
|
'rate': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}),
|
604
|
'start_date': ('django.db.models.fields.DateField', [], {}),
|
605
|
'type_aide': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '1'})
|
606
|
},
|
607
|
'ressources.outmotive': {
|
608
|
'Meta': {'object_name': 'OutMotive'},
|
609
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
610
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
|
611
|
},
|
612
|
'ressources.outto': {
|
613
|
'Meta': {'object_name': 'OutTo'},
|
614
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
615
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
|
616
|
},
|
617
|
'ressources.parentalauthoritytype': {
|
618
|
'Meta': {'object_name': 'ParentalAuthorityType'},
|
619
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
620
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
|
621
|
},
|
622
|
'ressources.parentalcustodytype': {
|
623
|
'Meta': {'object_name': 'ParentalCustodyType'},
|
624
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
625
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
|
626
|
},
|
627
|
'ressources.patientrelatedlink': {
|
628
|
'Meta': {'object_name': 'PatientRelatedLink'},
|
629
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
630
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
|
631
|
'old_camsp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
632
|
'old_cmpp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
633
|
'old_sessad_dys_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
634
|
'old_sessad_ted_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'})
|
635
|
},
|
636
|
'ressources.provenance': {
|
637
|
'Meta': {'object_name': 'Provenance'},
|
638
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
639
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
|
640
|
'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
641
|
'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'})
|
642
|
},
|
643
|
'ressources.school': {
|
644
|
'Meta': {'object_name': 'School'},
|
645
|
'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
|
646
|
'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
|
647
|
'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
|
648
|
'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
|
649
|
'director_name': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '70', 'null': 'True', 'blank': 'True'}),
|
650
|
'email': ('django.db.models.fields.EmailField', [], {'default': 'None', 'max_length': '75', 'null': 'True', 'blank': 'True'}),
|
651
|
'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
|
652
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
653
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
|
654
|
'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
655
|
'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
656
|
'phone': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
|
657
|
'school_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ressources.SchoolType']"}),
|
658
|
'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
|
659
|
},
|
660
|
'ressources.schoollevel': {
|
661
|
'Meta': {'object_name': 'SchoolLevel'},
|
662
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
663
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
|
664
|
'old_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
665
|
'old_service': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'})
|
666
|
},
|
667
|
'ressources.schooltype': {
|
668
|
'Meta': {'object_name': 'SchoolType'},
|
669
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
670
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
|
671
|
'services': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['ressources.Service']", 'symmetrical': 'False'})
|
672
|
},
|
673
|
'ressources.service': {
|
674
|
'Meta': {'object_name': 'Service'},
|
675
|
'description': ('django.db.models.fields.TextField', [], {}),
|
676
|
'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
|
677
|
'fax': ('calebasse.models.PhoneNumberField', [], {'max_length': '20'}),
|
678
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
679
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
|
680
|
'phone': ('calebasse.models.PhoneNumberField', [], {'max_length': '20'}),
|
681
|
'slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'db_index': 'True'})
|
682
|
},
|
683
|
'ressources.socialisationduration': {
|
684
|
'Meta': {'object_name': 'SocialisationDuration'},
|
685
|
'comment': ('django.db.models.fields.TextField', [], {'max_length': '3000', 'null': 'True', 'blank': 'True'}),
|
686
|
'contact': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '200', 'null': 'True', 'blank': 'True'}),
|
687
|
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
|
688
|
'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
|
689
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
690
|
'level': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ressources.SchoolLevel']", 'null': 'True', 'blank': 'True'}),
|
691
|
'redoublement': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
692
|
'school': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ressources.School']", 'null': 'True', 'blank': 'True'}),
|
693
|
'start_date': ('django.db.models.fields.DateField', [], {})
|
694
|
},
|
695
|
'ressources.transportcompany': {
|
696
|
'Meta': {'object_name': 'TransportCompany'},
|
697
|
'address': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
|
698
|
'address_complement': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
|
699
|
'city': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '80', 'null': 'True', 'blank': 'True'}),
|
700
|
'correspondant': ('django.db.models.fields.CharField', [], {'max_length': '80', 'null': 'True', 'blank': 'True'}),
|
701
|
'description': ('django.db.models.fields.TextField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}),
|
702
|
'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
|
703
|
'fax': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '30', 'null': 'True', 'blank': 'True'}),
|
704
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
705
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'}),
|
706
|
'old_camsp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
707
|
'old_cmpp_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
708
|
'old_sessad_dys_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
709
|
'old_sessad_ted_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
|
710
|
'phone': ('calebasse.models.PhoneNumberField', [], {'default': 'None', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
|
711
|
'zip_code': ('calebasse.models.ZipCodeField', [], {'default': 'None', 'max_length': '5', 'null': 'True', 'blank': 'True'})
|
712
|
},
|
713
|
'ressources.transporttype': {
|
714
|
'Meta': {'object_name': 'TransportType'},
|
715
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
716
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
|
717
|
},
|
718
|
'ressources.workertype': {
|
719
|
'Meta': {'object_name': 'WorkerType'},
|
720
|
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
|
721
|
'intervene': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
|
722
|
'name': ('django.db.models.fields.CharField', [], {'max_length': '150'})
|
723
|
}
|
724
|
}
|
725
|
|
726
|
complete_apps = ['dossiers']
|