Index: shared/scripts/configuration/config.py =================================================================== diff -u -rc68166a74a835dc0aab85b6007d10992540e5074 -rf65fd0767abd7dcd3812eab3c242af9d624721a8 --- shared/scripts/configuration/config.py (.../config.py) (revision c68166a74a835dc0aab85b6007d10992540e5074) +++ shared/scripts/configuration/config.py (.../config.py) (revision f65fd0767abd7dcd3812eab3c242af9d624721a8) @@ -17,7 +17,6 @@ from pathlib import Path from configuration.strings import * - # -S, --disable-sd-card-fail-log-stop disable-sd-card-fail-log-stop # -k, --enable-check-in-log Enables Check-In Log # -K, --enable-acknow-log Enables Acknowledgment Log @@ -27,7 +26,8 @@ SERVICE_CONF_LOCATION ="".join([str(HOME_DIR_PATH),'/Projects/application/resources/settings/Settings/System.conf']) -#Post Treatment log file location +CONFIG_PATH = Path(os.getcwd()) +HOME_DIR_PATH = CONFIG_PATH.parent.parent.parent POST_TREATMENT_LOG_LOCATION = "".join([str(HOME_DIR_PATH),'/Desktop/sd-card/treatment/*.log']) #instructions_imagelocation Index: shared/scripts/configuration/strings.py =================================================================== diff -u -r09c151304b448aecfed8a67c28800d161018641e -rf65fd0767abd7dcd3812eab3c242af9d624721a8 --- shared/scripts/configuration/strings.py (.../strings.py) (revision 09c151304b448aecfed8a67c28800d161018641e) +++ shared/scripts/configuration/strings.py (.../strings.py) (revision f65fd0767abd7dcd3812eab3c242af9d624721a8) @@ -312,6 +312,8 @@ #post-treatment PATIENT_DISCONNECTION_TEXT = "Patient Disconnection" REVIEW_TEXT = "Review" +EXPORT_TEXT = "Export" +EXPORT_LOG_MSG = "Unable to export treatment log ''" PATIENT_DISCONNECTION_CONFIRM_BUTTON_TEXT = "CONFIRM" DISPOSABLE_TEXT = "Disposables" NEXT_TEXT = "NEXT" Index: shared/scripts/names.py =================================================================== diff -u -rd49d17524813333d2c450eee1711ee8cc430831e -rf65fd0767abd7dcd3812eab3c242af9d624721a8 --- shared/scripts/names.py (.../names.py) (revision d49d17524813333d2c450eee1711ee8cc430831e) +++ shared/scripts/names.py (.../names.py) (revision f65fd0767abd7dcd3812eab3c242af9d624721a8) @@ -906,6 +906,9 @@ o_right_arrow = {"id": "_rightImage", "source": "qrc:/images/iArrowRight", "type": "Image", "unnamed": 1, "visible": True} o_left_arrow = {"id": "_leftImage", "source": "qrc:/images/iArrowLeft", "type": "Image", "unnamed": 1, "visible": True} +o_PostTreatment_Export_mousearea = {"container": o_PostTreatmentStack_treatmentReviewConfirm_PostTreatmentReview, "id": "_mouseArea", "occurrence": 2, "type": "MouseArea", "unnamed": 1, "visible": True} +o_treatmentlog_msg_export_btn = {"container": o_PostTreatmentStack_treatmentReviewConfirm_PostTreatmentReview, "text": "Unable to export treatment log ''", "type": "Text", "unnamed": 1, "visible": True} + #post treatment review o_PostTreatmentStack_treatmentReviewConfirm_PostTreatmentReview_ONE = {"container": o_PostTreatmentStack_treatmentReviewConfirm_PostTreatmentReview, "type": "Text", "unnamed": 1, "visible": True} o_review_area = {"container": o_PostTreatmentStack_treatmentReviewConfirm_PostTreatmentReview, "id": "_flickable", "type": "Flickable", "unnamed": 1, "visible": True}