<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.lantone.daqe.mapper.HisHomePageMapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.lantone.daqe.entity.HisHomePage">
        <id column="home_page_id" property="homePageId"/>
        <result column="hospital_id" property="hospitalId"/>
        <result column="behospital_code" property="behospitalCode"/>
        <result column="hospital_code" property="hospitalCode"/>
        <result column="hospital_name" property="hospitalName"/>
        <result column="org_code" property="orgCode"/>
        <result column="pay_type" property="payType"/>
        <result column="health_card" property="healthCard"/>
        <result column="behospital_num" property="behospitalNum"/>
        <result column="file_code" property="fileCode"/>
        <result column="name" property="name"/>
        <result column="sex" property="sex"/>
        <result column="birthday" property="birthday"/>
        <result column="age" property="age"/>
        <result column="age_unit" property="ageUnit"/>
        <result column="nationality" property="nationality"/>
        <result column="newborn_month" property="newbornMonth"/>
        <result column="newborn_day" property="newbornDay"/>
        <result column="newborn_weight" property="newbornWeight"/>
        <result column="newborn_behospital_weight" property="newbornBehospitalWeight"/>
        <result column="born_address" property="bornAddress"/>
        <result column="born_place" property="bornPlace"/>
        <result column="nation" property="nation"/>
        <result column="identity_card_no" property="identityCardNo"/>
        <result column="job_type" property="jobType"/>
        <result column="marriage" property="marriage"/>
        <result column="cur_address" property="curAddress"/>
        <result column="cur_phone" property="curPhone"/>
        <result column="cur_post_code" property="curPostCode"/>
        <result column="residence_address" property="residenceAddress"/>
        <result column="residence_post_code" property="residencePostCode"/>
        <result column="work_address" property="workAddress"/>
        <result column="work_phone" property="workPhone"/>
        <result column="work_post_code" property="workPostCode"/>
        <result column="contact_name" property="contactName"/>
        <result column="contact_relation" property="contactRelation"/>
        <result column="contact_address" property="contactAddress"/>
        <result column="contact_phone" property="contactPhone"/>
        <result column="behospital_way" property="behospitalWay"/>
        <result column="behospital_date" property="behospitalDate"/>
        <result column="behospital_dept" property="behospitalDept"/>
        <result column="behospital_ward" property="behospitalWard"/>
        <result column="behospital_bed_id" property="behospitalBedId"/>
        <result column="behospital_bed_code" property="behospitalBedCode"/>
        <result column="change_dept" property="changeDept"/>
        <result column="leave_hospital_date" property="leaveHospitalDate"/>
        <result column="leave_hospital_dept" property="leaveHospitalDept"/>
        <result column="leave_hospital_ward" property="leaveHospitalWard"/>
        <result column="leave_hospital_bed_id" property="leaveHospitalBedId"/>
        <result column="leave_hospital_bed_code" property="leaveHospitalBedCode"/>
        <result column="behospital_day_num" property="behospitalDayNum"/>
        <result column="treatment_type" property="treatmentType"/>
        <result column="outpatient_emr_diagnose" property="outpatientEmrDiagnose"/>
        <result column="outpatient_emr_ch_diagnose" property="outpatientEmrChDiagnose"/>
        <result column="outpatient_emr_diagnose_code" property="outpatientEmrDiagnoseCode"/>
        <result column="outpatient_emr_ch_diagnose_code" property="outpatientEmrChDiagnoseCode"/>
        <result column="implementation_clinical_pathway" property="implementationClinicalPathway"/>
        <result column="is_chinese_medicine_preparation" property="isChineseMedicinePreparation"/>
        <result column="is_chinese_diagnose_equipment" property="isChineseDiagnoseEquipment"/>
        <result column="is_chinese_diagnose_technology" property="isChineseDiagnoseTechnology"/>
        <result column="dialectical_nursing" property="dialecticalNursing"/>
        <result column="poison_factor" property="poisonFactor"/>
        <result column="poison_factor_code" property="poisonFactorCode"/>
        <result column="pathology_diagnose" property="pathologyDiagnose"/>
        <result column="pathology_diagnose_code" property="pathologyDiagnoseCode"/>
        <result column="pathology_diagnose_id" property="pathologyDiagnoseId"/>
        <result column="is_med_allergy" property="isMedAllergy"/>
        <result column="med_allergy_name" property="medAllergyName"/>
        <result column="autopsy" property="autopsy"/>
        <result column="blood_type" property="bloodType"/>
        <result column="rh" property="rh"/>
        <result column="dept_director" property="deptDirector"/>
        <result column="director_doctor" property="directorDoctor"/>
        <result column="attending_doctor" property="attendingDoctor"/>
        <result column="behospital_doctor" property="behospitalDoctor"/>
        <result column="response_nurse" property="responseNurse"/>
        <result column="study_doctor" property="studyDoctor"/>
        <result column="practice_doctor" property="practiceDoctor"/>
        <result column="encode_man" property="encodeMan"/>
        <result column="home_page_quality" property="homePageQuality"/>
        <result column="qc_doctor" property="qcDoctor"/>
        <result column="qc_nurse" property="qcNurse"/>
        <result column="qc_date" property="qcDate"/>
        <result column="leave_hospital_type" property="leaveHospitalType"/>
        <result column="accept_org_code" property="acceptOrgCode"/>
        <result column="again_behospital_plan" property="againBehospitalPlan"/>
        <result column="again_behospital_goal" property="againBehospitalGoal"/>
        <result column="tbi_before_day" property="tbiBeforeDay"/>
        <result column="tbi_before_hour" property="tbiBeforeHour"/>
        <result column="tbi_before_minute" property="tbiBeforeMinute"/>
        <result column="tbi_after_day" property="tbiAfterDay"/>
        <result column="tbi_after_hour" property="tbiAfterHour"/>
        <result column="tbi_after_minute" property="tbiAfterMinute"/>
        <result column="total_fee" property="totalFee"/>
        <result column="own_fee" property="ownFee"/>
        <result column="general_fee" property="generalFee"/>
        <result column="service_fee" property="serviceFee"/>
        <result column="nurse_fee" property="nurseFee"/>
        <result column="other_fee" property="otherFee"/>
        <result column="pathology_fee" property="pathologyFee"/>
        <result column="lab_fee" property="labFee"/>
        <result column="pacs_fee" property="pacsFee"/>
        <result column="clinic_diagnose_fee" property="clinicDiagnoseFee"/>
        <result column="not_operation_fee" property="notOperationFee"/>
        <result column="clinic_physic_fee" property="clinicPhysicFee"/>
        <result column="operation_treat_fee" property="operationTreatFee"/>
        <result column="anaesthesia_fee" property="anaesthesiaFee"/>
        <result column="operation_fee" property="operationFee"/>
        <result column="health_type_fee" property="healthTypeFee"/>
        <result column="chn_treat_fee" property="chnTreatFee"/>
        <result column="western_med_fee" property="westernMedFee"/>
        <result column="antibiosis_fee" property="antibiosisFee"/>
        <result column="chn_med_fee" property="chnMedFee"/>
        <result column="chn_herb_fee" property="chnHerbFee"/>
        <result column="blood_fee" property="bloodFee"/>
        <result column="albumen_fee" property="albumenFee"/>
        <result column="globulin_fee" property="globulinFee"/>
        <result column="blood_factor_fee" property="bloodFactorFee"/>
        <result column="cell_factor_fee" property="cellFactorFee"/>
        <result column="check_material_fee" property="checkMaterialFee"/>
        <result column="treat_material_fee" property="treatMaterialFee"/>
        <result column="operation_material_fee" property="operationMaterialFee"/>
        <result column="other_type_fee" property="otherTypeFee"/>
        <result column="single_diag_manage" property="singleDiagManage"/>
        <result column="clinic_pathway_manage" property="clinicPathwayManage"/>
        <result column="is_outpatient_behospital" property="isOutpatientBehospital"/>
        <result column="is_leave_behospital" property="isLeaveBehospital"/>
        <result column="is_operation_before_after" property="isOperationBeforeAfter"/>
        <result column="is_clinic_pathology" property="isClinicPathology"/>
        <result column="is_radiate_pathology" property="isRadiatePathology"/>
        <result column="rescue_num" property="rescueNum"/>
        <result column="rescue_success_num" property="rescueSuccessNum"/>
        <result column="is_auto_leavehospital" property="isAutoLeavehospital"/>
        <result column="return_to_type" property="returnToType"/>
        <result column="is_deleted" property="isDeleted"/>
        <result column="gmt_create" property="gmtCreate"/>
        <result column="gmt_modified" property="gmtModified"/>
        <result column="creator" property="creator"/>
        <result column="modifier" property="modifier"/>
        <result column="is_physical_restraint" property="isPhysicalRestraint"/>
        <result column="tbi_behospital_before_time" property="tbiBehospitalBeforeTime"/>
        <result column="tbi_behospital_after_time" property="tbiBehospitalAfterTime"/>
        <result column="is_fall_bed" property="isFallBed"/>
        <result column="is_nosocomial_infection" property="isNosocomialInfection"/>
        <result column="is_into_icu" property="isIntoIcu"/>
        <result column="is_complications" property="isComplications"/>
        <result column="is_pressure_sore" property="isPressureSore"/>
        <result column="is_behospital_pressure_sore" property="isBehospitalPressureSore"/>
        <result column="is_unplanned_reoperation" property="isUnplannedReoperation"/>
        <result column="treatment_results" property="treatmentResults"/>
        <result column="complications_results" property="complicationsResults"/>
        <result column="infection_site" property="infectionSite"/>
        <result column="is_be_in_danger" property="isBeInDanger"/>
    </resultMap>

</mapper>