25.01.2015 Views

Managing Ensemble Productions - InterSystems Documentation

Managing Ensemble Productions - InterSystems Documentation

Managing Ensemble Productions - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Message Filter<br />

Type<br />

VDoc Segment<br />

Field<br />

Conditions<br />

You may use the Conditions panel as follows:<br />

1. Ensure that the left-hand Conditions field is empty.<br />

2. Click ... and when prompted, click OK.<br />

3. Choose a schema category and segment name from a list of supported schema<br />

categories and segment names. The contents of this list depend on your Class Name<br />

choice of virtual document type. Click OK to save your selections.<br />

4. A list of fields in the chosen segment displays. Choose a field and click OK.<br />

5. The resulting entry in the left-hand Conditions field looks something like this. This is<br />

an HL7 example. Different specific syntax is offered for X12, but the idea is the same:<br />

2.3.1:[PID:PatientAddress().city]<br />

Instead of selecting options to fill the left-hand Conditions field, you can type a string into<br />

the field, as long as you are careful to use the correct syntax. For HL7, you can type a<br />

numeric references if you prefer them to names, for example [5], [18.1], or 2.3.1:[3().1].<br />

You may edit out the category reference and colon prefix, but keep the square brackets<br />

and their contents intact.<br />

Square brackets differ from curly brackets in that square brackets enclose a segment:field<br />

combination that does not require you to identify its containing message structure. In the<br />

example above, <strong>Ensemble</strong> matches any message structure in the 2.3.1 schema category<br />

that contains a PID segment with a PatientAddress().city field .<br />

VDoc Property<br />

Path<br />

You may use the Conditions panel as follows:<br />

1. Ensure that the left-hand Conditions field is empty.<br />

2. Click ... and when prompted, click OK.<br />

3. Choose a schema category and message structure from a list of supported schema<br />

categories and message structures. The contents of this list depend on your Class<br />

Name choice of virtual document type. Click OK to save your selections.<br />

4. A list of segments and fields in the chosen message structure displays. Choose a<br />

segment:field combination and click OK.<br />

5. The resulting entry in the left-hand Conditions field looks something like this. This is<br />

an HL7 example. Different specific syntax is offered for X12, but the idea is the same:<br />

2.3:ADT_A06:{MSH:SendingFacility.namespaceID}<br />

Instead of selecting options to fill the left-hand Conditions field, you can type a virtual<br />

property path into the field, as long as you are careful to use the correct syntax. Curly<br />

bracket syntax requires a specific message structure, such as ADT_A06, to be identified.<br />

The comparison operator between the two values in a Conditions statement can be any one of the following.<br />

Table 8–4: Comparison Operators for Message Filter Conditions<br />

Operator<br />

=<br />

!=<br />

The condition is true when the value at left is...<br />

Equal to the value on the right.<br />

Not equal to the value on the right.<br />

<strong>Managing</strong> <strong>Ensemble</strong> <strong>Productions</strong> 83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!