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) [ Language = objectscript ]
classmethod ExportNewSchemaGlobals(pFile As %String = $$$envEnsembleDir_"packages\HL7\gbl\hl7tables.xml") [ Language = objectscript ]
Export the HL7 new globals used by the HL7 class generator / compiler
classmethod ExportSchemaGlobals(pFile As %String = $$$envEnsembleDir_"packages\HL72\gbl\hl7tables.xml") [ Language = objectscript ]
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\") [ Language = objectscript ]
method GetRS(pSQL As %String) as EnsLib.SQL.GatewayResultSet [ Language = objectscript ]
Get ResultSet from SQL query
classmethod ImportSchema(pVersion="2.6", pDSN="HL7 2.6 MDB") [ Language = objectscript ]
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\") [ Language = objectscript ]
classmethod KillVersion(pVersion As %String) [ Language = objectscript ]
classmethod Legend() [ Language = objectscript ]
classmethod List(pType="", pVersion="") [ Language = objectscript ]
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) [ Language = objectscript ]
classmethod UpgradeSchemaGlobal() [ Language = objectscript ]
convert to new global structures
classmethod UpgradeSchemaGlobal2() [ Language = objectscript ]
classmethod UpgradeSchemaGlobal3() [ Language = objectscript ]
classmethod UpgradeSchemaGlobal4() [ Language = objectscript ]
method addErrorList(pSC, pHS, ByRef pNetErr) as %Status [ Language = objectscript ]
classmethod buildSigMap(pVersion, ByRef tSignatures) [ Language = objectscript ]
Build map of signatures to their respective structure names in a "/"-separated list
classmethod cleanDesc(pDesc As %String) as %String [ Language = objectscript ]
classmethod cleanType(pType As %String) as %String [ Language = objectscript ]
classmethod componentDescToName(pDesc As %String, pCurrDS As %String, pIComp As %String) as %String [ Language = objectscript ]
classmethod convert(pSchemaName) as %String [ Language = objectscript ]
classmethod diff(pVersion="2.6", pDSN="HL7 2.6 MDB") [ Language = objectscript ]
classmethod dumpSubnodes(pVersion, ptableType, pName, pTable) [ Language = objectscript ]
classmethod elimType(pVersion="2.7", pDSN="HL7 2.7 MDB") [ Language = objectscript ]
Remove the data structure from the component of elementary data structures
classmethod fieldDescToName(pDesc As %String, pCurrSeg As %String, pIField As %String) as %String [ Language = objectscript ]
classmethod getSigTypes(ByRef tSignatures, tSig) [ Language = objectscript ]
classmethod stripType(pType As %String) as %String [ Language = objectscript ]
classmethod tableType(pType="") [ Language = objectscript ]

Inherited Members

Inherited Methods

Feedback