<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>Soft Computing</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.1109/ICDH52753.2021.00050</article-id>
      <title-group>
        <article-title>Automatic Annotation of Training Data for Deep Learning Based De-identification of Narrative Clinical Text</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Martin Sundahl Laursen</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jannik Skyttegaard Pedersen</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Pernille Just Vinholt</string-name>
          <email>pernille.vinholt@rsyd.dk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Thiusius Rajeeth Savarimuthu</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Clinical Biochemistry, Odense University Hospital</institution>
          ,
          <country country="DK">Denmark</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>The Maersk Mc-Kinney Moller Institute, University of Southern Denmark</institution>
          ,
          <country country="DK">Denmark</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2021</year>
      </pub-date>
      <volume>97</volume>
      <issue>2020</issue>
      <fpage>266</fpage>
      <lpage>275</lpage>
      <abstract>
        <p>Electronic health records contain information about patients' medical history which is important for research but the text must be de-identified before use. This study utilized dictionaries constructed from publicly available lists of identifiers to automatically annotate a training dataset for a named entity recognition model to de-identify names, streets, and locations in Danish narrative clinical text. Ambiguous identifiers were not annotated if they occurred more than expected for an identifier. The model had recall 93.43%, precision 86.10%, and F1 89.62%. We found that the model generalized from the training data to achieve better performance than simply using the dictionaries to directly annotate text. de-identification, electronic health records, named entity recognition, automatic annotation, deep learning Electronic health records (EHR) contain information about patients' contact with the healthcare system including important information about medical history, e.g. symptoms, diagnoses, and treatments. Diagnoses are also registered using International Classification of Diseases 10 codes for administrative purposes. However, not all relevant patient information is represented in codes, e.g symptoms. Further, codes are often incorrect [ 1, 2, 3, 4, 5] and can therefore not replace the narrative clinical text in EHRs as a source of information.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>CEUR
Workshop
Proceedings
The identifiers include, among others, names, street addresses, and locations including city,
county, and precinct.</p>
      <p>Manual de-identification is a time consuming task and, therefore, large datasets are impractical
and expensive to de-identify manually. Natural language processing techniques for automatic
de-identification may alleviate this task.</p>
      <p>This study utilizes dictionaries of identifiers and a novel way of dealing with ambiguous
identifiers to automatically annotate a training dataset for a named entity recognition (NER)
model to de-identify names, streets, and locations in Danish narrative clinical text.</p>
      <p>A method for automatic annotation of training datasets is useful for developing de-identification
deep learning models for low-resource languages like Danish where annotated datasets and
trained models for de-identification of specific identifier types are not always publicly available.</p>
      <p>The main contributions of this paper are:
• We train a NER model to de-identify names, streets, and locations in Danish narrative
clinical text with recall 93.43%, precision 86.10%, and F1 89.62%.
• We use dictionary-based automatic annotation of training data for the NER model utilizing
our novel method for annotation of ambiguous identifiers guided by occurrence rates in
the text and population.
• We find that the NER model can generalize from the dataset to achieve better performance
than simply using the dictionaries to directly annotate text.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related Work</title>
      <p>Previous studies on automatic de-identification of narrative clinical text used rule-based methods,
machine learning methods, and hybrid methods combining both. We found no studies that,
similar to ours, used automatic annotation of data for training a machine learning model to
de-identify narrative clinical text.</p>
      <p>In studies that used rule-based methods, pattern matching or dictionaries were used to search
for identifiers in the text [ 8, 9, 10, 11, 12, 13]. Rule-based methods rely on domain experts to
define the rules and it is dificult to cover all cases. They generally cannot distinguish ambiguous
identifiers, i.e. words that can both be an identifier and a non-identifier depending on the context.
Pantazos et al. [12] de-identified Danish text using dictionaries with an F1 score of 95.7% on a
random sample of 369 EHRs. They identified ambiguous identifiers by matching identifiers to a
database of non-identifiers. As they replaced identifiers with pseudo-identifiers, their approach
to ambiguous identifiers was to delete the record unless the identifier appeared more than 200
times to not disclose their replacement rule.</p>
      <p>Studies that used machine learning methods mainly used recurrent neural networks,
