RSS Git Download  Clone
Raw Blame History
<!-- BEGIN hmrn/data/plasmacell.tt -->
    [% # PROCESS dumper.tt dump = hmrn_data.precursor %]
    
	<h4 class="indent">4. Plasma cell data:</h4>
	
    [% IF not_using_validationEngine_jquery # then use 'basic' jquery val %]
	<script type="text/javascript"> 
	    $(document).ready(function() { 
	      $("#plasmacell").validate({ 
            rules: { },
          });
        });
  </script>
    [% ELSE %]
	<script type="text/javascript">
		$(document).ready(function() {
			$("#plasmacell").validationEngine()
		})
	</script>
    [% END %]
  
  <form method="post" action="[% app_url %]/hmrn_data/edit/[% data.id
		%]/[% patient.id %]" name="plasmacell" id="plasmacell">
        <input type="hidden" name="data_set" value="plasmacell" />
        
		<table class="indent">
			<tr>
				<td class="label">Paraprotein:</td>
				<td class="content">
                    [% PROCESS build_select_field
                        name  = 'paraprotein'
                        type  = 'plasma_cell'
                        class = 'validate[required]]'
                    %]
                    [% error_paraprotein %]
				</td>
				<td class="label">Paraprotein level:</td>
				<td class="content">
					<input type="text" name="pp_level" id="hb" size="3"
                        value="[% hmrn_data.params.plasma_cell.pp_level %]" />
                    [% error_pp_level || '[g/L]' %]
				</td>
			</tr>
            
			<tr>
				<td class="label">Bence-Jones type:</td>
				<td class="content">
                    [% PROCESS build_select_field
                        name  = 'bence_jones'
                        type  = 'plasma_cell'
                        class = 'validate[required]]'
                    %]
                    [% error_bm %]
				</td>
				<td class="label">Serum kappa:</td>
				<td class="content">
					<input type="text" name="serum_kappa" id="serum_kappa" size="3"
                        value="[% hmrn_data.params.plasma_cell.serum_kappa %]" />
                    [% error_serum_kappa || '[mg/L]' %]
				</td>
			</tr>
            
			<tr>
				<td class="label">Bone disease:</td>
				<td class="content">
                    [% PROCESS build_select_field
                        name  = 'bone_disease'
                        type  = 'plasma_cell'
                        class = 'validate[required]]'
                    %]
                    [% error_bone_disease %]
				</td>
				<td class="label">Serum lambda:</td>
				<td class="content">
					<input type="text" name="serum_lambda" id="serum_lambda" size="4"
                        value="[% hmrn_data.params.plasma_cell.serum_lambda %]" />
                    [% error_serum_lambda || '[mg/L]' %]
				</td>
			</tr>
            
			<tr>
				<td class="label">Bone lesions:</td>
				<td class="content">
                    [% PROCESS build_select_field
                        name  = 'bone_lesions'
                        type  = 'plasma_cell'
                        class = 'validate[required]]'
                    %]
                    [% error_bone_lesions %]
				</td>
				<td class="label">&beta;<sub>2</sub>m:</td>
				<td class="content">
					<input type="text" name="b2m" id="b2m" size="3"
                        value="[% hmrn_data.params.plasma_cell.b2m %]" />
                    [% error_b2m || '[mg/L]' %]
				</td>
			</tr>
            
			<tr>
				<td class="label">MRI scan:</td>
				<td class="content">
                    [% PROCESS build_select_field
                        name  = 'mri'
                        type  = 'plasma_cell'
                        class = 'validate[required]]'
                    %]
                    [% error_mri %]
				</td>
				<td class="label">Creatinine:</td>
				<td class="content">
					<input type="text" name="creatinine" id="creatinine" size="3"
                        value="[% hmrn_data.params.plasma_cell.creatinine %]" />
                    [% error_creatinine || '[&micro;mol/L]' %]
				</td>
			</tr>
            
			<tr>
				<td class="label">Skeletal survey:</td>
				<td class="content">
                    [% PROCESS build_select_field
                        name  = 'skeletal_survey'
                        type  = 'plasma_cell'
                        class = 'validate[required]]'
                    %]
                    [% error_skeletal_survey %]
				</td>
				<td class="label">Hb:</td>
				<td class="content">
					<input type="text" name="hb" id="hb" size="3"
                        value="[% hmrn_data.params.plasma_cell.hb %]" />
                    [% error_hb || '[g/dL]' %]
				</td>
			</tr>
            
			<tr>
				<td class="label">Immunoglobulins:</td>
				<td class="content">
                    [% PROCESS build_select_field
                        name  = 'igs'
                        type  = 'plasma_cell'
                        class = 'normal'
                    %]
                    [% error_igs %]
				</td>
                <td colspan="2" class="borderless"></td>
            </tr>
			[% INCLUDE hmrn_submit %]
		</table>
    </form>
<!-- END hmrn/data/plasmacell.tt -->