switched to pg
added import_all rake task
updated import_all task
fixed vital sign measures
added in redirect
updates to ddx algorithm