Formally, we define the document coding task as follows: given a set of documents X and a set of available codes C, assign to each document x i a subset of codes C i ⊂ C. We also assume access to a (noisy) mechanism to detect candidate triggers in a document.
we will assume that an (incomplete) dictionary D(c) exists for each code c ∈ C, which lists specific code terms asso-ciated with c. 1 To continue our running example: D(493.9) would include the term "allergic bronchitis".