Example #1
0
        ///<summary>
        /// Returns  first repetition of CCR_I16_ROLE_OBSERVATION (a Group object) - creates it if necessary
        ///</summary>
        public CCR_I16_ROLE_OBSERVATION GetROLE_OBSERVATION()
        {
            CCR_I16_ROLE_OBSERVATION ret = null;

            try {
                ret = (CCR_I16_ROLE_OBSERVATION)this.GetStructure("ROLE_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);
        }
Example #2
0
 ///<summary>
 ///Removes the given CCR_I16_ROLE_OBSERVATION
 ///</summary>
 public void RemoveROLE_OBSERVATION(CCR_I16_ROLE_OBSERVATION toRemove)
 {
     this.RemoveStructure("ROLE_OBSERVATION", toRemove);
 }