conditional random fields, and combinations of the two [ 14, 15, 16, 17, 18, 19]. All studies that utilized
machine learning used a manually annotated dataset for training the models. Machine learning
methods and in particular deep learning architectures such as Long Short-Term Memory [20]
and transformer [21] networks are able to distinguish ambiguous identifiers based on the context
of the whole sentence. Some recent studies have used transformer networks for automatic
de-identification of narrative clinical text [ 22, 19, 23, 24, 25, 26]. A disadvantage of machine
learning methods is their need for a large expert-annotated training dataset specific to the
domain.</p>
      <p>Finally, the studies that were most similar to ours used hybrid methods, combining rule-based
and machine learning methods in ensembles or pipelines to improve the annotation workload
and model performance [27, 28, 29, 30, 25]. Two studies used rule-based methods in other ways
than for directly classifying identifiers. McMurry et al. [27] used pattern matching to contribute
part of a feature set for classification by a machine learning model which resulted in a F1 score
of 76% on a custom test set of 220 discharge summaries. Jian et al. [28] used pattern matching
to create a dense corpus of identifiers for manual annotation before being input to a machine
learning model. It had an F1 score of 94.6% when cross-validating on 3,000 clinical documents.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Methods</title>
      <p>In this paper, we first constructed lists of name, street, and location identifiers. We compared
the identifiers to a database of non-identifying words to determine which identifiers were
ambiguous—e.g. the name ‘Hans’ is ambiguous because it is also a pronoun (Danish for ‘his’).
This dictionary-based method is similar to that of e.g. Pantazos et al. [12] except in this paper,
we used it to annotate training data for a deep learning model instead of using direct
dictionarybased de-identification. Additionally, we utilized a novel method for annotation of ambiguous
identifiers and tested diferent ceiling values above which words were removed from the list of
identifiers if they occured in the text at a higher rate than would be expected for an identifier.
We searched for and annotated identifiers in Danish narrative clinical text and constructed
a training set of sentences with no or only unambiguous identifiers. Finally, the training set
was used to train a NER de-identification model. The goal was for the model to generalize
from the training samples with no or only unambiguous identifiers to also correctly classify
ambiguous identifiers. This process is detailed in the rest of this section. We make our code
publicly available2.
3.1. Data
3.1.1. Corpus
We extracted 150,000 random sentences with a length between 8 and 70 words from EHRs from
Odense University Hospital between 2015 and 2020. Sentences were lowercased and tokenized,
and consecutive underscores and hyphens were reduced to a single instance.</p>
      <sec id="sec-3-1">
        <title>3.1.2. Identifiers</title>
        <p>The identifier types were names, streets, and locations. Locations included cities, municipalities,
regions, and provinces.</p>
        <p>For the name identifiers, we obtained lists of all male first names, female first names, and last
names in the Danish population as of January 2021 from Statistics Denmark.</p>
        <sec id="sec-3-1-1">
          <title>2https://github.com/jannikskytt/clinical_de-identification</title>
          <p>For the street identifiers, we used a database of all Danish addresses from the Address Web
Services of the Agency for Data Supply and Eficiency of Denmark 3. Each address included
street name, addressing street name (could be identical to street name), city name, potential
supplemental city name, municipality, region, and province. From the database, a list of unique
street names including addressing street names was constructed.</p>
          <p>For the location identifiers, we used the same database of all Danish addresses. A list of
unique locations including city names, supplemental city names, municipalities, regions, and
provinces was constructed.</p>
          <p>Data cleaning consisted of lowercasing and removing single-letter and empty and corrupted
identifiers including various placeholders.</p>
          <p>A rate of occurrence in the Danish population was calculated for each identifier by dividing
