Abstract: Highlights•HEART is a relation-aware transformer for EHR, achieving SOTA on two datasets and five tasks.•HEART includes an expressive transformer and two pretraining objectives tailored for EHR.•Learned diagnosis and medication representations capture code system hierarchy.
Loading