Issue #1036: Add automated integration tests
Added more tests for the patient record
Merge pull request #1072 from IJessa/it

Issue #1036: Add automated integration tests