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