[ORB-15] fixed bugs with the editing/creation of patients
implemented a simple key/value store for additional fields associated with patients