SNOMED Documentation Search


Versions Compared

Key

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

...


PDF: Landscape



Expression Data

DefStatus

Disease

Group

Site

Morphology

1

===


Scg expression
46866001 |Fracture of lower limb|


1


Scg expression
12611008 |Bone structure of tibia|



Scg expression
72704001 |Fracture|


2


<<<


Scg expression
92196005 |Benign neoplasm of lung| 


1


Scg expression
39607008 |Lung structure|



Scg expression
3898006 |Neoplasm, benign| 



Scg expression
92038006 |Benign neoplasm of bronchus|


2


Scg expression
955009 |Bronchial structure|



Scg expression
3898006 |Neoplasm, benign|


3

<<<


Scg expression
60667009 |Closed fracture of rib| 


1


Scg expression
113197003 |Bone structure of rib|



Scg expression
34305007 |Fracture, multiple, closed| 



Scg expression
36991002 |Closed fracture of upper limb|



Scg expression
371195002 |Bone structure of upper limb|


4===


Scg expression
16119006 |Abscess of jaw|


1


Scg expression
70925003 |Bone structure of maxilla|



Scg expression
44132006 |Abscess|



Scg expression
109327001 |Abscess of facial bone|



Scg expression
128234004 |Disorder of maxilla|



Using input data shown in  to populate the given expression template will result in following four expressions.

Expression
1


Scg expression
	=== 46866001 |Fracture of lower limb|:
		{ 363698007 |Finding site| = 12611008 |Bone structure of tibia|,
		  116676008 |Associated morphology |= 72704001 |Fracture| }


2


Scg expression
	<<< 92196005 |Benign neoplasm of lung| + 92038006 |Benign neoplasm of bronchus|:
		{ 363698007 |Finding site| = 39607008 |Lung structure|,
		  116676008 |Associated morphology| = 3898006 |Neoplasm, benign| },
		{ 363698007 |Finding site| = 955009 |Bronchial structure|,
		  116676008 |Associated morphology| = 3898006 |Neoplasm, benign| }


3


Scg expression
	<<< 60667009 |Closed fracture of rib| + 
	36991002 |Closed fracture of upper limb| :
		{ 363698007 |Finding site| = 113197003 |Bone structure of rib|,
		  363698007 |Finding site| = 371195002 |Bone structure of upper limb|,
		  116676008 |Associated morphology| = 34305007 |Fracture, multiple, closed|}


4


Scg expression
	=== 16119006 |Abscess of jaw| + 
		109327001 |Abscess of facial bone| +
		128234004 |Disorder of maxilla|:
			{ 363698007 |Finding site| = 70925003 |Bone structure of maxilla|, 
			  116676008 |Associated morphology| = 44132006 |Abscess|}


Example 2

The expression template below is used as a pattern for family history expressions. It contains a nested relationship group (i.e. SSgroup) inside the outer relationship group (i.e. AFgroup). To populate this expression template, the input data must be clear as to where each value should be used, and how these values should be grouped into relationship groups and expressions.

Scg expression
Borderridge
	[[+id (<< 413350009 |Finding with explicit context| ) @Condition]]:
		[[ 1..2 @AFgroup ]] { [[1..1]]  246090004 |Associated finding|  = ([[+id (<<  404684003 |Clinical finding| ) @Finding]]:
			[[0..1 @SSgroup]] { [[0..1]]  246112005 |Severity|  = [[+id (<  272141005 |Severities| ) @Severity]],
								[[0..1]]  363698007 |Finding site|  = [[+id (<  91723000 |Anatomical structure| ) @Site]] }),
						[[1..1]]  408732007 |Subject relationship context|  = [[+id (<  444148008 |Person in family of subject| ) @Relationship]],
						[[1..1]]  408731000 |Temporal context|   = [[+id (<  410510008 |Temporal context value| ) @Time]],
						[[1..1]]  408729009 |Finding context|   = [[+id (<  410514004 |Finding context value| ) @Context]] }

To support the creation of input data for this expression template, the logical model in  above can be specialized as shown below in Please note that this model has been simplified by removing unnamed logical classes, which have a cardinality of 1..1 and no data attribute. 


