{% extends "base.html" %} {% block title %}Rules · FastSSV{% endblock %} {% block extra_scripts %} {% endblock %} {% block content %}

FastSSV ships {{ rules|length }} static rules covering OMOP CDM v5.4, grouped into {{ categories|length }} categories. Click any rule to see a longer write-up and the SQL pattern that trips it.

{% for r in rules %}
{{ r.severity }} {{ r.name }} {{ r.rule_id }} {{ r.category }}

{{ r.description }}

{% if r.long_description %}
What this rule detects

{{ r.long_description }}

{% endif %} {% if r.example_bad %}
Example that trips the rule
{{ r.example_bad }}
{% endif %} {% if r.example_good %}
Corrected version
{{ r.example_good }}
{% endif %} {% if not r.long_description and not r.example_bad %}

A longer write-up and example for this rule are still being authored.

{% endif %}
{% endfor %}
{% endblock %}