Skip to main content

Additional Steps for ASTM

This topic discusses the additional steps needed to add ASTM routing interfaces to a production.

Be sure to perform these tasks in the same namespace that contains your production. When you create rule sets, transformations, and search tables, do not use reserved package names; see Reserved Package Names.

Loading ASTM Schemas into InterSystems Products

To load an ASTM schema into InterSystems products, use the ASTM Schema Structures page.

For information on creating custom schema categories, see Creating Custom Schema Categories.

Defining Routing Rule Sets for ASTM

Depending on the business process that you create, you may need to create a routing rule set.

For general information on defining business rules, see Developing Business Rules.

When you create a routing rule set for an ASTM routing interface:

Defining DTL Data Transformations for ASTM

Your routing rules might need one or more data transformations.

For general information on defining DTL data transformations, see Developing DTL Transformations.

When you create a DTL data transformation for ASTM documents:

  • On the Transform tab, Source Class and Target Class should both be EnsLib.EDI.ASTM.DocumentOpens in a new tab.

  • Source Doc Type should match the schema category name assigned by the business service.

  • Target Doc Type should be the name of the target schema category. This must match a schema category name that you have loaded into the InterSystems product.

Use the ASTM Document Viewer Page to test your transformations, as described in Available Tools.

To integrate the DTL data transformation in the production, enter its full package and class name in the Transform field of a routing rule set.

Defining ASTM Search Tables

The ASTM search table class, EnsLib.EDI.ASTM.SearchTableOpens in a new tab, automatically indexes the ASTM document ID, which it gives the name Identifier.

If you need more items to search, you can create a subclass. The subclass inherits the Identifier property, plus the infrastructure that makes search tables work. For details, see Defining a Search Table Class.

For ASTM, InterSystems products support an additional value for PropType. You can use DateTime:HL7 in addition to the types listed in Using Virtual Documents in Productions.

FeedbackOpens in a new tab