<!-- BEGIN hmrn/data/plasmacell.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() {
$("#plasmacell").validate({
rules: { },
});
});
</script>
[% ELSE %]
<script type="text/javascript">
$(document).ready(function() {
$("#plasmacell").validationEngine()
})
</script>
[% END %]
<h4 class="indent">
4. Plasma cell data:
[% div_name = 'plasmacellData'; INCLUDE site/snippets/toggleview.tt %]
</h4>
<div id="[% div_name %]" class="[% hmrn_data.category_has_data.plasmacell.size
|| c.query.param('data_set') == 'plasmacell' ? 'visible' : 'itemhidden' %]">
<form method="post" name="plasmacell" id="plasmacell"
action="[% app_url %]/hmrn_data/edit/[% data.id %]/[% patient.id %]">
<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 = 'plasmacell'
%]
[% error_paraprotein %]
</td>
<td class="label">Paraprotein level:</td>
<td class="content">
[% PROCESS build_text_field
type = 'plasmacell'
name = 'pp_level'
size = 3
%]
[% IF error_pp_level; error_pp_level;
ELSE; PROCESS build_defaults
type = 'plasmacell'
name = 'pp_level'
units = 'g/L';
END %]
</td>
</tr>
<tr>
<td class="label">Bence-Jones type:</td>
<td class="content">
[% PROCESS build_select_field
type = 'plasmacell'
name = 'bence_jones'
%]
[% error_bm %]
</td>
<td class="label">Serum kappa:</td>
<td class="content">
[% PROCESS build_text_field
type = 'plasmacell'
name = 'serum_kappa'
size = 3
%]
[% IF error_serum_kappa; error_serum_kappa;
ELSE; PROCESS build_defaults
type = 'plasmacell'
name = 'serum_kappa'
units = 'mg/L';
END %]
</td>
</tr>
<tr>
<td class="label">Bone disease:</td>
<td class="content">
[% PROCESS build_select_field
name = 'bone_disease'
type = 'plasmacell'
%]
[% error_bone_disease %]
</td>
<td class="label">Serum lambda:</td>
<td class="content">
[% PROCESS build_text_field
type = 'plasmacell'
name = 'serum_lambda'
size = 3
%]
[% IF error_serum_lambda; error_serum_lambda;
ELSE; PROCESS build_defaults
type = 'plasmacell'
name = 'serum_lambda'
units = 'mg/L';
END %]
</td>
</tr>
<tr>
<td class="label">Bone lesions:</td>
<td class="content">
[% PROCESS build_select_field
name = 'bone_lesions'
type = 'plasmacell'
%]
[% error_bone_lesions %]
</td>
<td class="label">β<sub>2</sub>m:</td>
<td class="content">
[% PROCESS build_text_field
type = 'plasmacell'
name = 'b2m'
size = 3
%]
[% IF error_b2m; error_b2m;
ELSE; PROCESS build_defaults
type = 'plasmacell'
name = 'b2m'
units = 'mg/L';
END %]
</td>
</tr>
<tr>
<td class="label">MRI scan:</td>
<td class="content">
[% PROCESS build_select_field
name = 'mri'
type = 'plasmacell'
%]
[% error_mri %]
</td>
<td class="label">Creatinine:</td>
<td class="content">
[% PROCESS build_text_field
type = 'plasmacell'
name = 'creatinine'
size = 3
%]
[% IF error_creatinine; error_creatinine;
ELSE; PROCESS build_defaults
type = 'plasmacell'
name = 'creatinine'
units = 'µmol/L';
END %]
</td>
</tr>
<tr>
<td class="label">Skeletal survey:</td>
<td class="content">
[% PROCESS build_select_field
name = 'skeletal_survey'
type = 'plasmacell'
%]
[% error_skeletal_survey %]
</td>
<td class="label">Hb:</td>
<td class="content">
[% PROCESS build_text_field
type = 'plasmacell'
name = 'hb'
size = 3
%]
[% IF error_hb; error_hb;
ELSE; PROCESS build_defaults
type = 'plasmacell'
name = 'hb'
units = 'g/L';
END %]
</td>
</tr>
<tr>
<td class="label">Immunoglobulins:</td>
<td class="content">
[% PROCESS build_select_field
name = 'igs'
type = 'plasmacell'
%]
[% error_igs %]
</td>
<td colspan="2" class="borderless"></td>
</tr>
[% INCLUDE hmrn_submit %]
</table>
</form>
</div>
<!-- END hmrn/data/plasmacell.tt -->