Two-stage Federated Phenotyping and Patient Representation Learning | Synapse