Skip to main content

HS.FHIR.DTL.Util.Package

class HS.FHIR.DTL.Util.Package

This class provides utility code that a delivery instance needs, in order to run code that was generated and delivered to it from the Schema Mapper tool. By design, every method in this class is safe to run on a delivery instance but also works correctly on a developer instance.

NOTE: To be safe to run on a delivery instance, code in Lib and Gen packages must not use: SchemaMap.inc, class packages other than SchemaMap.Lib and SchemaMap.Gen, $$$Map macros, or globals other than those delivered via product installation (the dev_healthshare/XF folder).

Method Inventory

Methods

classmethod GetBuildMode() as %String
classmethod GetConfiguredPackageModelName(schema As %String = "") as %String
classmethod GetConfiguredPackageName(package As %String = "") as %String
classmethod GetConfiguredProjectName() as %String
classmethod GetConfiguredSchemaFromClassname(className As %String = "") as %String
Find out the delivery schema name from a generated object model full class name
classmethod GetConfiguredSchemaName(schema As %String = "") as %String
Find out the delivery schema name from a development schema name
classmethod GetMapperSchemaFromClassname(className As %String = "") as %String
Find out the development schema name from a generated object model full class name
classmethod GetMapperSchemaName(schema As %String = "") as %String
Find out development mode schema name from a configured schema name
classmethod SetBuildMode(mode As %String = "Development")
Supported values are "Development" or "Delivery", default is "Development".
FeedbackOpens in a new tab