예제 #1
0
		/// <summary> Returns all repetitions of Event Description From Autopsy (PEO-17).</summary>
		public virtual FT[] getEventDescriptionFromAutopsy()
		{
			FT[] ret = null;
			try
			{
				Type[] t = this.getField(17);
				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;
		}
예제 #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 ID(message, 396);
			data[3] = new ST(message);
			data[4] = new FT(message);
			data[5] = new ID(message, 396);
		}