/** * Returns * BLC-1: "Blood Product Code" - creates it if necessary */ public CE getBlc1_BloodProductCode() { CE retVal = this.getTypedField(1, 0); return retVal; }
/** * Creates a new BLC segment */ public BLC(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Blood Product Code"); this.add(CQ.class, false, 1, 267, new Object[]{ getMessage() }, "Blood Amount"); } catch(HL7Exception e) { log.error("Unexpected error creating BLC - this is probably a bug in the source code generator.", e); } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CE(getMessage()); case 1: return new CQ(getMessage()); default: return null; } }
private void init(ModelClassFactory factory) { try { this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Blood Product Code"); this.add(CQ.class, false, 1, 267, new Object[]{ getMessage() }, "Blood Amount"); } catch(HL7Exception e) { log.error("Unexpected error creating BLC - this is probably a bug in the source code generator.", e); } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CE(getMessage()); case 1: return new CQ(getMessage()); default: return null; } }
/** * Returns * BLC-1: "Blood Product Code" - creates it if necessary */ public CE getBloodProductCode() { CE retVal = this.getTypedField(1, 0); return retVal; }
/** * Creates a new BLC segment */ public BLC(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
/** * Returns * BLC-1: "Blood Product Code" - creates it if necessary */ public CE getBlc1_BloodProductCode() { CE retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * BLC-2: "Blood Amount" - creates it if necessary */ public CQ getBloodAmount() { CQ retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * BLC-2: "Blood Amount" - creates it if necessary */ public CQ getBlc2_BloodAmount() { CQ retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * BLC-1: "Blood Product Code" - creates it if necessary */ public CE getBloodProductCode() { CE retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * BLC-2: "Blood Amount" - creates it if necessary */ public CQ getBlc2_BloodAmount() { CQ retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * BLC-2: "Blood Amount" - creates it if necessary */ public CQ getBloodAmount() { CQ retVal = this.getTypedField(2, 0); return retVal; }