Index: cloudsync/config/treatment_report_template.json =================================================================== diff -u -r34a18ebe349364c4e0462d876d4d191bf3df8939 -re868961eccbbbef0154180df14d7432ff78cf476 --- cloudsync/config/treatment_report_template.json (.../treatment_report_template.json) (revision 34a18ebe349364c4e0462d876d4d191bf3df8939) +++ cloudsync/config/treatment_report_template.json (.../treatment_report_template.json) (revision e868961eccbbbef0154180df14d7432ff78cf476) @@ -1,5 +1,6 @@ { "organizationId": "", + "organizationUserId": "", "serialNumber": "", "checksum": "", "reference": "", Index: cloudsync/handlers/cs_mft_dcs_request_handler.py =================================================================== diff -u -r511adda4dbb33037f527e33f722028a800b8e856 -re868961eccbbbef0154180df14d7432ff78cf476 --- cloudsync/handlers/cs_mft_dcs_request_handler.py (.../cs_mft_dcs_request_handler.py) (revision 511adda4dbb33037f527e33f722028a800b8e856) +++ cloudsync/handlers/cs_mft_dcs_request_handler.py (.../cs_mft_dcs_request_handler.py) (revision e868961eccbbbef0154180df14d7432ff78cf476) @@ -292,6 +292,8 @@ # TEMPORARY DELAY TO COMPENSATE FOR DEVICE INTERNAL CLOCK ERROR - TODO REMOVE AFTER FIX completed_at_time = association_time + 302000 + treatment_log_json['organizationUserId'] = patient_id + treatment_log_json['generatedAt'] = generated_at_time treatment_log_json['completedAt'] = completed_at_time Index: cloudsync/utils/globals.py =================================================================== diff -u -r8526ff48b8707a6ee883e3931dcbca0630ff3e15 -re868961eccbbbef0154180df14d7432ff78cf476 --- cloudsync/utils/globals.py (.../globals.py) (revision 8526ff48b8707a6ee883e3931dcbca0630ff3e15) +++ cloudsync/utils/globals.py (.../globals.py) (revision e868961eccbbbef0154180df14d7432ff78cf476) @@ -67,8 +67,9 @@ # UI2CS VALUES UI2CS_FILE_CHANNELS_PATH = "/media/sd-card/cloudsync" +UI2CS_FILE_LOG_PATH = "/media/sd-card/cloudsync/log" # PATH for running off device -# UI2CS_FILE_CHANNELS_PATH = "data/busses" +UI2CS_FILE_CHANNELS_PATH = "data/busses" # TREATMENT REPORT SECTIONS