Java 类ims.core.vo.PatientMedicalInsuranceVo 实例源码

项目:openMAXIMS    文件:Logic.java   
public Boolean isInsurerMandatory()
{
    PatientMedicalInsuranceVo tempVo = form.getLocalContext().getPatientMedicalInsuranceVo(); 
    if( tempVo == null)
    {
        if( form.cmbInsurer().getValue() == null && (form.txtPolicyNumber().getValue() != null || form.cmbPolicyType().getValue() != null || form.txtOther().getValue() != null || form.dteRenewalDate().getValue() != null))
        {
            form.cmbInsurer().setRequired(true);
            return true;
        }
        else
        {
            return false;
        }
    }
    else
    {
        if( form.cmbInsurer().getValue() == null)
        {
            form.cmbInsurer().setRequired(true);
            return true;
        }
        else
            return false;
    }
}
项目:openMAXIMS    文件:Logic.java   
private void updateControlsState() 
{
    form.ctnDetails().lblOther().setVisible(PrivateInsurancePolicyType.OTHER.equals(form.ctnDetails().cmbPolicyType().getValue()));
    form.ctnDetails().txtOther().setEnabled(FormMode.EDIT.equals(form.getMode()));
    form.ctnDetails().txtOther().setVisible(PrivateInsurancePolicyType.OTHER.equals(form.ctnDetails().cmbPolicyType().getValue()));

    // Update controls for VIEW mode
    if (FormMode.VIEW.equals(form.getMode()))
    {
        // EDIT button
        form.btnUpdate().setEnabled(true);
        form.btnUpdate().setVisible(form.grdInsurance().getValue() instanceof PatientMedicalInsuranceVo);
    }

    form.ctnDetails().setCollapsed(!(form.grdInsurance().getValue() != null || FormMode.EDIT.equals(form.getMode())));

    // Update context menu options
    updateContextMenuState();   
}
项目:openMAXIMS    文件:Logic.java   
private void populateInstanceControlsFromData(PatientMedicalInsuranceVo patientMedicalInsuranceVo) 
{
    //Clear instance controls
    clearInstanceControls();

    // Terminate function on null value parameter
    if (patientMedicalInsuranceVo == null)
        return;

    //Set value to instance controls
    if(patientMedicalInsuranceVo.getCompanyIsNotNull())
        form.ctnDetails().cmbCompany().setValue(patientMedicalInsuranceVo.getCompany());
    form.ctnDetails().txtPolicyNumber().setValue(patientMedicalInsuranceVo.getPolicyNumber());
    form.ctnDetails().cmbPolicyType().setValue(patientMedicalInsuranceVo.getPolicyType());
    form.ctnDetails().txtAuthorisationNumber().setValue(patientMedicalInsuranceVo.getAuthorisationNumber());
    form.ctnDetails().txtPolicyNumber().setValue(patientMedicalInsuranceVo.getPolicyNumber());
    form.ctnDetails().txtOther().setValue(patientMedicalInsuranceVo.getPlanOrUnits());
    form.ctnDetails().dteExpiryDate().setValue(patientMedicalInsuranceVo.getExpiryDate());
    form.ctnDetails().cmbCurrentStatus().setValue(patientMedicalInsuranceVo.getCurrentStatus());
    form.ctnDetails().dteStatusChange().setValue(patientMedicalInsuranceVo.getStatusChangeDate());  
}
项目:AvoinApotti    文件:A28VoMapper.java   
protected void renderPatientMedicalInsuranceToIN1(PatientMedicalInsuranceVo medicalInsurance,IN1 in1,ProviderSystemVo providerSystem) throws HL7Exception
{
    if(medicalInsurance==null||in1==null||providerSystem==null)
    {
        return;
    }
    //IN1-3
    if(medicalInsurance.getCompanyIsNotNull()&&medicalInsurance.getCompany().getCodeMappingsIsNotNull())
    {
        String companyName  = medicalInsurance.getCompany().getCodeMappings().getMappingValue(providerSystem.getCodeSystem());
        in1.getInsuranceCompanyID(0).getID().setValue(companyName);
    }
    //IN1-36
    if(medicalInsurance.getPolicyNumberIsNotNull())
    {
        in1.getPolicyNumber().setValue(medicalInsurance.getPolicyNumber());
    }
    //IN1-2
    if(medicalInsurance.getPolicyTypeIsNotNull())
    {
        in1.getInsurancePlanID().getIdentifier().setValue(svc.getRemoteLookup(medicalInsurance.getPolicyType().getID(), providerSystem.getCodeSystem().getText()));
    }
    //IN1-13
    if(medicalInsurance.getExpiryDateIsNotNull())
    {
        in1.getPlanExpirationDate().setValue(medicalInsurance.getExpiryDate().toString(DateFormat.ISO));
    }

}
项目:openMAXIMS    文件:Logic.java   
public void setvalue(NationalHealthCoverVo insurance, PatientMedicalInsuranceVo patientmedicalinsurance)
{
    form.getLocalContext().setInsuranceVo(insurance);
    form.getLocalContext().setPatientMedicalInsuranceVo(patientmedicalinsurance);
    populateScreenFromData(insurance,patientmedicalinsurance);

}
项目:openMAXIMS    文件:Logic.java   
private EmergencyAttendanceNonInsuranceHealthCoverVo populateDataFromScreen(EmergencyAttendanceNonInsuranceHealthCoverVo emergencyAttendInsurance)
{
    if (emergencyAttendInsurance == null)
        emergencyAttendInsurance = new EmergencyAttendanceNonInsuranceHealthCoverVo();
    else
        emergencyAttendInsurance = (EmergencyAttendanceNonInsuranceHealthCoverVo) emergencyAttendInsurance.clone();

    if( !emergencyAttendInsurance.getInsuranceIsNotNull())
        emergencyAttendInsurance.setInsurance(new NationalHealthCoverVo());

    emergencyAttendInsurance.getInsurance().setMedicalCardNo(form.txtMedicalCardNo().getValue());
    emergencyAttendInsurance.getInsurance().setMedicalCardExpiryDate(form.pdtExpiryDate().getValue());
    emergencyAttendInsurance.getInsurance().setHealthActCategory(form.cmbEligibility().getValue());
    emergencyAttendInsurance.getInsurance().setMedicalCardProved(form.cmbProved().getValue());
    emergencyAttendInsurance.getInsurance().setEligibilityProof(form.txtEligibilityProof().getValue());

    emergencyAttendInsurance.getInsurance().setEHICNumber(form.txtEHICNumber().getValue());
    emergencyAttendInsurance.getInsurance().setEHICExpiryDate(form.pdtEHICExpiry().getValue());
    emergencyAttendInsurance.getInsurance().setEHICCountry(form.cmbCountry().getValue());
    emergencyAttendInsurance.getInsurance().setEHICInstitution(form.txtIdentofInstitution().getValue());

    if( !emergencyAttendInsurance.getPatientMedicalInsuranceIsNotNull() )
        emergencyAttendInsurance.setPatientMedicalInsurance(new PatientMedicalInsuranceVo());

    emergencyAttendInsurance.getPatientMedicalInsurance().setPatient(emergencyAttendInsurance.getPatient());
    emergencyAttendInsurance.getPatientMedicalInsurance().setCompany(form.cmbInsurer().getValue());
    emergencyAttendInsurance.getPatientMedicalInsurance().setPolicyNumber(form.txtPolicyNumber().getValue());
    emergencyAttendInsurance.getPatientMedicalInsurance().setPolicyType(form.cmbPolicyType().getValue());
    emergencyAttendInsurance.getPatientMedicalInsurance().setPlanOrUnits(form.txtOther().getValue());
    emergencyAttendInsurance.getPatientMedicalInsurance().setExpiryDate(form.dteRenewalDate().getValue());



    return emergencyAttendInsurance;
}
项目:openMAXIMS    文件:A28VoMapper.java   
protected void renderPatientMedicalInsuranceToIN1(PatientMedicalInsuranceVo medicalInsurance,IN1 in1,ProviderSystemVo providerSystem) throws HL7Exception
{
    if(medicalInsurance==null||in1==null||providerSystem==null)
    {
        return;
    }
    //IN1-3
    if(medicalInsurance.getCompanyIsNotNull()&&medicalInsurance.getCompany().getCodeMappingsIsNotNull())
    {
        String companyName  = medicalInsurance.getCompany().getCodeMappings().getMappingValue(providerSystem.getCodeSystem());
        in1.getInsuranceCompanyID(0).getID().setValue(companyName);
    }
    //IN1-36
    if(medicalInsurance.getPolicyNumberIsNotNull())
    {
        in1.getPolicyNumber().setValue(medicalInsurance.getPolicyNumber());
    }
    //IN1-2
    if(medicalInsurance.getPolicyTypeIsNotNull()&&!(medicalInsurance.getPolicyType().getID()==(PrivateInsurancePolicyType.OTHER.getID())))
    {
        in1.getInsurancePlanID().getIdentifier().setValue(svc.getRemoteLookup(medicalInsurance.getPolicyType().getID(), providerSystem.getCodeSystem().getText()));
    }
    else if(medicalInsurance.getPlanOrUnitsIsNotNull())
    {
        in1.getInsurancePlanID().getIdentifier().setValue(medicalInsurance.getPlanOrUnits());
    }
    //IN1-13
    if(medicalInsurance.getExpiryDateIsNotNull())
    {
        in1.getPlanExpirationDate().setValue(medicalInsurance.getExpiryDate().toString(DateFormat.ISO));
    }

}
项目:openMAXIMS    文件:A28VoMapper.java   
protected void renderPatientMedicalInsuranceToIN1(PatientMedicalInsuranceVo medicalInsurance,IN1 in1,ProviderSystemVo providerSystem) throws HL7Exception
{
    if(medicalInsurance==null||in1==null||providerSystem==null)
    {
        return;
    }
    //IN1-3
    if(medicalInsurance.getCompanyIsNotNull()&&medicalInsurance.getCompany().getCodeMappingsIsNotNull())
    {
        String companyName  = medicalInsurance.getCompany().getCodeMappings().getMappingValue(providerSystem.getCodeSystem());
        in1.getInsuranceCompanyID(0).getID().setValue(companyName);
    }
    //IN1-36
    if(medicalInsurance.getPolicyNumberIsNotNull())
    {
        in1.getPolicyNumber().setValue(medicalInsurance.getPolicyNumber());
    }
    //IN1-2
    if(medicalInsurance.getPolicyTypeIsNotNull())
    {
        in1.getInsurancePlanID().getIdentifier().setValue(svc.getRemoteLookup(medicalInsurance.getPolicyType().getID(), providerSystem.getCodeSystem().getText()));
    }
    //IN1-13
    if(medicalInsurance.getExpiryDateIsNotNull())
    {
        in1.getPlanExpirationDate().setValue(medicalInsurance.getExpiryDate().toString(DateFormat.ISO));
    }

}
项目:openmaxims-linux    文件:A28VoMapper.java   
protected void renderPatientMedicalInsuranceToIN1(PatientMedicalInsuranceVo medicalInsurance,IN1 in1,ProviderSystemVo providerSystem) throws HL7Exception
{
    if(medicalInsurance==null||in1==null||providerSystem==null)
    {
        return;
    }
    //IN1-3
    if(medicalInsurance.getCompanyIsNotNull()&&medicalInsurance.getCompany().getCodeMappingsIsNotNull())
    {
        String companyName  = medicalInsurance.getCompany().getCodeMappings().getMappingValue(providerSystem.getCodeSystem());
        in1.getInsuranceCompanyID(0).getID().setValue(companyName);
    }
    //IN1-36
    if(medicalInsurance.getPolicyNumberIsNotNull())
    {
        in1.getPolicyNumber().setValue(medicalInsurance.getPolicyNumber());
    }
    //IN1-2
    if(medicalInsurance.getPolicyTypeIsNotNull())
    {
        in1.getInsurancePlanID().getIdentifier().setValue(svc.getRemoteLookup(medicalInsurance.getPolicyType().getID(), providerSystem.getCodeSystem().getText()));
    }
    //IN1-13
    if(medicalInsurance.getExpiryDateIsNotNull())
    {
        in1.getPlanExpirationDate().setValue(medicalInsurance.getExpiryDate().toString(DateFormat.ISO));
    }

}
项目:openMAXIMS    文件:Logic.java   
private void populateInsuranceFromData(NationalHealthCoverVo insurance, PatientMedicalInsuranceVo patientmedicalinsurance)
{
    if( patientmedicalinsurance != null )
    {
        if( patientmedicalinsurance.getCompanyIsNotNull())
        {
            if( form.lyrDetails().tabOtherDetails().cmbInsurer().getValues().contains(patientmedicalinsurance.getCompany()))
                form.lyrDetails().tabOtherDetails().cmbInsurer().setValue(patientmedicalinsurance.getCompany());
            else
            {
                form.lyrDetails().tabOtherDetails().cmbInsurer().newRow(patientmedicalinsurance.getCompany(), patientmedicalinsurance.getCompany().getIItemText());
                form.lyrDetails().tabOtherDetails().cmbInsurer().setValue(patientmedicalinsurance.getCompany());
            }
        }
        form.lyrDetails().tabOtherDetails().txtPolicyNumber().setValue(patientmedicalinsurance.getPolicyNumber());
        form.lyrDetails().tabOtherDetails().cmbPolicyType().setValue(patientmedicalinsurance.getPolicyType());
        form.lyrDetails().tabOtherDetails().txtPolicyOther().setValue(patientmedicalinsurance.getPlanOrUnits());
        form.lyrDetails().tabOtherDetails().dteRenewalDate().setValue(patientmedicalinsurance.getExpiryDate());

        PrivateInsurancePolicyType type = form.lyrDetails().tabOtherDetails().cmbPolicyType().getValue();
        form.lyrDetails().tabOtherDetails().txtPolicyOther().setRequired(PrivateInsurancePolicyType.OTHER.equals(type));
    }

    form.lyrDetails().tabOtherDetails().cmbEligibilitySVUH().setVisible(isSVUH());
    form.lyrDetails().tabOtherDetails().lblEligibility().setVisible(isSVUH());

    if(form.lyrDetails().tabOtherDetails().cmbEligibilitySVUH().getVisible())
        form.lyrDetails().tabOtherDetails().cmbEligibilitySVUH().setRequired(true);

    //WDEV-23335
    form.lyrDetails().tabOtherDetails().cmbEligibility().setVisible(!isSVUH());
    form.lyrDetails().tabOtherDetails().lblEligibility1().setVisible(!isSVUH());
    form.lyrDetails().tabOtherDetails().lblEligibility2().setVisible(!isSVUH());

    if( insurance != null )
    {
        form.lyrDetails().tabOtherDetails().txtEhicNumber().setValue(insurance.getEHICNumber());
        form.lyrDetails().tabOtherDetails().pdtEhicExpiryDate().setValue(insurance.getEHICExpiryDate());
        form.lyrDetails().tabOtherDetails().cmbEhicCountry().setValue(insurance.getEHICCountry());
        form.lyrDetails().tabOtherDetails().cmbEhicInstitution().setValue(insurance.getEHICInstitutionCode());

        form.lyrDetails().tabOtherDetails().txtMedicalCardNo().setValue(insurance.getMedicalCardNo());
        form.lyrDetails().tabOtherDetails().pdtExpiryDate().setValue(insurance.getMedicalCardExpiryDate());
        form.lyrDetails().tabOtherDetails().cmbEligibility().setValue(insurance.getHealthActCategory());
        form.lyrDetails().tabOtherDetails().cmbProved().setValue(insurance.getMedicalCardProved());
        form.lyrDetails().tabOtherDetails().txtEligibilityProof().setValue(insurance.getEligibilityProof());

        if(form.lyrDetails().tabOtherDetails().cmbEligibilitySVUH().getVisible())
        {
            form.lyrDetails().tabOtherDetails().cmbEligibilitySVUH().setValue(insurance.getEligibility());
            try
            {
                onCmbEligibilitySVUHValueChanged();
            }
            catch (PresentationLogicException e)
            {
                e.printStackTrace();
            }
        }

    }

}
项目:openMAXIMS    文件:Logic.java   
private void populateScreenFromData(NationalHealthCoverVo insurance, PatientMedicalInsuranceVo patientmedicalinsurance)
{
    clearScreen();
    //populateInsuranceSchemeCombo();

    if( patientmedicalinsurance != null )
    {
        if( patientmedicalinsurance.getCompanyIsNotNull())
        {
            if( form.cmbInsurer().getValues().contains(patientmedicalinsurance.getCompany()))
                form.cmbInsurer().setValue(patientmedicalinsurance.getCompany());
            else
            {
                form.cmbInsurer().newRow(patientmedicalinsurance.getCompany(), patientmedicalinsurance.getCompany().getIItemText());
                form.cmbInsurer().setValue(patientmedicalinsurance.getCompany());
            }
        }
        form.txtPolicyNumber().setValue(patientmedicalinsurance.getPolicyNumber());
        form.cmbPolicyType().setValue(patientmedicalinsurance.getPolicyType());
        form.txtOther().setValue(patientmedicalinsurance.getPlanOrUnits());
        form.dteRenewalDate().setValue(patientmedicalinsurance.getExpiryDate());

        if( !Boolean.TRUE.equals(form.getLocalContext().getIsCompanyConfigurable()))    //wdev-19528
            form.cmbInsurer().setRequired(true);        //wdev-19226
    }
    else
        if( !Boolean.TRUE.equals(form.getLocalContext().getIsCompanyConfigurable()))    //wdev-19528
             form.cmbInsurer().setRequired(false);      //wdev-19226

    if( insurance != null )
    {
        form.txtMedicalCardNo().setValue(insurance.getMedicalCardNo());
        form.pdtExpiryDate().setValue(insurance.getMedicalCardExpiryDate());
        form.cmbElegibility().setValue(insurance.getHealthActCategory());
        form.cmbProved().setValue(insurance.getMedicalCardProved());
        form.txtEligibilityProof().setValue(insurance.getEligibilityProof());

        form.txtEHICNumber().setValue(insurance.getEHICNumber());
        form.pdtEHICExpiryDate().setValue(insurance.getEHICExpiryDate());
        form.cmbCountry().setValue(insurance.getEHICCountry());
        form.txtEHICInstitution().setValue(insurance.getEHICInstitution());

    }
}
项目:openMAXIMS    文件:Logic.java   
private void updateContextMenuState() 
{
    form.getContextMenus().getGenericGridAddItem().setVisible(FormMode.VIEW.equals(form.getMode()));
    form.getContextMenus().getGenericGridUpdateItem().setVisible(form.grdInsurance().getValue() instanceof PatientMedicalInsuranceVo);  
}
项目:openMAXIMS    文件:Logic.java   
private EmergencyAttendanceNonInsuranceHealthCoverVo populateInsuranceForPatient(EmergencyAttendanceNonInsuranceHealthCoverVo emergencyAttendInsurance, EmergencyAttendanceNonInsuranceHealthCoverVo lastemergencyAttendInsurance)
{

    if( lastemergencyAttendInsurance == null)
    {
        if( !emergencyAttendInsurance.getPatient().getNationalHealthCoverIsNotNull() )
            emergencyAttendInsurance.getPatient().setNationalHealthCover(new NationalHealthCoverVo());

        if( !emergencyAttendInsurance.getPatient().getCurrentMedicalInsuranceIsNotNull())
            emergencyAttendInsurance.getPatient().setCurrentMedicalInsurance(new PatientMedicalInsuranceVo());

        emergencyAttendInsurance.getPatient().getNationalHealthCover().setMedicalCardNo(form.txtMedicalCardNo().getValue());
        emergencyAttendInsurance.getPatient().getNationalHealthCover().setMedicalCardExpiryDate(form.pdtExpiryDate().getValue());
        emergencyAttendInsurance.getPatient().getNationalHealthCover().setHealthActCategory(form.cmbEligibility().getValue());
        emergencyAttendInsurance.getPatient().getNationalHealthCover().setMedicalCardProved(form.cmbProved().getValue());
        emergencyAttendInsurance.getPatient().getNationalHealthCover().setEligibilityProof(form.txtEligibilityProof().getValue());

        emergencyAttendInsurance.getPatient().getNationalHealthCover().setEHICNumber(form.txtEHICNumber().getValue());
        emergencyAttendInsurance.getPatient().getNationalHealthCover().setEHICExpiryDate(form.pdtEHICExpiry().getValue());
        emergencyAttendInsurance.getPatient().getNationalHealthCover().setEHICCountry(form.cmbCountry().getValue());
        emergencyAttendInsurance.getPatient().getNationalHealthCover().setEHICInstitution(form.txtIdentofInstitution().getValue());


        emergencyAttendInsurance.getPatient().getCurrentMedicalInsurance().setPatient(emergencyAttendInsurance.getPatient());
        emergencyAttendInsurance.getPatient().getCurrentMedicalInsurance().setCompany(form.cmbInsurer().getValue());
        emergencyAttendInsurance.getPatient().getCurrentMedicalInsurance().setPolicyNumber(form.txtPolicyNumber().getValue());
        emergencyAttendInsurance.getPatient().getCurrentMedicalInsurance().setPolicyType(form.cmbPolicyType().getValue());
        emergencyAttendInsurance.getPatient().getCurrentMedicalInsurance().setPlanOrUnits(form.txtOther().getValue());
        emergencyAttendInsurance.getPatient().getCurrentMedicalInsurance().setExpiryDate(form.dteRenewalDate().getValue());
        //emergencyAttendInsurance.getPatient().setNationalHealthCover(emergencyAttendInsurance.getInsurance());
        //emergencyAttendInsurance.getPatient().setCurrentMedicalInsurance(emergencyAttendInsurance.getPatientMedicalInsurance());

    }
    else
    {
        if( lastemergencyAttendInsurance.getInsuranceIsNotNull())
        {
            //emergencyAttendInsurance.getPatient().setNationalHealthCover(lastemergencyAttendInsurance.getInsurance());
            if( !emergencyAttendInsurance.getPatient().getNationalHealthCoverIsNotNull() )
                emergencyAttendInsurance.getPatient().setNationalHealthCover(new NationalHealthCoverVo());

            emergencyAttendInsurance.getPatient().getNationalHealthCover().setMedicalCardNo(lastemergencyAttendInsurance.getInsurance().getMedicalCardNo());
            emergencyAttendInsurance.getPatient().getNationalHealthCover().setMedicalCardExpiryDate(lastemergencyAttendInsurance.getInsurance().getMedicalCardExpiryDate());
            emergencyAttendInsurance.getPatient().getNationalHealthCover().setHealthActCategory(lastemergencyAttendInsurance.getInsurance().getHealthActCategory());
            emergencyAttendInsurance.getPatient().getNationalHealthCover().setMedicalCardProved(lastemergencyAttendInsurance.getInsurance().getMedicalCardProved());
            emergencyAttendInsurance.getPatient().getNationalHealthCover().setEligibilityProof(lastemergencyAttendInsurance.getInsurance().getEligibilityProof());

            emergencyAttendInsurance.getPatient().getNationalHealthCover().setEHICNumber(lastemergencyAttendInsurance.getInsurance().getEHICNumber());
            emergencyAttendInsurance.getPatient().getNationalHealthCover().setEHICExpiryDate(lastemergencyAttendInsurance.getInsurance().getEHICExpiryDate());
            emergencyAttendInsurance.getPatient().getNationalHealthCover().setEHICCountry(lastemergencyAttendInsurance.getInsurance().getEHICCountry());
            emergencyAttendInsurance.getPatient().getNationalHealthCover().setEHICInstitution(lastemergencyAttendInsurance.getInsurance().getEHICInstitution()); 
        }

        if( emergencyAttendInsurance.getPatient().getCurrentMedicalInsuranceIsNotNull())
        {
            if( !emergencyAttendInsurance.getPatient().getCurrentMedicalInsuranceIsNotNull())
                emergencyAttendInsurance.getPatient().setCurrentMedicalInsurance(new PatientMedicalInsuranceVo());

            emergencyAttendInsurance.getPatient().getCurrentMedicalInsurance().setPatient(emergencyAttendInsurance.getPatient());
            emergencyAttendInsurance.getPatient().getCurrentMedicalInsurance().setCompany(emergencyAttendInsurance.getPatient().getCurrentMedicalInsurance().getCompany());
            emergencyAttendInsurance.getPatient().getCurrentMedicalInsurance().setPolicyNumber(emergencyAttendInsurance.getPatient().getCurrentMedicalInsurance().getPolicyNumber());
            emergencyAttendInsurance.getPatient().getCurrentMedicalInsurance().setPlanOrUnits(emergencyAttendInsurance.getPatient().getCurrentMedicalInsurance().getPlanOrUnits());
            emergencyAttendInsurance.getPatient().getCurrentMedicalInsurance().setExpiryDate(emergencyAttendInsurance.getPatient().getCurrentMedicalInsurance().getExpiryDate()); 
            //emergencyAttendInsurance.getPatient().setCurrentMedicalInsurance(emergencyAttendInsurance.getPatient().getCurrentMedicalInsurance());


        }
    }

    return emergencyAttendInsurance;
}