{% extends "base.html" %} {% block title %}pyConTextKit{% endblock %} {% block pagetitle %}Upload CSV into SQLite Database{% endblock %} {% block content %} {% if status != '' %} {% autoescape off %}{{ status }}{% endautoescape %} {% endif %} {% if state %}
{% csrf_token %} {% ifequal formType 'report' %} {% endifequal %} {% ifequal formType 'lexicon' %} {% endifequal %}
{% if formType == 'report' %} {% endif %} {% if formType == 'lexicon' %} {% endif %}
Upload Reports
{{ form_reports }}
Upload Lexicon
{{ form_lexicon }}

What are the requirements for CSV report file?

The report file needs to be saved as an Excel formatted CSV file.
Example
					
reportreport_id
NO EVIDENCE OF A PULMONARY EMBOLISM. GROUND-GLASS ...4

What are the requirements for CSV lexicon file?

The lexicon file needs to be saved as an Excel formatted CSV file.
Example
					
creator_idcategoryliteralrerule
1PROBABLE_NEGATED_EXISTENCEno definiteno[\s]*definiteforward
{% else %} Upload Report »
Upload Lexicon » {% endif %} {% endblock %}