In this paper, we introduce a new variant of matching networks (Vinyals et al., 2016;Snell et al., 2017) to address the EMR coding problem.
we combine the non-parametric idea of k-NN and matching networks with traditional neural network text classification methods to handle both frequent and infrequent labels encountered in EMR coding.