their occurrence in the population by the sum of all occurrences for that identifier type. For
each identifier type, duplicates were merged by adding the rates of occurrence.</p>
        </sec>
      </sec>
      <sec id="sec-3-2">
        <title>3.1.3. Non-identifiers</title>
        <p>Non-identifiers were words that in their context did not identify names, streets, or locations.
Such words included both common general domain words and specialized words from the
clinical domain such as symptoms, diseases, and treatments. The database of non-identifiers
was constructed from multiple text sources from the general and clinical domains which did
not contain any of the three identifier types.</p>
        <p>The text sources were:
• The Danish orthographic dictionary containing all Danish words, their conjugations, and
abbreviations [31].
• Product names from the list of authorized medicinal products in Denmark4.
• Medical abbreviations collected from diferent electronic sources (Appendix A)
• All term entries in the Description tables of the SNOMED CT vocabulary of clinical
terminology (international version with Danish extension).
• The Danish healthcare system’s classification system for symptoms, diagnoses, and
operations5.
3.2. Ambiguous Identifiers
An identifier could be ambiguous for two reasons. One reason was that it had multiple diferent
identifier types, e.g. ‘Kolding’ is both a location and a name. In that case, the identifiers’ rates of
occurrence were added. Another reason was that it was also a non-identifier. To find those cases,
identifiers were matched against the database of non-identifiers using a regular expression that
ignored case (regex). If an identifier was matched to a non-identifier, it was ambiguous.</p>
        <sec id="sec-3-2-1">
          <title>3All datasets were downloaded from https://download.aws.dk/ 4Available at https://laegemiddelstyrelsen.dk/en/ 5Available at https://sundhedsdatastyrelsen.dk/</title>
          <p>3.3. Automatic Annotation
For the automatic annotation of identifiers in sentences, specifically dealing with ambiguous
identifiers, we introduced a measure for the likelihood of a word being a non-identifier vs.
identifier for the specific corpus. The measure was the ratio between the rate with which the
word occurred in sentences in the corpus as either identifier or non-identifier, and the rate of
occurrence in the Danish population as identifier:   =   /  . A ratio above 1
meant that the word had a higher rate of occurrence in the corpus than as an identifier in the
Danish population. This could indicate that it in most cases occurred as a non-identifier in the
corpus. A ratio below 1 could indicate that the word in most cases occurred as an identifier.</p>
          <p>The rate of occurrence in the corpus was calculated for each identifier by searching through
all sentences using a regex, counting the number of occurrences, and dividing by the total
number of sentences. The ratio was then calculated using the equation.</p>
          <p>
            Next, a regex was used to search for and annotate identifiers in the sentences. Words that
were unambiguous identifiers were annotated with their single identifier type. Words that were
ambiguous because they had multiple identifier types were annotated with both. Words that
were ambiguous because they were both an identifier and a non-identifier were annotated with
their identifier type and a non-identifier tag with two exceptions: (
            <xref ref-type="bibr" rid="ref1">1</xref>
            ) if the ratio was below 1,
they were annotated only with their identifier type, and (
            <xref ref-type="bibr" rid="ref2">2</xref>
            ) if the ratio was above a set ratio
ceiling, the identifier was not annotated, i.e. kept as a non-identifying word.
          </p>
          <p>Finally, all annotated sentences were postprocessed in the following order:
1. If an ambiguous identifier was the same type as a neighbor identifier, it was converted to
that type.
2. If a single letter was between two name identifiers, it was taken as a middle initial and
converted to a name identifier.
3. Identifiers of the same type which were next to each other were converted to a single
identifier consisting of multiple words.</p>
          <p>We tested values for the ratio ceiling on a binary logarithmic scale from 1 to 262,144.
3.4. Named Entity Recognition Model
We used the automatically annotated sentences to create multiple datasets, based on diferent
values for the ratio ceiling, for training Princeton University Relation Extraction system (PURE)
[32] NER models to de-identify name, street, and location identifiers in the corpus.</p>
        </sec>
      </sec>
      <sec id="sec-3-3">
        <title>3.4.1. Datasets</title>
        <p>The validation and test sets each contained 1,500 sentences. They were annotated for names,
