<?xml version="1.0" encoding="utf-8"?>

<!--
SPDX-FileCopyrightText: 2008-2026 Luis Falcón <falcon@gnuhealth.org>
SPDX-FileCopyrightText: 2011-2026 GNU Solidario <health@gnusolidario.org>

SPDX-License-Identifier: GPL-3.0-or-later
-->

<tryton>
    <data noupdate="0">

        <record id="product_category_imagingservices" model="product.category">
            <field name="name">Imaging Services</field>
        </record>

        <record id="product_template_ultrasoundcharges" model="product.template">
            <field name="name">Ultrasound charges</field>
            <field name="default_uom" ref="product.uom_unit"/>
            <field name="type">service</field>
        </record>

        <record id="product_template_mricharges" model="product.template">
            <field name="name">MRI charges</field>
            <field name="default_uom" ref="product.uom_unit"/>
            <field name="type">service</field>
        </record>

        <record id="product_template_xraycharges" model="product.template">
            <field name="name">X-ray charges</field>
            <field name="default_uom" ref="product.uom_unit"/>
            <field name="type">service</field>
        </record>

        <record id="product_template_ctscancharges" model="product.template">
            <field name="name">CT Scan charges</field>
            <field name="default_uom" ref="product.uom_unit"/>
            <field name="type">service</field>
        </record>

        <record id="product_template_petscancharges" model="product.template">
            <field name="name">PET Scan charges</field>
            <field name="default_uom" ref="product.uom_unit"/>
            <field name="type">service</field>
        </record>

        <record id="product_product_ultrasoundcharges" model="product.product">
            <field name="template" ref="product_template_ultrasoundcharges"/>
        </record>

        <record id="product_product_mricharges" model="product.product">
            <field name="template" ref="product_template_mricharges"/>
        </record>

        <record id="product_product_xraycharges" model="product.product">
            <field name="template" ref="product_template_xraycharges"/>
        </record>

        <record id="product_product_ctscancharges" model="product.product">
            <field name="template" ref="product_template_ctscancharges"/>
        </record>

        <record id="product_product_petscancharges" model="product.product">
            <field name="template" ref="product_template_petscancharges"/>
        </record>

        <record id="gnuhealth_test_type_xray" model="gnuhealth.imaging.test.type">
            <field name="code">XR</field>
            <field name="name">X-ray</field>
        </record>

        <!-- Reference values and descriptions of DICOM modality tag -->
        <record id="gnuhealth_test_type_ultrasound" model="gnuhealth.imaging.test.type">
            <field name="code">US</field>
            <field name="name">Ultrasound</field>
        </record>

        <!-- Reference values and descriptions of DICOM modality tag -->
        <record id="gnuhealth_test_type_mri" model="gnuhealth.imaging.test.type">
            <field name="code">MR</field>
            <field name="name">Magnetic Resonance</field>
        </record>

        <!-- Reference values and descriptions of DICOM modality tag -->
        <record id="gnuhealth_test_type_xa" model="gnuhealth.imaging.test.type">
            <field name="code">XA</field>
            <field name="name">X-Ray Angiography</field>
        </record>

        <!-- Reference values and descriptions of DICOM modality tag -->
        <record id="gnuhealth_test_type_dx" model="gnuhealth.imaging.test.type">
            <field name="code">DX</field>
            <field name="name">Digital Radiography</field>
        </record>

        <!-- Reference values and descriptions of DICOM modality tag -->
        <record id="gnuhealth_test_type_cr" model="gnuhealth.imaging.test.type">
            <field name="code">CR</field>
            <field name="name">Computed Radiography</field>
        </record>

        <!-- Reference values and descriptions of DICOM modality tag -->
        <record id="gnuhealth_test_type_ctscan" model="gnuhealth.imaging.test.type">
            <field name="code">CT</field>
            <field name="name">Computed Tomography</field>
        </record>

        <!-- Reference values and descriptions of DICOM modality tag -->
        <record id="gnuhealth_test_type_petscan" model="gnuhealth.imaging.test.type">
            <field name="code">PT</field>
            <field name="name">Positron emission tomography (PET)</field>
        </record>

        <!-- Categories -->

        <record model="product.template-product.category" id="cat_product_template_ultrasoundcharges">
                <field name="template" ref="product_template_ultrasoundcharges"/>
                <field name="category" ref="product_category_imagingservices"/>
        </record>
        <record model="product.template-product.category" id="cat_product_template_mricharges">
                <field name="template" ref="product_template_mricharges"/>
                <field name="category" ref="product_category_imagingservices"/>
        </record>
        <record model="product.template-product.category" id="cat_product_template_xraycharges">
                <field name="template" ref="product_template_xraycharges"/>
                <field name="category" ref="product_category_imagingservices"/>
        </record>
        <record model="product.template-product.category" id="cat_product_template_ctscancharges">
                <field name="template" ref="product_template_ctscancharges"/>
                <field name="category" ref="product_category_imagingservices"/>
        </record>
        <record model="product.template-product.category" id="cat_product_template_petscancharges">
                <field name="template" ref="product_template_petscancharges"/>
                <field name="category" ref="product_category_imagingservices"/>
        </record>

    </data>
</tryton>
