<web-app>
...
...
<!-- Default monitoring period used in monitoring the
external system connection -->
<context-param>
<param-name>monitorperiod</param-name>
<param-value>2000</param-value>
</context-param>
...
</web-app>
SchematronSuppor t in the HL7 AdapterSchematronis supported for HL7 V3 Message Libraries. The Schematron uses the concept of
ndingtree patterns in the parsed document rather than the grammar. This approach allows
representationof numerous structures that are inconvenient and dicult in grammar-based
schemalanguages.
Forexample, the following le denes a Person element that includes a Name eld and a
Gendereld:
<?xml version="1.0"encoding="UTF-8"?>
<Person>
<Name>Eddie</Name>
<Gender>Male</Gender>
<Person>
Theabove XML document can be validated against the below schematron, which denes a test
fora Title eld, a test for Name and Gender, and a test for the order of elds:
<?xml version="1.0"encoding="UTF-8"?>
<sch:schema xmlns:sch="http://www.ascc.net/xml/schematron">
<sch:pattern name="Check structure">
<sch:rule context="Person">
<sch:assert test="@Title">The element Person must have a Title attribute<sch:assert>
<sch:assert test="count(*) = 2 and count(Name) = 1 and count(Gender) = 1">The element
Person should have the child elements Name and Gender.<sch:assert>
<sch:assert test="*[1] = Name">The element Name must appear before element
Gender.</sch:assert>
</sch:rule>
</sch:pattern>
</sch:schema>
SunAdapterfor TCP/IP HL7 Overview
SunAdapterfor TCP/IP HL7 User's Guide 25