Package ca.uhn.hl7v2.model.v22.datatype
Class CM_SPS
java.lang.Object
ca.uhn.hl7v2.model.AbstractType
ca.uhn.hl7v2.model.AbstractComposite
ca.uhn.hl7v2.model.v22.datatype.CM_SPS
- All Implemented Interfaces:
Composite,Type,Visitable,Serializable
Represents an HL7 CM_SPS (specimen source) data type. This type consists of the following components:
- Specimen source name or code (CE)
- additives (TX)
- freetext (TX)
- body site (CE)
- site modifier (CE)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns additives (component 2).Returns body site (component 4).Returns Specimen source name or code (component 1).Returns additives (component 2).Returns freetext (component 3).Returns body site (component 4).Returns site modifier (component 5).getComponent(int number) Returns an individual data component.Type[]Returns an array containing the data elements.Returns freetext (component 3).Returns site modifier (component 5).Returns Specimen source name or code (component 1).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
-
CM_SPS
Creates a new CM_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. -
getCm_sps1_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. -
getCm_sps2_Additives
Returns additives (component 2). This is a convenience method that saves you from casting and handling an exception. -
getFreetext
Returns freetext (component 3). This is a convenience method that saves you from casting and handling an exception. -
getCm_sps3_Freetext
Returns freetext (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. -
getCm_sps4_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. -
getCm_sps5_SiteModifier
Returns site modifier (component 5). This is a convenience method that saves you from casting and handling an exception.
-