3 include_once("../../globals.php");
4 include_once("$srcdir/api.inc");
5 formHeader("Form: Forms3_Cardiology");
6 $obj = formFetch("form_Forms3_Cardiology", $_GET["id"]); //#Use the formFetch function from api.inc to get values for existing form.
8 function chkdata_Txt(&$obj, $var) {
9 return htmlentities($obj{"$var"});
11 function chkdata_Date(&$obj, $var) {
12 return htmlentities($obj{"$var"});
14 function chkdata_CB(&$obj, $nam, $var) {
15 if (preg_match("/$var/",$obj{$nam})) {return "checked";} else {return "";}
17 function chkdata_Radio(&$obj, $nam, $var) {
18 if (strpos($obj{$nam},$var) !== false) {return "checked";}
20 function chkdata_PopOrScroll(&$obj, $nam, $var) {
21 if (preg_match("/$var/",$obj{$nam})) {return "selected";} else {return "";}
26 <link rel
=stylesheet href
="<?php echo $css_header;?>" type
="text/css">
28 <body
<?php
echo $top_bg_line;?
> topmargin
=0 rightmargin
=0 leftmargin
=2 bottommargin
=0 marginwidth
=2 marginheight
=0>
29 <form method
=post action
="<?php echo $rootdir?>/forms/Forms3_Cardiology/save.php?mode=update&id=<?php echo $_GET["id
"];?>" name
="my_form" onSubmit
="return top.restoreSession()">
30 <h1
> Forms3_Cardiology
</h1
>
32 <input type
="submit" name
="submit form" value
="submit form" />
34 <table width
="100%" cellpadding
="0" cellspacing
="0">
38 <td
class='text' valign
="top">
40 <table width
="100%" cellpadding
="0" cellspacing
="0">
44 <td
class='text' style
="border: 1px #000000 solid;">
48 <tr
><td
class='text' > date
</td
> <td
class='text' ><input type
="text" name
="_date" value
="<?php $result = chkdata_Txt($obj,"_date
"); echo $result;?>"></td
></tr
>
53 <td
class='text' style
="border: 1px #000000 solid;">
57 <tr
><td
class='text' > name
</td
> <td
class='text' ><input type
="text" name
="_name" value
="<?php $result = chkdata_Txt($obj,"_name
"); echo $result;?>"></td
></tr
>
67 <td
class='text' colspan
='2' style
="border: 1px #000000 solid;">
71 <tr
><td
class='text' > chief complaint
</td
> <td
class='text' ><input type
="text" name
="_chief_complaint" value
="<?php $result = chkdata_Txt($obj,"_chief_complaint
"); echo $result;?>"></td
></tr
>
82 <td
class='text' valign
="top" style
="border: 1px #000000 solid; height: 15px;">
84 <table width
="100%" cellpadding
="0" cellspacing
="0">
90 <td
class='text' colspan
="2" style
="border: 1px #000000 solid;">
94 <tr
><td
class='text' > wt
</td
> <td
class='text' ><input type
="text" name
="_wt" value
="<?php $result = chkdata_Txt($obj,"_wt
"); echo $result;?>"></td
></tr
>
99 <td
class='text' style
="border: 1px #000000 solid;">
103 <tr
><td
class='text' > bp
</td
> <td
class='text' ><input type
="text" name
="_bp" value
="<?php $result = chkdata_Txt($obj,"_bp
"); echo $result;?>"></td
></tr
>
108 <td
class='text' style
="border: 1px #000000 solid;">
112 <tr
><td
class='text' > p
</td
> <td
class='text' ><input type
="text" name
="_p" value
="<?php $result = chkdata_Txt($obj,"_p
"); echo $result;?>"></td
></tr
>
117 <td
class='text' style
="border: 1px #000000 solid;">
121 <tr
><td
class='text' > t
</td
> <td
class='text' ><input type
="text" name
="_t" value
="<?php $result = chkdata_Txt($obj,"_t
"); echo $result;?>"></td
></tr
>
126 <td
class='text' style
="border: 1px #000000 solid;">
130 <tr
><td
class='text' > r
</td
> <td
class='text' ><input type
="text" name
="_r" value
="<?php $result = chkdata_Txt($obj,"_r
"); echo $result;?>"></td
></tr
>
135 <td
class='text' style
="border: 1px #000000 solid;">
139 <tr
><td
class='text' > ht
</td
> <td
class='text' ><input type
="text" name
="_ht" value
="<?php $result = chkdata_Txt($obj,"_ht
"); echo $result;?>"></td
></tr
>
161 <td
class='text' valign
="top" style
="border: 1px #000000 solid; height: 15px;">
163 <table width
="100%" cellpadding
="0" cellspacing
="0">
167 <td
class='text' colspan
="5" align
="center" style
="border: 1px #000000 solid; height: 15px;">
181 <td
class='text' style
="border: 1px #000000 solid;">
185 <tr
><td
class='text' > location
</td
> <td
class='text' ><input type
="text" name
="_location" value
="<?php $result = chkdata_Txt($obj,"_location
"); echo $result;?>"></td
></tr
>
190 <td
class='text' style
="border: 1px #000000 solid;">
194 <tr
><td
class='text' > quality
</td
> <td
class='text' ><input type
="text" name
="_quality" value
="<?php $result = chkdata_Txt($obj,"_quality
"); echo $result;?>"></td
></tr
>
199 <td
class='text' style
="border: 1px #000000 solid;">
203 <tr
><td
class='text' > severity
</td
> <td
class='text' ><input type
="text" name
="_severity" value
="<?php $result = chkdata_Txt($obj,"_severity
"); echo $result;?>"></td
></tr
>
208 <td
class='text' style
="border: 1px #000000 solid;">
212 <tr
><td
class='text' > duration
</td
> <td
class='text' ><input type
="text" name
="_duration" value
="<?php $result = chkdata_Txt($obj,"_duration
"); echo $result;?>"></td
></tr
>
217 <td
class='text' style
="border: 1px #000000 solid;"> 
;
225 <td
class='text' style
="border: 1px #000000 solid;">
229 <tr
><td
class='text' > timing
</td
> <td
class='text' ><input type
="text" name
="_timing" value
="<?php $result = chkdata_Txt($obj,"_timing
"); echo $result;?>"></td
></tr
>
234 <td
class='text' style
="border: 1px #000000 solid;">
238 <tr
><td
class='text' > context
</td
> <td
class='text' ><input type
="text" name
="_context" value
="<?php $result = chkdata_Txt($obj,"_context
"); echo $result;?>"></td
></tr
>
243 <td
class='text' style
="border: 1px #000000 solid;">
247 <tr
><td
class='text' > modifying factors
</td
> <td
class='text' ><input type
="text" name
="_modifying_factors" value
="<?php $result = chkdata_Txt($obj,"_modifying_factors
"); echo $result;?>"></td
></tr
>
252 <td
class='text' style
="border: 1px #000000 solid;">
256 <tr
><td
class='text' > signs symptoms
</td
> <td
class='text' ><input type
="text" name
="_signs_symptoms" value
="<?php $result = chkdata_Txt($obj,"_signs_symptoms
"); echo $result;?>"></td
></tr
>
261 <td
class='text' style
="border: 1px #000000 solid;">
265 <tr
><td
class='text' > status of chronic illness
</td
> <td
class='text' ><input type
="text" name
="_status_of_chronic_illness" value
="<?php $result = chkdata_Txt($obj,"_status_of_chronic_illness
"); echo $result;?>"></td
></tr
>
282 <td
class='text' valign
="top" style
="border: 1px #000000 solid; height: 15px;">
284 <table width
="100%" cellpadding
="0" cellspacing
="0">
288 <td
class='text' align
="center" style
="border: 1px #000000 solid; height: 15px;">
295 <td
class='text' align
="center" style
="border: 1px #000000 solid; height: 15px;">
304 <td
class='text' align
="center" style
="border: 1px #000000 solid; height: 15px;">
316 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
318 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
321 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
323 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
327 <tr
><td
class='text' > systemic positive
</td
> <td
class='text' ><input type
="text" name
="_systemic_positive" value
="<?php $result = chkdata_Txt($obj,"_systemic_positive
"); echo $result;?>"></td
></tr
>
332 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
334 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
338 <tr
><td
class='text' > systemic negative
</td
> <td
class='text' ><input type
="text" name
="_systemic_negative" value
="<?php $result = chkdata_Txt($obj,"_systemic_negative
"); echo $result;?>"></td
></tr
>
346 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
348 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
351 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
353 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
357 <tr
><td
class='text' > ent positive
</td
> <td
class='text' ><input type
="text" name
="_ent_positive" value
="<?php $result = chkdata_Txt($obj,"_ent_positive
"); echo $result;?>"></td
></tr
>
362 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
364 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
368 <tr
><td
class='text' > ent negative
</td
> <td
class='text' ><input type
="text" name
="_ent_negative" value
="<?php $result = chkdata_Txt($obj,"_ent_negative
"); echo $result;?>"></td
></tr
>
376 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
378 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
381 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
383 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
387 <tr
><td
class='text' > eyes positive
</td
> <td
class='text' ><input type
="text" name
="_eyes_positive" value
="<?php $result = chkdata_Txt($obj,"_eyes_positive
"); echo $result;?>"></td
></tr
>
392 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
394 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
398 <tr
><td
class='text' > eyes negative
</td
> <td
class='text' ><input type
="text" name
="_eyes_negative" value
="<?php $result = chkdata_Txt($obj,"_eyes_negative
"); echo $result;?>"></td
></tr
>
406 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
408 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
411 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
413 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
417 <tr
><td
class='text' > lymph positive
</td
> <td
class='text' ><input type
="text" name
="_lymph_positive" value
="<?php $result = chkdata_Txt($obj,"_lymph_positive
"); echo $result;?>"></td
></tr
>
422 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
424 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
428 <tr
><td
class='text' > lymph negative
</td
> <td
class='text' ><input type
="text" name
="_lymph_negative" value
="<?php $result = chkdata_Txt($obj,"_lymph_negative
"); echo $result;?>"></td
></tr
>
436 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
438 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
441 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
443 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
447 <tr
><td
class='text' > resp positive
</td
> <td
class='text' ><input type
="text" name
="_resp_positive" value
="<?php $result = chkdata_Txt($obj,"_resp_positive
"); echo $result;?>"></td
></tr
>
452 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
454 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
458 <tr
><td
class='text' > resp negative
</td
> <td
class='text' ><input type
="text" name
="_resp_negative" value
="<?php $result = chkdata_Txt($obj,"_resp_negative
"); echo $result;?>"></td
></tr
>
466 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
468 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
471 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
473 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
477 <tr
><td
class='text' > cv positive
</td
> <td
class='text' ><input type
="text" name
="_cv_positive" value
="<?php $result = chkdata_Txt($obj,"_cv_positive
"); echo $result;?>"></td
></tr
>
482 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
484 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
488 <tr
><td
class='text' > cv negative
</td
> <td
class='text' ><input type
="text" name
="_cv_negative" value
="<?php $result = chkdata_Txt($obj,"_cv_negative
"); echo $result;?>"></td
></tr
>
496 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
498 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
501 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
503 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
507 <tr
><td
class='text' > gi positive
</td
> <td
class='text' ><input type
="text" name
="_gi_positive" value
="<?php $result = chkdata_Txt($obj,"_gi_positive
"); echo $result;?>"></td
></tr
>
512 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
514 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
518 <tr
><td
class='text' > gi negative
</td
> <td
class='text' ><input type
="text" name
="_gi_negative" value
="<?php $result = chkdata_Txt($obj,"_gi_negative
"); echo $result;?>"></td
></tr
>
526 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
528 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
531 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
533 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
537 <tr
><td
class='text' > gu positive
</td
> <td
class='text' ><input type
="text" name
="_gu_positive" value
="<?php $result = chkdata_Txt($obj,"_gu_positive
"); echo $result;?>"></td
></tr
>
542 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
544 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
548 <tr
><td
class='text' > gu negative
</td
> <td
class='text' ><input type
="text" name
="_gu_negative" value
="<?php $result = chkdata_Txt($obj,"_gu_negative
"); echo $result;?>"></td
></tr
>
556 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
558 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
561 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
563 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
567 <tr
><td
class='text' > skin positive
</td
> <td
class='text' ><input type
="text" name
="_skin_positive" value
="<?php $result = chkdata_Txt($obj,"_skin_positive
"); echo $result;?>"></td
></tr
>
572 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
574 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
578 <tr
><td
class='text' > skin negative
</td
> <td
class='text' ><input type
="text" name
="_skin_negative" value
="<?php $result = chkdata_Txt($obj,"_skin_negative
"); echo $result;?>"></td
></tr
>
586 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
588 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
591 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
593 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
597 <tr
><td
class='text' > ms positive
</td
> <td
class='text' ><input type
="text" name
="_ms_positive" value
="<?php $result = chkdata_Txt($obj,"_ms_positive
"); echo $result;?>"></td
></tr
>
602 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
604 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
608 <tr
><td
class='text' > ms negative
</td
> <td
class='text' ><input type
="text" name
="_ms_negative" value
="<?php $result = chkdata_Txt($obj,"_ms_negative
"); echo $result;?>"></td
></tr
>
616 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
618 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
621 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
623 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
627 <tr
><td
class='text' > psych positive
</td
> <td
class='text' ><input type
="text" name
="_psych_positive" value
="<?php $result = chkdata_Txt($obj,"_psych_positive
"); echo $result;?>"></td
></tr
>
632 <td
class='text' align
="center" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
634 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
638 <tr
><td
class='text' > psych negative
</td
> <td
class='text' ><input type
="text" name
="_psych_negative" value
="<?php $result = chkdata_Txt($obj,"_psych_negative
"); echo $result;?>"></td
></tr
>
646 <td
class='text' align
="left" colspan
="3" style
="border-right: #000000 1px solid; border-top: #000000 1px solid;
648 border-left: #000000 1px solid; border-bottom: #000000 1px solid; height: 15px">
652 <tr
><td
class='text' > all other ros negative
</td
> <td
class='text' ><textarea name
="_all_other_ros_negative_" rows
="4" cols
="40"><?php
$result = chkdata_Txt($obj,"_all_other_ros_negative_"); echo $result;?
></textarea
></td
></tr
>
674 <td
class='text' valign
="top" style
="border: 1px #000000 solid; height: 15px;">
676 <table width
="100%" cellpadding
="0" cellspacing
="0">
680 <td
class='text' colspan
="3" align
="center" style
="border: 1px #000000 solid; height: 15px;">
684 <tr
><td
class='text' > past famiy social history
</td
> <td
class='text' ><textarea name
="_past_famiy_social_history" rows
="4" cols
="40"><?php
$result = chkdata_Txt($obj,"_past_famiy_social_history"); echo $result;?
></textarea
></td
></tr
>
696 <td
class='text' style
="border: 1px #000000 solid; height: 27px;">
700 <tr
><td
class='text' > ph no change since
</td
> <td
class='text' ><input type
="text" name
="_ph_no_change_since" value
="<?php $result = chkdata_Txt($obj,"_ph_no_change_since
"); echo $result;?>"></td
></tr
>
705 <td
class='text' style
="border: 1px #000000 solid; height: 27px;">
709 <tr
><td
class='text' > fh no change since
</td
> <td
class='text' ><input type
="text" name
="_fh_no_change_since" value
="<?php $result = chkdata_Txt($obj,"_fh_no_change_since
"); echo $result;?>"></td
></tr
>
714 <td
class='text' style
="border: 1px #000000 solid; height: 27px;">
718 <tr
><td
class='text' > sh no change since
</td
> <td
class='text' ><input type
="text" name
="_sh_no_change_since" value
="<?php $result = chkdata_Txt($obj,"_sh_no_change_since
"); echo $result;?>"></td
></tr
>
724 <tr
><td
class='text' colspan
='3'>
728 <tr
><td
class='text' > <?php
xl("Examination",'e') ?
> </td
> <td
class='text' ><textarea name
="examination" rows
="4" cols
="40"><?php
$result = chkdata_Txt($obj,"examination"); echo $result;?
></textarea
></td
></tr
>
740 <table
></table
><input type
="submit" name
="submit form" value
="submit form" />