Page History
...
Scg expression | ||||
---|---|---|---|---|
| ||||
<< 404684003 |Clinical finding|: >> 24607500342752001 |CausativeDue agentto| = << 267038008 |Edema| |
This expression constraint is represented in the long syntax as:
Scg expression | ||||
---|---|---|---|---|
| ||||
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 | ||||
---|---|---|---|---|
| ||||
<763158003 |Medicinal product (product)|:
411116001 |Has manufactured dose form (attribute) | ||||
Scg expression | ||||
| ||||
< 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 | ||||
---|---|---|---|---|
| ||||
< 27658006 |Amoxicillin<763158003 |Medicinal product (product)|: 411116001 |Has manufactured dose form form (attribute)| = << 385055001385268001 |TabletOral dose form (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 | ||||
---|---|---|---|---|
| ||||
< 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 | ||||
---|---|---|---|---|
| ||||
< 373873005 |Pharmaceutical / biologic product|: 859999999102 |Is in national benefit scheme| = TRUE |
...
Scg expression | ||||
---|---|---|---|---|
| ||||
descendantOf 91723000 |Anatomical structure|: reverseOf 363698007 |Finding site| = descendantOf 125605004 |Fracture of bone| |
Anchor | ||||
---|---|---|---|---|
|
An alternative way of representing 'reversed attributes' is by applying the dot notation to represented them as dotted attributes. Using this alternative notation, "
...