Esther Flynn died in hospital after she was ‘prescribed wrong dosage of blood-thinning medication’, judge hears