This logical model can be populated with input data, as shown below in .

PDF: Landscape



Expression DataConditionAFgroupFinding

SSgroup

SeveritySiteRelationshipTimeContext
1


Scg expression
266898002 |Family history: Respiratory disease|


1


Scg expression
195967001 |Asthma|


1


Scg expression
24484000 |Severe|




Scg expression
444301002 |Mother of subject|



Scg expression
410589000|All times past|



Scg expression
410515003 |Known present|


2


Scg expression
161077003 |Father smokes|


1


Scg expression
77176002 |Smoker|


1


Scg expression
255604002 | Mild|




Scg expression
444295003 |Father of subject|



Scg expression
15240007 |Current|



Scg expression
410515003 |Known present|



Scg expression
161078008 |Mother smokes|


2


Scg expression
77176002 |Smoker|


1


Scg expression
24484000 |Severe|




Scg expression
444301002 |Mother of subject|



Scg expression
15240007 |Current|



Scg expression
410515003 |Known present|


3


Scg expression
160288009 |Family history: neoplasm of skin| 


1


Scg expression
372130007 |Malignant neoplasm of skin|


1


Scg expression
6736007 |Moderate|



Scg expression
113179006 |Skin structure of nose|



Scg expression
444304005 |Sister of subject|



Scg expression
410511007 |Current or past (actual)|





Scg expression
410515003 |Known present|





Scg expression
275937001 |Family history of cancer|


2


Scg expression
255604002 |Mild|



Scg expression
88089004 |Skin structure of lip|



Using the input data shown above to process the given expression template will result in following three expressions.

Expression
1


Scg expression
	266898002 |Family history: Respiratory disease|:
		{ 246090004 |Associated finding| = (195967001 |Asthma|: { 246112005 |Severity| = 24484000 |Severe| }),
		   408732007 |Subject relationship context| = 444301002 |Mother of subject|,
		   408731000 |Temporal context| = 410511007 |Current or past (actual)|,
		   408729009 |Finding context| = 410515003 |Known present| }


2


Scg expression
	161077003 |Father smokes| + 161078008 |Mother smokes|:
		{ 246090004 |Associated finding| = (77176002 |Smoker|: { 246112005 |Severity| = 24484000 |Severe| }),
		   408732007 |Subject relationship context| = 444295003 |Father of subject|,
		   408731000 |Temporal context| = 15240007 |Current|,
		   408729009 |Finding context| = 410515003 |Known present|},
		{ 246090004 |Associated finding| = (77176002 |Smoker|: { 246112005 |Severity| = 255604002 |Mild| }),
		   408732007 |Subject relationship context| = 444301002 |Mother of subject|,
		   408731000 |Temporal context| = 15240007 |Current|,
		   408729009 |Finding context| = 410515003 |Known present| }


3


Scg expression
	160288009 |Family history: neoplasm of skin| + 275937001 |Family history of cancer|:
		{ 246090004 |Associated finding| = (372130007 |Malignant neoplasm of skin|:
				{ 246112005 |Severity| = 6736007 |Moderate|, 363698007 |Finding site| = 113179006 |Skin structure of nose| },
				{ 246112005 |Severity| = 255604002 |Mild|, 363698007 |Finding site| = 88089004 |Skin structure of lip| }), 
		408732007 |Subject relationship context| = 444304005 | Sister of subject|,
		408731000 |Temporal context| = 410511007 |Current or past (actual)|,
		408729009 |Finding context| = 410515003 |Known present| }


Example 3

The expression template below represents a procedure with a single method and one or more procedure devices. Please note that in the first attribute name-value pair, both the attribute name and the attribute value use a slot. Because this name-value pair is repeatable, the input data needs to include an attribute name-value pair slot to ensure that the corresponding attribute name and attribute value stays connected.

Scg expression
Borderridge
ShowFormatblock
	[[+id (<< 71388002 |Procedure|) @Procedure]]:
		[[1..1 @Group]]
			{ [[1..* @PD_ANVpair]] [[+id (< 405815000 |Procedure device|) @DeviceType]] = [[+ (<260787004 |Physical object|) @Device]],
			  [[1..1]] 260686004 |Method| = [[+ (<129264002 |Action (qualifier value)|) @Method]] }

