Beispiel #1
0
		/// <summary> Returns all repetitions of Segment group inclusion (RCP-7).</summary>
		public virtual ID[] getSegmentGroupInclusion()
		{
			ID[] ret = null;
			try
			{
				Type[] t = this.getField(7);
				ret = new ID[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (ID) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Beispiel #2
0
		/// <summary> Creates a XON.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public XON(Message message):base(message)
		{
			data = new Type[9];
			data[0] = new ST(message);
			data[1] = new IS(message, 0);
			data[2] = new NM(message);
			data[3] = new ST(message);
			data[4] = new ID(message, 0);
			data[5] = new HD(message);
			data[6] = new IS(message, 0);
			data[7] = new HD(message);
			data[8] = new ID(message, 0);
		}
Beispiel #3
0
		/// <summary> Creates a VH.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public VH(Message message):base(message)
		{
			data = new Type[4];
			data[0] = new ID(message, 0);
			data[1] = new ID(message, 0);
			data[2] = new TM(message);
			data[3] = new TM(message);
		}
Beispiel #4
0
		/// <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);
		}
Beispiel #5
0
		/// <summary> Returns all repetitions of Indirect Exposure Mechanism (PCR-23).</summary>
		public virtual ID[] getIndirectExposureMechanism()
		{
			ID[] ret = null;
			try
			{
				Type[] t = this.getField(23);
				ret = new ID[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (ID) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Beispiel #6
0
		/// <summary> Returns all repetitions of Primary Key Value Type (MFE-5).</summary>
		public virtual ID[] getPrimaryKeyValueType()
		{
			ID[] ret = null;
			try
			{
				Type[] t = this.getField(5);
				ret = new ID[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (ID) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Beispiel #7
0
		/// <summary> Creates a LA2.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public LA2(Message message):base(message)
		{
			data = new Type[16];
			data[0] = new IS(message, 0);
			data[1] = new IS(message, 0);
			data[2] = new IS(message, 0);
			data[3] = new HD(message);
			data[4] = new IS(message, 0);
			data[5] = new IS(message, 0);
			data[6] = new IS(message, 0);
			data[7] = new IS(message, 0);
			data[8] = new ST(message);
			data[9] = new ST(message);
			data[10] = new ST(message);
			data[11] = new ST(message);
			data[12] = new ST(message);
			data[13] = new ID(message, 0);
			data[14] = new ID(message, 0);
			data[15] = new ST(message);
		}
Beispiel #8
0
		/// <summary> Returns all repetitions of Action Taken In Response To The Event (PCR-21).</summary>
		public virtual ID[] getActionTakenInResponseToTheEvent()
		{
			ID[] ret = null;
			try
			{
				Type[] t = this.getField(21);
				ret = new ID[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (ID) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Beispiel #9
0
		/// <summary> Creates a XPN.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public XPN(Message message):base(message)
		{
			data = new Type[11];
			data[0] = new FN(message);
			data[1] = new ST(message);
			data[2] = new ST(message);
			data[3] = new ST(message);
			data[4] = new ST(message);
			data[5] = new IS(message, 0);
			data[6] = new ID(message, 0);
			data[7] = new ID(message, 0);
			data[8] = new CE(message);
			data[9] = new DR(message);
			data[10] = new ID(message, 0);
		}
Beispiel #10
0
		/// <summary> Returns all repetitions of Conformance Statement ID (MSH-21).</summary>
		public virtual ID[] getConformanceStatementID()
		{
			ID[] ret = null;
			try
			{
				Type[] t = this.getField(21);
				ret = new ID[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (ID) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Beispiel #11
0
		/// <summary> Creates a CF.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CF(Message message):base(message)
		{
			data = new Type[6];
			data[0] = new ID(message, 0);
			data[1] = new FT(message);
			data[2] = new IS(message, 0);
			data[3] = new ID(message, 0);
			data[4] = new FT(message);
			data[5] = new IS(message, 0);
		}
Beispiel #12
0
		/// <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);
		}
Beispiel #13
0
		/// <summary> Creates a CP.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CP(Message message):base(message)
		{
			data = new Type[6];
			data[0] = new MO(message);
			data[1] = new ID(message, 205);
			data[2] = new NM(message);
			data[3] = new NM(message);
			data[4] = new CE(message);
			data[5] = new ID(message, 298);
		}
Beispiel #14
0
		/// <summary> Returns all repetitions of Date/Time Selection Qualifier (QRF-8).</summary>
		public virtual ID[] getDateTimeSelectionQualifier()
		{
			ID[] ret = null;
			try
			{
				Type[] t = this.getField(8);
				ret = new ID[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (ID) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Beispiel #15
0
		/// <summary> Creates a AD.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public AD(Message message):base(message)
		{
			data = new Type[8];
			data[0] = new ST(message);
			data[1] = new ST(message);
			data[2] = new ST(message);
			data[3] = new ST(message);
			data[4] = new ST(message);
			data[5] = new ID(message, 0);
			data[6] = new ID(message, 0);
			data[7] = new ST(message);
		}
Beispiel #16
0
		/// <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[19];
			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);
			data[16] = new CE(message);
			data[17] = new DR(message);
			data[18] = new ID(message, 0);
		}
Beispiel #17
0
		/// <summary> Creates a EI.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public EI(Message message):base(message)
		{
			data = new Type[4];
			data[0] = new ST(message);
			data[1] = new IS(message, 300);
			data[2] = new ST(message);
			data[3] = new ID(message, 301);
		}
Beispiel #18
0
		/// <summary> Returns all repetitions of Event Causality Observations (PCR-22).</summary>
		public virtual ID[] getEventCausalityObservations()
		{
			ID[] ret = null;
			try
			{
				Type[] t = this.getField(22);
				ret = new ID[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (ID) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Beispiel #19
0
		/// <summary> Creates a SPD.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public SPD(Message message):base(message)
		{
			data = new Type[4];
			data[0] = new ST(message);
			data[1] = new ST(message);
			data[2] = new ID(message, 0);
			data[3] = new DT(message);
		}
Beispiel #20
0
		/// <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 TX(message);
			data[8] = new ID(message, 0);
			data[9] = new OSD(message);
			data[10] = new CE(message);
			data[11] = new NM(message);
		}
Beispiel #21
0
		/// <summary> Creates a ED.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public ED(Message message):base(message)
		{
			data = new Type[5];
			data[0] = new HD(message);
			data[1] = new ID(message, 191);
			data[2] = new ID(message, 291);
			data[3] = new ID(message, 299);
			data[4] = new ST(message);
		}
Beispiel #22
0
		/// <summary> Creates a OSD.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public OSD(Message message):base(message)
		{
			data = new Type[11];
			data[0] = new ID(message, 0);
			data[1] = new ST(message);
			data[2] = new IS(message, 0);
			data[3] = new ST(message);
			data[4] = new IS(message, 0);
			data[5] = new ST(message);
			data[6] = new NM(message);
			data[7] = new ST(message);
			data[8] = new ID(message, 0);
			data[9] = new ST(message);
			data[10] = new ID(message, 0);
		}
Beispiel #23
0
		/// <summary> Creates a SRT.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public SRT(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new ST(message);
			data[1] = new ID(message, 0);
		}
Beispiel #24
0
		/// <summary> Creates a VID.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public VID(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new ID(message, 0);
			data[1] = new CE(message);
			data[2] = new CE(message);
		}
Beispiel #25
0
		/// <summary> Creates a MO.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public MO(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new NM(message);
			data[1] = new ID(message, 0);
		}