Allow record edits based on clinic rather than username.

Fixes #43
Merge branch '43-allow-edits-by-clinic'