copied newest doctor app code from main project.

Signed-off-by: imp <johannes.san@gmail.com>