/** * Returns * ACC-1: "ACCIDENT DATE/TIME" - creates it if necessary */ public TS getACCIDENTDATETIME() { TS retVal = this.getTypedField(1, 0); return retVal; }
/** * Creates a new ACC segment */ public ACC(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(TS.class, false, 1, 19, new Object[]{ getMessage() }, "ACCIDENT DATE/TIME"); this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(50) }, "ACCIDENT CODE"); this.add(ST.class, false, 1, 25, new Object[]{ getMessage() }, "ACCIDENT LOCATION"); } catch(HL7Exception e) { log.error("Unexpected error creating ACC - this is probably a bug in the source code generator.", e); } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new TS(getMessage()); case 1: return new ID(getMessage(), new Integer( 50 )); case 2: return new ST(getMessage()); default: return null; } }
private void init(ModelClassFactory factory) { try { this.add(TS.class, false, 1, 19, new Object[]{ getMessage() }, "ACCIDENT DATE/TIME"); this.add(ID.class, false, 1, 2, new Object[]{ getMessage(), new Integer(50) }, "ACCIDENT CODE"); this.add(ST.class, false, 1, 25, new Object[]{ getMessage() }, "ACCIDENT LOCATION"); } catch(HL7Exception e) { log.error("Unexpected error creating ACC - this is probably a bug in the source code generator.", e); } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new TS(getMessage()); case 1: return new ID(getMessage(), new Integer( 50 )); case 2: return new ST(getMessage()); default: return null; } }
/** * Returns * ACC-3: "ACCIDENT LOCATION" - creates it if necessary */ public ST getAcc3_ACCIDENTLOCATION() { ST retVal = this.getTypedField(3, 0); return retVal; }
/** * Creates a new ACC segment */ public ACC(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
/** * Returns * ACC-2: "ACCIDENT CODE" - creates it if necessary */ public ID getAcc2_ACCIDENTCODE() { ID retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * ACC-3: "ACCIDENT LOCATION" - creates it if necessary */ public ST getACCIDENTLOCATION() { ST retVal = this.getTypedField(3, 0); return retVal; }
/** * Returns * ACC-2: "ACCIDENT CODE" - creates it if necessary */ public ID getACCIDENTCODE() { ID retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * ACC-1: "ACCIDENT DATE/TIME" - creates it if necessary */ public TS getACCIDENTDATETIME() { TS retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * ACC-2: "ACCIDENT CODE" - creates it if necessary */ public ID getACCIDENTCODE() { ID retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * ACC-3: "ACCIDENT LOCATION" - creates it if necessary */ public ST getACCIDENTLOCATION() { ST retVal = this.getTypedField(3, 0); return retVal; }
/** * Returns * ACC-3: "ACCIDENT LOCATION" - creates it if necessary */ public ST getAcc3_ACCIDENTLOCATION() { ST retVal = this.getTypedField(3, 0); return retVal; }
/** * Returns * ACC-2: "ACCIDENT CODE" - creates it if necessary */ public ID getAcc2_ACCIDENTCODE() { ID retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * ACC-1: "ACCIDENT DATE/TIME" - creates it if necessary */ public TS getAcc1_ACCIDENTDATETIME() { TS retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * ACC-1: "ACCIDENT DATE/TIME" - creates it if necessary */ public TS getAcc1_ACCIDENTDATETIME() { TS retVal = this.getTypedField(1, 0); return retVal; }