Clear patient record before saving it again, to avoid duplicates.
Merge branch 'offline_patients' into GCI-48

Conflicts:
	Pods/Pods.xcodeproj/project.pbxproj