HasData
HasData
Characteristic |
Description |
Icon |
|
Availability |
Non-repeating forms and sections. |
Return type |
Boolean. |
Description |
True or False. When True, a value for the item has been provided. |
Purpose |
Use this property to determine whether a form has data on it. For example, if an Adverse Events form indicates that a subject was hospitalized, you could check whether the hospitalization form has been filled out yet. value = this.AE.Current().itmHospitalized == ‘Y’ ? this.Hospitalization.HasData : true when value is false issue query on this.AE.Current().itmHospitalized: If patient was hospitalized, Hospitalization form must be filled out. |
Notes |
Note: The functionality available with HasData is now available with HasState. If you are using HasData, consider converting it to HasState(Constants.FormStates.HasData). |