working example for patients with test database data