- Knowledge Base
- Digital Triage
- SmartForms
-
Support
-
Getting Started
-
Digital Inequalities & Accessibility
-
User Accounts
-
WYSIWYG Content Editor
-
Managing your website
-
Digital Triage
-
Friends and Family Test
-
Other Services
-
Security
-
Add On: PatientInsights
-
Add On: SurgeryDocs
-
Add On: Group Central Management (GCM)
-
Other Modules
-
Widgets
-
Luna Template Versioning
SmartForm Conditional logic: 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
TOP TIPS
- Convert years to days - Use this website to help with factoring leap years to calculations.