{% extends "base.html" %} {% block title %}Gallery{% endblock %} {% macro generate_filter_url(endpoint, filter_key, filter_value, filter_params, search) %} {% set params = {} %} {% for key, values in filter_params.items() %} {% if key != filter_key %} {% for value in values %} {% if params[key] is not defined %} {% set _ = params.update({key: [value]}) %} {% else %} {% set _ = params[key].append(value) %} {% endif %} {% endfor %} {% endif %} {% endfor %} {% set _ = params.update({filter_key: filter_value}) %} {% if search %} {% set _ = params.update({'search': search}) %} {% endif %} {{ url_for(endpoint, **params) }} {% endmacro %} {% block content %}

Explore FHIR-based apps. Filter to find the perfect app.

{% if filter_params or request.args.get('search') %}
Active Filters:
{% for key, values in filter_params.items() %} {% for value in values %} {% set item = {'category': categories, 'os_support': os_supports, 'fhir_support': fhir_supports, 'pricing_license': pricing_licenses, 'designed_for': designed_fors}[key] | selectattr('id', 'equalto', value) | first %} {% if item %} {{ item.name }} {% endif %} {% endfor %} {% endfor %} {% if request.args.get('search') %} Search: {{ request.args.get('search') }} {% endif %} Clear All
{% endif %} {% if apps %}
{% for app in apps %}
{% if app.logo_url %} {{ app.name }} logo {% else %} No Logo {% endif %}
{{ app.name }}

{{ app.description | truncate(100) }}

By {{ app.developer }}

{% if app.website %} Website {% endif %} {% if app.launch_url %} Try App {% endif %}
View Details
{% endfor %}
{% for app in apps %} {% endfor %}
Name Description Developer Actions
{{ app.name }} {{ app.description | truncate(100) }} {{ app.developer }} View
{% else %}

No apps match your filters or search. Try adjusting the criteria.

{% endif %}
{% endblock %}