An object representing a trial location.
More...
|
def | __init__ |
|
def | address_parts |
|
def | best_contact |
| Tries to find the best contact data for this location, starting with "contact", then "contact_backup", then the trial's "overall_contact". More...
|
|
def | is_open |
| Checks the receiver's status and determines whether this location is (or will be) recruiting patients. More...
|
|
def | city |
|
def | km_distance_from |
| Calculates the distance in kilometers between the location and the given lat/long pair using the Haversine formula. More...
|
|
def | json |
|
An object representing a trial location.
def clinicaltrials.trial.TrialLocation.__init__ |
( |
|
self, |
|
|
|
trial, |
|
|
|
json_loc = None |
|
) |
| |
def clinicaltrials.trial.TrialLocation.address_parts |
( |
|
self | ) |
|
def clinicaltrials.trial.TrialLocation.best_contact |
( |
|
self | ) |
|
Tries to find the best contact data for this location, starting with "contact", then "contact_backup", then the trial's "overall_contact".
def clinicaltrials.trial.TrialLocation.city |
( |
|
self | ) |
|
def clinicaltrials.trial.TrialLocation.is_open |
( |
|
self | ) |
|
Checks the receiver's status and determines whether this location is (or will be) recruiting patients.
:returns: A bool indicating whether this location is or will be recruiting
def clinicaltrials.trial.TrialLocation.json |
( |
|
self | ) |
|
def clinicaltrials.trial.TrialLocation.km_distance_from |
( |
|
self, |
|
|
|
lat, |
|
|
|
lng |
|
) |
| |
Calculates the distance in kilometers between the location and the given lat/long pair using the Haversine formula.
clinicaltrials.trial.TrialLocation.contact |
clinicaltrials.trial.TrialLocation.contact_backup |
clinicaltrials.trial.TrialLocation.facility |
clinicaltrials.trial.TrialLocation.geo |
clinicaltrials.trial.TrialLocation.pi |
clinicaltrials.trial.TrialLocation.status |
clinicaltrials.trial.TrialLocation.trial |
The documentation for this class was generated from the following file: