Clinical Trials Python Client  1.0
 All Classes Namespaces Files Functions Variables
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
clinicaltrials.lillyserver.LillyTrial Class Reference

Extend the CTG base trial by what Lilly's API is providing. More...

Inheritance diagram for clinicaltrials.lillyserver.LillyTrial:
clinicaltrials.trial.Trial

Public Member Functions

def __init__
 
def cached_profile_filename
 
def check_cache
 
def retrieve_profile
 
- Public Member Functions inherited from clinicaltrials.trial.Trial
def __init__
 
def nct
 
def title
 Construct the best title possible. More...
 
def title
 
def entered
 How many years ago was the trial entered into ClinicalTrials.gov. More...
 
def last_updated
 How many years ago was the trial last updated. More...
 
def interventions
 Returns a set of intervention types of the receiver. More...
 
def phases
 Returns a set of phases in drug trials. More...
 
def date
 Returns a tuple of the string date and the parsed Date object for the requested JSON object. More...
 
def js
 The JSON to return for a JSON API call. More...
 
def locations_closest_to
 Returns a list of tuples, containing the trial location and their distance to the provided latitude and longitude. More...
 
def cleanup_keywords
 Cleanup keywords. More...
 

Public Attributes

 profile
 

Static Public Attributes

string tp_cache_dir = 'target-profile-cache'
 

Detailed Description

Extend the CTG base trial by what Lilly's API is providing.

Provides a cache for downloaded and codified target profiles.

Constructor & Destructor Documentation

def clinicaltrials.lillyserver.LillyTrial.__init__ (   self,
  nct = None,
  json = None 
)

Member Function Documentation

def clinicaltrials.lillyserver.LillyTrial.cached_profile_filename ( )
def clinicaltrials.lillyserver.LillyTrial.check_cache (   self)
def clinicaltrials.lillyserver.LillyTrial.retrieve_profile (   self,
  server 
)

Member Data Documentation

clinicaltrials.lillyserver.LillyTrial.profile
string clinicaltrials.lillyserver.LillyTrial.tp_cache_dir = 'target-profile-cache'
static

The documentation for this class was generated from the following file: