Summary

This article covers subject and values configured through properties and scripts.

Table of Contents


Dynamic Status is much like Record Meta Data (Answer Status, Lock Status, etc) but the subject and values can be configured through properties and scripts. A great example of dynamic status is for activationStatus with the settings “Screening”, “Screen Failure”, “Randomized”, and “Completed Study.” Adding this dynamic status would cause an additional filter to appear in the standard managers to allow filtering on this status. A script would need to be created in that case and would need to utilize the setDynamicStatus command.

A Dynamic Status is defined in the App Properties worksheet of DataArchitect.

recordDynamicStatus#

This property configures the name of the dynamic status you wish to configure. The format is either a single fully qualified variable name (alphanumeric) or a data display value pair delimited with a double pipe (||). This allows the configuration of the display name separately from the variable name. For example activationStatus or for a better display name activationStatus||Activation Status. You are able to create more than one dynamic status (recordDynamicStatus1, recordDynamicStatus2, …)

recordDynamicStatus#Options

This property is optional. If included it will restrict the value to the list of available options and will change the default text filter in the managers to a dropdown select list of available options. This property configures an acceptable list of options for a dynamic status. Continuing the above example, this would be the place to specify “Screening”, “Screen Failure”, etc. This list should be comprised of a double colon (::) delimited list of fully qualified variable names. Optionally, each item can also be a data display value pair delimited with a double pipe (||). The configuration for the example above would be Screening::ScreenFailure||Screen Failure::Randomized::CompletedStudy||Completed Study. In this example I have included display names for two of the four options because the spaces can not be included in a fully qualified variable name.

Example

This is how a Dynamic Status would appear in the App Properties worksheet.

recordDynamicStatus1tracking||Tracking Filter
recordDynamicStatus1OptionsscreenFailure||Screen Failure::randomized||Randomized

Need more help?

Please visit the Fountayn Contact Information page.