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)
public java.lang.String getSectionName()
Get a string name for this section.
getSectionName
in class Section
public int getNumberOfQRSMeasurements()
public int getNumberOfPacemakerSpikes()
public int getAverageRRInterval()
public int getAveragePPInterval()
public int[] getPOnset()
public int[] getPOffset()
public int[] getQRSOnset()
public int[] getQRSOffset()
public int[] getTOffset()
public int[] getPAxis()
public int[] getQRSAxis()
public int[] getTAxis()
public int[] getPacemakerSpikeLocation()
public int[] getPacemakerSpikeAmplitude()
public int[] getPacemakerSpikeType()
public int[] getPacemakerSpikeSource()
public int[] getPacemakerSpikeTriggerIndex()
public int[] getPacemakerSpikePulseWidth()
public int getNumberOfQRSComplexes()
public int[] getQRSType()
public int getVentricularRate()
public int getAtrialRate()
public int getCorrectedQTInterval()
public int getHeartRateCorrectionFormula()
public int getNumberOfBytesInTaggedFields()
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
.
public java.lang.String validate()
Section
Validate the section against the standard.
public 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 missingprotected 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 SCPTreeRecord getTree(SCPTreeRecord parent)
Get the contents of the section as a tree for display, constructing it if not already done.