Skip to content

Instantly share code, notes, and snippets.

@zindel
Created July 13, 2015 11:17
Show Gist options
  • Save zindel/149d37900809b35578c9 to your computer and use it in GitHub Desktop.
Save zindel/149d37900809b35578c9 to your computer and use it in GitHub Desktop.
"""
:copyright: 2015, Prometheus Research, LLC
"""
from rex.core import AnyVal, StrVal, IntVal, SeqVal,BoolVal, MaybeVal
from rex.core import get_packages, cached, get_settings
from rex.widget import Widget, CollectionSpecVal, EntitySpecVal, URLVal, \
FormFieldVal, ColumnVal, undefined, Field, \
computed_field, MaybeUndefinedVal, \
WidgetComposition, StringFormField
from rex.study.main import ListWithInfoTabContents
from rex.action import Wizard
class Samples(Widget):
""" List samples related to an Individual """
name = 'Samples'
js_type = 'rex-study-enrollment-admin/lib/Samples'
path = Wizard.path.__clone__()
actions = Wizard.actions.__clone__()
help_text = ListWithInfoTabContents.help_text.__clone__(default="""
<p>On this page you can search for participants in your studies and
obtain additional information about them including their
contact information, measures previously collected,
study enrollments, and upcoming visits.</p>
<p>Search for the participant of interest by database code, first
or last name, or birthdate.</p>
<p>Select the desired participant on the left and view more
details about them on the right side of the screen.</p>
<p>Select <b>More ...</b> for a comprehensive list of their
contact information, collected measures, study enrollments,
and visit schedule.</p>
<p>Go to <a href=../../handbook
target="_blank">RexStudy Handbook</a> for full documentation
on RexStudy.</p>
""")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment