/// <summary> Returns all repetitions of ERROR CODE AND LOCATION (ERR-1).</summary> public virtual ID[] getERRORCODEANDLOCATION() { ID[] ret = null; try { Type[] t = this.getField(1); 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; }
/// <summary> Creates a CK.</summary> /// <param name="message">the Message to which this Type belongs /// </param> public CK(Message message):base(message) { data = new Type[3]; data[0] = new NM(message); data[1] = new NM(message); data[2] = new ID(message, 0); }
/// <summary> Creates a CM_MSG.</summary> /// <param name="message">the Message to which this Type belongs /// </param> public CM_MSG(Message message):base(message) { data = new Type[2]; data[0] = new ID(message, 0); data[1] = new ID(message, 0); }
/// <summary> Creates a CE.</summary> /// <param name="message">the Message to which this Type belongs /// </param> public CE(Message message):base(message) { data = new Type[6]; 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); }
/// <summary> Returns all repetitions of What Subject Filter (QRD-9).</summary> public virtual ID[] getWhatSubjectFilter() { ID[] ret = null; try { Type[] t = this.getField(9); 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; }