Export to Citations

Export PubMed Citations

nbviewer

BioMedQuery has functions to search PubMed for PMIDs and save the xml data as either a BibTex or EndNote citation.

Here we export EndNote/BibTex citations from a PMID or a list of PMIDs. If you need to search Entrez/PubMed and save the results as citations, refer to Examples / PubMed Search and Save.

Set Up

using BioMedQuery.Processes

The functions require a directory to save the citation files to

results_dir = ".";

if !isdir(results_dir)
     mkdir(results_dir)
end

For this example, the below PMIDs are searched and saved as citations

pmid = 11748933;
pmid_list = [24008025, 24170597];

Export as an EndNote library file

Saving one PMID's citaiton as an EndNote file

enw_file = results_dir * "/11748933.enw";
export_citation(pmid, "endnote", enw_file);
Saving citation for 1 articles

Saving two PMIDs' citations as an EndNote file

enw_file = results_dir * "/pmid_list.enw";
export_citation(pmid_list, "endnote", enw_file);
Saving citation for 2 articles

Explore one of the output files

println(read(enw_file, String))
%0 Journal Article
%A Vega-Robledo, GB
%A Valencia-Zavala, MP
%A Sánchez-Olivas, M
%A Velázquez-Sámano, G
%A Rico-Rosillo, G
%D 2012
%T [Association of obesity in adults with allergic asthma].
%J Rev Alerg Mex
%V 59
%N 4
%P 173-9
%M 24008025
%U http://www.ncbi.nlm.nih.gov/pubmed/24008025
%X ["BACKGROUND: Obesity and asthma are diseases of high prevalence around the world. The increment in their incidence constitutes a challenge to public health. Asthma can be worse in patients with obesity. OBJECTIVE: To know the prevalence of obesity in a group of Mexican allergic asthmatic adults. METHODS: A study about the prevalence of obesity in 158 adult asthmatic allergic patients in the years 2010 and 2011 was performed, according to the body mass index (BMI) obtained from their clinical files. In addition, skin tests with allergens were done and the total serum level of IgE was determined in each one of the individuals. RESULTS: According to the BMI, 112 (70.9%) patients had a weight above normal; 76 (67.9%) were women and 36 (32.1%) were men. The highest number of patients with weight above normal corresponded to the overweight group. Mild persistent asthma presented in two-thirds of the patients with overweight and obesity. Women with overweight and obesity showed a higher severity of asthma than men. Women had more positive skin tests than men. Half of the patients had IgE levels above normal. CONCLUSIONS: We found an increased prevalence of asthmatic adults with associated obesity. Asthmatic women presented more overweight and obesity than men, as well as increased severity of asthma and more positive skin tests with allergens."]
%K Adult
%K Allergens
%K Asthma
%K Body Mass Index
%K Humans
%K Obesity
%K Overweight
%+ Departamento de Medicina Experimental, Torre de InvestigaciÛn,5∞ piso, Facultad de Medicina, UNAM, MÈxico D.F.

%0 Journal Article
%A Rogge, MM
%A Merrill, E
%D 2013
%T Obesity education for nurse practitioners: perspectives from nurse practitioner faculty.
%J J Am Assoc Nurse Pract
%V 25
%N 6
%P 320-8
%M 24170597
%U http://www.ncbi.nlm.nih.gov/pubmed/24170597
%X ["PURPOSE: The purpose of the study was to investigate curriculum content and teaching practices about obesity in graduate nursing programs in the United States. METHODOLOGY: A survey of 1202 faculty members teaching in nurse practitioner (NP) programs was conducted using an investigator-created instrument with items based on the National Institutes of Health Obesity Education Initiative guidelines. Objective items were analyzed using descriptive and nonparametric statistics, and the open-ended questions were analyzed using content analysis. FINDINGS: NP faculty emphasized existing clinical practice guidelines, but revealed a large disparity between what is emphasized in schools of nursing and the state of the science regarding obesity etiology and management. Faculty place a priority on teaching obesity as a key factor in the development of comorbidities, and weight loss as a means of treating these comorbidities. Teaching about the pathophysiology of obesity, management of bariatric surgery patients, and pharmacologic therapy are de-emphasized. Four main themes about obesity teaching practices were identified from subjects' comments to open-ended items. CONCLUSIONS: Additional education and support are needed for faculty to teach about obesity in a way that advances the care of obese patients based on emerging scientific principles."]
%K Attitude of Health Personnel
%K Clinical Competence
%K Curriculum
%K Education, Nursing, Graduate
%K Faculty, Nursing
%K Humans
%K Nurse Practitioners
%K Obesity
%K Obesity
%K Obesity
%K United States
%+ Anita Thigpen Perry School of Nursing, Texas Tech University Health Sciences Center, Lubbock, Texas.

Export as a Bibtex file

Saving one PMID's citation as a BibTex file

bib_file = results_dir * "/11748933.bib";
export_citation(pmid, "bibtex", bib_file);
Saving citation for 1 articles

Saving two PMIDs' citations as a BibTex file

bib_file = results_dir * "/pmid_list.bib";
export_citation(pmid_list, "bibtex", bib_file);
Saving citation for 2 articles

Explore one of the output files

println(read(bib_file, String))
@article {PMID:24008025,
  author  = {Vega-Robledo, GB and Valencia-Zavala, MP and Sánchez-Olivas, M and Velázquez-Sámano, G and Rico-Rosillo, G},
  title   = {[Association of obesity in adults with allergic asthma].},
  journal = {Rev Alerg Mex},
  year    = {2012},
  volume  = {59},
  number  = {4},
  pages   = {173-9},
  url     = {http://www.ncbi.nlm.nih.gov/pubmed/24008025},
}


@article {PMID:24170597,
  author  = {Rogge, MM and Merrill, E},
  title   = {Obesity education for nurse practitioners: perspectives from nurse practitioner faculty.},
  journal = {J Am Assoc Nurse Pract},
  year    = {2013},
  volume  = {25},
  number  = {6},
  pages   = {320-8},
  url     = {http://www.ncbi.nlm.nih.gov/pubmed/24170597},
}

This page was generated using Literate.jl.