add rssa-pintar to git
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
class M_datapenunjang extends CI_Model {
|
||||
|
||||
function index() {
|
||||
$this->db->order_by('pp_date_pemeriksaan', 'DESC');
|
||||
$this->db->where('pp_user_pasien_id', $this->session->userdata('s_ID_User_rssapintar'));
|
||||
$query = $this->db->get('proses_pemeriksaan');
|
||||
return $query->result();
|
||||
}
|
||||
|
||||
function radiologi(){
|
||||
$this->db->where('pfp_ket', 1);
|
||||
$query = $this->db->get('proses_file_pemeriksaan');
|
||||
return $query->result();
|
||||
}
|
||||
|
||||
function lab(){
|
||||
$this->db->where('pfp_ket', 2);
|
||||
$query = $this->db->get('proses_file_pemeriksaan');
|
||||
return $query->result();
|
||||
}
|
||||
|
||||
function labpa(){
|
||||
$this->db->where('pfp_ket', 3);
|
||||
$query = $this->db->get('proses_file_pemeriksaan');
|
||||
return $query->result();
|
||||
}
|
||||
|
||||
function labmikro(){
|
||||
$this->db->where('pfp_ket', 4);
|
||||
$query = $this->db->get('proses_file_pemeriksaan');
|
||||
return $query->result();
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user