예제 #1
0
파일: DRC_O47.cs 프로젝트: vyfster/nHapi
        ///<summary>
        /// Returns  first repetition of DRC_O47_OBRNTE (a Group object) - creates it if necessary
        ///</summary>
        public DRC_O47_OBRNTE GetOBRNTE()
        {
            DRC_O47_OBRNTE ret = null;

            try {
                ret = (DRC_O47_OBRNTE)this.GetStructure("OBRNTE");
            } 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
파일: DRC_O47.cs 프로젝트: vyfster/nHapi
 ///<summary>
 ///Removes the given DRC_O47_OBRNTE
 ///</summary>
 public void RemoveOBRNTE(DRC_O47_OBRNTE toRemove)
 {
     this.RemoveStructure("OBRNTE", toRemove);
 }