Patient Cloud AppConnect Android API References
|
Inherits com.mdsol.babbage.model.Field.
Public Member Functions | |
native String | getDateTimeFormat () |
native Date | getDistantPastResponse () |
native Date | getSubjectResponse () |
native String | getSubjectResponseAsString () |
native boolean | isResponse24HourTime () |
native boolean | isResponseWithDate () |
native boolean | isResponseWithTime () |
native void | setSubjectResponse (Date date) |
![]() | |
native boolean | equals (Object other) |
native String | getFieldNumber () |
native String | getFieldOID () |
native int | getFieldOrdinal () |
native Type | getFieldType () |
native String | getHeader () |
native long | getID () |
native String | getLabel () |
native Problem | getResponseProblem () |
native boolean | isVisible () |
![]() | |
Datastore | getDatastore () |
Additional Inherited Members | |
![]() | |
void | finalize () |
![]() | |
long | mNativeObject |
Use DateTimeField to prompt users for a date and time.
native String com.mdsol.babbage.model.DateTimeField.getDateTimeFormat | ( | ) |
Returns a string format for the date that com.mdsol.babbage.model.RaveDateFormat uses in converting between date and string.
native Date com.mdsol.babbage.model.DateTimeField.getDistantPastResponse | ( | ) |
Gets the response that the field considers to be the distant past. The view can use this information to disallow responses from users before this date. If the view does allow it, getResponseProblem() returns
so that the view can still choose to confirm responses with users.
native Date com.mdsol.babbage.model.DateTimeField.getSubjectResponse | ( | ) |
Gets the subject's response as a date.
native String com.mdsol.babbage.model.DateTimeField.getSubjectResponseAsString | ( | ) |
Returns the datetime response as a string. Response is formatted per com.mdsol.babbage.model.RaveDateFormat, which is set in Medidata Rave EDC for this field.
native boolean com.mdsol.babbage.model.DateTimeField.isResponse24HourTime | ( | ) |
Gets whether the response format uses a 24-hour clock. This information is extracted from the field's data format. The view uses this information to display the time picker as a 12- or 24-hour clock. An alternative is to have the system make this decision based on the locale settings of the operating system.
native boolean com.mdsol.babbage.model.DateTimeField.isResponseWithDate | ( | ) |
Gets whether the response format requires a date. This information is extracted from the field's data format. The view uses this information to display a date picker. If a date is not required but is provided in the response, it is ignored.
native boolean com.mdsol.babbage.model.DateTimeField.isResponseWithTime | ( | ) |
Gets whether the response format requires a time. This information is extracted from the field's data format. The view uses this information to display a time picker. If a time is not required but is provided in the response, it is ignored.
native void com.mdsol.babbage.model.DateTimeField.setSubjectResponse | ( | Date | date | ) |
Sets subjects' responses.
date |