Skip to main content

SchemaMap.Tool.Build.Export

abstract class SchemaMap.Tool.Build.Export

manages export to and from files for various purposes, related to developer collaboration and Perforce storage of shared work

Method Inventory

Methods

classmethod BuildMissingTargetsEntry(listIssues, listCount, from As %String = "", to As %String = "", reportType As %String(VALUELIST=",Clinical,Non-clinical")="Clinical") as %Status
Calculate listIssues and listCount entries for the missing required targets issue X, which unlike other issues is based on mapping rows that do not exist.
classmethod BuildSchemaInfoEntry(listIssues, listCount, schema As %String = "", from As %String = "", to As %String = "") as %Status
Calculate listIssues and listCount entries for informational issues based on a schema table.
classmethod CSVFiles(dirName As %String = "") as %Status
classmethod DrawLookupTableEntry(direction As %String(VALUELIST=",forward,reverse")="", from As %String = "", to As %String = "", fromPath As %String = "", toPath As %String = "", sourceLookupName As %String = "", targetLookupName As %String = "", Output noteText As %String = "") as %Status
One call with direction "forward" is expected first, followed by one call with direction "reverse". Both "forward" and "reverse" calls are expected even if there is no matched pair. The fromPath and toPath are not used when direction is "reverse".
classmethod JSONFiles(dirName As %String = "") as %Status
classmethod ProjectFiles() as %Status
classmethod ReportCodeLookup(from As %String = "", to As %String = "", dirName As %String = "") as %Status
classmethod ReportDefaultReview(from As %String = "", to As %String = "", dirName As %String = "", reportType As %String(VALUELIST=",Clinical,Non-clinical")="Clinical", issueType As %String(VALUELIST=",Provided,Missing")="Provided") as %Status
classmethod ReportFiles(from As %String = "", to As %String = "") as %Status
Outputs a set of report files of all types in HTML format. The resulting HTML-formatted text can be printed, viewed in a browser, or read from the file to provide content for a UI page, as desired.

If the arguments from and to are both supplied, output only the set of reports for that specific schema pair and direction of mapping.

If either the input argument from or to is omitted, output a set of reports of ALL types for ALL mappings between ALL schema pairs configured for Schema Mapper.

Because of the high volume of data that can be generated by HTML formatting, this method internally handles the HTML content line by line, not in one chunk. This avoids any possibility of breaking the 32K barrier on character count for string values.

classmethod ReportInformational(from As %String = "", to As %String = "", dirName As %String = "") as %Status
classmethod ReportIssues(from As %String = "", to As %String = "", dirName As %String = "", reportType As %String(VALUELIST=",Clinical,Non-clinical")="Clinical") as %Status
classmethod ReportNotTransformed(from As %String = "", to As %String = "", dirName As %String = "") as %Status
There are two reports, one listing DTL data transformations that are in this kit and one for transformations that are not in this kit. The list is by resource, with no field details. In each report, there is a list organized by target resources and a list organized by source resources.
classmethod ReportPriority(dirName As %String = "") as %Status
classmethod ReportTransforms(from As %String = "", to As %String = "", dirName As %String = "") as %Status
There are two reports, one listing DTL data transformations that are in this kit and one for transformations that are not in this kit. The list is by resource, with no field details. In each report, there is a list organized by target resources and a list organized by source resources.
classmethod WriteTableStyle(file As %Library.File) as %Status
FeedbackOpens in a new tab