ExtractTextTableFromPRData¶
- MacroModule¶
 author
package
definition
see also
keywords
Dicom,Presentation,States,PR,json,cardio,cardiac,ventriicular,function
Purpose¶
ExtractTextTableFromPRData scans a DICOM tree from connected MultiFileVolume, looks for text information in the GraphicAnnotationSequence (0070,0001), and tries to format it as table. Results are three versions of the extracted text information, as text string, JSON, and comma separated values.
Additional settings can be applied to extract table information only if a number of tags match specific substrings to prevent that text tables are created from undesired structures.
Windows¶
Default Panel¶
Input Fields¶
inBase¶
- name: inBase, type: MLBase¶
 Either a MultiFileVolumeList from whose DCMTree, or a DCMTree itself, from which the textual information shall be extracted
Parameter Fields¶
Field Index¶
Visible Fields¶
Update¶
- name: update, type: Trigger¶
 Initiates update of all output field values.
Clear¶
- name: clear, type: Trigger¶
 Clears all output field values to a clean initial state.
On Input Change Behavior¶
- name: onInputChangeBehavior, type: Enum, default: Clear, deprecated name: shouldAutoUpdate,shouldUpdateAutomatically¶
 Declares how the module should react if a value of an input field changes.
Values:
Title  | 
Name  | 
Deprecated Name  | 
|---|---|---|
Update  | 
Update  | 
TRUE  | 
Clear  | 
Clear  | 
FALSE  | 
[]¶
- name: updateDone, type: Trigger, persistent: no¶
 Notifies that an update was performed (Check status interface fields to identify success or failure).
Has Valid Output¶
- name: hasValidOutput, type: Bool, persistent: no¶
 Indicates validity of output field values (success of computation).
Status Code¶
- name: statusCode, type: Enum, persistent: no¶
 Reflects module’s status (successful or failed computations) as one of some predefined enumeration values.
Values:
Title  | 
Name  | 
|---|---|
Ok  | 
Ok  | 
Invalid input object  | 
Invalid input object  | 
Invalid input parameter  | 
Invalid input parameter  | 
Internal error  | 
Internal error  | 
Status Message¶
- name: statusMessage, type: String, persistent: no¶
 Gives additional, detailed information about status code as human-readable message.
Volume index¶
- name: inVolumeIndex, type: Integer, default: 0, minimum: 0¶
 Index of the MultiFileVolume from which the table shall be extracted.
ID (inIDOfTagToCheck00)¶
Value (inValueOfTagToCheck00)¶
On (inEnableTagToCheck00)¶
ID (inIDOfTagToCheck01)¶
Value (inValueOfTagToCheck01)¶
On (inEnableTagToCheck01)¶
ID (inIDOfTagToCheck02)¶
Value (inValueOfTagToCheck02)¶
On (inEnableTagToCheck02)¶
ID (inIDOfTagToCheck03)¶
Value (inValueOfTagToCheck03)¶
On (inEnableTagToCheck03)¶
ID (inIDOfTagToCheck04)¶
Value (inValueOfTagToCheck04)¶
On (inEnableTagToCheck04)¶
ID (inIDOfTagToCheck05)¶
Value (inValueOfTagToCheck05)¶
On (inEnableTagToCheck05)¶
ID (inIDOfTagToCheck06)¶
Value (inValueOfTagToCheck06)¶
On (inEnableTagToCheck06)¶
ID (inIDOfTagToCheck07)¶
Value (inValueOfTagToCheck07)¶
On (inEnableTagToCheck07)¶
ID (inIDOfTagToCheck08)¶
Value (inValueOfTagToCheck08)¶
On (inEnableTagToCheck08)¶
ID (inIDOfTagToCheck09)¶
Value (inValueOfTagToCheck09)¶
On (inEnableTagToCheck09)¶
ID (inIDOfTagToCheck10)¶
Value (inValueOfTagToCheck10)¶
On (inEnableTagToCheck10)¶
Restriction Mode¶
- name: inRestrictionsModes, type: Enum, default: Clear¶
 Setup restrictions for special text tables.
Values:
Title  | 
Name  | 
Description  | 
|---|---|---|
Clear  | 
Clear  | 
Resets and disables all restricting tags.  | 
User  | 
User  | 
Leaves the restriction settings unchanged, the fields can be modified as desired.  | 
Siemens Cardio Cine SAX Ventricular Function  | 
Siemens_Cardio_Cine_SAX_Ventricular_Function  | 
A special set of restrictions is set up which matches a propriatry Cardio SAYX sequence of the manufacturer Siemens.  | 
JSON¶
- name: outJSON, type: String, persistent: no¶
 Text field showing the extracted table in JSON format.
CSV¶
- name: outCSV, type: String, persistent: no¶
 Text field showing the extracted table in comma separated values format.
Text¶
- name: outText, type: String, persistent: no¶
 Text field showing the extracted table as pure formated text.