streets, and locations by one of the authors using the CLAMP software [ 33]. The sentences for
the validation and test sets were selected by setting the ratio ceiling to the median ratio of all
identifiers and choosing 500 sentences with no identifiers, 500 with only unambiguous identifiers,
and 500 with at least one ambiguous identifier. The distributions of types of ambiguous and
unambiguous identifiers were approximately the same as in the entire corpus. Selecting the
validation and test sets in this way ensured that as many models as possible would experience
varying sentences with regards to types, ambiguity, and number of identifiers.</p>
        <p>While the validation and test sets were human annotated and fixed for all models, the training
sets were annotated automatically using the described method and varied with each of the
tested ratio ceilings used for the automatic annotation. Training sets were constructed from all
sentences not used for the validation and test sets. Only sentences with no or unambiguous
identifiers were selected for the training sets since the NER model was only trained with
unambiguous samples. In cases where the number of sentences containing no identifiers was
higher than the number containing identifiers, the former was downsampled to the latter.</p>
        <p>All datasets were converted to the structure used by PURE.</p>
      </sec>
      <sec id="sec-3-4">
        <title>3.4.2. Training of Model</title>
        <p>For each training set automatically annotated with the diferent ratio ceilings, a PURE NER
model was trained with a publicly available uncased Danish pretrained BERT [34] model6 as
base. The default hyperparameters of PURE were used (see [32]) except a context window of 0.
Models were trained until convergence (maximum 100 epochs). The F1 score on the validation
set was used to select the best model checkpoint from each training.</p>
      </sec>
      <sec id="sec-3-5">
        <title>3.4.3. Evaluation of Model</title>
        <p>The best performing model on the current data was found by evaluating the F1 scores on the test
set. Performance on the three identifier types was evaluated in a confusion matrix. Additionally,
for each model, we compared its test set performance to that of the dictionary-based method
used for annotating its training set to see if the model generalized from its training data to
improve performance.</p>
        <p>The ratio ceiling used for automatic annotation of the training set for the best performing
model was tested for model training with less available data to evaluate the minimum amount
needed for top model performance.</p>
        <p>Finally, we analyzed the efect of lowering the ratio ceiling to produce more training samples
when there was less data than the minimum amount needed for top model performance.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Results</title>
      <p>4.1. Identifiers
The list of identifiers had 449,997 unambiguous identifiers: 397,348 names, 48,859 streets, and
3,790 locations. 18,057 identifiers were ambiguous: 16,582 had a name type, 2,505 a street type,
and 3,133 a location type. 3,859 of the ambiguous identifiers had more than one identifier type.
7,148 ambiguous identifiers matched a non-identifier in the Danish orthographic dictionary,
312 in authorized medicinal products, 406 in medical abbreviations, 9,890 in SNOMED CT, and
2,013 in the healthcare system’s classification system. Identifiers had rates of occurrence in the
population between 8.58e-06% and 30.39% with median 1.72e-05%.</p>
      <p>6Available at https://github.com/certainlyio/nordic_bert</p>
      <p>Automatically annotated identifiers had corpus vs. population ratios between 4.42e-03 and
9.82e+06 (median 306.73). The highest ratio was ‘københavn’ (ambiguous location) while the
lowest ratio was ‘og’ (ambiguous name and conjunction ‘and’).
4.2. Named Entity Recognition Model
epochs on a Nvidia Tesla v100 GPU.</p>
      <p>Figure 2 shows the confusion matrix for model performance. 94% of street and name identifiers,
and 91% of location identifiers were classified correctly. Non-identifiers were most often
misclassified as names (75% of misclassifications).</p>
      <p>Comparing test set performance to the dictionary-based method, the model correctly classified
