Forms

class remapp.forms.SizeUploadForm(data=None, files=None, auto_id=u'id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False)

Form for patient size csv file upload

class remapp.forms.SizeHeadersForm(my_choice=None, **kwargs)

Form for csv column header patient size imports through the web interface

class remapp.forms.DicomQueryForm(*args, **kwargs)

Form for launching DICOM Query

clean()

Validate the form data to clear modality selections if sr_only is selected. :return: Form with modalities _or_ sr_only selected

class date

date(year, month, day) –> date object

ctime()

Return ctime() style string.

fromordinal()

int -> date corresponding to a proleptic Gregorian ordinal.

fromtimestamp()

timestamp -> local date from a POSIX timestamp (like time.time()).

isocalendar()

Return a 3-tuple containing ISO year, week number, and weekday.

isoformat()

Return string in ISO 8601 format, YYYY-MM-DD.

isoweekday()

Return the day of the week represented by the date. Monday == 1 … Sunday == 7

replace()

Return date with new specified fields.

strftime()

format -> strftime() style string.

timetuple()

Return time tuple, compatible with time.localtime().

today()

Current date or datetime: same as self.__class__.fromtimestamp(time.time()).

toordinal()

Return proleptic Gregorian ordinal. January 1 of year 1 is day 1.

weekday()

Return the day of the week represented by the date. Monday == 0 … Sunday == 6

class remapp.forms.DicomDeleteSettingsForm(*args, **kwargs)

Form for configuring whether DICOM objects are stored or deleted once processed

class remapp.forms.DicomQRForm(*args, **kwargs)

Form for configuring remote Query Retrieve nodes

class remapp.forms.DicomStoreForm(*args, **kwargs)

Form for configuring local Store nodes

class remapp.forms.SkinDoseMapCalcSettingsForm(*args, **kwargs)

Form for configuring whether skin dose maps are shown / calculated

class remapp.forms.NotPatientNameForm(*args, **kwargs)

Form for configuring not-patient name patterns

class remapp.forms.NotPatientIDForm(*args, **kwargs)

Form for configuring not-patient ID patterns