Search



Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Scg expression
Borderridge
ShowFormatblock
	<< 404684003 |Clinical finding|:
		>> 24607500342752001 |CausativeDue agentto| = << 267038008 |Edema|

This expression constraint is represented in the long syntax as:

Scg expression
Borderridge
ShowFormatblock
	descendantOrSelfOf 404684003 |Clinical finding|:
		ancestorOrSelfOf 42752001 246075003|CausativeDue agentto| = descendantOrSelfOf 267038008 |Edema|

...

When numeric concrete values (i.e. Integers and Decimals) are compared, a set of standard mathematical operators may be used. These mathematical operators are:

Operator

Name

=

Equals

!=

Not equals

<

Less than

<=

Less than or equals

>

Greater than

>=

Greater than or equals

...

The following expression constraint is satisfied only by amoxicillin tablets, whose strength is oral medicinal products, which contain amoxicillin and have a presentation strength greater than or equal to 200 mg

Footnote Macro

Please note that these example expressions are based on a hypothetical drug concept model, and are not intended to reflect any specific drug model. In these expressions, the SNOMED CT identifiers created with the '9999999' namespace are for example only, and should not be used in a production environment.

.  

PDF: Force Page Break

250 mg.

PDF: Force Page Break

Scg expression
Borderridge
ShowFormatblock
<763158003 |Medicinal product (product)|:
	411116001 |Has manufactured dose form (attribute)
Scg expression
Borderridge
ShowFormatblock
	< 27658006 |Amoxicillin|:
		411116001 |Has dose form| = << 385055001385268001 |TabletOral dose form (dose form)|,
	{	{<< 179999999100127489000 |Has basisactive ofingredient strength(attribute)| = (<< 219999999102372687004 |Amoxicillin only(substance)|:,
 			1899999991031142135004 |Has presentation strength magnitude numerator value (attribute)| >= #200#250, 199999999101
		732945000 |Has presentation strength numerator unit (attribute)| = 258684004 |mg|)}milligram (qualifier value)|}	

Please note that, as per SNOMED CT Compositional Grammar, integer and decimal values are preceded by a hash character (e.g. "#500"), while string values are surrounded by double quotes (e.g. "PANADOL").

To find those capsules oral amoxicillin products that have a strength between 500 250 and 800 mg (inclusive), the following expression constraint may be used:

Scg expression
Borderridge
ShowFormatblock
	< 27658006 |Amoxicillin<763158003 |Medicinal product (product)|:
		411116001 |Has manufactured dose form (attribute)| = << 385268001 |Oral 385055001dose |Tabletform (dose form)|,
	{	{<< 179999999100127489000 |Has basisactive ofingredient strength(attribute)| = (<< 219999999102372687004 |Amoxicillin only(substance)|:,
 			1899999991031142135004 |Has presentation strength magnitude numerator value (attribute)| >= #500#250, 
			1899999991031142135004 |Has presentation strength magnitude numerator value (attribute)| <= #800, 
			199999999101732945000 |Has presentation strength numerator unit (attribute)| = 258684004 |mg|)}milligram (qualifier value)|}	

Concrete values of type string and boolean may also be included in an expression constraint, and compared using an 'equal to' (i.e. "=") or 'not equal to' (i.e. "!=") operator. The following expression constraint is satisfied only by products with a trade product name equal to "PANADOL"

Footnote Macro

Concrete values of type string are case sensitive and compared using the Unicode Collation Algorithm (http://www.unicode.org/reports/tr10/).

...

Scg expression
Borderridge
ShowFormatblock
	< 373873005 |Pharmaceutical / biologic product|:
		2099999991043460481009 |Has tradeproduct name| = "PANADOL"                

The following expression constraint is satisfied only by products that are in the national benefit scheme (of the given country)

Footnote Macro

Please note that the concept 859999999102 |Is in national benefit scheme| is a fictitious attribute used here to illustrate boolean values.

.

Scg expression
Borderridge
ShowFormatblock
	< 373873005 |Pharmaceutical / biologic product|:
		859999999102 |Is in national benefit scheme| = TRUE

...

Scg expression
Borderridge
ShowFormatblock
	descendantOf 91723000 |Anatomical structure|:
		reverseOf 363698007 |Finding site| = descendantOf 125605004 |Fracture of bone|

Anchor
DottedAttributes
DottedAttributes
Dotted Attributes

An alternative way of representing 'reversed attributes' is by applying the dot notation to represented them as dotted attributes. Using this alternative notation, "

...

Scg expression
Borderridge
ShowFormatblock
	< 125605004 |Fracture of bone|.363698007 |Finding site|

The next example below finds the set of substances, which are active ingredients of a 'TRIPHASIL tablet'an active ingredient in any product containing amoxicillin.

Scg expression
Borderridge
ShowFormatblock
	< 105590001 |Substance|: 
		R << 127489000 |Has active ingredient| = < 24999999910127658006 |TRIPHASILProduct containing tabletamoxicillin|

This expression constraint is represented in the long syntax as:

Scg expression
Borderridge
ShowFormatblock
	descendantOf 105590001 |Substance|: 
		reverseOfReverseOf descendantOrSelfOf 127489000 |Has active ingredient| = descendantOf 24999999910127658006 |TRIPHASILProduct containing tabletamoxicillin|

An equivalent way of representing this constraint, using the 'dot notation' is:

Scg expression
Borderridge
ShowFormatblock
	< 105590001 |Substance| AND (249999999101 < 27658006 |TRIPHASILProduct containing tabletamoxicillin| . << 127489000 |Has active ingredient| )

or (using the

Gloss
tSNOMED CT concept model
 to simplify):

Scg expression
Borderridge
ShowFormatblock
	249999999101< 27658006 |TRIPHASILProduct containing tabletamoxicillin| . << 127489000 |Has active ingredient|

...