/** * Returns * BLG-2: "CHARGE TYPE" - creates it if necessary */ public ID getCHARGETYPE() { ID retVal = this.getTypedField(2, 0); return retVal; }
/** * Creates a new BLG segment */ public BLG(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(CM.class, false, 1, 15, new Object[]{ getMessage() }, "WHEN TO CHARGE"); this.add(ID.class, false, 1, 50, new Object[]{ getMessage(), new Integer(122) }, "CHARGE TYPE"); this.add(CM.class, false, 1, 100, new Object[]{ getMessage() }, "ACCOUNT ID"); } catch(HL7Exception e) { log.error("Unexpected error creating BLG - this is probably a bug in the source code generator.", e); } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CM(getMessage()); case 1: return new ID(getMessage(), new Integer( 122 )); case 2: return new CM(getMessage()); default: return null; } }
private void init(ModelClassFactory factory) { try { this.add(CM.class, false, 1, 15, new Object[]{ getMessage() }, "WHEN TO CHARGE"); this.add(ID.class, false, 1, 50, new Object[]{ getMessage(), new Integer(122) }, "CHARGE TYPE"); this.add(CM.class, false, 1, 100, new Object[]{ getMessage() }, "ACCOUNT ID"); } catch(HL7Exception e) { log.error("Unexpected error creating BLG - this is probably a bug in the source code generator.", e); } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CM(getMessage()); case 1: return new ID(getMessage(), new Integer( 122 )); case 2: return new CM(getMessage()); default: return null; } }
/** * Returns * BLG-2: "CHARGE TYPE" - creates it if necessary */ public ID getBlg2_CHARGETYPE() { ID retVal = this.getTypedField(2, 0); return retVal; }
/** * Creates a new BLG segment */ public BLG(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
/** * Returns * BLG-1: "WHEN TO CHARGE" - creates it if necessary */ public CM getWHENTOCHARGE() { CM retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * BLG-2: "CHARGE TYPE" - creates it if necessary */ public ID getBlg2_CHARGETYPE() { ID retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * BLG-3: "ACCOUNT ID" - creates it if necessary */ public CM getBlg3_ACCOUNTID() { CM retVal = this.getTypedField(3, 0); return retVal; }
/** * Returns * BLG-3: "ACCOUNT ID" - creates it if necessary */ public CM getACCOUNTID() { CM retVal = this.getTypedField(3, 0); return retVal; }
/** * Returns * BLG-3: "ACCOUNT ID" - creates it if necessary */ public CM getBlg3_ACCOUNTID() { CM retVal = this.getTypedField(3, 0); return retVal; }
/** * Returns * BLG-1: "WHEN TO CHARGE" - creates it if necessary */ public CM getBlg1_WHENTOCHARGE() { CM retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * BLG-1: "WHEN TO CHARGE" - creates it if necessary */ public CM getWHENTOCHARGE() { CM retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * BLG-1: "WHEN TO CHARGE" - creates it if necessary */ public CM getBlg1_WHENTOCHARGE() { CM retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * BLG-2: "CHARGE TYPE" - creates it if necessary */ public ID getCHARGETYPE() { ID retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * BLG-3: "ACCOUNT ID" - creates it if necessary */ public CM getACCOUNTID() { CM retVal = this.getTypedField(3, 0); return retVal; }