예제 #1
0
파일: RPT.cs 프로젝트: carlhuth/GenXSource
 /// <summary> Creates a RPT.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public RPT(Message message) : base(message)
 {
     data     = new Type[11];
     data[0]  = new CWE(message);
     data[1]  = new ID(message, 527);
     data[2]  = new NM(message);
     data[3]  = new NM(message);
     data[4]  = new NM(message);
     data[5]  = new IS(message, 0);
     data[6]  = new ID(message, 136);
     data[7]  = new ID(message, 528);
     data[8]  = new NM(message);
     data[9]  = new IS(message, 0);
     data[10] = new GTS(message);
 }
예제 #2
0
		/// <summary> Returns all repetitions of Major Field of Study (EDU-9).</summary>
		public virtual CWE[] getMajorFieldOfStudy()
		{
			CWE[] ret = null;
			try
			{
				Type[] t = this.getField(9);
				ret = new CWE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CWE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
예제 #3
0
		/// <summary> Returns all repetitions of Subject Directory Attribute Extension (Health Professional Data) (CER-14).</summary>
		public virtual CWE[] getSubjectDirectoryAttributeExtensionHealthProfessionalData()
		{
			CWE[] ret = null;
			try
			{
				Type[] t = this.getField(14);
				ret = new CWE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CWE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
예제 #4
0
파일: SCV.cs 프로젝트: carlhuth/GenXSource
 /// <summary> Creates a SCV.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public SCV(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new CWE(message);
     data[1] = new ST(message);
 }
예제 #5
0
		/// <summary> Creates a RPT.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public RPT(Message message):base(message)
		{
			data = new Type[11];
			data[0] = new CWE(message);
			data[1] = new ID(message, 527);
			data[2] = new NM(message);
			data[3] = new NM(message);
			data[4] = new NM(message);
			data[5] = new IS(message, 0);
			data[6] = new ID(message, 136);
			data[7] = new ID(message, 528);
			data[8] = new NM(message);
			data[9] = new IS(message, 0);
			data[10] = new GTS(message);
		}
예제 #6
0
		/// <summary> Returns all repetitions of Pharmaceutical Substance Alternative (RXE-37).</summary>
		public virtual CWE[] getPharmaceuticalSubstanceAlternative()
		{
			CWE[] ret = null;
			try
			{
				Type[] t = this.getField(37);
				ret = new CWE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CWE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
예제 #7
0
		/// <summary> Creates a SCV.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public SCV(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new CWE(message);
			data[1] = new ST(message);
		}
예제 #8
0
		/// <summary> Creates a CX.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CX(Message message):base(message)
		{
			data = new Type[10];
			data[0] = new ST(message);
			data[1] = new ST(message);
			data[2] = new ID(message, 61);
			data[3] = new HD(message);
			data[4] = new ID(message, 203);
			data[5] = new HD(message);
			data[6] = new DT(message);
			data[7] = new DT(message);
			data[8] = new CWE(message);
			data[9] = new CWE(message);
		}
예제 #9
0
		/// <summary> Creates a SPS.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public SPS(Message message):base(message)
		{
			data = new Type[7];
			data[0] = new CWE(message);
			data[1] = new CWE(message);
			data[2] = new TX(message);
			data[3] = new CWE(message);
			data[4] = new CWE(message);
			data[5] = new CWE(message);
			data[6] = new CWE(message);
		}
예제 #10
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);
		}