add locfull to pv by patient
This commit is contained in:
parent
b258584553
commit
70de4fcfc6
@ -27,6 +27,7 @@ class PatVisitModel extends Model {
|
||||
public function showByPatient($InternalPID) {
|
||||
$rows = $this->join('patdiag pd', 'pd.InternalPVID=patvisit.InternalPVID', 'left')
|
||||
->join('patvisitadt pva', 'pd.InternalPVID=pva.InternalPVID', 'left')
|
||||
->join('location l', 'l.LocationID=pva.LocationID', 'left')
|
||||
->where('patvisit.InternalPID',$InternalPID)->get()->getResultArray();
|
||||
return $rows;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user