Package com.pixelmed.scpecg
Class Section7
java.lang.Object
com.pixelmed.scpecg.Section
com.pixelmed.scpecg.Section7
A class to encapsulate the SCP-ECG Global Measurements section.
-
Field Summary
Fields inherited from class com.pixelmed.scpecg.Section
bytesRead, header, sectionBytesRemaining, tree
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
addNodeOfDecimalWithUndefinedOrMissingValues
(SCPTreeRecord parent, String name, int value) Add a tree node with a numeric value as decimal string, with potentially udnefined or missing values.static String
Get a description of measurement values that may have undefined or missing values.int
int
int
int
int
int
int
int
int
int[]
int[]
int[]
int[]
int[]
int[]
int[]
getPAxis()
int[]
int[]
int[]
int[]
int[]
int[]
Get a string name for this section.int[]
getTAxis()
int[]
getTree
(SCPTreeRecord parent) Get the contents of the section as a tree for display, constructing it if not already done.int
long
Read the remainder of the section from a stream.toString()
Dump the section as aString
.validate()
Validate the section against the standard.Methods inherited from class com.pixelmed.scpecg.Section
addNodeOfDecimalAndHex, addNodeOfDecimalWithMissingValues, addSectionHeaderToTree, describeMissingValues, getSectionHeader, getTree, getValueForSectionNodeInTree, makeSection, makeStringFromByteArrayRemovingAnyNulls, skipToEndOfSectionIfNotAlreadyThere
-
Constructor Details
-
Section7
-
-
Method Details
-
getSectionName
Get a string name for this section.
- Overrides:
getSectionName
in classSection
- Returns:
- a string name for this section
-
getNumberOfQRSMeasurements
public int getNumberOfQRSMeasurements() -
getNumberOfPacemakerSpikes
public int getNumberOfPacemakerSpikes() -
getAverageRRInterval
public int getAverageRRInterval() -
getAveragePPInterval
public int getAveragePPInterval() -
getPOnset
public int[] getPOnset() -
getPOffset
public int[] getPOffset() -
getQRSOnset
public int[] getQRSOnset() -
getQRSOffset
public int[] getQRSOffset() -
getTOffset
public int[] getTOffset() -
getPAxis
public int[] getPAxis() -
getQRSAxis
public int[] getQRSAxis() -
getTAxis
public int[] getTAxis() -
getPacemakerSpikeLocation
public int[] getPacemakerSpikeLocation() -
getPacemakerSpikeAmplitude
public int[] getPacemakerSpikeAmplitude() -
getPacemakerSpikeType
public int[] getPacemakerSpikeType() -
getPacemakerSpikeSource
public int[] getPacemakerSpikeSource() -
getPacemakerSpikeTriggerIndex
public int[] getPacemakerSpikeTriggerIndex() -
getPacemakerSpikePulseWidth
public int[] getPacemakerSpikePulseWidth() -
getNumberOfQRSComplexes
public int getNumberOfQRSComplexes() -
getQRSType
public int[] getQRSType() -
getVentricularRate
public int getVentricularRate() -
getAtrialRate
public int getAtrialRate() -
getCorrectedQTInterval
public int getCorrectedQTInterval() -
getHeartRateCorrectionFormula
public int getHeartRateCorrectionFormula() -
getNumberOfBytesInTaggedFields
public int getNumberOfBytesInTaggedFields() -
read
Description copied from class:Section
Read the remainder of the section from a stream.
- Overrides:
read
in classSection
- Parameters:
i
- the input stream- Returns:
- the number of bytes read
- Throws:
IOException
-
toString
Description copied from class:Section
Dump the section as a
String
. -
validate
Description copied from class:Section
Validate the section against the standard.
-
describeUndefinedOrMissingValues
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.
- Parameters:
i
- the numeric value that may be missing- Returns:
- a description of the type of missing value
-
addNodeOfDecimalWithUndefinedOrMissingValues
protected static void addNodeOfDecimalWithUndefinedOrMissingValues(SCPTreeRecord parent, String name, int value) Add a tree node with a numeric value as decimal string, with potentially udnefined or missing values.
- Parameters:
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 node
-
getTree
Get the contents of the section as a tree for display, constructing it if not already done.
-