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

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