Skip to main content

EnsLib.HL7.SchemaDocument

class EnsLib.HL7.SchemaDocument extends %Studio.AbstractDocument

Abstract Document used to load HL7 schema definition into Studio.

Method Inventory

Parameters

parameter EXTENSION = .HL7;

Methods

classmethod CompileTime(name As %String) as %TimeStamp
Return the compile time of routine 'name' in %TimeStamp format. The format should be $zdatetime($horolog,3), or "" if the routine does not exist.
classmethod Delete(name As %String) as %Status
Delete the HL7 schema definition name.
classmethod Exists(name As %String) as %Boolean
Return 1 if the given schema definition document exists and 0 if it does not.
method ExportToXML(flags As %String) as %Status
Export this document to the current device in XML format
method ImportFromXML(stream As %RegisteredObject, flags As %String) as %Status
Import from the stream in XML format
classmethod ImportStream(pName As %String, pStream As %GlobalCharacterStream) as %Status
Save the HL7 schema definition document from stream to global.
classmethod ListClose(ByRef qHandle As %Binary) as %Status
classmethod ListExecute(ByRef qHandle As %Binary, Directory As %String, Flat As %Boolean, System As %Boolean) as %Status
classmethod ListFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
method Load() as %Status
Load the HL7 schema definition Name into the stream Code
classmethod ReloadCustomSchemas(pFlags As %String = "") as %String
Reload and save/"compile" all custom schemas and report a status code listing any schemas whose structure changes as a result. If pFlags contains "v" then also print a message for each schema that changes.
method Save() as %Status
Save the HL7 schema definition document.
classmethod TimeStamp(name As %String) as %TimeStamp
Return the timestamp of schema category 'name' in %TimeStamp format, i.e. $zdatetime($horolog,3). This is used to determine if the category has been updated on the server and so needs reloading into Studio. So the format should be $zdatetime($horolog,3), or "" if the category does not exist.

Queries

query List(Directory As %String, Flat As %Boolean, System As %Boolean)
Selects name As %String, modified As %TimeStamp, size As %Integer, directory As %String

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab