示例#1
0
		/// <summary> Creates a CM_DTN.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_DTN(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new ID(message, 0);
			data[1] = new NM(message);
		}
示例#2
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[10];
			data[0] = new CQ_QUANTITY(message);
			data[1] = new CM_RI(message);
			data[2] = new ST(message);
			data[3] = new TS(message);
			data[4] = new TS(message);
			data[5] = new ID(message, 0);
			data[6] = new ST(message);
			data[7] = new TX(message);
			data[8] = new ID(message, 0);
			data[9] = new ST(message);
		}
示例#3
0
		/// <summary> Creates a CM_PAT_ID.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_PAT_ID(Message message):base(message)
		{
			data = new Type[5];
			data[0] = new ST(message);
			data[1] = new NM(message);
			data[2] = new ID(message, 0);
			data[3] = new ID(message, 0);
			data[4] = new ID(message, 0);
		}
示例#4
0
		/// <summary> Returns all repetitions of Observation producing department / section (OM1-17).</summary>
		public virtual ID[] getObservationProducingDepartmentSection()
		{
			ID[] ret = null;
			try
			{
				Type[] t = this.getField(17);
				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;
		}
示例#5
0
		/// <summary> Creates a CM_FINANCE.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_FINANCE(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new ID(message, 0);
			data[1] = new TS(message);
		}
		/// <summary> Creates a CM_INTERNAL_LOCATION.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_INTERNAL_LOCATION(Message message):base(message)
		{
			data = new Type[8];
			data[0] = new ID(message, 0);
			data[1] = new ID(message, 0);
			data[2] = new ID(message, 0);
			data[3] = new ID(message, 0);
			data[4] = new ID(message, 0);
			data[5] = new ID(message, 0);
			data[6] = new ID(message, 0);
			data[7] = new ID(message, 0);
		}
示例#7
0
		/// <summary> Creates a CM_PTA.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_PTA(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new ID(message, 147);
			data[1] = new ID(message, 193);
			data[2] = new NM(message);
		}
示例#8
0
		/// <summary> Returns all repetitions of Ambulatory Status (PV1-15).</summary>
		public virtual ID[] getAmbulatoryStatus()
		{
			ID[] ret = null;
			try
			{
				Type[] t = this.getField(15);
				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;
		}
示例#9
0
		/// <summary> Creates a CM_PLACER.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_PLACER(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new ID(message, 0);
			data[1] = new ID(message, 0);
		}
示例#10
0
		/// <summary> Creates a CM_PCF.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_PCF(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new ID(message, 0);
			data[1] = new ID(message, 0);
			data[2] = new TS(message);
		}
示例#11
0
		/// <summary> Creates a CM_GROUP_ID.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_GROUP_ID(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new ID(message, 0);
			data[1] = new ID(message, 0);
		}
示例#12
0
		/// <summary> Creates a CM_RMC.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_RMC(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new ID(message, 0);
			data[1] = new ID(message, 0);
			data[2] = new NM(message);
		}
示例#13
0
 /// <summary> Creates a CM_GROUP_ID.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public CM_GROUP_ID(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new ID(message, 0);
     data[1] = new ID(message, 0);
 }
示例#14
0
 /// <summary> Creates a CM_JOB_CODE.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public CM_JOB_CODE(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new ID(message, 0);
     data[1] = new ID(message, 0);
 }
示例#15
0
		/// <summary> Creates a CM_SPD.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_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);
		}
示例#16
0
		/// <summary> Returns all repetitions of R/U What Subject Definition (URD-4).</summary>
		public virtual ID[] getRUWhatSubjectDefinition()
		{
			ID[] ret = null;
			try
			{
				Type[] t = this.getField(4);
				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;
		}
示例#17
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);
		}
示例#18
0
		/// <summary> Returns all repetitions of Non-covered insurance code (IN2-24).</summary>
		public virtual ID[] getNonCoveredInsuranceCode()
		{
			ID[] ret = null;
			try
			{
				Type[] t = this.getField(24);
				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;
		}
示例#19
0
		/// <summary> Returns all repetitions of R/U date / time selection qualifier (URS-8).</summary>
		public virtual ID[] getRUDateTimeSelectionQualifier()
		{
			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;
		}
示例#20
0
		/// <summary> Creates a CN.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CN(Message message):base(message)
		{
			data = new Type[13];
			data[0] = new ID(message, 0);
			data[1] = new ST(message);
			data[2] = new ST(message);
			data[3] = new ST(message);
			data[4] = new ST(message);
			data[5] = new ST(message);
			data[6] = new ST(message);
			data[7] = new ID(message, 0);
			data[8] = new AD(message);
			data[9] = new TN(message);
			data[10] = new TN(message);
			data[11] = new TN(message);
			data[12] = new ST(message);
		}
示例#21
0
		/// <summary> Creates a CM_JOB_CODE.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_JOB_CODE(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new ID(message, 0);
			data[1] = new ID(message, 0);
		}
示例#22
0
		/// <summary> Creates a CK_ACCOUNT_NO.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CK_ACCOUNT_NO(Message message):base(message)
		{
			data = new Type[4];
			data[0] = new NM(message);
			data[1] = new NM(message);
			data[2] = new ID(message, 0);
			data[3] = new ID(message, 0);
		}
示例#23
0
		/// <summary> Returns all repetitions of Processing Priority (OM1-26).</summary>
		public virtual ID[] getProcessingPriority()
		{
			ID[] ret = null;
			try
			{
				Type[] t = this.getField(26);
				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;
		}
示例#24
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 ID(message, 0);
			data[5] = new ID(message, 0);
			data[6] = new ID(message, 0);
			data[7] = new ST(message);
		}
示例#25
0
		/// <summary> Creates a CM_OSP.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_OSP(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new ID(message, 0);
			data[1] = new DT(message);
			data[2] = new DT(message);
		}
示例#26
0
		/// <summary> Creates a CM_RFR.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_RFR(Message message):base(message)
		{
			data = new Type[7];
			data[0] = new CM_RANGE(message);
			data[1] = new ID(message, 0);
			data[2] = new CM_RANGE(message);
			data[3] = new CM_RANGE(message);
			data[4] = new ST(message);
			data[5] = new ID(message, 0);
			data[6] = new ST(message);
		}