Examples of Medicine


Examples of systole.domain.clinicalInformation.Medicine

     */
    private MedicinePatient convertToLocalPatientMedicine(PatientMedicineWs patientMedicineWs, Patient patient) throws ExceptionDAO {
        if (patientMedicineWs == null) {
            return null;
        }
        Medicine medicine = FacadeDB.getInstance().getMedicineSyncBroker().getMedicineByRemoteId(patientMedicineWs.getMedicineId());
        if (medicine == null) {
            return null;
        }
        MedicinePatient medicinePatient = new MedicinePatient();
        MedicinePatientId id = new MedicinePatientId(medicine.getId(), patient.getId());
        medicinePatient.setId(id);
        medicinePatient.setMedicine(medicine);
        medicinePatient.setPatient(patient);
        Integer difAges = patient.getAge() - patientMedicineWs.getAgeAtStart();
        medicinePatient.setAgeAtStartAsInteger(difAges);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.