///<summary> /// Returns all repetitions of Inform Person Indicator (ERR-9). ///</summary> public IS[] GetInformPersonIndicator() { IS[] ret = null; try { IType[] t = this.GetField(9); ret = new IS[t.Length]; for (int i = 0; i < ret.Length; i++) { ret[i] = (IS)t[i]; } } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(this.GetType()).Error("Unexpected problem obtaining field value. This is a bug.", he); throw new System.Exception("An unexpected error ocurred", he); } catch (System.Exception cce) { HapiLogFactory.GetHapiLog(GetType()).Error("Unexpected problem obtaining field value. This is a bug.", cce); throw new System.Exception("An unexpected error ocurred", cce); } return ret; }
///<summary> /// Creates a FC. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public FC(IMessage message, string description) : base(message, description) { data = new IType[2]; data[0] = new IS(message, 64, "Financial Class Code"); data[1] = new TS(message, "Effective Date"); }
///<summary> /// Creates a DLD. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public DLD(IMessage message, string description) : base(message, description) { data = new IType[2]; data[0] = new IS(message, 113, "Discharge Location"); data[1] = new TS(message, "Effective Date"); }
///<summary> /// Creates a RI. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public RI(IMessage message, string description) : base(message, description) { data = new IType[2]; data[0] = new IS(message, 335, "Repeat Pattern"); data[1] = new ST(message, "Explicit Time Interval"); }
///<summary> /// Creates a DTN. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public DTN(IMessage message, string description) : base(message, description) { data = new IType[2]; data[0] = new IS(message, 149, "Day Type"); data[1] = new NM(message, "Number of Days"); }