Java 类ims.clinical.vo.PresentingComplaintVo 实例源码

项目:AvoinApotti    文件:Logic.java   
@Override
protected void onGrdIssuesMutableComboBoxSelected(int column,grdIssuesRow row, Object value) throws PresentationLogicException 
{
    if(value instanceof PresentingComplaintVo)
    {
        PatientComplaintVo newComplain = new PatientComplaintVo();
        newComplain.setComplaint((PresentingComplaintVo) value);
        newComplain.setIsActive(true);

        row.setValue(newComplain);
    }
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onGrdIssuesMutableComboBoxSelected(int column,grdIssuesRow row, Object value) throws PresentationLogicException 
{
    if(value instanceof PresentingComplaintVo)
    {
        PatientComplaintVo newComplain = new PatientComplaintVo();
        newComplain.setComplaint((PresentingComplaintVo) value);
        newComplain.setIsActive(true);

        row.setValue(newComplain);
    }
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onGrdIssuesMutableComboBoxSelected(int column,grdIssuesRow row, Object value) throws PresentationLogicException 
{
    if(value instanceof PresentingComplaintVo)
    {
        PatientComplaintVo newComplain = new PatientComplaintVo();
        newComplain.setComplaint((PresentingComplaintVo) value);
        newComplain.setIsActive(true);

        row.setValue(newComplain);
    }
}
项目:AvoinApotti    文件:Logic.java   
/**
 * Populate the Details panel for a given ICciFull
 * @param ICciFull
 * @return void
 */
private void populateInstanceControls(ICciFull cci)
{
    clearInstanceControls();

    if (cci == null)
        return;

    form.txtName().setValue(cci.getIGenericItemInfoName());
    form.cmbAlgType().setValue(cci.getCciAllergenType());
    form.cmbTreatInterventionType().setValue(cci.getCciTreatmentInterventionType()); //WDEV-17125
    form.intProcDuration().setValue(cci.getCciProcedureDuration());
    form.intTCILag().setValue(cci.getCciTCILagTime()); //WDEV-12918
    form.intLOS().setValue(cci.getCciProcedureLOS());

    // WDEV-17934
    form.cmbSurgeonCat().setValue(cci.getSurgeonCategory());
    form.cmbAnaesthetistCat().setValue(cci.getAnaesthetistCategory());
    form.cmbHospitalCat().setValue(cci.getHospitalCategory());

    form.chkIsActive().setValue(cci.getIGenericItemInfoIsActive() != null? cci.getIGenericItemInfoIsActive().booleanValue() : false);
    populateTaxonomyMappings(cci.getCciMappings());
    populateKeywords(cci.getCciKeywords());
    //WDEV-11921 - Start
    if (cci instanceof MedicationFullVo)
    {
        MedicationFullVo med = (MedicationFullVo) cci;
        form.chkControlledDrug().setValue(med.getIsControlledDrugIsNotNull() && med.getIsControlledDrug());
        populateFRU(med.getForms());

        form.lyrDetails().tabDefaultValues().cmbFrequency().setValue(med.getFrequencyDefault());//  WDEV-13584
        form.lyrDetails().tabDefaultValues().intDays().setValue(med.getNoOfDaysSupplyDefault());//  WDEV-13584
    }
    //WDEV-11921 - End
    /*WDEV-11921
    //WDEV-11836 - starts here

    form.chkControlledDrug().setValue(cci.getIIsControlledDrug());

    populateUnitsGrid(cci.getUnits());
    populateFormsGrid(cci.getForms());
    populateRoutesGrid(cci.getRoutes());
    //WDEV-11836 - ends here
     * WDEV-11921
     */

    // for the moment, hotlists are only available for procedure, problem and diagnosis
    if ( cci instanceof DiagnosisVo 
            || cci instanceof ProblemConfigVo 
            || cci instanceof ProcedureVo
            || cci instanceof MedicationFullVo//WDEV-11921
            || cci instanceof CancerImagingEventVo
            || cci instanceof PresentingComplaintVo
            || cci instanceof TreatmentInterventionVo)//WDEV-17060          
        populateHotlists(cci.getIGenericItemInfoID());

    updateControlsState();
}
项目:openMAXIMS    文件:Logic.java   
/**
 * Populate the Details panel for a given ICciFull
 * @param ICciFull
 * @return void
 */
private void populateInstanceControls(ICciFull cci)
{
    clearInstanceControls();

    if (cci == null)
        return;

    form.txtName().setValue(cci.getIGenericItemInfoName());
    form.cmbAlgType().setValue(cci.getCciAllergenType());
    form.cmbTreatInterventionType().setValue(cci.getCciTreatmentInterventionType()); //WDEV-17125
    form.intProcDuration().setValue(cci.getCciProcedureDuration());
    form.intTCILag().setValue(cci.getCciTCILagTime()); //WDEV-12918
    form.intLOS().setValue(cci.getCciProcedureLOS());

    // WDEV-17934
    form.cmbSurgeonCat().setValue(cci.getSurgeonCategory());
    form.cmbAnaesthetistCat().setValue(cci.getAnaesthetistCategory());
    form.cmbHospitalCat().setValue(cci.getHospitalCategory());

    form.chkIsActive().setValue(cci.getIGenericItemInfoIsActive() != null? cci.getIGenericItemInfoIsActive().booleanValue() : false);
    populateTaxonomyMappings(cci.getCciMappings());
    populateKeywords(cci.getCciKeywords());
    //WDEV-11921 - Start
    if (cci instanceof MedicationFullVo)
    {
        MedicationFullVo med = (MedicationFullVo) cci;
        form.chkControlledDrug().setValue(med.getIsControlledDrugIsNotNull() && med.getIsControlledDrug());
        populateFRU(med.getForms());

        form.lyrDetails().tabDefaultValues().cmbFrequency().setValue(med.getFrequencyDefault());//  WDEV-13584
        form.lyrDetails().tabDefaultValues().intDays().setValue(med.getNoOfDaysSupplyDefault());//  WDEV-13584
    }
    //WDEV-11921 - End
    /*WDEV-11921
    //WDEV-11836 - starts here

    form.chkControlledDrug().setValue(cci.getIIsControlledDrug());

    populateUnitsGrid(cci.getUnits());
    populateFormsGrid(cci.getForms());
    populateRoutesGrid(cci.getRoutes());
    //WDEV-11836 - ends here
     * WDEV-11921
     */

    // for the moment, hotlists are only available for procedure, problem and diagnosis
    if ( cci instanceof DiagnosisVo 
            || cci instanceof ProblemConfigVo 
            || cci instanceof ProcedureVo
            || cci instanceof MedicationFullVo//WDEV-11921
            || cci instanceof CancerImagingEventVo
            || cci instanceof PresentingComplaintVo
            || cci instanceof TreatmentInterventionVo)//WDEV-17060          
        populateHotlists(cci.getIGenericItemInfoID());

    updateControlsState();
}
项目:openmaxims-linux    文件:Logic.java   
/**
 * Populate the Details panel for a given ICciFull
 * @param ICciFull
 * @return void
 */
private void populateInstanceControls(ICciFull cci)
{
    clearInstanceControls();

    if (cci == null)
        return;

    form.txtName().setValue(cci.getIGenericItemInfoName());
    form.cmbAlgType().setValue(cci.getCciAllergenType());
    form.cmbTreatInterventionType().setValue(cci.getCciTreatmentInterventionType()); //WDEV-17125
    form.intProcDuration().setValue(cci.getCciProcedureDuration());
    form.intTCILag().setValue(cci.getCciTCILagTime()); //WDEV-12918
    form.intLOS().setValue(cci.getCciProcedureLOS());

    // WDEV-17934
    form.cmbSurgeonCat().setValue(cci.getSurgeonCategory());
    form.cmbAnaesthetistCat().setValue(cci.getAnaesthetistCategory());
    form.cmbHospitalCat().setValue(cci.getHospitalCategory());

    form.chkIsActive().setValue(cci.getIGenericItemInfoIsActive() != null? cci.getIGenericItemInfoIsActive().booleanValue() : false);
    populateTaxonomyMappings(cci.getCciMappings());
    populateKeywords(cci.getCciKeywords());
    //WDEV-11921 - Start
    if (cci instanceof MedicationFullVo)
    {
        MedicationFullVo med = (MedicationFullVo) cci;
        form.chkControlledDrug().setValue(med.getIsControlledDrugIsNotNull() && med.getIsControlledDrug());
        populateFRU(med.getForms());

        form.lyrDetails().tabDefaultValues().cmbFrequency().setValue(med.getFrequencyDefault());//  WDEV-13584
        form.lyrDetails().tabDefaultValues().intDays().setValue(med.getNoOfDaysSupplyDefault());//  WDEV-13584
    }
    //WDEV-11921 - End
    /*WDEV-11921
    //WDEV-11836 - starts here

    form.chkControlledDrug().setValue(cci.getIIsControlledDrug());

    populateUnitsGrid(cci.getUnits());
    populateFormsGrid(cci.getForms());
    populateRoutesGrid(cci.getRoutes());
    //WDEV-11836 - ends here
     * WDEV-11921
     */

    // for the moment, hotlists are only available for procedure, problem and diagnosis
    if ( cci instanceof DiagnosisVo 
            || cci instanceof ProblemConfigVo 
            || cci instanceof ProcedureVo
            || cci instanceof MedicationFullVo//WDEV-11921
            || cci instanceof CancerImagingEventVo
            || cci instanceof PresentingComplaintVo
            || cci instanceof TreatmentInterventionVo)//WDEV-17060          
        populateHotlists(cci.getIGenericItemInfoID());

    updateControlsState();
}