{# The Patient Portal card for the Medical Record Dashboard @author Robert Down @copyright Copyright (c) 2022-2023 Robert Down @package OpenEMR #} {% extends "patient/card/card_base.html.twig" %} {% if (prependedInjection is defined) or (appendedInjection is defined) %} {% import "patient/macros/card.macro.twig" as cardMacros %} {% set prepend = cardMacros.injectedContent(prependedInjection) %} {% set append = cardMacros.injectedContent(appendedInjection) %} {% endif %} {% block content %}
{% if isPortalEnabled == false %} {% endif %} {% if isPortalSiteAddressValid == false %} {% endif %} {% if isPortalAllowed == false %} {% elseif isContactEmail == false and isEnforceSigninEmailPortal == true %} {% elseif isContactEmail == false and isEnforceSigninEmailPortal == false %} {% elseif isPortalEnabled and isPortalSiteAddressValid %} {% endif %} {% if isApiAllowed == false %} {% endif %} {% if ( isPortalAllowed and isPortalEnabled and isPortalSiteAddressValid and ( isEnforceSigninEmailPortal == false or ( isEnforceSigninEmailPortal and isContactEmail ) ) or isApiAllowed == true ) %} {% endif %}
{% endblock %}