<commit_before><openerp>
    <data>
        <record model="ir.ui.view" id="view_nh_etake_list_referral_form_search">
            <field name="name">NH eTake List Referral Form Search View</field>
            <field name="model">nh.clinical.patient.referral.form</field>
            <field name="arch" type="xml">
                <search string="NH eTake List Referral Form Search View">
                    <field name="nhs_number"/>
                    <field name="patient_id"/>
                </search>
            </field>
        </record>

        <record model="ir.ui.view" id="view_nh_etake_list_referral_form_tree">
            <field name="name">NH eTake List Referral Form Tree View</field>
            <field name="model">nh.clinical.patient.referral.form</field>
            <field name="arch" type="xml">
                <tree string="NH eTake List Referral Form Tree View" version="7.0">
                    <field name="patient_id" />
                    <field name="nhs_number" />
                    <field name="ref_doctor_id" />
                    <field name="create_date" string="Created"/>
                    <field name="create_uid" string="By"/>
                    <field name="write_date" string="Modified"/>
                    <field name="write_uid" string="By"/>
                </tree>
            </field>
        </record>

        <record model="ir.ui.view" id="view_nh_etake_list_referral_form_form">
            <field name="name">NH eTake List Referral Form Form View</field>
            <field name="model">nh.clinical.patient.referral.form</field>
            <field name="arch" type="xml">
                <form string="NH eTake List Referral Form Form View" version="7.0" delete="0">
                    <sheet>
                        <label for="source" string="Source of Referral"/>
                        <field name="source" nolabel="1"/>
                        <group string="Patient Details" col="4">
                            <field name="patient_id" on_change="onchange_patient_id(patient_id)" widget="nh_many2one"/>
                            <field name="hospital_number" on_change="onchange_hospital_number(hospital_number)"/>
                            <field name="nhs_number" on_change="onchange_nhs_number(nhs_number)"/>
                            <field name="first_name"/>
                            <field name="middle_names"/>
                            <field name="last_name"/>
                            <field name="dob"/>
                            <field name="ethnicity"/>
                            <field name="gender"/>
                            <field name="resides"/>
                            <field name="postcode"/>
                        </group>
                        <group string="GP" col="4">
                            <field name="ref_doctor_id" widget="nh_many2one"/>
                        </group><commit_msg>[IMP][WI-226] Remove Edit button from referral form<commit_after><openerp>
    <data>
        <record model="ir.ui.view" id="view_nh_etake_list_referral_form_search">
            <field name="name">NH eTake List Referral Form Search View</field>
            <field name="model">nh.clinical.patient.referral.form</field>
            <field name="arch" type="xml">
                <search string="NH eTake List Referral Form Search View">
                    <field name="nhs_number"/>
                    <field name="patient_id"/>
                </search>
            </field>
        </record>

        <record model="ir.ui.view" id="view_nh_etake_list_referral_form_tree">
            <field name="name">NH eTake List Referral Form Tree View</field>
            <field name="model">nh.clinical.patient.referral.form</field>
            <field name="arch" type="xml">
                <tree string="NH eTake List Referral Form Tree View" version="7.0" create="1" edit="0" delete="0" import="0">
                    <field name="patient_id" />
                    <field name="nhs_number" />
                    <field name="ref_doctor_id" />
                    <field name="create_date" string="Created"/>
                    <field name="create_uid" string="By"/>
                    <field name="write_date" string="Modified"/>
                    <field name="write_uid" string="By"/>
                </tree>
            </field>
        </record>

        <record model="ir.ui.view" id="view_nh_etake_list_referral_form_form">
            <field name="name">NH eTake List Referral Form Form View</field>
            <field name="model">nh.clinical.patient.referral.form</field>
            <field name="arch" type="xml">
                <form string="NH eTake List Referral Form Form View" version="7.0" create="1" edit="0" delete="0" import="0">
                    <sheet>
                        <label for="source" string="Source of Referral"/>
                        <field name="source" nolabel="1"/>
                        <group string="Patient Details" col="4">
                            <field name="patient_id" on_change="onchange_patient_id(patient_id)" widget="nh_many2one"/>
                            <field name="hospital_number" on_change="onchange_hospital_number(hospital_number)"/>
                            <field name="nhs_number" on_change="onchange_nhs_number(nhs_number)"/>
                            <field name="first_name"/>
                            <field name="middle_names"/>
                            <field name="last_name"/>
                            <field name="dob"/>
                            <field name="ethnicity"/>
                            <field name="gender"/>
                            <field name="resides"/>
                            <field name="postcode"/>
                        </group>
                        <group string="GP" col="4">
                            <field name="ref_doctor_id" widget="nh_many2one"/>
                        </group>
{'fraction_non_alphanumeric': 0.1273307576012095, 'fraction_numerical': 0.005039475894506971, 'mean_word_length': 1.574146130566364, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 0, '>': 117, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1448018', 'n_tokens_mistral': 1599, 'n_tokens_neox': 1513, 'n_words': 316}