Issue #693: Export the version of HPO used when recording the patient data in the patient's JSON export
Fixed an exception in the patient creation procedure