package com.jasamedika.medifirst2000.service;

import java.util.List;
import java.util.Map;

import org.springframework.orm.jpa.JpaSystemException;

import com.jasamedika.medifirst2000.entities.SkoringTindakanFarmakologi;
import com.jasamedika.medifirst2000.vo.SkoringTindakanFarmakologiVO;

/**
 * @author salmanoe
 * @since Jun 20, 2022
 * 
 */
public interface SkoringTindakanFarmakologiService
		extends BaseVoService<SkoringTindakanFarmakologi, SkoringTindakanFarmakologiVO, String> {

	List<Map<String, Object>> findAllEnabled(String namaProduk, Boolean isVerif) throws JpaSystemException;

	List<Map<String, Object>> findDuplicateSkoring(String namaProduk, Double skor, Long tglMulaiBerlaku, String noRec)
			throws JpaSystemException;

	Map<String, Object> findAkses(Integer idPegawai) throws JpaSystemException;

}
