{% extends "layouts/base.html" %} {% load i18n %} {% load static %} {% block title %}{% trans "Import HIS Patient Data" %} - PX360{% endblock %} {% block content %}

{% trans "Import HIS Patient Data" %}

{% trans "Import patient visit data from MOH Statistics CSV and send surveys" %}

{% trans "Upload CSV File" %}

{% csrf_token %} {% if not form.hospital.is_hidden %}
{{ form.hospital }} {% if form.hospital.help_text %}

{{ form.hospital.help_text }}

{% endif %}
{% else %} {{ form.hospital }} {% endif %}
{{ form.csv_file }} {% if form.csv_file.help_text %}

{{ form.csv_file.help_text }}

{% endif %}
{{ form.skip_header_rows }} {% if form.skip_header_rows.help_text %}

{{ form.skip_header_rows.help_text }}

{% endif %}
{% trans "Cancel" %}

{% trans "CSV Format Guide" %}

{% trans "Upload a MOH Statistics CSV file with the following columns:" %}

  • SNo - {% trans "Serial number" %}
  • Facility Name - {% trans "Hospital/Facility" %}
  • Visit Type - {% trans "EMERGENCY, INPATIENT, OPD" %}
  • Admit Date - {% trans "Admission date" %}
  • Discharge Date - {% trans "Discharge date" %}
  • Patient Name - {% trans "Full patient name" %}
  • File Number - {% trans "MRN (Medical Record Number)" %}
  • SSN - {% trans "National ID" %}
  • Mobile No - {% trans "Phone number" %}
  • Gender - {% trans "Male/Female" %}
  • Nationality - {% trans "Country" %}

{% trans "Note:" %}

{% trans "The CSV may have header/metadata rows at the top. Adjust 'Skip Header Rows' accordingly (default: 5)." %}

{% trans "Import Process" %}

1 {% trans "Upload CSV file" %}
2 {% trans "Review patient data" %}
3 {% trans "Create patient records" %}
4 {% trans "Send surveys" %}
{% endblock %}