예제 #1
0
파일: NK1.cs 프로젝트: snosrap/nhapi
 /**
    * Returns all repetitions of Next of Kin/Associated Party's Identifiers (NK1-33).
    */
 public CX[] getNextOfKinAssociatedPartySIdentifiers()
 {
     CX[] ret = null;
     try {
     Type[] t = this.getField(33);
     ret = new CX[t.Length];
     for (int i = 0; i < ret.Length; i++) {
     ret[i] = (CX)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;
 }
예제 #2
0
파일: GT1.cs 프로젝트: snosrap/nhapi
 /**
    * Returns all repetitions of Guarantor Employer ID Number (GT1-29).
    */
 public CX[] getGuarantorEmployerIDNumber()
 {
     CX[] ret = null;
     try {
     Type[] t = this.getField(29);
     ret = new CX[t.Length];
     for (int i = 0; i < ret.Length; i++) {
     ret[i] = (CX)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;
 }