283 identifiers that the dictionary-based method misclassified. The dictionary-based method
correctly classified 13 identifiers that the model misclassified. 70 identifiers were misclassified
by both the model and the dictionary-based method. Appendix C shows the performance of
the model and the dictionary-based method on words that occurred in the test set both as
non-identifiers and identifiers. E.g., for the word ‘per’, the model correctly classified it as an
identifier (name) in 100% of cases and as a non-identifier (preposition: ‘per’) in 91% of cases. For
the dictionary-based method, it was 57% and 100%, respectively. Note that the dictionary-based
method could classify the same word diferently because of the postprocessing steps where an
ambiguous identifier could be converted to an unambiguous identifier under certain conditions.
Among all words that occurred both as non-identifiers and identifiers, the model classified 92%
of non-identifiers and 84% of identifiers correctly. For the dictionary-based method, it was 96%
and 50%, respectively.
4.3. Analysis of Ratio Ceiling
We analyzed the efect of lowering the ratio ceiling to produce more training samples when
there was less data than needed for top model performance.</p>
      <p>The best performing model was trained on data automatically annotated with ratio ceiling
512 and had 147,000 sentences available from which 32,970 sentences were used for the training
set. We lowered the amount of available data for automatic annotation with ratio ceiling 512
from 147,000 through to 12,000 sentences without any reduction in performance.</p>
      <p>Next, we tested the efects on which ratio ceiling was the best when lowering the amount of
available data below 12,000 sentences. We included ratio ceilings between 512 and 16 since they
75
%
,
e
ro65
c
s
1
F55
45
35
generated increasingly more samples for the training set (Figure 3). When the available data
was less than 8,000 sentences, performance with lower ratio ceilings surpassed that of the 512
ratio ceiling in some cases (Figure 4).</p>
    </sec>
    <sec id="sec-5">
      <title>5. Discussion</title>
      <p>We used an automatically annotated training set to train a PURE NER deep learning model to
de-identify names, streets and locations in Danish narrative clinical text with a recall of 93.43%,
precision of 86.10%, and F1 score of 89.62%. Non-identifiers were most often misclassified as
names which may be caused by greater variability than for streets and locations.</p>
      <p>We took a similar approach as Pantazos et al. [12] to identify ambiguous identifiers through
matching of identifiers to a database of non-identifiers. While, for de-identification, they deleted
records of ambiguous identifiers that occurred less than 200 times, we trained a deep learning
model from an automatically annotated training set to de-identify ambiguous identifiers. For the
automatic annotation, we handled ambiguous identifiers by calculating the ratio between the
rate of occurrence in the corpus and the rate of occurrence in the population for every identifier.
This method allowed an individual assessment if they should be annotated as an identifier or
not in the training data—increasing the chance of model generalization. The ratio ceiling also
allowed to balance the quality and amount of training data. Analyzing the ratio ceiling, we
found that when less than 8,000 sentences were available, the extra samples provided by a lower
ratio ceiling became more important than using the ratio ceiling that gave the highest quality
of the training data. Lower ratio ceilings produced more training data because more ambiguous
identifiers were considered non-identifiers resulting in fewer ambiguous sentences that had to
be discarded from the training set.</p>
      <p>We saw an increase in F1 from dictionary-based de-identification to annotating a training set
with the dictionary-based method, training a NER model, and de-identifying with the trained
model. This showed that the model generalized from the training data to better classify the
ambiguous identifiers that the dictionary-based approach could not diferentiate, and achieve
better performance than simply using the dictionaries to directly annotate text. This is supported
by the model correctly de-identifying 84% of words that occurred in the test set both as identifier
and non-identifier. Only 50% of these words were de-identified by the dictionary-based method.
5.1. Limitations
It is a limitation to the study that the data came only from Odense University Hospital but the
ratios were calculated using the rate of occurrence in the entire population of Denmark.</p>
      <p>Future work includes de-identification of the rest of the HIPAA Safe Harbor identifiers since
there is no guarantee that the presented methods will generalize to other identifiers. Since
this study used lowercased data because only a lowercased Danish BERT base was available,
exploring performance when keeping the case of training data is also part of future work.</p>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusions</title>
      <p>We trained a NER deep learning model using automatically annotated data to de-identify names,
