/// <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); }
/// <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); }
/// <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); }
/// <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; }