///<summary> /// Creates a MO. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public MO(IMessage message, string description) : base(message, description) { data = new IType[2]; data[0] = new NM(message, "Quantity"); data[1] = new ID(message, 913, "Denomination"); }
///<summary> /// Creates a CQ. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public CQ(IMessage message, string description) : base(message, description) { data = new IType[2]; data[0] = new NM(message, "Quantity"); data[1] = new CWE(message, "Units"); }
///<summary> /// Creates a DTN. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public DTN(IMessage message, string description) : base(message, description) { data = new IType[2]; data[0] = new CWE(message, "Day Type"); data[1] = new NM(message, "Number of Days"); }