/// <summary> Returns all repetitions of Substance Expiration Date (RXG-20).</summary> public virtual TS[] getSubstanceExpirationDate() { TS[] ret = null; try { Type[] t = this.getField(20); ret = new TS[t.Length]; for (int i = 0; i < ret.Length; i++) { ret[i] = (TS) t[i]; } } catch (System.InvalidCastException ) { throw new Exception(); } catch (NuGenHL7Exception) { throw new Exception(); } return ret; }
/// <summary> Creates a CCD.</summary> /// <param name="message">the Message to which this Type belongs /// </param> public CCD(Message message):base(message) { data = new Type[2]; data[0] = new ID(message, 0); data[1] = new TS(message); }
/// <summary> Creates a NDL.</summary> /// <param name="message">the Message to which this Type belongs /// </param> public NDL(Message message):base(message) { data = new Type[11]; data[0] = new CN(message); data[1] = new TS(message); data[2] = new TS(message); data[3] = new IS(message, 0); data[4] = new IS(message, 0); data[5] = new IS(message, 0); data[6] = new HD(message); data[7] = new IS(message, 0); data[8] = new IS(message, 0); data[9] = new IS(message, 0); data[10] = new IS(message, 0); }
/// <summary> Creates a DLD.</summary> /// <param name="message">the Message to which this Type belongs /// </param> public DLD(Message message) : base(message) { data = new Type[2]; data[0] = new IS(message, 0); data[1] = new TS(message); }
/// <summary> Creates a DR.</summary> /// <param name="message">the Message to which this Type belongs /// </param> public DR(Message message):base(message) { data = new Type[2]; data[0] = new TS(message); data[1] = new TS(message); }
/// <summary> Creates a FC.</summary> /// <param name="message">the Message to which this Type belongs /// </param> public FC(Message message):base(message) { data = new Type[2]; data[0] = new IS(message, 64); data[1] = new TS(message); }
/// <summary> Creates a PCF.</summary> /// <param name="message">the Message to which this Type belongs /// </param> public PCF(Message message):base(message) { data = new Type[3]; data[0] = new IS(message, 0); data[1] = new ID(message, 0); data[2] = new TS(message); }
/// <summary> Creates a TQ.</summary> /// <param name="message">the Message to which this Type belongs /// </param> public TQ(Message message):base(message) { data = new Type[12]; data[0] = new CQ(message); data[1] = new RI(message); data[2] = new ST(message); data[3] = new TS(message); data[4] = new TS(message); data[5] = new ST(message); data[6] = new ST(message); data[7] = new ST(message); data[8] = new ST(message); data[9] = new OSD(message); data[10] = new CE(message); data[11] = new NM(message); }
/// <summary> Creates a FC.</summary> /// <param name="message">the Message to which this Type belongs /// </param> public FC(Message message) : base(message) { data = new Type[2]; data[0] = new IS(message, 64); data[1] = new TS(message); }
/// <summary> Creates a PPN.</summary> /// <param name="message">the Message to which this Type belongs /// </param> public PPN(Message message):base(message) { data = new Type[16]; data[0] = new ST(message); data[1] = new FN(message); data[2] = new ST(message); data[3] = new ST(message); data[4] = new ST(message); data[5] = new ST(message); data[6] = new IS(message, 0); data[7] = new IS(message, 0); data[8] = new HD(message); data[9] = new ID(message, 0); data[10] = new ST(message); data[11] = new ID(message, 0); data[12] = new IS(message, 0); data[13] = new HD(message); data[14] = new TS(message); data[15] = new ID(message, 0); }