SmartForm Conditional logic: Date or Age
Control content using a Patient's Date of Birth
Most if not all SmartForms will ask for the Date of Birth. You can use this within the conditional logic of the SmartForm to display content based on age.
To Display content because the patient is Under 16
- Based upon: Date of Birth
- Use Condition: MINIMUM DAYS AFTER: -5844
To Display content because the patient is Over 16
- Based upon: Date of Birth
- Use Condition: MINIMUM DAYS BEFORE: 5844
To Display content because the date selcted is between 16 and 30 days away
- Based upon: Date
- Use Condition: ALL OF THE FOLLOWING ARE TRUE
- MINIMUM DAYS BEFORE: -30
- MIMIMUM DAYS AFTER: 16
TOP TIPS
- Convert years to days - Use this website to help with factoring leap years to calculations.