{% 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 %}
{{ form.hospital }} {% if form.hospital.help_text %}

{{ form.hospital.help_text }}

{% 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 - Serial number
  • Facility Name - Hospital/Facility
  • Visit Type - EMERGENCY, INPATIENT, OPD
  • Admit Date - Admission date
  • Discharge Date - Discharge date
  • Patient Name - Full patient name
  • File Number - MRN (Medical Record Number)
  • SSN - National ID
  • Mobile No - Phone number
  • Gender - Male/Female
  • Nationality - 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 %}