Created
August 16, 2016 21:51
-
-
Save randallknutson/41904e82bd527c1f7645764c4bb3160f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Alerts", | |
"display": "form", | |
"type": "form", | |
"name": "alerts", | |
"path": "alerts", | |
"components": [ | |
{ | |
"lockKey": true, | |
"type": "hidden", | |
"persistent": true, | |
"unique": false, | |
"protected": false, | |
"label": "", | |
"key": "hasDiabetes", | |
"input": true | |
}, | |
{ | |
"input": true, | |
"tableView": true, | |
"inputType": "radio", | |
"label": "Does the patient have a swallow?", | |
"key": "swallow", | |
"values": [ | |
{ | |
"value": "yes", | |
"label": "Yes" | |
}, | |
{ | |
"value": "no", | |
"label": "No" | |
} | |
], | |
"defaultValue": "", | |
"protected": false, | |
"persistent": true, | |
"validate": { | |
"required": false, | |
"custom": "", | |
"customPrivate": false | |
}, | |
"type": "radio", | |
"conditional": { | |
"eq": "yes", | |
"when": "hasDiabetes", | |
"show": "true" | |
}, | |
"inline": true | |
}, | |
{ | |
"input": false, | |
"tableView": true, | |
"legend": "Swallow questions", | |
"components": [], | |
"type": "fieldset", | |
"conditional": { | |
"show": "true", | |
"when": "swallow", | |
"eq": "yes" | |
} | |
}, | |
{ | |
"input": true, | |
"label": "Submit", | |
"tableView": false, | |
"key": "submit", | |
"size": "md", | |
"leftIcon": "", | |
"rightIcon": "", | |
"block": false, | |
"action": "submit", | |
"disableOnInvalid": false, | |
"theme": "primary", | |
"type": "button" | |
} | |
], | |
"tags": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment