public int New_(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; int oid; //Initialized CarePlanTemplateEN carePlanTemplateEN = new CarePlanTemplateEN(); 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 oid = _ICarePlanTemplateCAD.New_(carePlanTemplateEN); return(oid); }
private void init(int id , MoSIoTGenNHibernate.EN.MosIoT.CarePlanTemplateEN carePlanTemplate, MoSIoTGenNHibernate.Enumerated.MosIoT.PriorityTypeEnum priority, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.TargetEN> targets, MoSIoTGenNHibernate.Enumerated.MosIoT.CareStatusEnum status, MoSIoTGenNHibernate.EN.MosIoT.ConditionEN condition, string description, MoSIoTGenNHibernate.Enumerated.MosIoT.CategoryGoalEnum category, string outcomeCode, string name) { this.Id = id; this.CarePlanTemplate = carePlanTemplate; this.Priority = priority; this.Targets = targets; this.Status = status; this.Condition = condition; this.Description = description; this.Category = category; this.OutcomeCode = outcomeCode; this.Name = name; }
public GoalEN(int id, MoSIoTGenNHibernate.EN.MosIoT.CarePlanTemplateEN carePlanTemplate, MoSIoTGenNHibernate.Enumerated.MosIoT.PriorityTypeEnum priority, System.Collections.Generic.IList <MoSIoTGenNHibernate.EN.MosIoT.TargetEN> targets, MoSIoTGenNHibernate.Enumerated.MosIoT.CareStatusEnum status, MoSIoTGenNHibernate.EN.MosIoT.ConditionEN condition, string description, MoSIoTGenNHibernate.Enumerated.MosIoT.CategoryGoalEnum category, string outcomeCode, string name ) { this.init(Id, carePlanTemplate, priority, targets, status, condition, description, category, outcomeCode, name); }
public void Modify(int p_Goal_OID, MoSIoTGenNHibernate.Enumerated.MosIoT.PriorityTypeEnum p_priority, MoSIoTGenNHibernate.Enumerated.MosIoT.CareStatusEnum p_status, string p_description, MoSIoTGenNHibernate.Enumerated.MosIoT.CategoryGoalEnum p_category, string p_outcomeCode, string p_name) { GoalEN goalEN = null; //Initialized GoalEN goalEN = new GoalEN(); goalEN.Id = p_Goal_OID; goalEN.Priority = p_priority; goalEN.Status = p_status; goalEN.Description = p_description; goalEN.Category = p_category; goalEN.OutcomeCode = p_outcomeCode; goalEN.Name = p_name; //Call to GoalCAD _IGoalCAD.Modify(goalEN); }
public int New_(int p_carePlanTemplate, MoSIoTGenNHibernate.Enumerated.MosIoT.PriorityTypeEnum p_priority, MoSIoTGenNHibernate.Enumerated.MosIoT.CareStatusEnum p_status, int p_condition, string p_description, MoSIoTGenNHibernate.Enumerated.MosIoT.CategoryGoalEnum p_category, string p_outcomeCode, string p_name) { GoalEN goalEN = null; int oid; //Initialized GoalEN goalEN = new GoalEN(); if (p_carePlanTemplate != -1) { // El argumento p_carePlanTemplate -> Property carePlanTemplate es oid = false // Lista de oids id goalEN.CarePlanTemplate = new MoSIoTGenNHibernate.EN.MosIoT.CarePlanTemplateEN(); goalEN.CarePlanTemplate.Id = p_carePlanTemplate; } goalEN.Priority = p_priority; goalEN.Status = p_status; if (p_condition != -1) { // El argumento p_condition -> Property condition es oid = false // Lista de oids id goalEN.Condition = new MoSIoTGenNHibernate.EN.MosIoT.ConditionEN(); goalEN.Condition.Id = p_condition; } goalEN.Description = p_description; goalEN.Category = p_category; goalEN.OutcomeCode = p_outcomeCode; goalEN.Name = p_name; //Call to GoalCAD oid = _IGoalCAD.New_(goalEN); return(oid); }
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 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); }