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

            try {
                ret = (EAR_U08_COMMAND_RESPONSE)this.GetStructure("COMMAND_RESPONSE");
            } 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> Returns  first repetition of EAR_U08_COMMAND_RESPONSE (a Group object) - creates it if necessary</summary>
        public virtual EAR_U08_COMMAND_RESPONSE getCOMMAND_RESPONSE()
        {
            EAR_U08_COMMAND_RESPONSE ret = null;

            try
            {
                ret = (EAR_U08_COMMAND_RESPONSE)this.get_Renamed("COMMAND_RESPONSE");
            }
            catch (NuGenHL7Exception)
            {
                throw new Exception();
            }
            return(ret);
        }
Esempio n. 3
0
 ///<summary>
 ///Removes the given EAR_U08_COMMAND_RESPONSE
 ///</summary>
 public void RemoveCOMMAND_RESPONSE(EAR_U08_COMMAND_RESPONSE toRemove)
 {
     this.RemoveStructure("COMMAND_RESPONSE", toRemove);
 }