package com.openhis.web.regdoctorstation.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.openhis.web.regdoctorstation.dto.NursingOrdersDetailDto;
import com.openhis.web.regdoctorstation.dto.NursingOrdersEncounterDetailDto;

/**
 * 特殊医嘱 应用Mapper
 */
@Repository
public interface SpecialAdviceAppMapper {

    /**
     * 查询护理医嘱信息
     * 
     * @param categoryCodeList 类型为护理医嘱的编码集合
     * @return 理医嘱信息
     */
    List<NursingOrdersDetailDto> getNursingOrdersInfos(@Param("categoryCodeList") List<String> categoryCodeList);

    /**
     * 查询就诊护理医嘱
     * 
     * @param encounterId 就诊id
     * @param draft 待发送
     * @param active 已发送
     * @param completed 已完成
     * @param categoryEnumList 类型为护理医嘱的枚举集合
     * @return 就诊护理医嘱
     */
    List<NursingOrdersEncounterDetailDto> getEncounterNursingOrdersInfos(@Param("encounterId") Long encounterId,
        @Param("draft") Integer draft, @Param("active") Integer active, @Param("completed") Integer completed,
        @Param("categoryEnumList") List<Integer> categoryEnumList);

}
