SNOMED Documentation Search
An |MRCM attribute range reference set| allows attributes to be associated with a valid value range for a given SNOMED CT content type and rule strength. The range of each attribute is defined using an Expression Constraint. This expression constraint represents the set of concepts, expressions, or concrete values that may be used as the value of the given attribute.1
The |MRCM attribute range reference set| also provides a summary of the concept model rule associated with each attribute (including all valid domains and the given range) using an Expression Constraint representation. This attribute rule can be completely auto-generated by combining information from the |MRCM attribute domain reference set| and the |MRCM attribute range reference set| . It is therefore recommended that this constraint is not edited directly, but is instead automatically updated.
A |MRCM attribute range reference set| is structured as shown in the following table.
Field | Datatype | Purpose | Immutable |
---|---|---|---|
id | UUID | A 128 bit unsigned integer, uniquely identifying this reference set member. | Y |
effectiveTime | Time | The inclusive date or time at which this version of the identified reference set member became the current version. | N |
active | Boolean | The state of the identified reference set member as at the specified effectiveTime. | N |
moduleId | SCTID | Identifies the SNOMED CT module that contains this reference set member as at the specified effectiveTime. The value must be a subtype of
<a href="http://snomed.info/id/900000000000443000" title="900000000000443000 | Module |" class="external-link conf-macro output-inline" rel="nofollow" data-hasbody="true" data-macro-name="scg-expression">
<span style="color: #00ccff;" class="sctpipe">|</span><span style="color: #000000;" class="sctid">Module</span><span style="color: #00ccff;" class="sctpipe">|</span></a>
within the metadata hierarchy. | N |
refsetId | SCTID | Identifies the reference set to which this reference set member belongs. | Y |
referenced ComponentId | SCTID | A reference to the SNOMED CT attribute concept to which the range defined by this member applies. | Y |
rangeConstraint | String | An expression constraint, which defines the set of concepts that may be used as the value of the given attribute (identified by referencedComponentId). If ranges using concrete values are required, the Expression Constraint Language can be extended with the keyword "TYPE", by replacing the simpleExpressionConstraint rule with the following two rules: simpleExpressionConstraint = [constraintOperator ws] eclFocusConcept / typeKeyword ws conceptReference For example, the following range includes the set of all integers: Any descendant of
<a href="http://snomed.info/id/900000000000459000" title="900000000000459000 | Attribute type |" class="external-link conf-macro output-inline" rel="nofollow" data-hasbody="true" data-macro-name="scg-expression">
<span style="color: #00ccff;" class="sctpipe">|</span><span style="color: #000000;" class="sctid">Attribute type</span><span style="color: #00ccff;" class="sctpipe">|</span></a>
may be used as the type of an attribute range. | Y |
attributeRule | String | An Expression Constraint that captures the domain, range and cardinality constraints for the given attribute, rule strength and content type. | N |
ruleStrengthId | SCTID | A subtype of |Concept model rule strength| which specifies whether the given rule is mandatory (resulting in an error) or optional (resulting in a warning). | N |
contentTypeId | SCTID | A subtype of |Content type| which indicates the type of SNOMED CT content over which this rule applies. | N |
The following metadata hierarchy supports this reference set:
The table below shows the reference set descriptor for a reference set that follows the |MRCM attribute range reference set| pattern.
refsetId | referencedComponentId | attributeDescription | attributeType | attributeOrder |
---|---|---|---|---|
0 | ||||
1 | ||||
2 | ||||
3 | ||||
4 |
Note: The table above omits the initial four columns of data present in the release file. These follow the standard format for id, effectiveTime, active and moduleId. Additionally, to aid understanding, the table above also shows the term from one of the descriptions associated with each of the identified concepts. The release file only includes the identifier of these concepts.
The table below shows some example rows from a reference set that follows the format of the |MRCM attribute range reference set| .
refsetId | referencedComponentId | rangeConstraint | attributeRule | ruleStrengthId | contentTypeId |
(<< 404684003 |Clinical finding (finding)| OR << 272379006 |Event (event)| ): [0..*] { [0..*] 255234002 |After| = (<< 404684003 |Clinical finding (finding)| OR << 71388002 |Procedure (procedure)| )} | |||||
Note: The table above omits the initial four columns of data present in the release file. These follow the standard format for id, effectiveTime, active and moduleId. Additionally, to aid understanding, the table above also shows the term from one of the descriptions associated with each of the identified concepts. The release file only includes the identifier of these concepts.
Ref |
Notes |
---|---|
1 | If ranges including concrete values (such as integers or strings) are required, the Expression Constraint Language can be extended, as described for rangeConstraint in the Data Structure section on this page. |
2 |
Please note that the
<a href="http://snomed.info/id/723574004" title="723574004 | Content type |" class="external-link conf-macro output-inline" rel="nofollow" data-hasbody="true" data-macro-name="scg-expression">
<span style="color: #00ccff;" class="sctpipe">|</span><span style="color: #000000;" class="sctid">Content type</span><span style="color: #00ccff;" class="sctpipe">|</span></a>
hierarchy is designed using 'universal restriction' logic. The hierarchy may therefore appear to be 'upside down'. However, it was designed in this way because if an MRCM rule applies to
<a href="http://snomed.info/id/723596005" title="723596005 | All SNOMED CT content |" class="external-link conf-macro output-inline" rel="nofollow" data-hasbody="true" data-macro-name="scg-expression">
<span style="color: #00ccff;" class="sctpipe">|</span><span style="color: #000000;" class="sctid">All SNOMED CT content</span><span style="color: #00ccff;" class="sctpipe">|</span></a>
then it also applies to the Content Types that are a supertype of this - including
<a href="http://snomed.info/id/723594008" title="723594008 | All precoordinated SNOMED CT content |" class="external-link conf-macro output-inline" rel="nofollow" data-hasbody="true" data-macro-name="scg-expression">
<span style="color: #00ccff;" class="sctpipe">|</span><span style="color: #000000;" class="sctid">All precoordinated SNOMED CT content</span><span style="color: #00ccff;" class="sctpipe">|</span></a>
and
<a href="http://snomed.info/id/723595009" title="723595009 | All postcoordinated SNOMED CT content |" class="external-link conf-macro output-inline" rel="nofollow" data-hasbody="true" data-macro-name="scg-expression">
<span style="color: #00ccff;" class="sctpipe">|</span><span style="color: #000000;" class="sctid">All postcoordinated SNOMED CT content</span><span style="color: #00ccff;" class="sctpipe">|</span></a>
. |