EnsPortal.HL7.Utils
class EnsPortal.HL7.Utils extends %Library.RegisteredObject
This class contains utility methods to support the HL7 user interfaceMethod Inventory
- DrawMessageStructure()
- GetImmediateBaseSchema()
- GetMostCustomSchemaEntity()
- GetSchemaInheritanceList()
- IsCustomSchema()
- SchemaEntityAlreadyExists()
Parameters
parameter DOMAIN = Ensemble;
Methods
Accepts a schema name as input. Returns its base schema or "" if there is no base schema.
classmethod GetMostCustomSchemaEntity(pSchema As %String, pEntity As %String, pType As %String) as %String
Accepts a custom schema name and schema entity (such as a message type or message structure) as input.
Looks through this schema's inheritance to find out where the "most custom"
entity of this type is defined and returns a string in the form "schema:name" with the name being the input entity name.
If no entity of this type is found in the inheritance hierarchy, even in a standard schema, then it returns a blank string.
Accepts a schema name as input. Returns a comma-separated list of schema names ordered from the
"most custom" custom schema to the "least custom" schema, which may be a standard schema.
Accepts a schema name as input. Returns 1 (true) if the schema is custom, 0 (false) if it is standard).
classmethod SchemaEntityAlreadyExists(pSchema As %String, pEntity As %String, pType As %String) as %String
Indicates whether the entity exists
in the schema. 1 = true, 0 = false.
If searching for a schema itself, use pType="" and pEntity="".
Otherwise use pType values suitable for schemas such as "MT" "MS" "DS" and so on.
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()