/** * Returns all repetitions of Second Opinion Physician (IN3-25). */ public XCN[] getSecondOpinionPhysician() { XCN[] ret = null; try { Type[] t = this.getField(25); 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; }
/** * Returns all repetitions of Pharmacist/Treatment Supplier's Verifier ID (RXE-14). */ public XCN[] getPharmacistTreatmentSupplierSVerifierID() { XCN[] ret = null; try { Type[] t = this.getField(14); 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; }
/** * 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; }