{% extends 'base.html.twig' %} {% block title %}Import {{ importer.label }}{% endblock %} {% block content %}
A row with an id changes that record; a row without one is matched
on its name, and added when no record has that name. The quickest way to update
existing data is Export Current Data, edit it in Excel, and upload
it back.
A column you leave out of the sheet is left as it is in the database,
so a sheet of just id and snomed_code is a valid way to fill in
codes and nothing else. A column that is in the sheet with an empty cell
clears that field.
Nothing is saved unless every row is good. If any row has a problem, the whole file
is rejected and the lines to fix are listed here. Up to
{{ max_rows|number_format }} rows and 2 MB per file.
| Line in file | Problem |
|---|---|
| {{ error.line }} | {{ error.message }} |
| and {{ result.errorCount - 200 }} more… | |
| Line in file | Reason |
|---|---|
| {{ skipped.line }} | {{ skipped.message }} |
| and {{ result.skippedCount - 200 }} more… | |
| Header in the file | Meaning | Required | Notes |
|---|---|---|---|
{{ column.name }} |
{{ column.label }} | {% if column.required %} Yes {% else %} — {% endif %} | {{ column.help }} |
Required columns must hold a value on any row that adds a new {{ importer.recordLabel }}. On a row that changes an existing one they may be left out of the sheet altogether.
{% for title, values in importer.referenceLists %}None yet.