/** * Returns species (component 5). This is a convenience method that saves you from * casting and handling an exception. */ public TX getSpecies() { return getTyped(4, TX.class); }
/** * Creates a new CM_RFR type */ public CM_RFR(Message message) { super(message); init(); }
private void init() { data = new Type[7]; data[0] = new CM_RANGE(getMessage()); data[1] = new IS(getMessage(), 0); data[2] = new CM_RANGE(getMessage()); data[3] = new CM_RANGE(getMessage()); data[4] = new TX(getMessage()); data[5] = new ST(getMessage()); data[6] = new TX(getMessage()); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new NM(getMessage()); case 1: return new CE(getMessage()); case 2: return new NM(getMessage()); case 3: return new CE(getMessage()); case 4: return new TX(getMessage()); case 5: return new CM_RFR(getMessage()); case 6: return new CM_RANGE(getMessage()); case 7: return new CM_ABS_RANGE(getMessage()); case 8: return new CM_DLT(getMessage()); case 9: return new NM(getMessage()); default: return null; } }
private void init() { data = new Type[7]; data[0] = new CM_RANGE(getMessage()); data[1] = new IS(getMessage(), 0); data[2] = new CM_RANGE(getMessage()); data[3] = new CM_RANGE(getMessage()); data[4] = new TX(getMessage()); data[5] = new ST(getMessage()); data[6] = new TX(getMessage()); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new NM(getMessage()); case 1: return new CE(getMessage()); case 2: return new NM(getMessage()); case 3: return new CE(getMessage()); case 4: return new TX(getMessage()); case 5: return new CM_RFR(getMessage()); case 6: return new CM_RANGE(getMessage()); case 7: return new CM_ABS_RANGE(getMessage()); case 8: return new CM_DLT(getMessage()); case 9: return new NM(getMessage()); default: return null; } }
/** * Returns reference range (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public CM_RANGE getCm_rfr1_ReferenceRange() { return getTyped(0, CM_RANGE.class); }
/** * Creates a new CM_RFR type */ public CM_RFR(Message message) { super(message); init(); }
/** * Returns age range (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public CM_RANGE getCm_rfr3_AgeRange() { return getTyped(2, CM_RANGE.class); }
/** * Returns species (component 5). This is a convenience method that saves you from * casting and handling an exception. */ public TX getCm_rfr5_Species() { return getTyped(4, TX.class); }
/** * Returns reference range (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public CM_RANGE getReferenceRange() { return getTyped(0, CM_RANGE.class); }
/** * Returns race/subspecies (component 6). This is a convenience method that saves you from * casting and handling an exception. */ public ST getRaceSubspecies() { return getTyped(5, ST.class); }
/** * Returns race/subspecies (component 6). This is a convenience method that saves you from * casting and handling an exception. */ public ST getCm_rfr6_RaceSubspecies() { return getTyped(5, ST.class); }
/** * Returns age gestation (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public CM_RANGE getAgeGestation() { return getTyped(3, CM_RANGE.class); }
/** * Returns age gestation (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public CM_RANGE getCm_rfr4_AgeGestation() { return getTyped(3, CM_RANGE.class); }
/** * Returns age range (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public CM_RANGE getCm_rfr3_AgeRange() { return getTyped(2, CM_RANGE.class); }
/** * Returns conditions (component 7). This is a convenience method that saves you from * casting and handling an exception. */ public TX getCm_rfr7_Conditions() { return getTyped(6, TX.class); }
/** * Returns sex (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public IS getCm_rfr2_Sex() { return getTyped(1, IS.class); }
/** * Returns conditions (component 7). This is a convenience method that saves you from * casting and handling an exception. */ public TX getCm_rfr7_Conditions() { return getTyped(6, TX.class); }
/** * Returns reference range (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public CM_RANGE getCm_rfr1_ReferenceRange() { return getTyped(0, CM_RANGE.class); }