'250609'
This commit is contained in:
parent
5e2530ff6a
commit
43692c7bca
@ -114,7 +114,7 @@ class API_TM extends ResourceController {
|
||||
$bw = $qant['weight'];
|
||||
$bh = $qant['height'];
|
||||
|
||||
$sql = "select PATID from cmod.dbo.CM_TM_PATIENTS where PATNUMBER='$rm'";
|
||||
$sql = "select PATID from cmod.dbo.CM_TM_PATIENTS where PATNUMBER='$rm'";
|
||||
$query = $db->query($sql);
|
||||
$results = $query->getResultArray();
|
||||
if(!isset($results[0])) {
|
||||
@ -126,6 +126,7 @@ class API_TM extends ResourceController {
|
||||
$sql = "UPDATE cmod.dbo.CM_TM_PATIENTS SET FIRSTNAME='$firstname', LASTNAME='$lastname', BIRTHDATE='$dob', SEX='$sex', PHONE='$phone' where PATID='$patid'";
|
||||
$db->query($sql);
|
||||
}
|
||||
//echo "$reffid";
|
||||
|
||||
$sql = "select REQID from cmod.dbo.CM_TM_REQUESTS where REFFID='$reffid'";
|
||||
$query = $db->query($sql);
|
||||
@ -143,7 +144,7 @@ class API_TM extends ResourceController {
|
||||
COMPANY='$company',LOGDATE='$createdt', BW='$bw', BH='$bh', VISITDESC='$visitdesc', VISITTYPE='$visittype', REQSTATUS='$reqstatus'
|
||||
where REQID='$reqid'";
|
||||
$db->query($sql);
|
||||
}
|
||||
}
|
||||
|
||||
// tests
|
||||
$tests = json_decode(json_encode($qpat['tests']), true);;
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
a:hover { background-color:white;color:black; }
|
||||
|
||||
/* HIS Messages */
|
||||
.text-limit { display: block; max-width: 600px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
|
||||
.text-limit { display: block; max-width: 950px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
|
||||
</style>
|
||||
</head>
|
||||
<body class='bg-secondary'>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user