{% extends 'base.html' %} {% load static %} {% block title %}Data Synchronization - {{ block.super }}{% endblock %} {% block css %} {% endblock %} {% block content %}
Synchronization Status

Real-time data synchronization between Hospital Management System and external systems

65% Complete
Current Operation: Syncing patient records
ETA: 15 minutes remaining
1,247
Records Synced
23
Conflicts
Data Sources
Epic EMR System

Patient demographics, encounters, and clinical data

Last sync: 2 minutes ago | Next sync: 8 minutes
75%
847 / 1,129 records
Laboratory Information System

Lab results, test orders, and specimen tracking

Last sync: 5 minutes ago | Next sync: 5 minutes
Complete
234 / 234 records
Pharmacy Management System

Medication orders, dispensing, and inventory

Last sync: 1 hour ago | Error: Connection timeout
Error
89 / 298 records
Radiology Information System

Imaging orders, studies, and reports

Scheduled for sync in 10 minutes
Pending
0 / 156 records
Data Mapping Status
Patient Demographics Mapping
Patient ID Mapped
First Name Mapped
Last Name Mapped
Date of Birth Format Mismatch
Phone Number Not Mapped
Clinical Data Mapping
Diagnosis Codes Mapped (ICD-10)
Procedure Codes Mapped (CPT)
Medication Codes Partial (RxNorm)
Lab Results Mapped (LOINC)
Sync Controls
Statistics
98.7%
Success Rate
2.3
Avg Sync Time (min)
15,847
Total Records
23
Active Conflicts
Quick Actions
Data Conflicts
Patient ID Mismatch

Source: Epic EMR | Record: Patient #12345

Issue: Different patient ID formats between systems

Duplicate Medication Record

Source: Pharmacy System | Record: Medication #789

Issue: Same medication exists with different identifiers

Sync Log
[14:30:15] SYNC: Starting synchronization with Epic EMR
[14:30:18] SUCCESS: Connected to Epic EMR API
[14:30:20] SYNC: Fetching patient records (batch 1/12)
[14:30:25] SUCCESS: Processed 100 patient records
[14:30:28] WARNING: Date format mismatch in record #12345
[14:30:30] SYNC: Fetching patient records (batch 2/12)
[14:30:35] ERROR: Failed to process record #67890 - Invalid data format
[14:30:38] SYNC: Retrying failed records
{% endblock %} {% block js %} {% endblock %}