/** * Returns a count of the current number of repetitions of ERROR CODE AND LOCATION (ERR-1). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getERRORCODEANDLOCATIONReps() { return this.getReps(1); }
/** * Returns a specific repetition of * ERR-1: "ERROR CODE AND LOCATION" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public ID getErr1_ERRORCODEANDLOCATION(int rep) { ID retVal = this.getTypedField(1, rep); return retVal; }
/** * Creates a new ERR segment */ public ERR(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(ID.class, true, 0, 80, new Object[]{ getMessage(), new Integer(60) }, "ERROR CODE AND LOCATION"); } catch(HL7Exception e) { log.error("Unexpected error creating ERR - this is probably a bug in the source code generator.", e); } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new ID(getMessage(), new Integer( 60 )); default: return null; } }
private void init(ModelClassFactory factory) { try { this.add(ID.class, true, 0, 80, new Object[]{ getMessage(), new Integer(60) }, "ERROR CODE AND LOCATION"); } catch(HL7Exception e) { log.error("Unexpected error creating ERR - this is probably a bug in the source code generator.", e); } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new ID(getMessage(), new Integer( 60 )); default: return null; } }
/** * Returns all repetitions of ERROR CODE AND LOCATION (ERR-1). */ public ID[] getERRORCODEANDLOCATION() { ID[] retVal = this.getTypedField(1, new ID[0]); return retVal; }
/** * Returns a count of the current number of repetitions of ERROR CODE AND LOCATION (ERR-1). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getERRORCODEANDLOCATIONReps() { return this.getReps(1); }
/** * Creates a new ERR segment */ public ERR(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
/** * Returns a specific repetition of * ERR-1: "ERROR CODE AND LOCATION" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public ID getERRORCODEANDLOCATION(int rep) { ID retVal = this.getTypedField(1, rep); return retVal; }
/** * Returns a count of the current number of repetitions of ERROR CODE AND LOCATION (ERR-1). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getErr1_ERRORCODEANDLOCATIONReps() { return this.getReps(1); }
/** * Returns all repetitions of ERROR CODE AND LOCATION (ERR-1). */ public ID[] getERRORCODEANDLOCATION() { ID[] retVal = this.getTypedField(1, new ID[0]); return retVal; }
/** * Returns a count of the current number of repetitions of ERROR CODE AND LOCATION (ERR-1). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getErr1_ERRORCODEANDLOCATIONReps() { return this.getReps(1); }
/** * Returns all repetitions of ERROR CODE AND LOCATION (ERR-1). */ public ID[] getErr1_ERRORCODEANDLOCATION() { ID[] retVal = this.getTypedField(1, new ID[0]); return retVal; }
/** * Returns all repetitions of ERROR CODE AND LOCATION (ERR-1). */ public ID[] getErr1_ERRORCODEANDLOCATION() { ID[] retVal = this.getTypedField(1, new ID[0]); return retVal; }
/** * Returns a specific repetition of * ERR-1: "ERROR CODE AND LOCATION" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public ID getERRORCODEANDLOCATION(int rep) { ID retVal = this.getTypedField(1, rep); return retVal; }
/** * Returns a specific repetition of * ERR-1: "ERROR CODE AND LOCATION" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public ID getErr1_ERRORCODEANDLOCATION(int rep) { ID retVal = this.getTypedField(1, rep); return retVal; }