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.
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:
-
On the general tab, Rule Type should be Virtual Document Message Routing Rule. This choice sets the following options:
-
In the constraint for a rule, specify Message Class as EnsLib.EDI.ASTM.DocumentOpens in a new tab.
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.