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

            try {
                ret = (RSP_K25_STAFF)this.GetStructure("STAFF");
            } 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);
        }
Exemplo n.º 2
0
        /// <summary> Returns  first repetition of RSP_K25_STAFF (a Group object) - creates it if necessary</summary>
        public virtual RSP_K25_STAFF getSTAFF()
        {
            RSP_K25_STAFF ret = null;

            try
            {
                ret = (RSP_K25_STAFF)this.get_Renamed("STAFF");
            }
            catch (NuGenHL7Exception)
            {
                throw new Exception();
            }
            return(ret);
        }
Exemplo n.º 3
0
 ///<summary>
 ///Removes the given RSP_K25_STAFF
 ///</summary>
 public void RemoveSTAFF(RSP_K25_STAFF toRemove)
 {
     this.RemoveStructure("STAFF", toRemove);
 }