{% extends "base.html" %} {% block css %} {% endblock %} {% block content %}

{{ query }}
{{ answer|safe }}

References

{% if references %}
    {% for reference in references %}
  • {% if loop.first %}

    {{ reference.comboTxt|safe }}

    {% if reference.pubmed %}
    See PubMed Info

    {{ reference.pubmed[0].get("title") }}:

    Authors:{{ reference.pubmed[0].get("authors") }}

    PMID: {{ reference.pubmed[0].get("pub_id") }}

    Abstract:

    {{ reference.pubmed[0].get("abstract") |safe }}

    See full Article on Pubmed

    {% endif %}
    {% else %}

    {{ reference.comboTxt|safe }}

    {% if reference.pubmed %}
    See PubMed Info

    {{ reference.pubmed[0].get("title") }}:

    Authors:{{ reference.pubmed[0].get("authors") }}

    PMID: {{ reference.pubmed[0].get("pub_id") }}

    Abstract:

    {{ reference.pubmed[0].get("abstract") |safe }}

    See full Article on Pubmed

    {% endif %}
    {% endif %}
  • {% endfor %}
{% else %}

No references available.

{% endif %}
{% endblock %} {% block js %} {% endblock %}