Package ca.uhn.hl7v2.model.v251.datatype
Class MA
java.lang.Object
ca.uhn.hl7v2.model.AbstractType
ca.uhn.hl7v2.model.AbstractComposite
ca.uhn.hl7v2.model.v251.datatype.MA
- All Implemented Interfaces:
Composite,Type,Visitable,Serializable
Represents an HL7 MA (Multiplexed Array) data type. This type consists of the following components:
- Sample 1 From Channel 1 (NM)
- Sample 1 From Channel 2 (NM)
- Sample 1 From Channel N (NM)
- Sample 2 From Channel 1 (NM)
- Sample 2 From Channel N (NM)
- Sample N From Channel N (NM)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetComponent(int number) Returns an individual data component.Type[]Returns an array containing the data elements.Returns Sample 1 From Channel 1 (component 1).Returns Sample 1 From Channel 2 (component 2).Returns Sample 1 From Channel N (component 3).Returns Sample 2 From Channel 1 (component 4).Returns Sample 2 From Channel N (component 5).Returns Sample N From Channel N (component 6).Returns Sample 1 From Channel 1 (component 1).Returns Sample 1 From Channel 2 (component 2).Returns Sample 1 From Channel N (component 3).Returns Sample 2 From Channel 1 (component 4).Returns Sample 2 From Channel N (component 5).Returns Sample N From Channel N (component 6).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
-
MA
Creates a new MA 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.
-
getSample1FromChannel1
Returns Sample 1 From Channel 1 (component 1). This is a convenience method that saves you from casting and handling an exception. -
getMa1_Sample1FromChannel1
Returns Sample 1 From Channel 1 (component 1). This is a convenience method that saves you from casting and handling an exception. -
getSample1FromChannel2
Returns Sample 1 From Channel 2 (component 2). This is a convenience method that saves you from casting and handling an exception. -
getMa2_Sample1FromChannel2
Returns Sample 1 From Channel 2 (component 2). This is a convenience method that saves you from casting and handling an exception. -
getSample1FromChannelN
Returns Sample 1 From Channel N (component 3). This is a convenience method that saves you from casting and handling an exception. -
getMa3_Sample1FromChannelN
Returns Sample 1 From Channel N (component 3). This is a convenience method that saves you from casting and handling an exception. -
getSample2FromChannel1
Returns Sample 2 From Channel 1 (component 4). This is a convenience method that saves you from casting and handling an exception. -
getMa4_Sample2FromChannel1
Returns Sample 2 From Channel 1 (component 4). This is a convenience method that saves you from casting and handling an exception. -
getSample2FromChannelN
Returns Sample 2 From Channel N (component 5). This is a convenience method that saves you from casting and handling an exception. -
getMa5_Sample2FromChannelN
Returns Sample 2 From Channel N (component 5). This is a convenience method that saves you from casting and handling an exception. -
getSampleNFromChannelN
Returns Sample N From Channel N (component 6). This is a convenience method that saves you from casting and handling an exception. -
getMa6_SampleNFromChannelN
Returns Sample N From Channel N (component 6). This is a convenience method that saves you from casting and handling an exception.
-