Skip to main content


class CSPX.Portal.DICOMSetting extends CSPX.Portal.Template

Zen based LookupSettings UI for Ensemble 2008.1

Property Inventory

Method Inventory


parameter APPLICATION = CSPX.Portal.Application;
Class name of application this page belongs to.
parameter CSPURL = CSPX.Portal.DICOMSetting.cls;
Inherited description: This parameter is used to make sure that if multiple CSP applications are mapped to the same namespace that the CSP engine can correctly identify which class corresponds with which URL. If 'LockCSPName' is true (the default, defined in the CSP application) then you can only access this page if the url exactly matches this 'CSPURL'. You can set this parameter to "" if you wish to disable this check for this class. This check is applied for all CSP urls (cls/csp/zen).
If this page was compiled from a .csp file, then this parameter is automatically set to contain the url of this file used for compilation.
parameter PAGENAME = DICOM Setting;
Displayed name of this page.
parameter PARENTPAGE = CSPX.Portal.DICOMSettings.cls;
Inherited description: This parameter defines the parent page for this page.
If the name ends in .csp, then the parent is assumed to be an autopage-enabled CSP page. If the name ends in .cls, then the parent is assumed to be a Zen page. This is used to automate the construction of the locator bar for this page and to build the index between portal pages and documentation.
The %GetLocatorInfo method is used to get this information.


property PID as %ZEN.Datatype.string (ZENURL = "PID");
The last selected PID
Property methods: PIDDisplayToLogical(), PIDGet(), PIDIsValid(), PIDLogicalToDisplay(), PIDLogicalToOdbc(), PIDNormalize(), PIDSet()
property editIndex as %Integer [ InitialExpression = "-1" ];
This is the index number that user is currently editing.
Property methods: editIndexDisplayToLogical(), editIndexGet(), editIndexIsValid(), editIndexLogicalToDisplay(), editIndexNormalize(), editIndexSet(), editIndexXSDToLogical()
property isNew as %String (ZENURL = "isNew") [ InitialExpression = "0" ];
Property methods: isNewDisplayToLogical(), isNewGet(), isNewIsValid(), isNewLogicalToDisplay(), isNewLogicalToOdbc(), isNewNormalize(), isNewSet()
property msgAdd as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Use the form below to create a new DICOM association context setting in %1: ") ];
Property methods: msgAddDisplayToLogical(), msgAddGet(), msgAddIsValid(), msgAddLogicalToDisplay(), msgAddLogicalToOdbc(), msgAddNormalize(), msgAddSet()
property msgDeleteContext1 as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Please click on the Abstract Syntax you want to delete first and try again.") ];
Property methods: msgDeleteContext1DisplayToLogical(), msgDeleteContext1Get(), msgDeleteContext1IsValid(), msgDeleteContext1LogicalToDisplay(), msgDeleteContext1LogicalToOdbc(), msgDeleteContext1Normalize(), msgDeleteContext1Set()
property msgDeleteContext2 as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Are you sure you want to delete this abstract syntax?") ];
Property methods: msgDeleteContext2DisplayToLogical(), msgDeleteContext2Get(), msgDeleteContext2IsValid(), msgDeleteContext2LogicalToDisplay(), msgDeleteContext2LogicalToOdbc(), msgDeleteContext2Normalize(), msgDeleteContext2Set()
property msgDeleteContext3 as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Presentation context deleted.") ];
Property methods: msgDeleteContext3DisplayToLogical(), msgDeleteContext3Get(), msgDeleteContext3IsValid(), msgDeleteContext3LogicalToDisplay(), msgDeleteContext3LogicalToOdbc(), msgDeleteContext3Normalize(), msgDeleteContext3Set()
property msgEdit as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Edit DICOM association context setting in %1: ") ];
Property methods: msgEditDisplayToLogical(), msgEditGet(), msgEditIsValid(), msgEditLogicalToDisplay(), msgEditLogicalToOdbc(), msgEditNormalize(), msgEditSet()
property msgEditContext as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Please click on the Abstract Syntax you want to edit first and try again.") ];
Property methods: msgEditContextDisplayToLogical(), msgEditContextGet(), msgEditContextIsValid(), msgEditContextLogicalToDisplay(), msgEditContextLogicalToOdbc(), msgEditContextNormalize(), msgEditContextSet()
property msgExists as %ZEN.Datatype.caption [ InitialExpression = $$$Text("This Calling AET and Called AET combination already exists.") ];
Property methods: msgExistsDisplayToLogical(), msgExistsGet(), msgExistsIsValid(), msgExistsLogicalToDisplay(), msgExistsLogicalToOdbc(), msgExistsNormalize(), msgExistsSet()
property msgLegendAdd as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Add Presentation Context") ];
Property methods: msgLegendAddDisplayToLogical(), msgLegendAddGet(), msgLegendAddIsValid(), msgLegendAddLogicalToDisplay(), msgLegendAddLogicalToOdbc(), msgLegendAddNormalize(), msgLegendAddSet()
property msgPreserve as %ZEN.Datatype.caption [ InitialExpression = $$$Text("You have changed the Calling AET and Called AET combination. Click [OK] to preserve the old association or [Cancel] to delete the old association.") ];
Property methods: msgPreserveDisplayToLogical(), msgPreserveGet(), msgPreserveIsValid(), msgPreserveLogicalToDisplay(), msgPreserveLogicalToOdbc(), msgPreserveNormalize(), msgPreserveSet()
property msgTS as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Please check at least one Transfer Syntax.") ];
Property methods: msgTSDisplayToLogical(), msgTSGet(), msgTSIsValid(), msgTSLogicalToDisplay(), msgTSLogicalToOdbc(), msgTSNormalize(), msgTSSet()
property msgTable as %ZEN.Datatype.caption;
Message that is built with the namespace in it.
Property methods: msgTableDisplayToLogical(), msgTableGet(), msgTableIsValid(), msgTableLogicalToDisplay(), msgTableLogicalToOdbc(), msgTableNormalize(), msgTableSet()


