package com.openhis.web.externalintegration.mapper;

import java.util.List;

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

import com.openhis.web.externalintegration.dto.FaSimplediseaseAddNopwParam;

/**
 * 食源性疾病病例数据智能采集Mapper
 *
 * @author Thanking
 * @date 2025-10-10
 */
@Repository
public interface FoodborneAcquisitionAppMapper {

    /**
     * 查询就诊诊断内容列表
     * 
     * @param encounterId 就诊ID
     * @return 就诊诊断内容列表
     */
    List<String> selectEncounterDiagnosisConditionNameList(@Param("encounterId") Long encounterId);

    /**
     * 查询食源性疾病病例数据智能采集上报跳转页面所需参数
     * 
     * @param encounterId 就诊ID
     * @param genderEnumMale 性别枚举-男
     * @param genderEnumFemale 性别枚举-女
     * @param firstEnumFollowUp 初复诊标识-复诊
     * @param encounterClassEnumImp 就诊类型-住院
     * @param participantTypeAdmitter 参与者类型-接诊医生
     * @return 所需参数
     */
    FaSimplediseaseAddNopwParam selectSimplediseaseAddNopwParam(@Param("encounterId") Long encounterId,
        @Param("genderEnumMale") Integer genderEnumMale, @Param("genderEnumFemale") Integer genderEnumFemale,
        @Param("firstEnumFollowUp") Integer firstEnumFollowUp,
        @Param("encounterClassEnumImp") Integer encounterClassEnumImp,
        @Param("participantTypeAdmitter") String participantTypeAdmitter);
}
