Fixes for medical records

Resolves #34