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

            try {
                ret = (PEX_P07_PEX_CAUSE)this.GetStructure("PEX_CAUSE");
            } 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);
        }
예제 #2
0
 ///<summary>
 ///Removes the given PEX_P07_PEX_CAUSE
 ///</summary>
 public void RemovePEX_CAUSE(PEX_P07_PEX_CAUSE toRemove)
 {
     this.RemoveStructure("PEX_CAUSE", toRemove);
 }