예제 #1
0
 /// <summary> Creates a CM_NDL.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public CM_NDL(Message message) : base(message)
 {
     data    = new Type[4];
     data[0] = new CN(message);
     data[1] = new TS(message);
     data[2] = new TS(message);
     data[3] = new CM_INTERNAL_LOCATION(message);
 }
예제 #2
0
		/// <summary> Returns all repetitions of Result Copies To (OBR-28).</summary>
		public virtual CN[] getResultCopiesTo()
		{
			CN[] ret = null;
			try
			{
				Type[] t = this.getField(28);
				ret = new CN[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CN) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
예제 #3
0
		/// <summary> Creates a CM_PRACTITIONER.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_PRACTITIONER(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new CN(message);
			data[1] = new ID(message, 0);
		}
예제 #4
0
		/// <summary> Creates a CM_NDL.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_NDL(Message message):base(message)
		{
			data = new Type[4];
			data[0] = new CN(message);
			data[1] = new TS(message);
			data[2] = new TS(message);
			data[3] = new CM_INTERNAL_LOCATION(message);
		}
예제 #5
0
 /// <summary> Creates a CM_PRACTITIONER.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public CM_PRACTITIONER(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new CN(message);
     data[1] = new ID(message, 0);
 }