<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:news="http://www.google.com/schemas/sitemap-news/0.9"
        xmlns:xhtml="http://www.w3.org/1999/xhtml"
        xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
        xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">

    <!-- Homepage - Highest Priority -->
    <url>
        <loc>https://benhvientanhung.com/</loc>
        <lastmod>2025-01-13</lastmod>
        <changefreq>daily</changefreq>
        <priority>1.0</priority>
        <!-- hreflang for alternative domain version -->
        <xhtml:link rel="alternate" hreflang="vi" href="https://benhvientanhung.com.vn/" />
        <xhtml:link rel="alternate" hreflang="x-default" href="https://benhvientanhung.com/" />
    </url>

    <!-- Đặt lịch khám (Booking) - CRITICAL for sitelinks -->
    <url>
        <loc>https://benhvientanhung.com/booking</loc>
        <lastmod>2025-01-13</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.95</priority>
    </url>

    <!-- Danh sách bác sĩ (Doctors) - Important for sitelinks -->
    <url>
        <loc>https://benhvientanhung.com/doctors</loc>
        <lastmod>2025-01-13</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.9</priority>
    </url>

    <!-- Bảng Giá Dịch Vụ (Service Prices) - Important for sitelinks -->
    <url>
        <loc>https://benhvientanhung.com/service-prices</loc>
        <lastmod>2025-01-13</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <!-- Giới Thiệu (About) - Important for sitelinks -->
    <url>
        <loc>https://benhvientanhung.com/tam-nhin-va-su-menh</loc>
        <lastmod>2025-01-13</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.9</priority>
    </url>

    <!-- Bản đồ (Map) - Important for sitelinks -->
    <url>
        <loc>https://benhvientanhung.com/map</loc>
        <lastmod>2025-01-13</lastmod>
        <changefreq>yearly</changefreq>
        <priority>0.85</priority>
    </url>

    <!-- Chuyên khoa (Specialties) -->
    <url>
        <loc>https://benhvientanhung.com/specialties</loc>
        <lastmod>2025-01-13</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.8</priority>
    </url>

    <!-- Tin tức (News) -->
    <url>
        <loc>https://benhvientanhung.com/news</loc>
        <lastmod>2025-01-13</lastmod>
        <changefreq>daily</changefreq>
        <priority>0.8</priority>
    </url>

    <!-- Bảng giá thuốc (Drug Prices) -->
    <url>
        <loc>https://benhvientanhung.com/drug-prices</loc>
        <lastmod>2025-01-13</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.75</priority>
    </url>

    <!-- Trang thiết bị (Devices) -->
    <url>
        <loc>https://benhvientanhung.com/devices</loc>
        <lastmod>2025-01-13</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.7</priority>
    </url>

    <!-- Thông tin thuốc (Medicine Info) -->
    <url>
        <loc>https://benhvientanhung.com/medicine-info</loc>
        <lastmod>2025-01-13</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.7</priority>
    </url>

    <!-- Tuyển dụng (Recruitment) -->
    <url>
        <loc>https://benhvientanhung.com/recruitment</loc>
        <lastmod>2025-01-13</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.7</priority>
    </url>

    <!-- Hỏi & đáp (Question) -->
    <url>
        <loc>https://benhvientanhung.com/question</loc>
        <lastmod>2025-01-13</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.6</priority>
    </url>

    <!-- 
    NOTE: This is a static sitemap. For dynamic content (individual doctors, news articles, etc.),
    you should implement a dynamic sitemap generator on your backend or use a sitemap generation service.
    
    Dynamic URLs to include (should be generated dynamically):
    - /doctor/detail/:id (for each doctor)
    - /news/:id (for each news article)
    - /specialty/:id (for each specialty)
    - /device/:id (for each device)
    - /recruitment/:id (for each job posting)
    - /:slug (dynamic pages from CMS)
    
    RECOMMENDATION: Create a backend endpoint /api/v1/sitemap that generates dynamic sitemap
    including all dynamic URLs with proper lastmod dates from database.
    -->

</urlset>
