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"; }
///<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); }
/// <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); }
///<summary> ///Removes the given ORM_O01_ORDER ///</summary> public void RemoveORDER(ORM_O01_ORDER toRemove) { this.RemoveStructure("ORDER", toRemove); }