Esempio n. 1
0
        ///<summary>
        /// Returns  first repetition of RRA_O18_TREATMENT (a Group object) - creates it if necessary
        ///</summary>
        public RRA_O18_TREATMENT GetTREATMENT()
        {
            RRA_O18_TREATMENT ret = null;

            try {
                ret = (RRA_O18_TREATMENT)this.GetStructure("TREATMENT");
            } catch (HL7Exception e) {
                HapiLogFactory.GetHapiLog(GetType()).Error("Unexpected error accessing data - this is probably a bug in the source code generator.", e);
                throw new System.Exception("An unexpected error ocurred", e);
            }
            return(ret);
        }
Esempio n. 2
0
 ///<summary>
 ///Removes the given RRA_O18_TREATMENT
 ///</summary>
 public void RemoveTREATMENT(RRA_O18_TREATMENT toRemove)
 {
     this.RemoveStructure("TREATMENT", toRemove);
 }