public class CK extends AbstractComposite
Represents an HL7 CK (composite ID with check digit) data type. This type consists of the following components:
log
Constructor and Description |
---|
CK(Message message)
Creates a new CK type
|
Modifier and Type | Method and Description |
---|---|
HD |
getAssigningAuthority()
Returns assigning authority (component 4).
|
ST |
getCheckDigit()
Returns check digit (component 2).
|
NM |
getCk1_IDNumber()
Returns ID number (NM) (component 1).
|
ST |
getCk2_CheckDigit()
Returns check digit (component 2).
|
ID |
getCk3_CodeIdentifyingTheCheckDigitSchemeEmployed()
Returns code identifying the check digit scheme employed (component 3).
|
HD |
getCk4_AssigningAuthority()
Returns assigning authority (component 4).
|
ID |
getCodeIdentifyingTheCheckDigitSchemeEmployed()
Returns code identifying the check digit scheme employed (component 3).
|
Type |
getComponent(int number)
Returns an individual data component.
|
Type[] |
getComponents()
Returns an array containing the data elements.
|
NM |
getIDNumber()
Returns ID number (NM) (component 1).
|
accept, clear, getTyped, isEmpty, provideLocation
encode, getExtraComponents, getMessage, getName, parse, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
encode, getExtraComponents, getMessage, getName, parse
public Type[] getComponents()
public Type getComponent(int number) throws DataTypeException
number
- The component number (0-indexed)DataTypeException
- if the given element number is out of range.public NM getIDNumber()
public NM getCk1_IDNumber()
public ST getCheckDigit()
public ST getCk2_CheckDigit()
public ID getCodeIdentifyingTheCheckDigitSchemeEmployed()
public ID getCk3_CodeIdentifyingTheCheckDigitSchemeEmployed()
public HD getAssigningAuthority()
public HD getCk4_AssigningAuthority()
Copyright © 2001–2017 University Health Network. All rights reserved.