public void Modify(int p_Medication_OID, string p_name, string p_manufacturer, string p_description, string p_dosage, MoSIoTGenNHibernate.Enumerated.MosIoT.FormTypeEnum p_form, string p_medicationCode)
        {
            MedicationEN medicationEN = null;

            //Initialized MedicationEN
            medicationEN = new MedicationEN();
            medicationEN.ProductReference = p_Medication_OID;
            medicationEN.Name             = p_name;
            medicationEN.Manufacturer     = p_manufacturer;
            medicationEN.Description      = p_description;
            medicationEN.Dosage           = p_dosage;
            medicationEN.Form             = p_form;
            medicationEN.MedicationCode   = p_medicationCode;
            //Call to MedicationCAD

            _IMedicationCAD.Modify(medicationEN);
        }
Esempio n. 2
0
        public void Modify(int p_Medication_OID, string p_name, string p_manufacturer, string p_description, ChroniGenNHibernate.Enumerated.Chroni.FormEnum p_form, double p_rate, string p_dosage, ChroniGenNHibernate.Enumerated.Chroni.MedicationStatusEnum p_status, bool p_isOverTheCounter)
        {
            MedicationEN medicationEN = null;

            //Initialized MedicationEN
            medicationEN                  = new MedicationEN();
            medicationEN.Identifier       = p_Medication_OID;
            medicationEN.Name             = p_name;
            medicationEN.Manufacturer     = p_manufacturer;
            medicationEN.Description      = p_description;
            medicationEN.Form             = p_form;
            medicationEN.Rate             = p_rate;
            medicationEN.Dosage           = p_dosage;
            medicationEN.Status           = p_status;
            medicationEN.IsOverTheCounter = p_isOverTheCounter;
            //Call to MedicationCAD

            _IMedicationCAD.Modify(medicationEN);
        }