refactor datainput.qml to be used for vitals collection