예제 #1
0
 /// <summary> Creates a PPN.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public PPN(Message message) : base(message)
 {
     data     = new Type[24];
     data[0]  = new ST(message);
     data[1]  = new FN(message);
     data[2]  = new ST(message);
     data[3]  = new ST(message);
     data[4]  = new ST(message);
     data[5]  = new ST(message);
     data[6]  = new IS(message, 360);
     data[7]  = new IS(message, 297);
     data[8]  = new HD(message);
     data[9]  = new ID(message, 200);
     data[10] = new ST(message);
     data[11] = new ID(message, 61);
     data[12] = new ID(message, 203);
     data[13] = new HD(message);
     data[14] = new TS(message);
     data[15] = new ID(message, 465);
     data[16] = new CE(message);
     data[17] = new DR(message);
     data[18] = new ID(message, 444);
     data[19] = new TS(message);
     data[20] = new TS(message);
     data[21] = new ST(message);
     data[22] = new CWE(message);
     data[23] = new CWE(message);
 }
예제 #2
0
 /// <summary> Creates a XAD.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public XAD(Message message) : base(message)
 {
     data     = new Type[14];
     data[0]  = new SAD(message);
     data[1]  = new ST(message);
     data[2]  = new ST(message);
     data[3]  = new ST(message);
     data[4]  = new ST(message);
     data[5]  = new ID(message, 399);
     data[6]  = new ID(message, 190);
     data[7]  = new ST(message);
     data[8]  = new IS(message, 289);
     data[9]  = new IS(message, 288);
     data[10] = new ID(message, 465);
     data[11] = new DR(message);
     data[12] = new TS(message);
     data[13] = new TS(message);
 }
예제 #3
0
 /// <summary> Creates a XPN.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public XPN(Message message) : base(message)
 {
     data     = new Type[14];
     data[0]  = new FN(message);
     data[1]  = new ST(message);
     data[2]  = new ST(message);
     data[3]  = new ST(message);
     data[4]  = new ST(message);
     data[5]  = new IS(message, 360);
     data[6]  = new ID(message, 200);
     data[7]  = new ID(message, 465);
     data[8]  = new CE(message);
     data[9]  = new DR(message);
     data[10] = new ID(message, 444);
     data[11] = new TS(message);
     data[12] = new TS(message);
     data[13] = new ST(message);
 }
예제 #4
0
		/// <summary> Creates a XAD.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public XAD(Message message):base(message)
		{
			data = new Type[14];
			data[0] = new SAD(message);
			data[1] = new ST(message);
			data[2] = new ST(message);
			data[3] = new ST(message);
			data[4] = new ST(message);
			data[5] = new ID(message, 399);
			data[6] = new ID(message, 190);
			data[7] = new ST(message);
			data[8] = new IS(message, 289);
			data[9] = new IS(message, 288);
			data[10] = new ID(message, 465);
			data[11] = new DR(message);
			data[12] = new TS(message);
			data[13] = new TS(message);
		}
예제 #5
0
		/// <summary> Returns all repetitions of Professional Organization Affiliation Date Range (AFF-4).</summary>
		public virtual DR[] getProfessionalOrganizationAffiliationDateRange()
		{
			DR[] ret = null;
			try
			{
				Type[] t = this.getField(4);
				ret = new DR[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (DR) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
예제 #6
0
		/// <summary> Creates a XPN.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public XPN(Message message):base(message)
		{
			data = new Type[14];
			data[0] = new FN(message);
			data[1] = new ST(message);
			data[2] = new ST(message);
			data[3] = new ST(message);
			data[4] = new ST(message);
			data[5] = new IS(message, 360);
			data[6] = new ID(message, 200);
			data[7] = new ID(message, 465);
			data[8] = new CE(message);
			data[9] = new DR(message);
			data[10] = new ID(message, 444);
			data[11] = new TS(message);
			data[12] = new TS(message);
			data[13] = new ST(message);
		}
예제 #7
0
		/// <summary> Creates a PPN.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public PPN(Message message):base(message)
		{
			data = new Type[24];
			data[0] = new ST(message);
			data[1] = new FN(message);
			data[2] = new ST(message);
			data[3] = new ST(message);
			data[4] = new ST(message);
			data[5] = new ST(message);
			data[6] = new IS(message, 360);
			data[7] = new IS(message, 297);
			data[8] = new HD(message);
			data[9] = new ID(message, 200);
			data[10] = new ST(message);
			data[11] = new ID(message, 61);
			data[12] = new ID(message, 203);
			data[13] = new HD(message);
			data[14] = new TS(message);
			data[15] = new ID(message, 465);
			data[16] = new CE(message);
			data[17] = new DR(message);
			data[18] = new ID(message, 444);
			data[19] = new TS(message);
			data[20] = new TS(message);
			data[21] = new ST(message);
			data[22] = new CWE(message);
			data[23] = new CWE(message);
		}