complete test function of transform patient treatment sequence in DB to
spmf input file.
todo: transform spmf seq result into semantic output.