Exemplo n.º 1
0
 /// <summary> Creates a OSP.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public OSP(Message message) : base(message)
 {
     data    = new Type[3];
     data[0] = new CNE(message);
     data[1] = new DT(message);
     data[2] = new DT(message);
 }
Exemplo n.º 2
0
		/// <summary> Creates a OCD.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public OCD(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new CNE(message);
			data[1] = new DT(message);
		}
Exemplo n.º 3
0
 /// <summary> Creates a UVC.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public UVC(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new CNE(message);
     data[1] = new MO(message);
 }
Exemplo n.º 4
0
		/// <summary> Returns all repetitions of BC Special Testing (BPX-12).</summary>
		public virtual CNE[] getBCSpecialTesting()
		{
			CNE[] ret = null;
			try
			{
				Type[] t = this.getField(12);
				ret = new CNE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CNE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}