/** * 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); }
/** * Creates a new CNS type */ public CNS(Message message) { super(message); init(); }
private void init() { data = new Type[11]; 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 IS(getMessage(), 0); data[9] = new ST(getMessage()); data[10] = new ID(getMessage(), 0); }
private void init() { data = new Type[11]; 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 IS(getMessage(), 0); data[9] = new ST(getMessage()); data[10] = new ID(getMessage(), 0); }
/** * Returns family name (component 2). This is a convenience method that saves you from * casting and handling an exception. */ public ST getCns2_FamilyName() { return getTyped(1, ST.class); }
/** * Creates a new CNS type */ public CNS(Message message) { super(message); init(); }
/** * Returns given name (component 3). This is a convenience method that saves you from * casting and handling an exception. */ public ST getCns3_GivenName() { return getTyped(2, ST.class); }
/** * Returns second and further given names or initials thereof (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public ST getSecondAndFurtherGivenNamesOrInitialsThereof() { return getTyped(3, ST.class); }
/** * 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); }
/** * Returns assigning authority universal ID (component 10). This is a convenience method that saves you from * casting and handling an exception. */ public ST getCns10_AssigningAuthorityUniversalID() { return getTyped(9, ST.class); }
/** * Returns assigning authority universal ID type (component 11). This is a convenience method that saves you from * casting and handling an exception. */ public ID getAssigningAuthorityUniversalIDType() { return getTyped(10, ID.class); }
/** * Returns second and further given names or initials thereof (component 4). This is a convenience method that saves you from * casting and handling an exception. */ public ST getSecondAndFurtherGivenNamesOrInitialsThereof() { return getTyped(3, 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 getCns7_DegreeEgMD() { return getTyped(6, IS.class); }
/** * Returns assigning authority namespace ID (component 9). This is a convenience method that saves you from * casting and handling an exception. */ public IS getCns9_AssigningAuthorityNamespaceID() { return getTyped(8, IS.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 degree (e.g., MD) (component 7). This is a convenience method that saves you from * casting and handling an exception. */ public IS getCns7_DegreeEgMD() { return getTyped(6, IS.class); }
/** * Returns source table (component 8). This is a convenience method that saves you from * casting and handling an exception. */ public IS getCns8_SourceTable() { return getTyped(7, IS.class); }
/** * Returns assigning authority universal ID (component 10). This is a convenience method that saves you from * casting and handling an exception. */ public ST getAssigningAuthorityUniversalID() { return getTyped(9, ST.class); }
/** * Returns ID number (ST) (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ST getIDNumber() { return getTyped(0, ST.class); }
/** * Returns ID number (ST) (component 1). This is a convenience method that saves you from * casting and handling an exception. */ public ST getCns1_IDNumber() { return getTyped(0, ST.class); }