def get_initial_nct_detail(recrs, cond, locn): recrs = of.format_search_terms(recrs) cond = of.format_search_terms(cond) locn = of.format_search_terms(locn) url = 'http://clinicaltrials.gov/search?cond=%s&recrs=%s&locn=%s&displayxml=true' % (cond, recrs, locn) print(url) return get_initial_nct_from_url(url)
def get_initial_nct_patient(cond, locn): cond = of.format_search_terms(cond) locn = of.format_search_terms(locn) url = 'http://clinicaltrials.gov/search?cond=%s&recrs=recrs&type=intr&locn=%s&displayxml=true' % ( cond, locn) print(url) return get_initial_nct_from_url(url)
def search(txt, npag): print('txt:', txt) print('npag:', npag) txt = of.format_search_terms(txt) url = 'http://clinicaltrials.gov/search?term=%s&displayxml=true' % txt return retrieve_trials(url, npag)
def search(txt, npag): txt = of.format_search_terms(txt) url = 'http://clinicaltrials.gov/search?cond=%s&displayxml=true' % txt return retrieve_trials(url, npag)
def get_initial_nct(txt): txt = of.format_search_terms(txt) url = 'http://clinicaltrials.gov/search?cond=%s&displayxml=true' % txt return get_initial_nct_from_url(url)
def get_initial_nct(txt): txt = of.format_search_terms(txt) #url = 'http://clinicaltrials.gov/search?term=%s&displayxml=true' % txt url = 'https://clinicaltrials.gov/api/query/field_values?expr=%s&field=NCTId' % txt return get_initial_nct_from_url(url)
def search (txt, npag): txt = of.format_search_terms (txt) url = 'http://clinicaltrials.gov/search?term=%s&displayxml=true' % txt return retrieve_trials (url, npag)
def get_initial_nct (txt): txt = of.format_search_terms (txt) url = 'http://clinicaltrials.gov/search?term=%s&displayxml=true' % txt return get_initial_nct_from_url (url)