You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

Purpose

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.

Data Structure

|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.
Different versions of a reference set member share the same id but have different effectiveTimes. This allows a reference set member to be modified or made inactive (i.e. removed from the active set) at a specified time.

Y

effectiveTime

Time

The inclusive date or time at which this version of the identified reference set member became the current version.
The current version of this reference set member at time T is the version with the most recent effectiveTime prior to or equal to time T.

N

active

Boolean

The state of the identified reference set member as at the specified effectiveTime.
If active=1 (true) the reference set member is part of the current version of the set, if active=0 (false) the reference set member is not part of the current version of the set.

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.
In this case, set to a subtype of |MRCM attribute range reference set|

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).
This string can be parsed using the ABNF syntax defined for the Expression Constraint Language.

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
typeKeyword =("t"/"T") ("y"/"Y") ("p"/"P") ("e"/"E")

For example, the following range includes the set of all integers:

        TYPE  900000000000476001 |Integer|
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.
This string can be parsed using the ABNF syntax defined for the Expression Constraint Language.
If ranges with concrete values are required, the Expression Constraint Language can be extended as described above (for rangeConstraint).

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

Metadata

The following metadata hierarchy supports this reference set:

Descriptor Template

The table below shows the reference set descriptor for a reference set that follows the  |MRCM attribute range reference set|  pattern. 

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.

Example

The table below shows some example rows from a reference set that follows the format of the  |MRCM attribute range reference set| .

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.


Footnotes
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 &apos;universal restriction&apos; logic. The hierarchy may therefore appear to be &apos;upside down&apos;. 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> .


Feedback