Patient Outcome and Zero-shot Diagnosis Prediction with Hypernetwork-guided Multitask Learning