Generating the Custom Message Scheme
You can use either Developer or Designer to create a custom HL7 Module message scheme. The following procedure describes how to do that using Designer. The steps in Developer are similar.
To create the custom message scheme
1. Start Integration Server and Designer, if they are not already running.
2. Make sure Designer is using the Service Development perspective. If not, switch to it by selecting Window > Open Perspective > Service Development.
3. To connect to Integration Server:
a. In Package Navigator view, select the Integration Server to which you want to connect.
b. Right click, and select Connect to server.
For more information about how to work with Integration Server in Designer, see the webMethods Service Development Help.
4. In Package Navigator view, expand the WmHL7 package and locate the wm.ip.hl7.utils:generateMessageScheme service.
5. In Designer, select Run > Run As > Run Service.
6. In the Enter Input for 'generateMessageScheme' dialog box, specify:
Parameter | Value |
messageVersion | The message version for which you want to generate IS document types. |
messageTypes | List of valid HL7 message types that belong to the specified messageVersion for which the IS document types will be generated. Note: If you do not specify a value for the messageTypesparameter, HL7 Module generates IS document types for all the HL7 message types listed in the messages.properties file, for the selected version and message scheme ID. |
schemeID | Specify the message scheme ID for the custom message scheme. For example, com.example.custom.scheme |
For details about the utility service parameters, see the
wm.ip.hl7.utils:generateMessageScheme service.
7. Click OK.
Designer runs the service and displays the results in the Service Result view.