Refactor patient api endpoints

Fix partial updates (HTTP PATCH)