diff --git a/interface/main/messages/save.php b/interface/main/messages/save.php index 1c69e7a82b6..f0a6220d8e1 100644 --- a/interface/main/messages/save.php +++ b/interface/main/messages/save.php @@ -157,6 +157,8 @@ $query = "SELECT * FROM patient_data WHERE pid=?"; $result = sqlQuery($query, array($_REQUEST['pid'])); $result['age'] = $MedEx->events->getAge($result['DOB']); + // uuid is binary and will break json_encode in binary form (not needed, so will remove it from $result array) + unset($result['uuid']); /** * Did the clinician create a PLAN at the last visit?