{% if section_only -%}
# {{ section_header }}
{% else -%}
# {{ title }}

{% if pmid %}PMID: {{ pmid }}{% endif %}
{% if pmcid %}PMCID: {{ pmcid }}{% endif %}
{% if doi %}DOI: {{ doi }}{% endif %}
{% if journal %}Journal: {{ journal }}{% endif %}
{% if date %}Date: {{ date }}{% endif %}
{% if citation_count is not none %}Citations: {{ citation_count }}{% endif %}
{% if publication_type %}Type: {{ publication_type }}{% endif %}
{% if open_access is not none %}Open Access: {% if open_access %}Yes{% else %}No{% endif %}{% endif %}
{% if pmid %}[PubMed](https://pubmed.ncbi.nlm.nih.gov/{{ pmid }}/){% endif %}
Source: PubMed / Europe PMC

{% if authors -%}
## Authors (PubMed / Europe PMC)

{{ authors | join(", ") }}
{% endif -%}
{% if abstract_text -%}
## Abstract (PubMed / Europe PMC)

{{ abstract_text }}
{% endif -%}
{% endif -%}
{% if pubtator_fallback -%}
_Note: Entity annotations unavailable for this article (PubTator3 lag). Metadata from Europe PMC._
{% endif -%}
{% if show_annotations_section and annotations -%}
## PubTator Annotations

These are PubTator normalized entity mentions for standardized extraction of genes, diseases, drugs, and mutations from the article text.

{% if annotations.genes -%}
- Genes: {% for m in annotations.genes -%}{{ m.text }} ({{ m.count }}){% if not loop.last %}, {% endif %}{% endfor %}
{% endif -%}
{% if annotations.diseases -%}
- Diseases: {% for m in annotations.diseases -%}{{ m.text }} ({{ m.count }}){% if not loop.last %}, {% endif %}{% endfor %}
{% endif -%}
{% if annotations.chemicals -%}
- Chemicals: {% for m in annotations.chemicals -%}{{ m.text }} ({{ m.count }}){% if not loop.last %}, {% endif %}{% endfor %}
{% endif -%}
{% if annotations.mutations -%}
- Mutations: {% for m in annotations.mutations -%}{{ m.text }} ({{ m.count }}){% if not loop.last %}, {% endif %}{% endfor %}
{% endif -%}
{% endif -%}
{% if show_fulltext_section and (full_text_path or full_text_note) -%}
## Full Text{% if full_text_source %} ({{ full_text_source.label }}){% endif %}

{% if full_text_path -%}
Saved to: {{ full_text_path }}
{% if not_included -%}

Assets not inlined; retrieve the JSON manifest with `{{ not_included.figure_images.retrieve_with }}`.
{% endif -%}
{% else -%}
{{ full_text_note }}
{% endif -%}
{% endif -%}
{% if show_semantic_scholar_section and semantic_scholar -%}
## Semantic Scholar

{% if semantic_scholar.paper_id %}Paper ID: {{ semantic_scholar.paper_id }}{% endif %}
{% if semantic_scholar.tldr %}TLDR: {{ semantic_scholar.tldr }}{% endif %}
{% if semantic_scholar.citation_count is not none %}Citations: {{ semantic_scholar.citation_count }}{% endif %}
{% if semantic_scholar.influential_citation_count is not none %}Influential citations: {{ semantic_scholar.influential_citation_count }}{% endif %}
{% if semantic_scholar.reference_count is not none %}References: {{ semantic_scholar.reference_count }}{% endif %}
{% if semantic_scholar.is_open_access is not none %}Open access: {% if semantic_scholar.is_open_access %}Yes{% else %}No{% endif %}{% endif %}
{% if semantic_scholar.open_access_pdf -%}
{% if semantic_scholar.open_access_pdf.url %}Open-access PDF: {{ semantic_scholar.open_access_pdf.url }}{% endif %}
{% if semantic_scholar.open_access_pdf.status %}PDF status: {{ semantic_scholar.open_access_pdf.status }}{% endif %}
{% if semantic_scholar.open_access_pdf.license %}PDF license: {{ semantic_scholar.open_access_pdf.license }}{% endif %}
{% endif -%}
{% endif -%}
{% if sections_block %}{{ sections_block }}
{% endif -%}
{% if related_block %}{{ related_block }}
{% endif -%}