streets, and locations in Danish narrative clinical text with recall 93.43%, precision 86.10%, and
F1 89.62%. A model trained on data annotated with a dictionary-based method can generalize
and surpass the performance of the dictionary-based method. A ratio ceiling of 512 works best
for Danish narrative clinical text when more than 8,000 sentences are available.</p>
      <p>The automatic de-identification method presented in this study can be adapted to all languages
and domains if lists of identifiers and non-identifiers are available. Apart from the lists, the
method does not need any external data as the input data to the de-identification model is used
to train the model itself. This makes the method particularly useful for low-resource languages
where annotated datasets and trained models for de-identification of specific identifier types
are not always publicly available.
text clinical records, International Journal of Medical Informatics 83 (2014) 303–312.
URL: https://www.sciencedirect.com/science/article/pii/S1386505613002463. doi:https:
//doi.org/10.1016/j.ijmedinf.2013.11.005.
[11] S. Y. C. H. J. P. J. L. Y. L. M.-S. C. C.-M. K. W.-S. L. J. H. Shin Soo-Yong, Park Yu Rang, A
deidentification method for bilingual clinical texts of various note types, jkms 30 (2015) 7–15.
URL: http://www.e-sciencecentral.org/articles/?scid=1022920. doi:10.3346/jkms.2015.
30.1.7. arXiv:http://www.e-sciencecentral.org/articles/?scid=1022920.
[12] K. Pantazos, S. Lauesen, S. Lippert, Preserving medical correctness,
readability and consistency in de-identified health records, Health Informatics
Journal 23 (2017) 291–303. URL: https://doi.org/10.1177/1460458216647760. doi:10.1177/
1460458216647760. arXiv:https://doi.org/10.1177/1460458216647760.
[13] V. Menger, F. Scheepers, L. M. van Wijk, M. Spruit, Deduce: A pattern matching
method for automatic de-identification of dutch medical text, Telematics and
Informatics 35 (2018) 727–736. URL: https://www.sciencedirect.com/science/article/pii/
S0736585316307365. doi:https://doi.org/10.1016/j.tele.2017.08.002.
[14] H. Fabregat, A. Duque, J. Martinez-Romo, L. Araujo, De-identification through named
entity recognition for medical document anonymization, Proceedings of the Iberian
Languages Evaluation Forum (IberLEF 2019) (2019).
[15] K. Kajiyama, H. Horiguchi, T. Okumura, M. Morita, Y. Kano, De-identifying free text of
japanese electronic health records, Journal of Biomedical Semantics 11 (2020) 11.
[16] L. Lange, H. Adel, J. Strötgen, Closing the gap: Joint de-identification and concept
extraction in the clinical domain, in: Proceedings of the 58th Annual Meeting of the
Association for Computational Linguistics, Association for Computational Linguistics,
Online, 2020, pp. 6945–6952. URL: https://aclanthology.org/2020.acl-main.621. doi:10.
18653/v1/2020.acl-main.621.
[17] J. L. Leevy, T. M. Khoshgoftaar, F. Villanustre, Survey on RNN and CRF models for
de-identification of medical free text, Journal of Big Data 7 (2020) 73.
[18] I. Pérez-Díez, R. Pérez-Moraga, A. López-Cerdán, J.-M. Salinas-Serrano, M. d. la
IglesiaVayá, De-identifying spanish medical texts - named entity recognition applied to radiology
reports, Journal of Biomedical Semantics 12 (2021) 6.
[19] R. Catelli, V. Casola, G. De Pietro, H. Fujita, M. Esposito, Combining contextualized
word representation and sub-document level analysis through bi-lstm+crf architecture
for clinical de-identification, Knowledge-Based Systems 213 (2021) 106649. URL: https:
//www.sciencedirect.com/science/article/pii/S0950705120307784. doi:https://doi.org/
10.1016/j.knosys.2020.106649.
[20] S. Hochreiter, J. Schmidhuber, Long short-term memory, Neural Computation 9 (1997)
1735–1780. doi:10.1162/neco.1997.9.8.1735.
[21] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. u. Kaiser,
I. Polosukhin, Attention is all you need, in: I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach,
R. Fergus, S. Vishwanathan, R. Garnett (Eds.), Advances in Neural Information Processing
Systems, volume 30, Curran Associates, Inc., 2017. URL: https://proceedings.neurips.cc/
paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf.
[22] R. Catelli, F. Gargiulo, V. Casola, G. De Pietro, H. Fujita, M. Esposito, Crosslingual named
entity recognition for clinical de-identification applied to a covid-19 italian data set, Applied
Linguistics, Minneapolis, Minnesota, 2019, pp. 4171–4186. URL: https://aclanthology.org/
N19- 1423. doi:1 0 . 1 8 6 5 3 / v 1 / N 1 9 - 1 4 2 3 .</p>
    </sec>
    <sec id="sec-7">
      <title>A. Medical Abbreviations</title>
    </sec>
    <sec id="sec-8">
      <title>B. Results Table</title>
    </sec>
    <sec id="sec-9">
      <title>C. Ambiguous Performance</title>
      <p>
        with diferent ratio
