Inherits com.mdsol.babbage.model.DatastoreRelation.
Subject represents subjects as they exist in Medidata Rave EDC.
void com.mdsol.babbage.model.Subject.collectData |
( |
byte[] |
data, |
|
|
String |
metadata, |
|
|
String |
contentType |
|
) |
| throws Exception |
Collect arbitrary data for the Subject, and if collection is successful, queue that data for upload. This method is intended to be used to collect data in small chunks, smaller than MaxDataCollectionSize.
- Parameters
-
data | an array of data to be collected. |
metadata | Optional metadata string associated with this data. |
contentType | Optional basic mime-type of this data. |
- Exceptions
-
Exception | if anything goes wrong during data collection; if data parameter is empty, larger than MaxDataCollectionSize, or null. |
void com.mdsol.babbage.model.Subject.collectDataFromFile |
( |
File |
file, |
|
|
String |
metadata, |
|
|
String |
contentType |
|
) |
| throws Exception |
Collect arbitrary data for the Subject from a File, and if collection is successful, queue that data for upload. This method is intended to be used to collect data in small chunks. smaller than MaxDataCollectionSize.
- Parameters
-
File | the file containing the raw data to be collected. |
metadata | Optional metadata string associated with this data. |
contentType | Optional basic mime-type of this data. |
- Exceptions
-
Exception | if anything goes wrong during data collection; if file paramater is empty, or larger than MaxDataCollectionSize, or null. |
native boolean com.mdsol.babbage.model.Subject.equals |
( |
Object |
other | ) |
|
Override the 'equal to' operator for the object.
void com.mdsol.babbage.model.Subject.finalize |
( |
| ) |
|
|
protected |
native String com.mdsol.babbage.model.Subject.getCRFVersion |
( |
| ) |
|
Returns Case Report Form (CRF) value for this subject.
- Returns
- Case Report Form.
native long com.mdsol.babbage.model.Subject.getID |
( |
| ) |
|
Gets the unique identifier of the subject in the local datastore.
- Returns
- Subject identifier.
native Study com.mdsol.babbage.model.Subject.getStudy |
( |
| ) |
|
native String com.mdsol.babbage.model.Subject.getStudyUUID |
( |
| ) |
|
Returns universally unique identifier (UUID) of the study in which the subject is enrolled.
- Returns
- Study UUID.
native String com.mdsol.babbage.model.Subject.getSubjectID |
( |
| ) |
|
Returns the primary key of subjects as the key exists in the Rave EDC database. Necessary data element for submitting data through Medidata Rave Web Services Operational Data Model (ODM).
- Returns
- Subject identifier.
native String com.mdsol.babbage.model.Subject.getSubjectName |
( |
| ) |
|
Returns public identifier of the subject as it exists the Rave EDC web interface. The label for this field is "Subject ID".
- Returns
- Subject name.
native User com.mdsol.babbage.model.Subject.getUser |
( |
| ) |
|
native String com.mdsol.babbage.model.Subject.getUUID |
( |
| ) |
|
Returns the universally unique identifier (UUID) of subjects.
- Returns
- Universally unique identifier (UUID).
final int com.mdsol.babbage.model.Subject.MAX_DATA_COLLECTION_SIZE = (int)1e+7 |
|
static |