/** * Returns family name (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public ST getFamilyName() { return getTyped(1, ST.class); }
/** * Creates a new CN type */ public CN(Message message) { super(message); init(); }
private void init() { data = new Type[9]; data[0] = new ST(getMessage()); data[1] = new ST(getMessage()); data[2] = new ST(getMessage()); data[3] = new ST(getMessage()); data[4] = new ST(getMessage()); data[5] = new ST(getMessage()); data[6] = new IS(getMessage(), 0); data[7] = new IS(getMessage(), 0); data[8] = new HD(getMessage()); }
private void init() { data = new Type[11]; data[0] = new CN(getMessage()); data[1] = new TS(getMessage()); data[2] = new TS(getMessage()); data[3] = new IS(getMessage(), 0); data[4] = new IS(getMessage(), 0); data[5] = new IS(getMessage(), 0); data[6] = new HD(getMessage()); data[7] = new IS(getMessage(), 0); data[8] = new IS(getMessage(), 0); data[9] = new IS(getMessage(), 0); data[10] = new IS(getMessage(), 0); }
private void init() { data = new Type[9]; data[0] = new ST(getMessage()); data[1] = new ST(getMessage()); data[2] = new ST(getMessage()); data[3] = new ST(getMessage()); data[4] = new ST(getMessage()); data[5] = new ST(getMessage()); data[6] = new IS(getMessage(), 0); data[7] = new IS(getMessage(), 0); data[8] = new HD(getMessage()); }
private void init() { data = new Type[11]; data[0] = new CN(getMessage()); data[1] = new TS(getMessage()); data[2] = new TS(getMessage()); data[3] = new IS(getMessage(), 0); data[4] = new IS(getMessage(), 0); data[5] = new IS(getMessage(), 0); data[6] = new HD(getMessage()); data[7] = new IS(getMessage(), 0); data[8] = new IS(getMessage(), 0); data[9] = new IS(getMessage(), 0); data[10] = new IS(getMessage(), 0); }
/** * Returns suffix (e.g., JR or III) (component 5). This is a convenience method that saves you from * casting and handling an exception. */ public ST getCn5_SuffixEgJRorIII() { return getTyped(4, ST.class); }
/** * Creates a new CN type */ public CN(Message message) { super(message); init(); }
/** * Returns source table (component 8). This is a convenience method that saves you from * casting and handling an exception. */ public IS getCn8_SourceTable() { return getTyped(7, IS.class); }
/** * Returns middle initial or name (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public ST getMiddleInitialOrName() { return getTyped(3, ST.class); }
/** * Returns assigning authority (component 9). This is a convenience method that saves you from * casting and handling an exception. */ public HD getAssigningAuthority() { return getTyped(8, HD.class); }
/** * Returns degree (e.g., MD) (component 7). This is a convenience method that saves you from * casting and handling an exception. */ public IS getDegreeEgMD() { return getTyped(6, IS.class); }
/** * Returns ID number (ST) (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ST getCn1_IDNumber() { return getTyped(0, ST.class); }
/** * Returns suffix (e.g., JR or III) (component 5). This is a convenience method that saves you from * casting and handling an exception. */ public ST getSuffixEgJRorIII() { return getTyped(4, ST.class); }
/** * Returns degree (e.g., MD) (component 7). This is a convenience method that saves you from * casting and handling an exception. */ public IS getDegreeEgMD() { return getTyped(6, IS.class); }
/** * Returns given name (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public ST getCn3_GivenName() { return getTyped(2, ST.class); }
/** * Returns middle initial or name (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public ST getMiddleInitialOrName() { return getTyped(3, ST.class); }
/** * Returns middle initial or name (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public ST getCn4_MiddleInitialOrName() { return getTyped(3, ST.class); }
/** * Returns suffix (e.g., JR or III) (component 5). This is a convenience method that saves you from * casting and handling an exception. */ public ST getSuffixEgJRorIII() { return getTyped(4, ST.class); }
/** * Returns prefix (e.g., DR) (component 6). This is a convenience method that saves you from * casting and handling an exception. */ public ST getCn6_PrefixEgDR() { return getTyped(5, ST.class); }