% var requiresPatient = (typeof requiresPatient !== 'undefined') ? requiresPatient : false, linkId = (typeof id !== 'undefined') ? ['id=', id].join('') : "", linkUrl = (typeof url !== 'undefined') ? ['href=', url].join('') : "", linkIcon = (typeof icon !== 'undefined') ? ['data-icon=', icon].join('') : ""; %>