Beispiel #1
0
        public void Modify(int p_Condition_OID, ChroniGenNHibernate.Enumerated.Chroni.ConditionCategoryEnum p_category, ChroniGenNHibernate.Enumerated.Chroni.ConditionClinicalStatusEnum p_clinicalStatus, ChroniGenNHibernate.Enumerated.Chroni.ConditionSeverityEnum p_severity, string p_onset, string p_abatement, string p_note)
        {
            ConditionEN conditionEN = null;

            //Initialized ConditionEN
            conditionEN                = new ConditionEN();
            conditionEN.Identifier     = p_Condition_OID;
            conditionEN.Category       = p_category;
            conditionEN.ClinicalStatus = p_clinicalStatus;
            conditionEN.Severity       = p_severity;
            conditionEN.Onset          = p_onset;
            conditionEN.Abatement      = p_abatement;
            conditionEN.Note           = p_note;
            //Call to ConditionCAD

            _IConditionCAD.Modify(conditionEN);
        }
Beispiel #2
0
        private void init(int identifier
                          , ChroniGenNHibernate.EN.Chroni.EncounterEN encounter, ChroniGenNHibernate.EN.Chroni.ConditionCodeEN conditionCode, ChroniGenNHibernate.Enumerated.Chroni.ConditionCategoryEnum category, ChroniGenNHibernate.Enumerated.Chroni.ConditionClinicalStatusEnum clinicalStatus, ChroniGenNHibernate.Enumerated.Chroni.ConditionSeverityEnum severity, string onset, string abatement, string note)
        {
            this.Identifier = identifier;


            this.Encounter = encounter;

            this.ConditionCode = conditionCode;

            this.Category = category;

            this.ClinicalStatus = clinicalStatus;

            this.Severity = severity;

            this.Onset = onset;

            this.Abatement = abatement;

            this.Note = note;
        }
Beispiel #3
0
        public int New_(int p_encounter, ChroniGenNHibernate.Enumerated.Chroni.ConditionCategoryEnum p_category, ChroniGenNHibernate.Enumerated.Chroni.ConditionClinicalStatusEnum p_clinicalStatus, ChroniGenNHibernate.Enumerated.Chroni.ConditionSeverityEnum p_severity, string p_onset, string p_abatement, string p_note)
        {
            ConditionEN conditionEN = null;
            int         oid;

            //Initialized ConditionEN
            conditionEN = new ConditionEN();

            if (p_encounter != -1)
            {
                // El argumento p_encounter -> Property encounter es oid = false
                // Lista de oids identifier
                conditionEN.Encounter            = new ChroniGenNHibernate.EN.Chroni.EncounterEN();
                conditionEN.Encounter.Identifier = p_encounter;
            }

            conditionEN.Category = p_category;

            conditionEN.ClinicalStatus = p_clinicalStatus;

            conditionEN.Severity = p_severity;

            conditionEN.Onset = p_onset;

            conditionEN.Abatement = p_abatement;

            conditionEN.Note = p_note;

            //Call to ConditionCAD

            oid = _IConditionCAD.New_(conditionEN);
            return(oid);
        }
Beispiel #4
0
 public ConditionEN(int identifier, ChroniGenNHibernate.EN.Chroni.EncounterEN encounter, ChroniGenNHibernate.EN.Chroni.ConditionCodeEN conditionCode, ChroniGenNHibernate.Enumerated.Chroni.ConditionCategoryEnum category, ChroniGenNHibernate.Enumerated.Chroni.ConditionClinicalStatusEnum clinicalStatus, ChroniGenNHibernate.Enumerated.Chroni.ConditionSeverityEnum severity, string onset, string abatement, string note
                    )
 {
     this.init(Identifier, encounter, conditionCode, category, clinicalStatus, severity, onset, abatement, note);
 }