Index: build/AlarmMapping.py =================================================================== diff -u -rc9c18984f86c1066660ec415e99dafe677c53821 -r9727cb2ea39c9b8915f86dff00c7f58317b0eae1 --- build/AlarmMapping.py (.../AlarmMapping.py) (revision c9c18984f86c1066660ec415e99dafe677c53821) +++ build/AlarmMapping.py (.../AlarmMapping.py) (revision 9727cb2ea39c9b8915f86dff00c7f58317b0eae1) @@ -305,7 +305,7 @@ 303 : "DG drain pump direction FPGA fault." 304 : "HD invalid usage record." 305 : "HD processor RAM error." - 306 : "HD air trap over-fill alarm." + 306 : "***Available for use***." 307 : "HD AC power lost second alarm." 308 : "DG CPi conductivity sensor invalid character received." 309 : "DG CPo conductivity sensor invalid character received." @@ -328,60 +328,63 @@ # dictionary of rejection reason from application source code. # message location -> denali-> Headers-> common-> MsgDefs.h REJECTION_REASON = { - 0 : "REQUEST_REJECT_REASON_NONE" # Used when there is no rejection. - 1 : "REQUEST_REJECT_REASON_NOT_ALLOWED_IN_CURRENT_MODE" # Request is not allowed in the current operating mode. - 2 : "REQUEST_REJECT_REASON_TIMEOUT_WAITING_FOR_USER_CONFIRM" # Validated request was not confirmed by user in reasonable time. - 3 : "REQUEST_REJECT_REASON_NOT_IN_TREATMENT_MODE" # Request is not allowed if not in treatment mode. - 4 : "REQUEST_REJECT_REASON_INVALID_TREATMENT_STATE" # Request is not allowed in current treatment state. - 5 : "REQUEST_REJECT_REASON_TREATMENT_TOO_CLOSE_TO_FINISHED" # Request is not allowed so near end of treatment. - 6 : "REQUEST_REJECT_REASON_TREATMENT_TIME_OUT_OF_RANGE" # Treatment duration is out of range. - 7 : "REQUEST_REJECT_REASON_TREATMENT_TIME_LESS_THAN_CURRENT" # Treatment time change is less than currently elapsed treatment time. - 8 : "REQUEST_REJECT_REASON_BLOOD_FLOW_OUT_OF_RANGE" # Blood flow is out of range. - 9 : "REQUEST_REJECT_REASON_DIAL_FLOW_OUT_OF_RANGE" # Dialysate flow is out of range. - 10 : "REQUEST_REJECT_REASON_DIAL_VOLUME_OUT_OF_RANGE" # Dialysate flow rate or treatment duration causes dialysate volume to exceed limit. - 11 : "REQUEST_REJECT_REASON_UF_VOLUME_OUT_OF_RANGE" # Ultrafiltration volume is out of range. - 12 : "REQUEST_REJECT_REASON_UF_RATE_OUT_OF_RANGE" # Ultrafiltration rate is out of range. - 13 : "REQUEST_REJECT_REASON_TREATMENT_TIME_LESS_THAN_MINIMUM" # Treatment time change is less than minimum treatment time. - 14 : "REQUEST_REJECT_REASON_UF_NOT_IN_PROGESS" # Ultrafiltration is not currently in progress. - 15 : "REQUEST_REJECT_REASON_UF_NOT_PAUSED" # Ultrafiltration is not currently paused. - 16 : "REQUEST_REJECT_REASON_SALINE_BOLUS_IN_PROGRESS" # A saline bolus is in progress. - 17 : "REQUEST_REJECT_REASON_PARAM_OUT_OF_RANGE" # A treatment parameter is out of range. - 18 : "REQUEST_REJECT_REASON_HEPARIN_PRESTOP_EXCEEDS_DURATION" # The Heparin pre-stop setting is greater than the treatment duration. - 19 : "REQUEST_REJECT_REASON_ARTERIAL_PRESSURE_LOW_VS_HIGH" # Arterial pressure low and high alarm limits are not inconsistent. - 20 : "REQUEST_REJECT_REASON_VENOUS_PRESSURE_LOW_VS_HIGH" # Venous pressure low and high alarm limits are inconsistent. - 21 : "REQUEST_REJECT_REASON_SALINE_MAX_VOLUME_REACHED" # Saline bolus volume maximum has been reached. - 22 : "REQUEST_REJECT_REASON_SALINE_BOLUS_NOT_IN_PROGRESS" # A saline bolus is not in progress. - 23 : "REQUEST_REJECT_REASON_ACTION_DISABLED_IN_CURRENT_STATE" # Requested user action is disabled in current state. - 24 : "REQUEST_REJECT_REASON_ALARM_IS_ACTIVE" # Requested user action not allowed while alarm is active. - 25 : "REQUEST_REJECT_REASON_INVALID_COMMAND" # Requested user action invalid. - 26 : "REQUEST_REJECT_REASON_TREATMENT_IS_COMPLETED" # The treatment has been completed. - 27 : "REQUEST_REJECT_REASON_ADDL_RINSEBACK_MAX_VOLUME_REACHED" # Rinseback additional volume maximum has been reached. - 28 : "REQUEST_REJECT_REASON_UF_VOLUME_NOT_SET" # Ultrafiltration volume is not set yet. - 29 : "REQUEST_REJECT_REASON_NO_PATIENT_CONNECTION_CONFIRM" # The user has not confirmed patient connection. - 30 : "REQUEST_REJECT_REASON_HEPARIN_PAUSE_INVALID_IN_THIS_STATE" # Heparin cannot be paused if not currently deliverying Heparin. - 31 : "REQUEST_REJECT_REASON_HEPARIN_NOT_PAUSED" # Heparin cannot be resumed if not paused. - 32 : "REQUEST_REJECT_REASON_DG_COMM_LOST" # Treatment cannot initiate if DG comm is lost. - 33 : "REQUEST_REJECT_REASON_DRAIN_NOT_COMPLETE" # Post-treatment reservoirs drain not complete. - 34 : "REQUEST_REJECT_REASON_DG_NOT_IN_STANDBY_IDLE_STATE" # Treatment cannot initiate if DG is not in standby idle state. - 35 : "REQUEST_REJECT_REASON_INVALID_REQUEST_FORMAT" # Request message not formatted properly. - 36 : "REQUEST_REJECT_REASON_INVALID_DATE_OR_TIME" # Given date/time is invalid. - 37 : "REQUEST_REJECT_REASON_TREATMENT_IN_PROGRESS" # Treatment is in progress. - 38 : "REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED" # Battery does not have enough charge to start treatment. - 39 : "REQUEST_REJECT_REASON_RINSEBACK_NOT_COMPLETED" # Cannot move on to recirculate without completing full rinseback. - 40 : "REQUEST_REJECT_REASON_RESERVOIR_ONE_IS_NOT_READY" # Reservoir one fill is not complete. - 41 : "REQUEST_REJECT_REASON_PUMP_TRACK_NOT_CLOSED" # Pump track is not ready / closed. - 42 : "REQUEST_REJECT_REASON_DOOR_NOT_CLOSED" # Door is not closed. - 43 : "REQUEST_REJECT_REASON_SYRINGE_NOT_PRESENT" # Syringe is not present. - 44 : "REQUEST_REJECT_REASON_DG_DIALYSATE_CAP_OPEN" # Dialysate cap open. - 45 : "REQUEST_REJECT_REASON_DG_CONCENTRATE_CAP_OPEN" # Concentrate cap open. - 46 : "REQUEST_REJECT_REASON_DG_DISINFECT_HAS_BEEN_EXPIRED" # DG disinfect has been expired. - 47 : "REQUEST_REJECT_REASON_DG_SERVICE_IS_DUE" # DG service is due. - 48 : "REQUEST_REJECT_REASON_HD_SERVICE_IS_DUE" # HD service is due. - 49 : "REQUEST_REJECT_REASON_DG_CHEM_FLUSH_NOT_COMPLETED" # DG chemical flush is not complete. - 50 : "REQUEST_REJECT_REASON_DG_RO_FILTER_TEMPERATURE_OUT_OF_RANGE" # DG RO filter temperature out of range. - 51 : "REQUEST_REJECT_REASON_DG_INCOMPATIBLE" # DG firmware version is not compatible with HD firmware. - 52 : "REQUEST_REJECT_REASON_HEPARIN_PRESTOP_WITH_NO_DISPENSE" # Heparin settings are zero but pre-stop setting is non-zero. - 53 : "REQUEST_REJECT_REASON_DIALYZER_REPRIME_IN_PROGRESS" # Saline bolus is not allowed during dialyzer reprime. - 54 : "NUM_OF_REQUEST_REJECT_REASONS" # Number of settings change reject codes. + 0 : "REQUEST_REJECT_REASON_NONE" # Used when there is no rejection. + 1 : "REQUEST_REJECT_REASON_NOT_ALLOWED_IN_CURRENT_MODE" # Request is not allowed in the current operating mode. + 2 : "REQUEST_REJECT_REASON_TIMEOUT_WAITING_FOR_USER_CONFIRM" # Validated request was not confirmed by user in reasonable time. + 3 : "REQUEST_REJECT_REASON_NOT_IN_TREATMENT_MODE" # Request is not allowed if not in treatment mode. + 4 : "REQUEST_REJECT_REASON_INVALID_TREATMENT_STATE" # Request is not allowed in current treatment state. + 5 : "REQUEST_REJECT_REASON_TREATMENT_TOO_CLOSE_TO_FINISHED" # Request is not allowed so near end of treatment. + 6 : "REQUEST_REJECT_REASON_TREATMENT_TIME_OUT_OF_RANGE" # Treatment duration is out of range. + 7 : "REQUEST_REJECT_REASON_TREATMENT_TIME_LESS_THAN_CURRENT" # Treatment time change is less than currently elapsed treatment time. + 8 : "REQUEST_REJECT_REASON_BLOOD_FLOW_OUT_OF_RANGE" # Blood flow is out of range. + 9 : "REQUEST_REJECT_REASON_DIAL_FLOW_OUT_OF_RANGE" # Dialysate flow is out of range. + 10 : "REQUEST_REJECT_REASON_DIAL_VOLUME_OUT_OF_RANGE" # Dialysate flow rate or treatment duration causes dialysate volume to exceed limit. + 11 : "REQUEST_REJECT_REASON_UF_VOLUME_OUT_OF_RANGE" # Ultrafiltration volume is out of range. + 12 : "REQUEST_REJECT_REASON_UF_RATE_OUT_OF_RANGE" # Ultrafiltration rate is out of range. + 13 : "REQUEST_REJECT_REASON_TREATMENT_TIME_LESS_THAN_MINIMUM" # Treatment time change is less than minimum treatment time. + 14 : "REQUEST_REJECT_REASON_UF_NOT_IN_PROGESS" # Ultrafiltration is not currently in progress. + 15 : "REQUEST_REJECT_REASON_UF_NOT_PAUSED" # Ultrafiltration is not currently paused. + 16 : "REQUEST_REJECT_REASON_SALINE_BOLUS_IN_PROGRESS" # A saline bolus is in progress. + 17 : "REQUEST_REJECT_REASON_PARAM_OUT_OF_RANGE" # A treatment parameter is out of range. + 18 : "REQUEST_REJECT_REASON_HEPARIN_PRESTOP_EXCEEDS_DURATION" # The Heparin pre-stop setting is greater than the treatment duration. + 19 : "REQUEST_REJECT_REASON_ARTERIAL_PRESSURE_LOW_VS_HIGH" # Arterial pressure low and high alarm limits are not inconsistent. + 20 : "REQUEST_REJECT_REASON_VENOUS_PRESSURE_LOW_VS_HIGH" # Venous pressure low and high alarm limits are inconsistent. + 21 : "REQUEST_REJECT_REASON_SALINE_MAX_VOLUME_REACHED" # Saline bolus volume maximum has been reached. + 22 : "REQUEST_REJECT_REASON_SALINE_BOLUS_NOT_IN_PROGRESS" # A saline bolus is not in progress. + 23 : "REQUEST_REJECT_REASON_ACTION_DISABLED_IN_CURRENT_STATE" # Requested user action is disabled in current state. + 24 : "REQUEST_REJECT_REASON_ALARM_IS_ACTIVE" # Requested user action not allowed while alarm is active. + 25 : "REQUEST_REJECT_REASON_INVALID_COMMAND" # Requested user action invalid. + 26 : "REQUEST_REJECT_REASON_TREATMENT_IS_COMPLETED" # The treatment has been completed. + 27 : "REQUEST_REJECT_REASON_ADDL_RINSEBACK_MAX_VOLUME_REACHED" # Rinseback additional volume maximum has been reached. + 28 : "REQUEST_REJECT_REASON_UF_VOLUME_NOT_SET" # Ultrafiltration volume is not set yet. + 29 : "REQUEST_REJECT_REASON_NO_PATIENT_CONNECTION_CONFIRM" # The user has not confirmed patient connection. + 30 : "REQUEST_REJECT_REASON_HEPARIN_PAUSE_INVALID_IN_THIS_STATE" # Heparin cannot be paused if not currently deliverying Heparin. + 31 : "REQUEST_REJECT_REASON_HEPARIN_NOT_PAUSED" # Heparin cannot be resumed if not paused. + 32 : "REQUEST_REJECT_REASON_DG_COMM_LOST" # Treatment cannot initiate if DG comm is lost. + 33 : "REQUEST_REJECT_REASON_DRAIN_NOT_COMPLETE" # Post-treatment reservoirs drain not complete. + 34 : "REQUEST_REJECT_REASON_DG_NOT_IN_STANDBY_IDLE_STATE" # Treatment cannot initiate if DG is not in standby idle state. + 35 : "REQUEST_REJECT_REASON_INVALID_REQUEST_FORMAT" # Request message not formatted properly. + 36 : "REQUEST_REJECT_REASON_INVALID_DATE_OR_TIME" # Given date/time is invalid. + 37 : "REQUEST_REJECT_REASON_TREATMENT_IN_PROGRESS" # Treatment is in progress. + 38 : "REQUEST_REJECT_REASON_BATTERY_IS_NOT_CHARGED" # Battery does not have enough charge to start treatment. + 39 : "REQUEST_REJECT_REASON_RINSEBACK_NOT_COMPLETED" # Cannot move on to recirculate without completing full rinseback. + 40 : "REQUEST_REJECT_REASON_RESERVOIR_ONE_IS_NOT_READY" # Reservoir one fill is not complete. + 41 : "REQUEST_REJECT_REASON_PUMP_TRACK_NOT_CLOSED" # Pump track is not ready / closed. + 42 : "REQUEST_REJECT_REASON_DOOR_NOT_CLOSED" # Door is not closed. + 43 : "REQUEST_REJECT_REASON_SYRINGE_NOT_PRESENT" # Syringe is not present. + 44 : "REQUEST_REJECT_REASON_DG_DIALYSATE_CAP_OPEN" # Dialysate cap open. + 45 : "REQUEST_REJECT_REASON_DG_CONCENTRATE_CAP_OPEN" # Concentrate cap open. + 46 : "REQUEST_REJECT_REASON_DG_DISINFECT_HAS_BEEN_EXPIRED" # DG disinfect has been expired. + 47 : "REQUEST_REJECT_REASON_DG_SERVICE_IS_DUE" # DG service is due. + 48 : "REQUEST_REJECT_REASON_HD_SERVICE_IS_DUE" # HD service is due. + 49 : "REQUEST_REJECT_REASON_DG_CHEM_FLUSH_NOT_COMPLETED" # DG chemical flush is not complete. + 50 : "REQUEST_REJECT_REASON_DG_RO_FILTER_TEMPERATURE_OUT_OF_RANGE" # DG RO filter temperature out of range. + 51 : "REQUEST_REJECT_REASON_DG_INCOMPATIBLE" # DG firmware version is not compatible with HD firmware. + 52 : "REQUEST_REJECT_REASON_HEPARIN_PRESTOP_WITH_NO_DISPENSE" # Heparin settings are zero but pre-stop setting is non-zero. + 53 : "REQUEST_REJECT_REASON_DIALYZER_REPRIME_IN_PROGRESS" # Saline bolus is not allowed during dialyzer reprime. + 54 : "REQUEST_REJECT_REASON_DG_RO_ONLY_MODE_DG_BUSY" # DG RO only mode DG is busy. + 55 : "REQUEST_REJECT_REASON_DG_RO_ONLY_MODE_INVALID_PARAMETER" # DG RO only mode invalid parameter. + 56 : "REQUEST_REJECT_REASON_DG_RO_ONLY_MODE_INVALID_PAYLOAD_LENGTH" # DG RO only mode invalid payload length. + 57 : "NUM_OF_REQUEST_REJECT_REASONS" # Number of settings change reject codes. }