コード例 #1
0
ファイル: OPL_O37_ORDER.cs プロジェクト: nHapiNET/nHapi
        ///<summary>
        /// Returns  first repetition of OPL_O37_SPECIMEN (a Group object) - creates it if necessary
        ///</summary>
        public OPL_O37_SPECIMEN GetSPECIMEN()
        {
            OPL_O37_SPECIMEN ret = null;

            try {
                ret = (OPL_O37_SPECIMEN)this.GetStructure("SPECIMEN");
            } 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
ファイル: OPL_O37_ORDER.cs プロジェクト: nHapiNET/nHapi
 ///<summary>
 ///Removes the given OPL_O37_SPECIMEN
 ///</summary>
 public void RemoveSPECIMEN(OPL_O37_SPECIMEN toRemove)
 {
     this.RemoveStructure("SPECIMEN", toRemove);
 }