Revision 7fd275a7
Added by Mikaël Ates about 13 years ago
| scripts/import_dossiers.py | ||
|---|---|---|
|
MaritalStatusType, Job, PatientRelatedLink)
|
||
|
|
||
|
# Configuration
|
||
|
db_path = "./scripts/20121221-192258"
|
||
|
db_path = "./scripts/20130104-213225"
|
||
|
|
||
|
dbs = ["F_ST_ETIENNE_SESSAD_TED", "F_ST_ETIENNE_CMPP", "F_ST_ETIENNE_CAMSP", "F_ST_ETIENNE_SESSAD"]
|
||
|
#dbs = ["F_ST_ETIENNE_CAMSP"]
|
||
| ... | ... | |
|
# pour le cmpp, il va faloire imputer tous les actes facturés aux prises en charges
|
||
|
# pour savoir dans la nouvelle facturation (134) comment les imputer et donc savoir dans quel état est le dossier
|
||
|
|
||
|
|
||
|
for col in ('mdph', 'code_archive', 'aeeh', 'mdph_departement', 'pps', 'pps_deb', 'pps_fin', 'mdph_Debut', 'mdph_Fin'):
|
||
|
if _exist(dossier[col]):
|
||
|
writer2.writerow([dossier[c].encode('utf-8') for c in d_cols] + [service.name, 'Oui', "Données présentes non traitées"])
|
||
Also available in: Unified diff
scripts: update import dossier path.