...
If the following input data is provided (in which each row represents a separate expression):
Finding | Relationship |
---|
| Concept |
---|
t | 444244000 |Maternal grandmother of subject| |
---|
|
|
Concept |
---|
t | 57809008 |Myocardial disease| |
---|
|
| Concept |
---|
t | 444292000 |Paternal grandfather of subject| |
---|
|
|
Concept |
---|
t | 46635009 |Diabetes mellitus type 1| |
---|
|
| Concept |
---|
t | 444301002 |Mother of subject| |
---|
|
|
Then the following family history expressions would be generated.
...
The following input data satisfies these cardinality constraints.
Procedure | SMgroup | BodySite | Method |
---|
Concept |
---|
t | 387713003 |Surgical procedure| |
---|
|
| 1 | Concept |
---|
t | 28273000 |Bile duct structure| |
---|
|
| Concept |
---|
t | 281615006 |Exploration - action| |
---|
|
|
2 | Concept |
---|
t | 28231008 |Gallbladder structure| |
---|
|
| Concept |
---|
t | 129304002 |Excision - action| |
---|
|
|
Concept |
---|
t | 387713003 |Surgical procedure| |
---|
|
| 1 | Concept |
---|
t | 66754008 |Appendix structure| |
---|
|
| Concept |
---|
t | 129304002 |Excision - action| |
---|
|
|
If the slots are populated with the values above, then the following expressions would be generated.
...
Scg expression |
---|
Border | ridge |
---|
ShowFormat | block |
---|
|
387713003 |Surgical procedure|:
{ 405813007 |Procedure site - direct| = 66754008 |Appendix structure|, 260686004 |Method| = 129304002 |Excision - action| } |
Example 2
Another example of an expression template with multiple cardinality constraints is shown below. This expression template is used to generate expressions that represent a clinical finding with explicit context.
...
The first cardinality constraint (i.e. 1..1 ) indicates that exactly one value should be populated in the Condition slot. The second cardinality constraint (i.e. 1..2 ) indicates that it is valid to include either 1 or 2 relationship groups (named "AFgroup") in the resulting expression. Each AFgroup relationship group must have exactly one
Concept |
---|
ShowParts | term |
---|
t | 246090004 |Associated finding| |
---|
|
, exactly one
Concept |
---|
ShowParts | term |
---|
t | 408732007 |Subject relationship context| |
---|
|
, exactly one
Concept |
---|
ShowParts | term |
---|
t | 408731000 |Temporal context| |
---|
|
and exactly one
Concept |
---|
ShowParts | term |
---|
t | 408729009 |Finding context| |
---|
|
. The value of the
Concept |
---|
ShowParts | term |
---|
t | 246090004 |Associated finding| |
---|
|
in each
AFgroup is an expression, may optionally be refined using a single relationship group named "SSgroup". Each
SSgroup optionally has one
Concept |
---|
ShowParts | term |
---|
t | 246112005 |Severity| |
---|
|
and optionally has one
Concept |
---|
ShowParts | term |
---|
t | 363698007 |Finding site| |
---|
|
. Based on these cardinality constraints, the input data shown in
Caption reference |
---|
CapRefId | valid-input-example-2 |
---|
CapRefType | Table |
---|
|
would be valid.
PDF: Landscape |
---|
Caption label |
---|
CapId | valid-input-example-2 |
---|
CapType | Table |
---|
| Valid Input Data for Example 2 |
Condition | AF group | Finding | Severity | Site | Relationship | Time | Context |
---|
Concept |
---|
LineBreak | true |
---|
t | 243796009 |Situation with explicit context| |
---|
|
| 1 | Concept |
---|
LineBreak | true |
---|
t | 56265001 |Heart disease| |
---|
|
| Concept |
---|
LineBreak | true |
---|
t | 24484000 |Severe| |
---|
|
|
| Concept |
---|
LineBreak | true |
---|
t | 444292000 |Paternal grandfather of subject| |
---|
|
| Concept |
---|
LineBreak | true |
---|
t | 410512000 |Current or specified time| |
---|
|
| Concept |
---|
LineBreak | true |
---|
t | 410515003 |Known present| |
---|
|
| 2 | Concept |
---|
LineBreak | true |
---|
t | 22298006 |Myocardial infarction| |
---|
|
|
| | Concept |
---|
LineBreak | true |
---|
t | 444292000 |Paternal grandfather of subject| |
---|
|
| Concept |
---|
LineBreak | true |
---|
t | 410589000 |All times past| |
---|
|
| Concept |
---|
LineBreak | true |
---|
t | 410516002 |Known absent| |
---|
|
| Concept |
---|
LineBreak | true |
---|
t | 57177007 |Family history with explicit context| |
---|
|
| 1 | Concept |
---|
LineBreak | true |
---|
t | 363346000 |Cancer| |
---|
|
| Concept |
---|
LineBreak | true |
---|
t | 6736007 |Moderate| |
---|
|
| Concept |
---|
LineBreak | true |
---|
t | 76752008 |Breast structure| |
---|
|
| Concept |
---|
LineBreak | true |
---|
t | 444244000 |Maternal grandmother of subject| |
---|
|
| Concept |
---|
LineBreak | true |
---|
t | 410512000 |Current or specified time| |
---|
|
| Concept |
---|
LineBreak | true |
---|
t | 410515003 |Known present| |
---|
|
| Concept |
---|
LineBreak | true |
---|
t | 160303001 |FH: Diabetes mellitus| |
---|
|
| 1 | Concept |
---|
LineBreak | true |
---|
t | 46635009 |Diabetes mellitus type 1| |
---|
|
|
|
| Concept |
---|
LineBreak | true |
---|
t | 444301002 |Mother of subject| |
---|
|
| Concept |
---|
LineBreak | true |
---|
t | 410512000 |Current or specified time| |
---|
|
| Concept |
---|
LineBreak | true |
---|
t | 410515003 |Known present| |
---|
|
|
|
If the slots are populated with the values above, then the following expressions would be generated.
...