initial implementation of patient model