Exemplo n.º 1
0
Arquivo: NK1.cs Projeto: 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;
 }
Exemplo n.º 2
0
Arquivo: GT1.cs Projeto: 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;
 }