09.04.2013 Views

SNOMED CT® Release Format 1 (RF1) Guide - ihtsdo

SNOMED CT® Release Format 1 (RF1) Guide - ihtsdo

SNOMED CT® Release Format 1 (RF1) Guide - ihtsdo

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

226 | <strong>SNOMED</strong> CT <strong>Release</strong> <strong>Format</strong> 1 (<strong>RF1</strong>) <strong>Guide</strong> July 2012<br />

Concept<br />

“A”<br />

“A”<br />

“A”<br />

“A”<br />

Option<br />

3.2.11.5.3.3. Branching Model<br />

4<br />

5<br />

6<br />

7<br />

Rule<br />

Age >= 60 AND Coexists “B”<br />

Age < 60 AND Coexists “C”<br />

Age >= 60 AND Coexists “C”<br />

TRUE<br />

TargetId<br />

103053<br />

104055<br />

105059<br />

101050<br />

TargetCodes<br />

The branching approach tests each element of a rule separately and if any test fails it provides a specified<br />

reference to the next Cross Map to be tested. If all the tests are true the associated Cross Map Target is<br />

used. If any test fails the specified option is tested next.<br />

If this approach is followed significant optimization can occur so that any test is only performed once for each<br />

Concept mapped. However, one disadvantage is that addition, removal or revision of any Cross Map requires<br />

a review of the entire set of Cross Maps for that Concept. Another disadvantage is that branching logic is<br />

less transparent than sequential testing. There are greater risks of logical errors requiring debugging of<br />

different test cases.<br />

Table 210: Example of the Cross Map Branching Model<br />

Concept<br />

“A”<br />

“A”<br />

“A”<br />

“A”<br />

“A”<br />

“A”<br />

“A”<br />

Option<br />

1<br />

2<br />

3<br />

4<br />

5<br />

6<br />

7<br />

MapRule<br />

Age < 60 (ELSE 4) AND Coexists “B” (ELSE<br />

3) AND Coexists “C” (ELSE 2)<br />

TRUE<br />

Coexists “C” (ELSE 7)<br />

Coexists “B” (ELSE 6) AND Coexists “C”<br />

(ELSE 5)<br />

TRUE<br />

Coexists “C” (ELSE 7)<br />

TRUE<br />

3.2.11.6. Applying rules to Cross Map Targets<br />

TargetId<br />

106058<br />

102056<br />

104055<br />

107054<br />

103053<br />

105059<br />

101050<br />

X<br />

Y<br />

Z<br />

V<br />

TargetCodes<br />

The proposed structures allow rules to be associated with Cross Map Targets instead of Cross Maps. A Cross<br />

Map Target may be the target of several Cross Maps. If there are no rules in a Cross Map any rules in the<br />

referenced Cross Map Target are tested.<br />

© 2002-2012 International Health Terminology Standards Development Organisation CVR #: 30363434<br />

W, Y<br />

W<br />

Y<br />

X, Z<br />

X<br />

Z<br />

V

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

Saved successfully!

Ooh no, something went wrong!