RSS Git Download  Clone
Raw Blame History
<!-- BEGIN hmrn/data/lymphoid.tt -->
    [% # PROCESS dumper.tt dump = hmrn_data.precursor %]
    [% IF not_using_validationEngine_jquery # then use 'basic' jquery val %]
	<script type="text/javascript">
	    $(document).ready(function() {
	      $("#lymphoid").validate({
            rules: { },
          });
        });
    </script>
    [% ELSE %]
	<script type="text/javascript">
		$(document).ready(function() {
			$("#lymphoid").validationEngine()
		})
	</script>
    [% END %]

	<h4 class="indent">
        3. Lymphoproliferative data:
		[% div_name = 'lymphoidData'; INCLUDE site/snippets/toggleview.tt %]
	</h4>

<!--	<div id="[% div_name %]" class="[% hmrn_data.category_has_data.lymphoid.size
        || c.query.param('data_set') == 'lymphoid' ? 'visible' : 'itemhidden' %]">
-->
	<div id="[% div_name %]" class="[% diagnostic_category_desc.match('[BT]-lymphoproliferative')
        || hmrn_data.category_has_data_include_shared.lymphoid.size ? 'visible' : 'itemhidden' %]">

    <form method="post" name="lymphoid" id="lymphoid"
            action="[% app_url %]/hmrn_data/edit/[% data.id %]/[% patient.id %]">
        <input type="hidden" name="data_set" value="lymphoid" />

        [% IF error_cll_or_non_cll %]
            <p class="error indent">require a CLL or non-CLL data set (or both)</p>
        [% END %]

		<table class="indent">
			<tr>
				<td class="label">ECOG:</td>
				<td class="content">
                    [% INCLUDE build_select_field
                        name  = 'ecog'
                        type  = 'lymphoid'
                    %]
                    [% error_ecog %]
				</td>
				<td class="label">Hb:</td>
				<td class="content">
                    [% INCLUDE build_text_field
						error = error_hb
                        units = 'g/dL'
                        type  = 'lymphoid'
                        name  = 'hb'
                        size  = 4
                    %]
				</td>
                <td class="grey borderless">[common]</td>
			</tr>

			<tr>
				<td class="label">Bone marrow:</td>
				<td class="content">
                    [% INCLUDE build_select_field
                        name  = 'bm'
                        type  = 'lymphoid'
                    %]
                    [% error_bm %]
				</td>
				<td class="label">WBC:</td>
				<td class="content">
                    [% INCLUDE build_text_field
						units = 'x 10<sup>9</sup>/L'
						error = error_wbc
                        type  = 'lymphoid'
                        name  = 'wbc'
                        size  = 4
                    %]
				</td>
                <td class="grey borderless">[common]</td>
			</tr>

			<tr>
				<td class="label">Sweats:</td>
				<td class="content">
                    [% INCLUDE build_select_field
                        name  = 'sweats'
                        type  = 'lymphoid'
                    %]
                    [% error_sweats %]
				</td>
				<td class="label">Lymphocytes:</td>
				<td class="content">
                    [% INCLUDE build_text_field
                        units = 'x 10<sup>9</sup>/L'
                        error = error_lymphs
                        type  = 'lymphoid'
                        name  = 'lymphs'
                        size  = 4
                    %]
				</td>
                <td class="grey borderless">[common]</td>
			</tr>

			<tr>
				<td class="label">Fever:</td>
				<td class="content">
                    [% INCLUDE build_select_field
                        name  = 'fever'
                        type  = 'lymphoid'
                    %]
                    [% error_fever %]
				</td>
				<td class="label">Albumin:</td>
				<td class="content">
                    [% INCLUDE build_text_field
						error = error_albumin
                        type  = 'lymphoid'
                        name  = 'albumin'
                        units = 'g/L'
                        size  = 4
                    %]
				</td>
                <td class="grey borderless">[common]</td>
			</tr>

			<tr>
				<td class="label">Weight loss:</td>
				<td class="content">
                    [% INCLUDE build_select_field
                        name  = 'wt_loss'
                        type  = 'lymphoid'
                    %]
                    [% error_wt_loss %]
				</td>
				<td class="label">&beta;<sub>2</sub>m:</td>
				<td class="content">
                    [% INCLUDE build_text_field
						error = error_b2m
                        type  = 'lymphoid'
                        name  = 'b2m'
                        units = 'mg/L'
                        size  = 4
                    %]
				</td>
                <td class="grey borderless">[common]</td>
			</tr>

			<tr>
				<td class="label">CT scan:</td>
				<td class="content">
                    [% INCLUDE build_select_field
                        name  = 'ct'
                        type  = 'lymphoid'
                    %]
                    [% error_ct %]
				</td>
				<td class="label">LDH:</td>
				<td class="content">
                    [% INCLUDE build_select_field
                        name  = 'ldh'
                        type  = 'lymphoid'
                    %]
                    [% error_ldh %]
				</td>
                <td class="grey borderless">[common]</td>
			</tr>

			<tr>
				<td class="label">MRI scan:</td>
				<td class="content">
                    [% INCLUDE build_select_field
                        name  = 'mri'
                        type  = 'lymphoid'
                    %]
                    [% error_mri %]
				</td>
				<td colspan="2" class="borderless"></td>
                <td class="grey borderless">[common]</td>
			</tr>				
			
			<tr>
				<td class="label">PET scan:</td>
				<td class="content">
                    [% INCLUDE build_select_field
                        name  = 'pet'
                        type  = 'lymphoid'
                    %]
                    [% error_pet %]
				</td>
				<td colspan="2" class="borderless"></td>
                <td class="grey borderless">[common]</td>
			</tr>	
			
			<tr>
				<td class="label">Binet stage:</td>
				<td class="hmrnCLL">
                    [% INCLUDE build_select_field
                        name  = 'binet'
                        type  = 'lymphoid'
                    %]
                    [% error_binet %]
				</td>
				<td class="label">Platelets:</td>
				<td class="hmrnCLL">
                    [% INCLUDE build_text_field
                        units = 'x 10<sup>9</sup>/L'
						error = error_plts
                        type  = 'lymphoid'
                        name  = 'plts'
                        size  = 4
                    %]
				</td>
                <td class="grey borderless">[CLL data]</td>
			</tr>

			<tr>
				<td class="label">Ann-Arbor:</td>
				<td class="hmrnLPD">
                    [% INCLUDE build_select_field
                        name  = 'stage'
                        type  = 'lymphoid'
                    %]
                    [% error_stage %]
				</td>
                [% IF indices.ann_arbor %]
                    <td class="calculated">Calculated:</td>
                    <td class="content">
                        <input type="text" [% site.html.disabled %] size="4"
                            value="[% indices.ann_arbor %]" />
                    </td>
                [% ELSE %]
                    <td colspan="2" class="borderless"></td>
                [% END %]
                <td class="grey borderless">[non-CLL data]</td>
            </tr>

            <tr>
                <td class="label">Paraprotein:</td>
				<td class="content">
                    [% INCLUDE build_select_field
                        type  = 'lymphoid'
                        name  = 'paraprotein'
                    %]
                    [% error_paraprotein %]
				</td>
				<td class="label">Paraprotein level:</td>
				<td class="content">
                    [% INCLUDE build_text_field
						error = error_pp_level
                        type  = 'lymphoid'
                        name  = 'pp_level'
						units = 'g/L'
                        size  = 4
                    %]
				</td>
            </tr>

            <tr>
				<td class="label">PCV:</td>
				<td class="content">
                    [% INCLUDE build_text_field
						error = error_pcv
						units = '%'
                        type  = 'lymphoid'
                        name  = 'pcv'
                        size  = 4
                    %]
				</td>
				<!-- Removed HCV for PCV instead.....
					<td class="label">Haematocrit vol.:</td>
					<td class="content">
						[% INCLUDE build_text_field
							error = error_haematocrit_vol
							units = '%'
							type  = 'lymphoid'
							name  = 'haematocrit_vol'
							size  = 4
						%]
					</td>
				-->
				<td class="label">Neutrophils:</td>
				<td class="content">
                    [% INCLUDE build_text_field
						error = error_neutrophils
						units = 'x 10<sup>9</sup>/L'
                        type  = 'lymphoid'
                        name  = 'neutrophils'
                        size  = 4
                    %]
				</td>

            </tr>

            <tr>
                <td class="label">Monocytes:</td>
				<td class="content">
                    [% INCLUDE build_text_field
						units = 'x 10<sup>9</sup>/L'
						error = error_monocytes
                        type  = 'lymphoid'
                        name  = 'monocytes'
                        size  = 4
                    %]
				</td>
				<td class="label">Immunoglobulins:</td>
				<td class="content">
                    [% INCLUDE build_select_field
                        type  = 'lymphoid'
                        name  = 'igs'
                    %]
                    [% error_igs %]
				</td>

            </tr>

			[% IF hmrn_data.category_has_data_include_shared.lymphoid.size;
                    INCLUDE hmrn_submit delete_section = 'lymphoid';
                ELSE; INCLUDE hmrn_submit; END %]
		</table>
    </form>

    [% IF hmrn_data.params.indices.size;
        indices = hmrn_data.params.indices;
        labels = {
            ann_arbor => 'Ann-Arbor'
            binet     => 'Binet'
            ipi       => 'Age-adjusted IPI'
        }
    %]
    <div class="indent">
        <h4>Calculated prognostic indicators:</h4>
        <table class="indent">
            [% FOREACH entry IN indices; # PROCESS dumper.tt dump = entry; %]
            <tr>
                <td class="label">
                    [% label = labels.item(entry.key);
                        IF label; label; ELSE; entry.key | upper; END %]:
                </td>
                <td class="content">[% entry.value %]</td>
            </tr>
            [% END; label = '' # reset for involved_sites block %]
        </table>
    </div>
    [% END %]

    [% INCLUDE hmrn/data/imaging.tt %]
    </div>

<!-- END hmrn/data/lymphoid.tt -->