public class SubjectiveRefractionMeasurementsMacro extends Macro
| Constructor and Description |
|---|
SubjectiveRefractionMeasurementsMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified Data Set.
|
SubjectiveRefractionMeasurementsMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified Data Set and Dictionary Reader
|
SubjectiveRefractionMeasurementsMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
SubjectiveRefractionMeasurementsMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and DictionaryReader
|
| Modifier and Type | Method and Description |
|---|---|
AddIntermediateSequence |
getAddIntermediateSequence()
Retrieves pre-initialized object of Add Intermediate Sequence.If the module contains the sequence object
it returns the same otherwise it creates the sequence adds to the module with proper initialization
and then returns the object of sequence.
|
AddNearSequence |
getAddNearSequence()
Retrieves pre-initialized object of Add Near Sequence.If the module contains the sequence object
it returns the same otherwise it creates the sequence adds to the module with proper initialization
and then returns the object of sequence.
|
AddOtherSequence |
getAddOtherSequence()
Retrieves pre-initialized object of Add Other Sequence.If the module contains the sequence object
it returns the same otherwise it creates the sequence adds to the module with proper initialization
and then returns the object of sequence.
|
CylinderSequenceMacro |
getCylinderSequenceMacro()
This method returns the Cylinder Sequence Macro with proper initialization.
|
PrismSequenceMacro |
getPrismSequenceMacro()
This method returns the Prism Sequence Macro with proper initialization.
|
double |
getSpherePower()
Retrieves the Refractive power of the eye that is the same in all meridians,measured at distance (optical infinity), in diopters.
|
void |
setSpherePower(double dblSpherePower)
Sets the Refractive power of the eye that is the same in all meridians,measured at distance (optical infinity), in diopters.
|
boolean |
validate()
Validates all the attributes in SubjectiveRefractionMeasurementsMacro
|
boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in SubjectiveRefractionMeasurementsMacro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in SubjectiveRefractionMeasurementsMacro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic SubjectiveRefractionMeasurementsMacro(IDataSet objDataSet)
objDataSet - Collection of Data Elementspublic SubjectiveRefractionMeasurementsMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic SubjectiveRefractionMeasurementsMacro(IItem objItem)
objItem - specifies instance of Item classpublic SubjectiveRefractionMeasurementsMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - specifies instance of Item classobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic boolean validate()
throws InvalidMacroException
InvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public boolean validate(IDataSet objIDataSet) throws InvalidMacroException
objIDataSet - collection of DataElementsInvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public static boolean validate(IItem objIItem) throws InvalidMacroException
objIItem - collection of DataElements in a sequenceInvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public CylinderSequenceMacro getCylinderSequenceMacro()
CylinderSequenceMacropublic PrismSequenceMacro getPrismSequenceMacro()
PrismSequenceMacropublic AddNearSequence getAddNearSequence()
public AddIntermediateSequence getAddIntermediateSequence()
public AddOtherSequence getAddOtherSequence()
public void setSpherePower(double dblSpherePower)
dblSpherePower - Double value of Sphere Powerpublic double getSpherePower()