Ejemplo n.º 1
0
		/// <summary> Returns all repetitions of Sender Event Description (PES-7).</summary>
		public virtual FT[] getSenderEventDescription()
		{
			FT[] ret = null;
			try
			{
				Type[] t = this.getField(7);
				ret = new FT[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (FT) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Ejemplo n.º 2
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 ST(message);
			data[1] = new FT(message);
			data[2] = new ST(message);
			data[3] = new ST(message);
			data[4] = new FT(message);
			data[5] = new ST(message);
		}
Ejemplo n.º 3
0
		/// <summary> Returns all repetitions of Event From Original Reporter (PEO-14).</summary>
		public virtual FT[] getEventFromOriginalReporter()
		{
			FT[] ret = null;
			try
			{
				Type[] t = this.getField(14);
				ret = new FT[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (FT) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}