Deep Learning, Artificial Intelligence, Bert, Medical, Eht.
structured EHR data of each patient is defined as a sequence of visits, each as a list of codes. The codes within a visit can be either ordered or unordered. If unordered, the EHR data for each patient can be reduced to a sequence of sets. The priority of the diagnosis codes can be assessed as