Package ca.uhn.hl7v2.model.v251.datatype
Class SPS
java.lang.Object
ca.uhn.hl7v2.model.AbstractType
ca.uhn.hl7v2.model.AbstractComposite
ca.uhn.hl7v2.model.v251.datatype.SPS
- All Implemented Interfaces:
Composite,Type,Visitable,Serializable
Represents an HL7 SPS (Specimen Source) data type. This type consists of the following components:
- Specimen Source Name or Code (CWE)
- Additives (CWE)
- Specimen Collection Method (TX)
- Body Site (CWE)
- Site Modifier (CWE)
- Collection Method Modifier Code (CWE)
- Specimen Role (CWE)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns Additives (component 2).Returns Body Site (component 4).Returns Collection Method Modifier Code (component 6).getComponent(int number) Returns an individual data component.Type[]Returns an array containing the data elements.Returns Site Modifier (component 5).Returns Specimen Collection Method (component 3).Returns Specimen Role (component 7).Returns Specimen Source Name or Code (component 1).Returns Specimen Source Name or Code (component 1).Returns Additives (component 2).Returns Specimen Collection Method (component 3).Returns Body Site (component 4).Returns Site Modifier (component 5).Returns Collection Method Modifier Code (component 6).Returns Specimen Role (component 7).Methods inherited from class ca.uhn.hl7v2.model.AbstractComposite
accept, clear, getTyped, isEmpty, provideLocationMethods inherited from class ca.uhn.hl7v2.model.AbstractType
encode, getExtraComponents, getMessage, getName, parse, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Type
encode, getExtraComponents, getMessage, getName, parse
-
Constructor Details
-
SPS
Creates a new SPS type
-
-
Method Details
-
getComponents
Returns an array containing the data elements. -
getComponent
Returns an individual data component.- Parameters:
number- The component number (0-indexed)- Throws:
DataTypeException- if the given element number is out of range.
-
getSpecimenSourceNameOrCode
Returns Specimen Source Name or Code (component 1). This is a convenience method that saves you from casting and handling an exception. -
getSps1_SpecimenSourceNameOrCode
Returns Specimen Source Name or Code (component 1). This is a convenience method that saves you from casting and handling an exception. -
getAdditives
Returns Additives (component 2). This is a convenience method that saves you from casting and handling an exception. -
getSps2_Additives
Returns Additives (component 2). This is a convenience method that saves you from casting and handling an exception. -
getSpecimenCollectionMethod
Returns Specimen Collection Method (component 3). This is a convenience method that saves you from casting and handling an exception. -
getSps3_SpecimenCollectionMethod
Returns Specimen Collection Method (component 3). This is a convenience method that saves you from casting and handling an exception. -
getBodySite
Returns Body Site (component 4). This is a convenience method that saves you from casting and handling an exception. -
getSps4_BodySite
Returns Body Site (component 4). This is a convenience method that saves you from casting and handling an exception. -
getSiteModifier
Returns Site Modifier (component 5). This is a convenience method that saves you from casting and handling an exception. -
getSps5_SiteModifier
Returns Site Modifier (component 5). This is a convenience method that saves you from casting and handling an exception. -
getCollectionMethodModifierCode
Returns Collection Method Modifier Code (component 6). This is a convenience method that saves you from casting and handling an exception. -
getSps6_CollectionMethodModifierCode
Returns Collection Method Modifier Code (component 6). This is a convenience method that saves you from casting and handling an exception. -
getSpecimenRole
Returns Specimen Role (component 7). This is a convenience method that saves you from casting and handling an exception. -
getSps7_SpecimenRole
Returns Specimen Role (component 7). This is a convenience method that saves you from casting and handling an exception.
-