To support the creation of input data for this expression template, the logical model in  above can be specialized as shown below in . Please note that this model has been simplified by removing unnamed logical classes, which have a cardinality of 1..1 and no data attribute. 


This logical model can be populated with input data, as shown below in . Please note that because the first attribute name-value pair is repeatable and uses a replacement slot for both the attribute name and attribute value, the input data needs to include the attribute name-value pair slot to ensure that the corresponding attribute name and attribute value stays connected.

PDF: Landscape



Expression Data

Procedure

Group

PD_ANVpair

DeviceType

Device

Method

1


Scg expression
387713003 
|Surgical procedure|


11


Scg expression
363699004 
|Direct device|



Scg expression
2282003 
|Breast prosthesis, device|



Scg expression
257867005 
|Insertion - action|


2


Scg expression
71388002 
|Procedure|


1

1


Scg expression
363699004 
|Direct device|



Scg expression
313025003 
|Hearing aid battery|



Scg expression
282089006 
|Replacement - action|


2


Scg expression
363710007
|Indirect device|



Scg expression
6012004
|Hearing aid, device|



Using the input data shown in  to process the given expression template will result in the following two expressions.

Expression
1


Scg expression
	387713003 |Surgical procedure|:
            { 363699004 |Direct device| = 2282003 |Breast prosthesis, device|,
              260686004 |Method| = 257867005 |Insertion - action|}


2


Scg expression
	384728007 |Replacement of device|:
            { 363699004 |Direct device| = 313025003 |Hearing aid battery|,
              363710007 |Indirect device| = 6012004 |Hearing aid, device|,
              260686004 |Method| = 282089006 |Replacement - action|}


Example 4

The expression template below represents a 

Concept
ShowPartsterm
t64572001 |Disease|
 with one or more values for
Concept
ShowPartsterm
t363698007 |Finding site|
 and 
Concept
ShowPartsterm
t116676008 |Associated morphology|
, grouped into one or more relationship groups.

Scg expression
Borderridge
ShowFormatblock
	64572001 |Disease|: 
		[[@Group]] { 363698007 |Finding site|  =  [[+ (<< 272673000 |Bone structure|) @Site]],
					 116676008 |Associated morphology|  =  [[+ (<< 72704001 |Fracture|) @Morphology]] }

To support the creation of input data for this expression template, the logical model in  above can be specialized as shown below in . Please note that this model has been simplified by removing unnamed logical classes, which have a cardinality of 1..1 and no data attribute. 

Image Modified

 below shows some example input data for the above template represented using the tabular format used in the previous examples.


Expression Data

Group

Site

Morphology

1

1

Concept
t312763008 |Bone structure of trunk|

Concept
t72704001 |Fracture|

2

Concept
t84667006 |Bone structure of cervical vertebra|

Concept
t72704001 |Fracture|

2

1

Concept
t71341001 |Bone structure of femur|

Concept
t72704001 | Fracture |

3

1

Concept
t12611008 | Bone structure of tibia|

Concept
t72704001 |Fracture|

In addition to this tabular representation, there are a wide variety of other possible formats for representing template input data, including json, xml, tsv, csv etc. The exact format used will depend on the format required by the template processor. For example, the above input data can be represented in JSON as shown below.

Panel
titleExample JSON Representation of Input Data
{"Expression Data": [
        { "Group": [
                {  "Site":"312763008 |Bone structure of trunk|",
                    "Morphology":"72704001 |Fracture|" },
                {  "Site": "84667006 |Bone structure of cervical vertebra|",
                    "Morphology": "72704001 |Fracture|" } ] },
        { "Group": [
                {  "Site":"71341001 |Bone structure of femur|",
                    "Morphology": "72704001 |Fracture|" } ] },
        { "Group":[  
                {  "Site":"12611008 | Bone structure of tibia|",
                    "Morphology": "72704001 |Fracture|" } ] } ] }

Simplification of Data Representation

...