Modified the hasValue getValue and setValue

issue: A24Group/Triage#6161