add rssa-pintar to git

This commit is contained in:
ryan
2025-10-17 13:38:25 +07:00
commit 577589e6e5
4670 changed files with 1663440 additions and 0 deletions
+36
View File
@@ -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();
}
}
?>