1
2
3
4
5
6
7 import copy
8
9 urlBase="http://eutils.ncbi.nlm.nih.gov/entrez/eutils"
10 searchBase=urlBase+"/esearch.fcgi"
11 summaryBase=urlBase+"/esummary.fcgi"
12 fetchBase=urlBase+"/efetch.fcgi"
13 linkBase=urlBase+"/elink.fcgi"
14
15 queryBase="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi"
16
17 _details = {
18 'db':'pubmed',
19 'retmode':'xml',
20 'tool':'RDPMTools',
21 'email':'Info@RationalDiscovery.com',
22 }
23
26
27
28 searchableFields={
29 "Author":("AU","Authors' Name "),
30 "Keyword":("MH","MeSH keyword"),
31 "Substance":("NM","Substance Name"),
32 "Title":("TI","Text from the article title"),
33 "Title/Abstract":("TIAB","Text from the article title and/or abstract"),
34 "Registry Number":("RN","CAS Registry Number"),
35 "Subject":("SB","Pubmed Subject Subset (tox,aids,cancer,bioethics,cam,history,space,systematic)"),
36 "Journal":("TA","Journal Name"),
37 "Year":("DP","Publication Date"),
38 "Affiliation":("AD","Authors' affiliation"),
39 }
40 searchableFieldsOrder=[
41 "Author",
42 "Keyword",
43 "Title",
44 "Title/Abstract",
45 "Substance",
46 "Registry Number",
47 "Subject",
48 "Journal",
49 "Year",
50 "Affiliation",
51 ]
52