Closed ryan-carpenter closed 1 month ago
Is this all it would take to resolve the issue?
hashMap.put("PMID", new UnknownField("pmid"));
Yes, that should be enough. You can do it through the github UI (just click on Edit File). You might need to adjust the MedlinePlainImporterTest as well if it fails but CI will tell you that :)
The MEDLINE importer does not include PubMed IDs (PMID) when importing from PubMed text files.
This is problematic for two reasons:
PubMed records also have an NLM unique identifier that JabRef imports, but this is not the same as the PMID and does not substitute for it. MEDLINE records produced by sources other than PubMed tend to include the PMID and not the NLM identifier, so the PMID is more useful for merging and deduplicating entries in JabRef. The PMID can also be used to visit the record on PubMed, fetch additional data, and so on.
The MEDLINE importer should include the
PMID
element from pubmed/medline files.See MEDLINE/PubMed Data Element (Field) Descriptions for information about the elements included in PubMed text files.