{% import "macros.html" as m %}

Concept {{ concept_id }}

{% if concept is none %}

No concept {{ concept_id }} in the curation file. A concept is created together with its first fact from a reading view selection.

{% else %}
{% if not read_only %}{% endif %}
{% if not read_only %}
Rename the concept

Renaming rewrites the fact IDs that start with the concept ID and the references in checks.yaml. Callers that stored the old ID will not find it.

{% endif %}

As search indexes it

The terms after the runtime's tokenizer, with the weight each field carries. A query can only hit these words.

{% for field, weight in [('label', '3.0'), ('aliases', '2.0'), ('questions', '2.0'), ('description', '1.0'), ('statements', '0.5')] %} {% endfor %}
FieldWeightTerms
{{ field }}{{ weight }} {{ terms.get(field, []) | join(' ') or '-' }}

Facts ({{ concept.facts | length }})

{% for fact in concept.facts %} {% endfor %}
FactJurisdictionConditionReview
{{ m.fact_link(pack.pack, fact.fact_id) }}
{{ fact.statement | shorten(120) }}
{{ fact.jurisdiction }} {{ fact.condition or '-' }} {{ fact.provenance.review_status }}
{% endif %}