/** * Returns * NPU-2: "BED STATUS" - creates it if necessary */ public ID getNpu2_BEDSTATUS() { ID retVal = this.getTypedField(2, 0); return retVal; }
/** * Creates a new NPU segment */ public NPU(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(ID.class, true, 1, 12, new Object[]{ getMessage(), new Integer(79) }, "BED LOCATION"); this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(116) }, "BED STATUS"); } catch(HL7Exception e) { log.error("Unexpected error creating NPU - 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( 79 )); case 1: return new ID(getMessage(), new Integer( 116 )); default: return null; } }
private void init(ModelClassFactory factory) { try { this.add(ID.class, true, 1, 12, new Object[]{ getMessage(), new Integer(79) }, "BED LOCATION"); this.add(ID.class, false, 1, 1, new Object[]{ getMessage(), new Integer(116) }, "BED STATUS"); } catch(HL7Exception e) { log.error("Unexpected error creating NPU - 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( 79 )); case 1: return new ID(getMessage(), new Integer( 116 )); default: return null; } }
/** * Returns * NPU-2: "BED STATUS" - creates it if necessary */ public ID getBEDSTATUS() { ID retVal = this.getTypedField(2, 0); return retVal; }
/** * Creates a new NPU segment */ public NPU(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
/** * Returns * NPU-1: "BED LOCATION" - creates it if necessary */ public ID getNpu1_BEDLOCATION() { ID retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * NPU-1: "BED LOCATION" - creates it if necessary */ public ID getNpu1_BEDLOCATION() { ID retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * NPU-2: "BED STATUS" - creates it if necessary */ public ID getBEDSTATUS() { ID retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * NPU-1: "BED LOCATION" - creates it if necessary */ public ID getBEDLOCATION() { ID retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * NPU-1: "BED LOCATION" - creates it if necessary */ public ID getBEDLOCATION() { ID retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * NPU-2: "BED STATUS" - creates it if necessary */ public ID getNpu2_BEDSTATUS() { ID retVal = this.getTypedField(2, 0); return retVal; }