private void init(int id , System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.CareActivityEN> careActivity, MoSIoTGenNHibernate.EN.MosIoT.PatientProfileEN patientProfile, MoSIoTGenNHibernate.Enumerated.MosIoT.CareStatusEnum status, MoSIoTGenNHibernate.Enumerated.MosIoT.CarePlanIntentEnum intent, string title, Nullable <DateTime> modified, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.GoalEN> goals, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.ConditionEN> addressConditions, int durationDays, string name, string description, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.ComunicationEN> comunication) { this.Id = id; this.CareActivity = careActivity; this.PatientProfile = patientProfile; this.Status = status; this.Intent = intent; this.Title = title; this.Modified = modified; this.Goals = goals; this.AddressConditions = addressConditions; this.DurationDays = durationDays; this.Name = name; this.Description = description; this.Comunication = comunication; }
public void Modify(int p_CarePlanTemplate_OID, MoSIoTGenNHibernate.Enumerated.MosIoT.CareStatusEnum p_status, MoSIoTGenNHibernate.Enumerated.MosIoT.CarePlanIntentEnum p_intent, string p_title, Nullable <DateTime> p_modified, int p_durationDays, string p_name, string p_description) { CarePlanTemplateEN carePlanTemplateEN = null; //Initialized CarePlanTemplateEN carePlanTemplateEN = new CarePlanTemplateEN(); carePlanTemplateEN.Id = p_CarePlanTemplate_OID; carePlanTemplateEN.Status = p_status; carePlanTemplateEN.Intent = p_intent; carePlanTemplateEN.Title = p_title; carePlanTemplateEN.Modified = p_modified; carePlanTemplateEN.DurationDays = p_durationDays; carePlanTemplateEN.Name = p_name; carePlanTemplateEN.Description = p_description; //Call to CarePlanTemplateCAD _ICarePlanTemplateCAD.Modify(carePlanTemplateEN); }
public CarePlanTemplateEN(int id, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.CareActivityEN> careActivity, MoSIoTGenNHibernate.EN.MosIoT.PatientProfileEN patientProfile, MoSIoTGenNHibernate.Enumerated.MosIoT.CareStatusEnum status, MoSIoTGenNHibernate.Enumerated.MosIoT.CarePlanIntentEnum intent, string title, Nullable <DateTime> modified, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.GoalEN> goals, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.ConditionEN> addressConditions, int durationDays, string name, string description, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.ComunicationEN> comunication ) { this.init(Id, careActivity, patientProfile, status, intent, title, modified, goals, addressConditions, durationDays, name, description, comunication); }