@extends('layouts.clinic-admin') @section('title', 'Import Nurse Management Data') @section('content')

Import Nurse Management Data

{{ $clinic->name }}

How to Import Nurse Data

1

Download the CSV Template

Download our pre-formatted CSV template to ensure your data is in the correct format.

2

Fill in Nurse Details

Open the template in Excel or any spreadsheet application and fill in the required information for each nurse.

Required Fields:

  • staff_id - Unique staff identifier (e.g., N001, N002)
  • name - Full name of the nurse
  • email - Valid email address (must be unique)

Optional Fields:

  • phone - Contact phone number
3

Upload Your CSV File

Save your file as CSV format and upload it using the form below. Maximum file size: 2MB.

4

Review & Import

Review the preview of your data, then click "Import" to add the nurses to your clinic.

Important Notes:

  • • All imported nurses will be assigned to your clinic: {{ $clinic->name }}
  • • Default password for all nurses: Nurse123
  • • Nurses must change their password on first login
  • • Email addresses must be unique across the system
  • • Staff IDs must be unique within your file

CSV Format Example

Example CSV Content:

Your CSV file should look like this (without the line numbers):

staff_id,name,email,phone
N001,Nurse Sarah Johnson,sarah.johnson@clinic.com,0123456789
N002,Nurse Maria Santos,maria.santos@clinic.com,0129876543
N003,Nurse Ahmad Bin Ali,ahmad.ali@clinic.com,0138765432
N004,Nurse Siti Nurhaliza,siti.nur@clinic.com,0147654321

Good Examples

  • • N001, N002, SN001 (unique staff IDs)
  • • john.doe@clinic.com (valid email)
  • • 0123456789, +60123456789 (phone formats)

Bad Examples

  • • Duplicate staff IDs (N001 used twice)
  • • Invalid email (john@) or missing @
  • • Missing required fields (empty cells)
@endsection