method %OnAfterCreatePage() as %Status
This callback is called after the server-side page object and all of its children are created.
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.
classmethod CheckAllBlanks(string) as %Boolean [ ZenMethod ]
classmethod DeleteDataContext(pid, pindex) as %String [ ZenMethod ]
Delete a presentation context from an association
classmethod DrawTitle(pSeed As %String) as %Status
Used to draw title for this page. pHalpAddress is need to build the link for Help for this page.
classmethod EditDataContext(pid, pindex) as %String [ ZenMethod ]
Edit a presentation context from an association
classmethod GetTreeInfo(pRoot As %String, Output pTree, ByRef pParms) as %Status
Build presentation context tree
classmethod IDExists(pid) as %Boolean [ ZenMethod ]
classmethod LoadAvaContext() [ ZenMethod ]
Load available context list box from JS
classmethod SaveData(pid, calling, called, name, desc, preserve) as %ZEN.proxyObject [ ZenMethod ]
Save general association data to server
classmethod SaveDataContext(pid, comboAS, selectedSyntax, editIndex) as %ZEN.proxyObject [ ZenMethod ]
Save presentation context to server
method UpdateDetails(pid) as %Boolean [ ZenMethod ]
Update contents of rule. This method is called when user clicked a row to "Edit". Load data into the fields.
clientmethod addContext() [ Language = javascript ]
Enable fields for presentation context. Initialize all fields.
clientmethod arrowClicked(id) [ Language = javascript ]
clientmethod arrowMoved(thisObj) [ Language = javascript ]
User double clicked one of the listboxes. Update imply message.
clientmethod cancelSetting() [ Language = javascript ]
Cancel out of Add/Edit.
clientmethod deleteContext() [ Language = javascript ]
Delete existing presentation context from a known assiciation.
clientmethod editContext() [ Language = javascript ]
Enable fields for presentation context. Load fields.
clientmethod expandNode(node) [ Language = javascript ]
Show or hide Transfer Syntax under a Abstract Syntax.
clientmethod getSyntax() as %String [ Language = javascript ]
Return selected transfer syntax as string
clientmethod hideTree(flag) [ Language = javascript ]
When user clicks Add for Presentation Context, we hide the tree (flag=true). After user saves changes, or cancel out, we show the tree (flag=false).
clientmethod loadAva() [ Language = javascript ]
Clear the Avaliable and Selected list boxes and reload the Available box.
clientmethod onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
clientmethod saveContext() [ Language = javascript ]
Get user selection and send to server to save presentation context settings.
clientmethod saveSetting() [ Language = javascript ]
Get user selection and send to server to save settings.
clientmethod toggleDelete(flag) [ Language = javascript ]
show or hide image and link Delete for presentation context
clientmethod treeCount() [ Language = javascript ]
check total Abstract Syntax tree count for presentation context. this method is triggled from onupdate from the tree control.
clientmethod treeLoad() [ Language = javascript ]
load tree based on given PID
clientmethod upOneLevel() [ Language = javascript ]
Up one level: If tree is currently hidden, then go to Association list. Else, go to Presentation list.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab