public class Section7 extends Section
A class to encapsulate the SCP-ECG Global Measurements section.
bytesRead, header, sectionBytesRemaining, tree
Constructor and Description |
---|
Section7(SectionHeader header) |
Modifier and Type | Method and Description |
---|---|
protected static void |
addNodeOfDecimalWithUndefinedOrMissingValues(SCPTreeRecord parent,
java.lang.String name,
int value)
Add a tree node with a numeric value as decimal string, with potentially udnefined or missing values.
|
static java.lang.String |
describeUndefinedOrMissingValues(int i)
Get a description of measurement values that may have undefined or missing values.
|
int |
getAtrialRate() |
int |
getAveragePPInterval() |
int |
getAverageRRInterval() |
int |
getCorrectedQTInterval() |
int |
getHeartRateCorrectionFormula() |
int |
getNumberOfBytesInTaggedFields() |
int |
getNumberOfPacemakerSpikes() |
int |
getNumberOfQRSComplexes() |
int |
getNumberOfQRSMeasurements() |
int[] |
getPacemakerSpikeAmplitude() |
int[] |
getPacemakerSpikeLocation() |
int[] |
getPacemakerSpikePulseWidth() |
int[] |
getPacemakerSpikeSource() |
int[] |
getPacemakerSpikeTriggerIndex() |
int[] |
getPacemakerSpikeType() |
int[] |
getPAxis() |
int[] |
getPOffset() |
int[] |
getPOnset() |
int[] |
getQRSAxis() |
int[] |
getQRSOffset() |
int[] |
getQRSOnset() |
int[] |
getQRSType() |
java.lang.String |
getSectionName()
Get a string name for this section.
|
int[] |
getTAxis() |
int[] |
getTOffset() |
SCPTreeRecord |
getTree(SCPTreeRecord parent)
Get the contents of the section as a tree for display, constructing it if not already done.
|
int |
getVentricularRate() |
long |
read(BinaryInputStream i)
Read the remainder of the section from a stream.
|
java.lang.String |
toString()
Dump the section as a
String . |
java.lang.String |
validate()
Validate the section against the standard.
|
addNodeOfDecimalAndHex, addNodeOfDecimalWithMissingValues, addSectionHeaderToTree, describeMissingValues, getSectionHeader, getTree, getValueForSectionNodeInTree, makeSection, makeStringFromByteArrayRemovingAnyNulls, skipToEndOfSectionIfNotAlreadyThere
public Section7(SectionHeader header)
protected static void addNodeOfDecimalWithUndefinedOrMissingValues(SCPTreeRecord parent, java.lang.String name, int value)
Add a tree node with a numeric value as decimal string, with potentially udnefined or missing values.
parent
- the node to which to add this new node as a childname
- the name of the new nodevalue
- the numeric value of the new nodepublic static java.lang.String describeUndefinedOrMissingValues(int i)
Get a description of measurement values that may have undefined or missing values.
The undefined value of 999
is specifically described by the standard.
The missing values described in Section 5.10.2 as being defined in the CSE Project are not described as being appropriate for this section, but have been encountered in this use.
i
- the numeric value that may be missingpublic int getAtrialRate()
public int getAveragePPInterval()
public int getAverageRRInterval()
public int getCorrectedQTInterval()
public int getHeartRateCorrectionFormula()
public int getNumberOfBytesInTaggedFields()
public int getNumberOfPacemakerSpikes()
public int getNumberOfQRSComplexes()
public int getNumberOfQRSMeasurements()
public int[] getPacemakerSpikeAmplitude()
public int[] getPacemakerSpikeLocation()
public int[] getPacemakerSpikePulseWidth()
public int[] getPacemakerSpikeSource()
public int[] getPacemakerSpikeTriggerIndex()
public int[] getPacemakerSpikeType()
public int[] getPAxis()
public int[] getPOffset()
public int[] getPOnset()
public int[] getQRSAxis()
public int[] getQRSOffset()
public int[] getQRSOnset()
public int[] getQRSType()
public java.lang.String getSectionName()
Get a string name for this section.
getSectionName
in class Section
public int[] getTAxis()
public int[] getTOffset()
public SCPTreeRecord getTree(SCPTreeRecord parent)
Get the contents of the section as a tree for display, constructing it if not already done.
public int getVentricularRate()
public long read(BinaryInputStream i) throws java.io.IOException
Section
Read the remainder of the section from a stream.
public java.lang.String toString()
Section
Dump the section as a String
.