Ejemplo n.º 1
0
Archivo: RXO.cs Proyecto: snosrap/nhapi
 /**
    * Returns all repetitions of Pharmacist/Treatment Supplier's Verifier ID (RXO-15).
    */
 public XCN[] getPharmacistTreatmentSupplierSVerifierID()
 {
     XCN[] ret = null;
     try {
     Type[] t = this.getField(15);
     ret = new XCN[t.Length];
     for (int i = 0; i < ret.Length; i++) {
     ret[i] = (XCN)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;
 }
Ejemplo n.º 2
0
Archivo: CSR.cs Proyecto: snosrap/nhapi
 /**
    * Returns all repetitions of Study Authorizing Provider (CSR-8).
    */
 public XCN[] getStudyAuthorizingProvider()
 {
     XCN[] ret = null;
     try {
     Type[] t = this.getField(8);
     ret = new XCN[t.Length];
     for (int i = 0; i < ret.Length; i++) {
     ret[i] = (XCN)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;
 }
Ejemplo n.º 3
0
Archivo: TXA.cs Proyecto: snosrap/nhapi
 /**
    * Returns all repetitions of Distributed Copies (Code and Name of Recipients) (TXA-23).
    */
 public XCN[] getDistributedCopiesCodeandNameofRecipients()
 {
     XCN[] ret = null;
     try {
     Type[] t = this.getField(23);
     ret = new XCN[t.Length];
     for (int i = 0; i < ret.Length; i++) {
     ret[i] = (XCN)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;
 }