///<summary>
        /// Returns  first repetition of CCR_I16_MEDICATION_ENCODING_OBSERVATION (a Group object) - creates it if necessary
        ///</summary>
        public CCR_I16_MEDICATION_ENCODING_OBSERVATION GetMEDICATION_ENCODING_OBSERVATION()
        {
            CCR_I16_MEDICATION_ENCODING_OBSERVATION ret = null;

            try {
                ret = (CCR_I16_MEDICATION_ENCODING_OBSERVATION)this.GetStructure("MEDICATION_ENCODING_OBSERVATION");
            } 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);
        }
 ///<summary>
 ///Removes the given CCR_I16_MEDICATION_ENCODING_OBSERVATION
 ///</summary>
 public void RemoveMEDICATION_ENCODING_OBSERVATION(CCR_I16_MEDICATION_ENCODING_OBSERVATION toRemove)
 {
     this.RemoveStructure("MEDICATION_ENCODING_OBSERVATION", toRemove);
 }