<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data noupdate="1">

        <!-- Datos de Demostración para Pacientes -->
        <record id="demo_patient_1" model="res.partner">
            <field name="name">Ana Torres</field>
            <field name="is_patient" eval="True"/>
            <field name="patient_identifier">P-A87B01</field>
            <field name="origin">Carga Inicial</field>
            <field name="birthdate_date">1985-05-15</field>
            <field name="gender">female</field>
            <field name="phone">+1-202-555-0174</field>
            <field name="email">ana.torres@example.com</field>
        </record>

        <record id="demo_patient_2" model="res.partner">
            <field name="name">Carlos Ruiz</field>
            <field name="is_patient" eval="True"/>
            <field name="patient_identifier">P-C45D02</field>
            <field name="origin">Carga Inicial</field>
            <field name="birthdate_date">1992-11-20</field>
            <field name="gender">male</field>
            <field name="phone">+1-202-555-0192</field>
            <field name="email">carlos.ruiz@example.com</field>
        </record>

        <record id="demo_patient_3" model="res.partner">
            <field name="name">María González</field>
            <field name="is_patient" eval="True"/>
            <field name="patient_identifier">P-M78E03</field>
            <field name="origin">Carga Inicial</field>
            <field name="birthdate_date">1978-03-10</field>
            <field name="gender">female</field>
            <field name="phone">+1-202-555-0201</field>
            <field name="email">maria.gonzalez@example.com</field>
        </record>

        <!-- Datos de Demostración para Médicos -->
        <record id="demo_doctor_1" model="res.partner">
            <field name="name">Dr. Luis Herrera</field>
            <field name="is_doctor" eval="True"/>
            <field name="doctor_license">L-98765</field>
            <field name="phone">+1-202-555-0145</field>
            <field name="email">luis.herrera@hospital.com</field>
        </record>

        <record id="demo_doctor_2" model="res.partner">
            <field name="name">Dra. Sofia Vargas</field>
            <field name="is_doctor" eval="True"/>
            <field name="doctor_license">L-54321</field>
            <field name="phone">+1-202-555-0133</field>
            <field name="email">sofia.vargas@clinic.com</field>
        </record>

        <!-- Datos de Demostración para Tutor y Paciente Menor de Edad -->
        <record id="demo_tutor_1" model="res.partner">
            <field name="name">Laura Mendoza</field>
            <field name="phone">+1-202-555-0188</field>
            <field name="email">laura.mendoza@example.com</field>
        </record>

        <record id="demo_patient_minor_1" model="res.partner">
            <field name="name">Pedro Infante Jr.</field>
            <field name="is_patient" eval="True"/>
            <field name="patient_identifier">P-M12E03</field>
            <field name="origin">Carga Inicial</field>
            <field name="birthdate_date" eval="(datetime.now() - relativedelta(years=5)).strftime('%Y-%m-%d')"/>
            <field name="gender">male</field>
            <field name="parent_id" ref="demo_tutor_1"/>
        </record>

    </data>
</odoo>