Model % (total)
100% (
        <xref ref-type="bibr" rid="ref7">7</xref>
        )
100% (
        <xref ref-type="bibr" rid="ref5">5</xref>
        )
100% (13)
100% (
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
100% (
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
100% (
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
100% (
        <xref ref-type="bibr" rid="ref4">4</xref>
        )
100% (
        <xref ref-type="bibr" rid="ref4">4</xref>
        )
0% (
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
100% (
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
100% (
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
100% (
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
100% (
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
100% (
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
100% (
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
100% (
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
100% (
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
84% (88)
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>V. E.</given-names>
            <surname>Valkhof</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. M.</given-names>
            <surname>Coloma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. M.</given-names>
            <surname>Masclee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Gini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Innocenti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Lapi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Molokhia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mosseveld</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Nielsson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Schuemie</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Thiessard</surname>
          </string-name>
          , J. van der Lei, M. C. Sturkenboom, G. Trifirò,
          <article-title>Validation study in four health-care databases: upper gastrointestinal bleeding misclassification afects precision but not magnitude of drug-related upper gastrointestinal bleeding risk</article-title>
          ,
          <source>Journal of Clinical Epidemiology</source>
          <volume>67</volume>
          (
          <year>2014</year>
          )
          <fpage>921</fpage>
          -
          <lpage>931</lpage>
          . URL: https://www.sciencedirect.com/science/article/pii/S0895435614000845. doi:https: //doi.org/10.1016/j.jclinepi.
          <year>2014</year>
          .
          <volume>02</volume>
          .020.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>L. R.</given-names>
            <surname>Øie</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Madsbu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Giannadakis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Vorhaug</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Jensberg</surname>
          </string-name>
          , Ø. Salvesen,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gulati</surname>
          </string-name>
          ,
          <article-title>Validation of intracranial hemorrhage in the norwegian patient registry, Brain and Behavior 8 (</article-title>
          <year>2018</year>
          )
          <article-title>e00900</article-title>
          . URL: https://onlinelibrary. wiley.com/doi/abs/10.1002/brb3.900. doi:https://doi.org/10.1002/brb3.900. arXiv:https://onlinelibrary.wiley.com/doi/pdf/10.1002/brb3.
          <fpage>900</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>J.</given-names>
            <surname>Delekta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. M.</given-names>
            <surname>Hansen</surname>
          </string-name>
          , K. S. AlZuhairi,
          <string-name>
            <given-names>C. S.</given-names>
            <surname>Bork</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. M.</given-names>
            <surname>Joensen</surname>
          </string-name>
          ,
          <article-title>The validity of the diagnosis of heart failure (I50.0-I50.9) in the danish national patient register</article-title>
          ,
          <source>Dan Med J</source>
          <volume>65</volume>
          (
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>T. L.</given-names>
            <surname>Higgins</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Deshpande</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. D.</given-names>
            <surname>Zilberberg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. K.</given-names>
            <surname>Lindenauer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. B.</given-names>
            <surname>Imrey</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.-C.</given-names>
            <surname>Yu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. D.</given-names>
            <surname>Haessler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. S.</given-names>
            <surname>Richter</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. B.</given-names>
            <surname>Rothberg</surname>
          </string-name>
          ,
          <article-title>Assessment of the Accuracy of Using ICD-9 Diagnosis Codes to Identify Pneumonia Etiology in Patients Hospitalized With Pneumonia</article-title>
          ,
          <source>JAMA Network Open</source>
          <volume>3</volume>
          (
          <year>2020</year>
          )
          <fpage>e207750</fpage>
          -
          <lpage>e207750</lpage>
          . URL: https://doi. org/10.1001/jamanetworkopen.
          <year>2020</year>
          .
          <volume>7750</volume>
          . doi:
          <volume>10</volume>
          .1001/jamanetworkopen.
          <year>2020</year>
          .
          <volume>7750</volume>
          . arXiv:https://jamanetwork.com/journals/jamanetworkopen/articlepdf/2768537/higgins_2020_o
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>N.</given-names>
            <surname>Wabe</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Lindeman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. J.</given-names>
            <surname>Post</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. R.</given-names>
            <surname>Dahm</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. I.</given-names>
            <surname>Westbrook</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Georgiou</surname>
          </string-name>
          ,
          <article-title>Evaluation of the accuracy of diagnostic coding for influenza compared to laboratory results: the availability of test results before hospital discharge facilitates improved coding accuracy</article-title>
          ,
          <source>BMC Medical Informatics and Decision Making</source>
          <volume>21</volume>
          (
          <year>2021</year>
          )
          <article-title>168</article-title>
          . URL: https: //doi.org/10.1186/s12911-021-01531-9. doi:
          <volume>10</volume>
          .1186/s12911-021-01531-9.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>GDPR</given-names>
            <surname>,</surname>
          </string-name>
          <article-title>Regulation (eu) 2016/679 (general data protection regulation</article-title>
          ), ???? URL: https: //gdpr-info.eu/.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>HIPAA</surname>
          </string-name>
          ,
          <article-title>Health insurance portability and accountability act of 1996 (hipaa</article-title>
          ),
          <source>public law 104-191</source>
          , ???? URL: https://www.hhs.gov/hipaa/for-professionals/index.html.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>B. A.</given-names>
            <surname>Beckwith</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Mahaadevan</surname>
          </string-name>
          , U. J.
          <string-name>
            <surname>Balis</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          <string-name>
            <surname>Kuo</surname>
          </string-name>
          ,
          <article-title>Development and evaluation of an open source software tool for deidentification of pathology reports, BMC Medical Informatics and Decision Making 6 (</article-title>
          <year>2006</year>
          )
          <fpage>12</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>I.</given-names>
            <surname>Neamatullah</surname>
          </string-name>
          ,
          <string-name>
            <surname>M. M. Douglass</surname>
            ,
            <given-names>L.-W. H.</given-names>
          </string-name>
          <string-name>
            <surname>Lehman</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Reisner</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Villarroel</surname>
            ,
            <given-names>W. J.</given-names>
          </string-name>
          <string-name>
            <surname>Long</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Szolovits</surname>
            , G. B. Moody, R. G. Mark,
            <given-names>G. D.</given-names>
          </string-name>
          <string-name>
            <surname>Cliford</surname>
          </string-name>
          , Automated de-identification
          <article-title>of free-text medical records, BMC Medical Informatics and Decision Making 8 (</article-title>
          <year>2008</year>
          )
          <fpage>32</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>E.</given-names>
            <surname>Chazard</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Mouret</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Ficheur</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Schafar</surname>
          </string-name>
          ,
          <string-name>
            <surname>J.-B. Beuscart</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Beuscart</surname>
          </string-name>
          ,
          <article-title>Proposal and evaluation of fasdim, a fast and simple de-identification method for unstructured free-</article-title>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>