Patient Cloud AppConnect Android API References
Classes | Public Member Functions | List of all members
com.mdsol.babbage.model.ScaleField

Inherits com.mdsol.babbage.model.Field.

Classes

enum  BarStyle
 
enum  MarkerStyle
 
enum  Orientation
 

Public Member Functions

native BarStyle getBarStyle ()
 
native String getFooter ()
 
native MarkerStyle getMarkerStyle ()
 
native String getMaximumLabel ()
 
native int getMaximumResponse ()
 
native String getMedianLabel ()
 
native String getMinimumLabel ()
 
native int getMinimumResponse ()
 
native Orientation getOrientation ()
 
native Integer getSubjectResponse ()
 
native String getSubtitle ()
 
native String getTitle ()
 
native void setSubjectResponse (Integer response)
 
- Public Member Functions inherited from com.mdsol.babbage.model.Field
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 ()
 
- Public Member Functions inherited from com.mdsol.babbage.model.DatastoreRelation
Datastore getDatastore ()
 

Additional Inherited Members

- Protected Member Functions inherited from com.mdsol.babbage.model.Field
void finalize ()
 
- Protected Attributes inherited from com.mdsol.babbage.model.DatastoreRelation
long mNativeObject
 

Detailed Description

ScaleField is a field that contains a numeric scale such as Visual Analog Scale for Pain (VAS Pain) or Numeric Rating Scale (NRS-11).

Member Function Documentation

native BarStyle com.mdsol.babbage.model.ScaleField.getBarStyle ( )

Gets the bar style to use when displaying the scale. Information extracted from the field's data format.

Returns
Scale's bar style.
native String com.mdsol.babbage.model.ScaleField.getFooter ( )

Gets the scale's footer text. Information extracted from the field's data format.

Returns
Scale's footer text.
native MarkerStyle com.mdsol.babbage.model.ScaleField.getMarkerStyle ( )

Gets the marker style to use when displaying the scale. Information extracted from the field's data format.

Returns
Scale's marker style.
native String com.mdsol.babbage.model.ScaleField.getMaximumLabel ( )

Gets the text labeling for the scale's maximum response. Information extracted from the field's data format.

Returns
Scale's maximum response label.
native int com.mdsol.babbage.model.ScaleField.getMaximumResponse ( )

Gets the maximum response that the scale can produce. Information extracted from the field's data format.

Returns
Scale's maximum response.
native String com.mdsol.babbage.model.ScaleField.getMedianLabel ( )

Gets the text labeling for the scale's median response. Information extracted from the field's data format.

Returns
Scale's median response label.
native String com.mdsol.babbage.model.ScaleField.getMinimumLabel ( )

Gets the text labeling for the scale's minimum response. Information extracted from the field's data format.

Returns
Scale's minimum response label.
native int com.mdsol.babbage.model.ScaleField.getMinimumResponse ( )

Gets the minimum response that the scale can produce. Information extracted from the field's data format.

Returns
Scale's minimum response.
native Orientation com.mdsol.babbage.model.ScaleField.getOrientation ( )

Gets the orientation to use when displaying the scale. Information extracted from the field's data format.

Returns
Scale's orientation.
native Integer com.mdsol.babbage.model.ScaleField.getSubjectResponse ( )

Returns subjects' responses for the Scale field.

Returns
Subject responses.
native String com.mdsol.babbage.model.ScaleField.getSubtitle ( )

Gets the scale's subtitle. Information extracted from the field's data format.

Returns
Scale's subtitle.
native String com.mdsol.babbage.model.ScaleField.getTitle ( )

Gets the scale's title. Information extracted from the field's data format.

Returns
Scale's title.
native void com.mdsol.babbage.model.ScaleField.setSubjectResponse ( Integer  response)

Sets subjects' responses on the field.

Parameters
response