Representation Learning to Advance Multi-institutional Studies with Electronic Health Record Data