/** * Returns room (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public IS getRoom() { return getTyped(1, IS.class); }
/** * Creates a new PL type */ public PL(Message message) { super(message); init(); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new PL(getMessage()); case 1: return new IS(getMessage(), new Integer( 116 )); default: return null; } }
private void init() { data = new Type[9]; data[0] = new IS(getMessage(), 0); data[1] = new IS(getMessage(), 0); data[2] = new IS(getMessage(), 0); data[3] = new HD(getMessage()); data[4] = new IS(getMessage(), 0); data[5] = new IS(getMessage(), 0); data[6] = new IS(getMessage(), 0); data[7] = new IS(getMessage(), 0); data[8] = new ST(getMessage()); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new PL(getMessage()); case 1: return new IS(getMessage(), new Integer( 116 )); default: return null; } }
private void init() { data = new Type[9]; data[0] = new IS(getMessage(), 0); data[1] = new IS(getMessage(), 0); data[2] = new IS(getMessage(), 0); data[3] = new HD(getMessage()); data[4] = new IS(getMessage(), 0); data[5] = new IS(getMessage(), 0); data[6] = new IS(getMessage(), 0); data[7] = new IS(getMessage(), 0); data[8] = new ST(getMessage()); }
/** * Returns point of care (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public IS getPl1_PointOfCare() { return getTyped(0, IS.class); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new PL(getMessage()); case 1: return new ID(getMessage(), new Integer( 206 )); case 2: return new EI(getMessage()); case 3: return new CE(getMessage()); case 4: return new XON(getMessage()); case 5: return new PL(getMessage()); default: return null; } }
/** * Creates a new PL type */ public PL(Message message) { super(message); init(); }
/** * Returns facility (HD) (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public HD getFacility() { return getTyped(3, HD.class); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new PL(getMessage()); case 1: return new ID(getMessage(), new Integer( 206 )); case 2: return new EI(getMessage()); case 3: return new CE(getMessage()); case 4: return new XON(getMessage()); case 5: return new PL(getMessage()); default: return null; } }
/** * Returns location status (component 5). This is a convenience method that saves you from * casting and handling an exception. */ public IS getPl5_LocationStatus() { return getTyped(4, IS.class); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new PL(getMessage()); case 1: return new IS(getMessage(), new Integer( 264 )); case 2: return new CE(getMessage()); case 3: return new CE(getMessage()); default: return null; } }
/** * Returns building (component 7). This is a convenience method that saves you from * casting and handling an exception. */ public IS getPl7_Building() { return getTyped(6, IS.class); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new PL(getMessage()); case 1: return new IS(getMessage(), new Integer( 264 )); case 2: return new CE(getMessage()); case 3: return new CE(getMessage()); default: return null; } }
/** * Returns floor (component 8). This is a convenience method that saves you from * casting and handling an exception. */ public IS getPl8_Floor() { return getTyped(7, IS.class); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new PL(getMessage()); case 1: return new ID(getMessage(), new Integer( 206 )); case 2: return new EI(getMessage()); case 3: return new CE(getMessage()); case 4: return new CE(getMessage()); default: return null; } }
/** * Returns facility (HD) (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public HD getFacility() { return getTyped(3, HD.class); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new PL(getMessage()); case 1: return new ID(getMessage(), new Integer( 206 )); case 2: return new EI(getMessage()); case 3: return new CE(getMessage()); case 4: return new CE(getMessage()); default: return null; } }
/** * Returns person location type (component 6). This is a convenience method that saves you from * casting and handling an exception. */ public IS getPl6_PersonLocationType() { return getTyped(5, IS.class); }