Card #479 - fix for patient details (get details from second if present and first has null values), remove edta manager injection