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