Logic.java 文件源码

java
阅读 25 收藏 0 点赞 0 评论 0

项目:openMAXIMS 作者:
private MergedPatientVo createPatientBeforeMerge() 
    {
        if(form.getLocalContext().getDestinationPatient() == null)
            return null;

        MergedPatientVo patientBeforeMerge = new MergedPatientVo();
        patientBeforeMerge.setDestiantionPatient(form.getLocalContext().getDestinationPatient());
        patientBeforeMerge.setName(form.getLocalContext().getDestinationPatient().getName());
        patientBeforeMerge.setSex(form.getLocalContext().getDestinationPatient().getSex());
        patientBeforeMerge.setDob(form.getLocalContext().getDestinationPatient().getDob());
        patientBeforeMerge.setDod(form.getLocalContext().getDestinationPatient().getDod());
        patientBeforeMerge.setEthnicOrigin(form.getLocalContext().getDestinationPatient().getEthnicOrigin());
        patientBeforeMerge.setReligion(form.getLocalContext().getDestinationPatient().getReligion());
        patientBeforeMerge.setMaritalStatus(form.getLocalContext().getDestinationPatient().getMaritalStatus());
        patientBeforeMerge.setOccupation(form.getLocalContext().getDestinationPatient().getOccupation());
        patientBeforeMerge.setLanguage(form.getLocalContext().getDestinationPatient().getLanguage());
        patientBeforeMerge.setAddress(form.getLocalContext().getDestinationPatient().getAddress());
        patientBeforeMerge.setAddresses(form.getLocalContext().getDestinationPatient().getAddresses());
        //http://jira/browse/WDEV-20242
//      patientBeforeMerge.setIdentifiers(form.getLocalContext().getDestinationPatient().getIdentifiers());
        patientBeforeMerge.setIdentifiers(getNonUniqueIds(form.getLocalContext().getDestinationPatient().getIdentifiers())); //WDEV-20421
        patientBeforeMerge.setGp(form.getLocalContext().getDestinationPatient().getGp());
        patientBeforeMerge.setGpSurgery(form.getLocalContext().getDestinationPatient().getGpSurgery());
        patientBeforeMerge.setNok(form.getLocalContext().getDestinationPatient().getNok());
        patientBeforeMerge.setInsurance(form.getLocalContext().getDestinationPatient().getNationalHealthCover());
        patientBeforeMerge.setCommChannels(form.getLocalContext().getDestinationPatient().getCommChannels());

        return patientBeforeMerge;
    }
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号