Package beans.directory.dlodruglist

Examples of beans.directory.dlodruglist.DloDrugListDetails


                }
                if (dbf.deleted()) {
                    continue;
                }

                DloDrugListDetails det = new DloDrugListDetails();

                det.code = Integer.parseInt(fields.get(Col.NOMK_LS).get().trim());
                det.title = fields.get(Col.NAME_MED).get().trim();
                det.tradeNameId = dirTradeName.getItemFromExtKey(fields.get(Col.C_TRN).get().trim()).getID();
                det.mnnId = dirMNN.getItemFromExtKey(fields.get(Col.C_MNN).get().trim()).getID();
View Full Code Here


     * Назначает код ЛС
     * @throws ClipsException
     */
    public void setCode(int codethrows ClipsException {
       if(isInDirectory()) {
            DloDrugListDetails newDetails = getDetailsCopy();
            newDetails.code = code;
            saveDetails(newDetails);
        } else {
            getDetails().code = code;
        }
View Full Code Here

        return dir.getItemFromID(getDetails().tradeNameId);
    }

    public void setTradeName(DirectoryDrugTradeNameItem item) throws ClipsException {
        if(isInDirectory()) {
            DloDrugListDetails newDetails = getDetailsCopy();
            newDetails.tradeNameId = item.getID();
            saveDetails(newDetails);
        } else {
            getDetails().tradeNameId = item.getID();
        }
View Full Code Here

        return dir.getItemFromID(getDetails().mnnId);
    }

    public void setMnn(DirectoryDrugMNNItem item) throws ClipsException {
        if(isInDirectory()) {
            DloDrugListDetails newDetails = getDetailsCopy();
            newDetails.mnnId = item.getID();
            saveDetails(newDetails);
        } else {
            getDetails().mnnId = item.getID();
        }
View Full Code Here

        return dir.getItemFromID(getDetails().dosageFormId);
    }

    public void setDosageForm(DirectoryDrugDosageFormItem item) throws ClipsException {
        if(isInDirectory()) {
            DloDrugListDetails newDetails = getDetailsCopy();
            newDetails.dosageFormId = item.getID();
            saveDetails(newDetails);
        } else {
            getDetails().dosageFormId = item.getID();
        }
View Full Code Here

     * Назначает дозировку действующего вещества
     * @throws ClipsException
     */
    public void setDosage(String dosagethrows ClipsException {
       if(isInDirectory()) {
            DloDrugListDetails newDetails = getDetailsCopy();
            newDetails.dosage = dosage;
            saveDetails(newDetails);
        } else {
            getDetails().dosage = dosage;
        }
View Full Code Here

        return dir.getItemFromID(getDetails().dosageUnitId);
    }

    public void setDosageUnit(DirectoryDrugDosageUnitItem item) throws ClipsException {
        if(isInDirectory()) {
            DloDrugListDetails newDetails = getDetailsCopy();
            newDetails.dosageUnitId = item.getID();
            saveDetails(newDetails);
        } else {
            getDetails().dosageUnitId = item.getID();
        }
View Full Code Here

     * Назначает количество доз
     * @throws ClipsException
     */
    public void setDosageQuantity(int dosageQuantitythrows ClipsException {
       if(isInDirectory()) {
            DloDrugListDetails newDetails = getDetailsCopy();
            newDetails.dosageQuantity = dosageQuantity;
            saveDetails(newDetails);
        } else {
            getDetails().dosageQuantity = dosageQuantity;
        }
View Full Code Here

     * Назначает объем лекарственной формы
     * @throws ClipsException
     */
    public void setVolume(double volumethrows ClipsException {
       if(isInDirectory()) {
            DloDrugListDetails newDetails = getDetailsCopy();
            newDetails.volume = volume;
            saveDetails(newDetails);
        } else {
            getDetails().volume = volume;
        }
View Full Code Here

        return dir.getItemFromID(getDetails().volumeUnitId);
    }

    public void setVolumeUnit(DirectoryDrugVolumeUnitItem item) throws ClipsException {
        if(isInDirectory()) {
            DloDrugListDetails newDetails = getDetailsCopy();
            newDetails.volumeUnitId = item.getID();
            saveDetails(newDetails);
        } else {
            getDetails().volumeUnitId = item.getID();
        }
View Full Code Here

TOP

Related Classes of beans.directory.dlodruglist.DloDrugListDetails

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.