///<summary> /// Returns all repetitions of Contract Effective Date (PV1-25). ///</summary> public DT[] GetContractEffectiveDate() { DT[] ret = null; try { IType[] t = this.GetField(25); ret = new DT[t.Length]; for (int i = 0; i < ret.Length; i++) { ret[i] = (DT)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; }