Page tree

These are reproduced from Appendix A of the Expression Constraint Language - Specification and Guide which provides detailed background and further information on ECL. Links embedded in the text below may take you to that document or to other external references.

Simple Expression Constraints


Expression Constraint

Valid Expression1

Precoordinated

Postcoordinated

-

-

*

 

Footnotes
Ref Notes
1 Where necessary, these examples make some assumptions about the membership of the example reference sets.
2 Please note that this makes the assumption that the given expression constraint is executed against a finite set of expressions that has been pre-classified (e.g. in an expression repository), and that after classification there are no intermediate expressions between this expression and 404684003 |Clinical finding|.
3 Please note that this makes the assumption that the given expression constraint is executed against a finite set of expressions that has been pre-classified (e.g. in an expression repository), and that after classification there are no intermediate expressions between 40541001 |Acute pulmonary edema| and this expression.

Refinements


Expression Constraint

Valid Expression1 2

Precoordinated

Postcoordinated

-
-

97341000119105 Proliferative retinopathy with retinal edema due to type 



Footnotes
Ref Notes
1 Please note that some of these examples are based on a hypothetical drug concept model. These examples are not intended to reflect any specific drug model.
2 SNOMED CT identifiers with the '9999999' namespace were created for example only, and should not be used in a production environment.

Cardinality


Expression Constraint

Valid Expression1

Precoordinated

Postcoordinated

-

 


Footnotes
Ref Notes
1 The SNOMED CT identifiers created with the '9999999' namespace are for example only, and should not be used in a production environment.
2
As mentioned earlier, only non-redundant defining attributes are included in the cardinality count. Because <a href="http://snomed.info/id/62413002" title="62413002 | Bone structure of radius |" class="external-link conf-macro output-inline" rel="nofollow" data-hasbody="false" data-macro-name="concept"> <span style="color: #606060;" class="sctid">62413002</span> <span style="color: #00ccff;" class="sctpipe">|</span> <span style="color: #000000;" class="sctid">Bone structure of radius</span><span style="color: #00ccff;" class="sctpipe">|</span></a> is a subtype of <a href="http://snomed.info/id/299701004" title="299701004 | Bone of forearm |" class="external-link conf-macro output-inline" rel="nofollow" data-hasbody="false" data-macro-name="concept"> <span style="color: #606060;" class="sctid">299701004</span> <span style="color: #00ccff;" class="sctpipe">|</span> <span style="color: #000000;" class="sctid">Bone of forearm</span><span style="color: #00ccff;" class="sctpipe">|</span></a> , the refinement &quot;<span class="conf-macro output-inline" data-hasbody="false" data-macro-name="concept"> <a href="http://snomed.info/id/363698007" title="363698007 | Finding site |" class="external-link" rel="nofollow"> <span style="color: #606060;" class="sctid">363698007</span> <span style="color: #00ccff;" class="sctpipe">|</span> <span style="color: #000000;" class="sctid">Finding site</span><span style="color: #00ccff;" class="sctpipe">|</span></a> <span style="color: #a00000;" class="sctid">&nbsp;=&nbsp;</span> <a href="http://snomed.info/id/299701004" title="299701004 | Bone of forearm |" class="external-link" rel="nofollow"> <span style="color: #606060;" class="sctid">299701004</span> <span style="color: #00ccff;" class="sctpipe">|</span> <span style="color: #000000;" class="sctid">Bone of forearm</span><span style="color: #00ccff;" class="sctpipe">|</span></a> </span>&quot; is redundant.

Conjunction and Disjunction


Expression Constraint

Valid Expression1

Precoordinated

Postcoordinated



404684003 |Clinical finding| :
 {
363698007 |Finding site|  = <<  39057004 |Pulmonary valve structure| ,
116676008 |Associated morphology|  = <<  415582006 |Stenosis| } OR 
{
363698007 |Finding site|  =                               <<  53085002 |Right ventricular structure| ,
116676008 |Associated morphology|  = <<  56246009 |Hypertrophy| }                                                         

-



Footnotes
Ref Notes
1 Where necessary, these examples make some assumptions about the membership of the example reference sets.

Exclusion and Not Equals


Expression Constraint

Valid Expression1

Precoordinated

Postcoordinated

 


Footnotes
Ref Notes
1 Where necessary, these examples make some assumptions about the membership of the example reference sets.

Nested Expression Constraints


Expression Constraint

Valid Expression1

Precoordinated

Postcoordinated

-

-

-

 


Footnotes
Ref Notes
1 Where necessary, these examples make some assumptions about the membership of the example reference sets.



  • No labels