コード例 #1
0
        public void Test()
        {
            ORM_O01       msg          = new ORM_O01();
            ORM_O01_ORDER order        = msg.GetORDER(0);
            EI            placerNumber = order.ORC.GetPlacerOrderNumber(0);

            placerNumber.EntityIdentifier.Value = "123";
        }
コード例 #2
0
        ///<summary>
        /// Returns  first repetition of ORM_O01_ORDER (a Group object) - creates it if necessary
        ///</summary>
        public ORM_O01_ORDER GetORDER()
        {
            ORM_O01_ORDER ret = null;

            try {
                ret = (ORM_O01_ORDER)this.GetStructure("ORDER");
            } 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);
        }
コード例 #3
0
ファイル: ORM_O01.cs プロジェクト: carlhuth/GenXSource
        /// <summary> Returns  first repetition of ORM_O01_ORDER (a Group object) - creates it if necessary</summary>
        public virtual ORM_O01_ORDER getORDER()
        {
            ORM_O01_ORDER ret = null;

            try
            {
                ret = (ORM_O01_ORDER)this.get_Renamed("ORDER");
            }
            catch (NuGenHL7Exception)
            {
                throw new Exception();
            }
            return(ret);
        }
コード例 #4
0
 ///<summary>
 ///Removes the given ORM_O01_ORDER
 ///</summary>
 public void RemoveORDER(ORM_O01_ORDER toRemove)
 {
     this.RemoveStructure("ORDER", toRemove);
 }