Skip to main content

EnsLib.HL7.Util.Generator

class EnsLib.HL7.Util.Generator extends %Library.RegisteredObject

Generate an HL7 v2 schema based on the .MDB MS Access database from the HL7 committee Use the Regenerate() method to add a new schema version. Some handholding and manual cleanup afterwards will probably be required

Property Inventory

Method Inventory

Properties

property %ConfigName as %String;
Property methods: %ConfigNameDisplayToLogical(), %ConfigNameGet(), %ConfigNameIsValid(), %ConfigNameLogicalToDisplay(), %ConfigNameLogicalToOdbc(), %ConfigNameNormalize(), %ConfigNameSet()
property %Connection as %SQLGatewayConnection;
Property methods: %ConnectionGet(), %ConnectionGetSwizzled(), %ConnectionIsValid(), %ConnectionNewObject(), %ConnectionSet()
property BusinessHost as EnsLib.HL7.Util.Generator;
Property methods: BusinessHostGet(), BusinessHostGetSwizzled(), BusinessHostIsValid(), BusinessHostNewObject(), BusinessHostSet()
property IsUnicodeDLL as %Boolean [ InitialExpression = 1 ];
These 3 properties enable this class to be a parent of EnsLib.SQL.GatewayResultSet objects
Property methods: IsUnicodeDLLDisplayToLogical(), IsUnicodeDLLGet(), IsUnicodeDLLIsValid(), IsUnicodeDLLLogicalToDisplay(), IsUnicodeDLLNormalize(), IsUnicodeDLLSet()
property StayConnected as %Boolean [ InitialExpression = 1 ];
Property methods: StayConnectedDisplayToLogical(), StayConnectedGet(), StayConnectedIsValid(), StayConnectedLogicalToDisplay(), StayConnectedNormalize(), StayConnectedSet()

Methods

classmethod Dump(pType="", pNames="", pVersion="", pLevel=1)
classmethod ExportNewSchemaGlobals(pFile As %String = $$$envEnsembleDir_"packages\HL7\gbl\hl7tables.xml")
Export the HL7 new globals used by the HL7 class generator / compiler
classmethod ExportSchemaGlobals(pFile As %String = $$$envEnsembleDir_"packages\HL72\gbl\hl7tables.xml")
Export the HL7 globals used by the HL7 class generator / compiler
classmethod ExportXML(pVersions As %String = "2.1,2.2,2.3,2.3.1,2.4,2.5", pExportDir As %String = $$$envEnsembleDir_"packages\HL7\schema\")
method GetRS(pSQL As %String) as EnsLib.SQL.GatewayResultSet
Get ResultSet from SQL query
classmethod ImportSchema(pVersion="2.6", pDSN="HL7 2.6 MDB")
Import schema from HL7 database via Gateway
classmethod ImportXML(pVersions As %String = "2.1,2.2,2.3,2.3.1,2.4,2.5", pImportDir As %String = $$$envEnsembleDir_"packages\HL7\schema\")
classmethod KillVersion(pVersion As %String)
classmethod Legend()
classmethod List(pType="", pVersion="")
classmethod Regenerate(pVersions As %String = "2.1,2.2,2.3,2.3.1,2.4,2.5,2.5.1,2.6,2.7", pExport As %Boolean = 1, pExportDir As %String = $$$envEnsembleDir_"packages\HL7\gbl\", pOneBigFile As %Boolean = 1, pDSN As %String)
classmethod UpgradeSchemaGlobal()
convert to new global structures
classmethod UpgradeSchemaGlobal2()
classmethod UpgradeSchemaGlobal3()
classmethod UpgradeSchemaGlobal4()
method addErrorList(pSC, pHS, ByRef pNetErr) as %Status
classmethod buildSigMap(pVersion, ByRef tSignatures)
Build map of signatures to their respective structure names in a "/"-separated list
classmethod cleanDesc(pDesc As %String) as %String
classmethod cleanType(pType As %String) as %String
classmethod componentDescToName(pDesc As %String, pCurrDS As %String, pIComp As %String) as %String
classmethod convert(pSchemaName) as %String
classmethod diff(pVersion="2.6", pDSN="HL7 2.6 MDB")
classmethod dumpSubnodes(pVersion, ptableType, pName, pTable)
classmethod elimType(pVersion="2.7", pDSN="HL7 2.7 MDB")
Remove the data structure from the component of elementary data structures
classmethod fieldDescToName(pDesc As %String, pCurrSeg As %String, pIField As %String) as %String
classmethod getSigTypes(ByRef tSignatures, tSig)
classmethod stripType(pType As %String) as %String
classmethod tableType(pType="")

Inherited Members

Inherited Methods

FeedbackOpens in a new tab