|
| | CID244e_Laterality (const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue()) |
| | (default) constructor
|
| |
| | CID244e_Laterality (const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse) |
| | constructor
|
| |
| | CID244e_Laterality (const OFString &selectedValue, const OFBool enhancedEncodingMode=OFFalse) |
| | constructor
|
| |
| virtual OFCondition | selectValue (const OFString &selectedValue, const OFBool enhancedEncodingMode=OFFalse) |
| | select a coded entry given by its associated enumerated value as the current value
|
| |
| virtual OFCondition | selectValue (const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse) |
| | select a coded entry given by its type as the current value
|
| |
| virtual OFCondition | selectValue (const DSRCodedEntryValue &codedEntryValue, const OFBool check=OFTrue, const OFBool definedContextGroup=OFFalse) |
| | select a given coded entry as the current value
|
| |
| | CID244_Laterality (const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue()) |
| | (default) constructor
|
| |
| | CID244_Laterality (const EnumType selectedValue, const OFBool enhancedEncodingMode=OFFalse) |
| | constructor
|
| |
| virtual OFCondition | findCodedEntry (const DSRCodedEntryValue &codedEntryValue) const |
| | search for a given coded entry in this context group.
|
| |
|
| operator const DSRCodedEntryValue & () const |
| | conversion operator that returns the currently selected coded entry value (might be empty if none is selected)
|
| |
|
virtual void | clear () |
| | clear list of extended coded entries and forget about the currently selected coded entry
|
| |
| OFBool | isExtensible () const |
| | check whether context group is extensible
|
| |
| void | setExtensible (const OFBool mode=OFTrue) |
| | change mode specifying whether the context group is extensible or non-extensible
|
| |
| const OFString & | getIdentifier () const |
| | get context identifier
|
| |
| const OFString & | getMappingResource () const |
| | get mapping resource
|
| |
| const OFString & | getVersion () const |
| | get context group version (optional)
|
| |
| const OFString & | getUID () const |
| | get context group UID (optional)
|
| |
| virtual OFBool | hasSelectedValue () const |
| | check whether a coded entry is selected as the current value
|
| |
| const DSRCodedEntryValue & | getSelectedValue () const |
| | get currently selected coded entry value (optional)
|
| |
| virtual OFBool | hasCodedEntry (const DSRCodedEntryValue &codedEntryValue) const |
| | check whether a given coded entry is contained in this context group.
|
| |
| virtual OFBool | hasExtendedCodedEntries () const |
| | check whether this context group has any extended coded entries.
|
| |
| virtual OFCondition | addCodedEntry (const DSRCodedEntryValue &codedEntryValue) |
| | add a coded entry to this context group as an extension, i.e. as a non-standard code.
|
| |
| virtual OFCondition | lookupCodedEntry (DSRCodedEntryValue &codedEntryValue, const OFBool enhancedEncodingMode=OFFalse) const |
| | search for a given coded entry in this context group and, if found, replace its value with the one found in the context group.
|
| |
| virtual void | print (STD_NAMESPACE ostream &stream) const |
| | print contents of this context group, i.e. a general header, the currently selected coded entry value (if any) and all coded entries that are contained in this context group (both standard and extended ones).
|
| |
| virtual OFCondition | checkSelectedValue (const OFBool definedContextGroup=OFFalse) const |
| | check whether the currently selected coded entry is valid.
|
| |
|
| static DSRCodedEntryValue | mapImageLaterality (const OFString &enumeratedValue, const OFBool enhancedEncodingMode=OFFalse) |
| | map an enumerated value for Image Laterality (0020,0062) to the associated coded entry
|
| |
| static OFCondition | mapImageLaterality (const OFString &enumeratedValue, DSRCodedEntryValue &codedEntryValue, const OFBool enhancedEncodingMode=OFFalse) |
| | map an enumerated value for Image Laterality (0020,0062) to the associated coded entry
|
| |
| static void | initialize () |
| | initialize this context group explicitly.
|
| |
| static void | cleanup () |
| | cleanup this context group, i.e. delete the internal list of standard coded entries.
|
| |
| static DSRCodedEntryValue | getCodedEntry (const EnumType value, const OFBool enhancedEncodingMode=OFFalse) |
| | map a given type to the associated coded entry
|
| |
|
| enum | EnumType { Right
, Left
, Bilateral
, Unilateral
} |
| | types of laterality More...
|
| |
|
typedef OFMap< EnumType, DSRBasicCodedEntry > | CodeList |
| | type used for storing and managing the coded entries
|
| |
| virtual void | printCodes (STD_NAMESPACE ostream &stream) const |
| | print details on coded entries that are contained in this context group.
|
| |
| virtual OFCondition | findCodedEntry (const DSRCodedEntryValue &searchForCodedEntry, DSRCodedEntryValue *foundCodedEntry, const OFBool enhancedEncodingMode=OFFalse) const |
| | search for a given coded entry in this context group
|
| |
| | DSRContextGroup (const OFString &contextIdentifier, const OFString &mappingResource, const OFString &contextGroupVersion="", const OFString &contextGroupUID="", const DSRCodedEntryValue &selectedValue=DSRCodedEntryValue()) |
| | constructor
|
| |
|
virtual | ~DSRContextGroup () |
| | destructor
|
| |
| virtual void | printHeader (STD_NAMESPACE ostream &stream) const |
| | print header with some general information on this context group
|
| |
| virtual OFCondition | checkCodedEntry (const DSRCodedEntryValue &codedEntryValue, const OFBool definedContextGroup) const |
| | check whether a given coded entry is valid.
|
| |
| static CodeList & | getCodes () |
| | get list of standard coded entries that are managed by this context group.
|
| |
| static OFCondition | setEnhancedEncodingMode (DSRCodedEntryValue &codedEntryValue) |
| | set the "Enhanced Encoding Mode" for a given coded entry
|
| |
DCMR Context Group with enhanced functionality: CID 244 - Laterality.