This wiki has undergone a migration to Confluence found Here
Difference between revisions of "Requirements-Value Set Content"
Jump to navigation
Jump to search
(New page: {{V3 Methodology Requirements}} Value set content defines an enumeration or expression that resolves to a set of codes from one or more code systems. ==Content== ==Filters== ==Qualifier...) |
|||
Line 2: | Line 2: | ||
Value set content defines an enumeration or expression that resolves to a set of codes from one or more code systems. | Value set content defines an enumeration or expression that resolves to a set of codes from one or more code systems. | ||
− | == | + | =Content= |
+ | {| border="2" cellspacing="0" cellpadding="3" width="600" | ||
+ | | '''Requirement''' | ||
+ | | Value Set content definitions may have a number of different types of annotations | ||
+ | |- | ||
+ | | ''Rationale'' | ||
+ | | See rationales for individual annotations types | ||
+ | |- | ||
+ | | ''Implementation'' | ||
+ | | | ||
+ | * [[Requirements-Annotations#Definition|Description]] | ||
+ | * [[Requirements-Annotations#Design Comments|Design Comments]] | ||
+ | * [[Requirements-Annotations#Stability Remarks|Stability Remarks]] | ||
+ | * [[Requirements-Annotations#Other Annotation|Other Annotation]] | ||
+ | * [[Requirements-Annotations#Open Issue|Open Issue]] | ||
+ | * [[Requirements-Annotations#Change Request|Change Request]] | ||
+ | |} | ||
− | |||
− | ==Qualifiers | + | {| border="2" cellspacing="0" cellpadding="3" width="600" |
+ | | '''Requirement''' | ||
+ | | Content definitions need to be able indicate which code system the content is being drawn from. | ||
+ | |- | ||
+ | | ''Rationale'' | ||
+ | | The code system determines the codes, properties, qualifiers and other relationships that can be used to define content. | ||
+ | |- | ||
+ | | ''MIF'' | ||
+ | | mif-vocabulary-model.xsd/ContentDefinition/drawnFromCodeSystem | ||
+ | |} | ||
+ | |||
+ | {| border="2" cellspacing="0" cellpadding="3" width="600" | ||
+ | | '''Requirement''' | ||
+ | | Content definitions need to be able indicate which [[Requirements-Code System Supplments|code system supplement(s)]], if any, they are based on. the content is being drawn from. | ||
+ | |- | ||
+ | | ''Rationale'' | ||
+ | | Code system supplements provide additional properties, relationships and representations that may be used to define value set content. | ||
+ | |- | ||
+ | | ''MIF'' | ||
+ | | mif-vocabulary-model.xsd/ContentDefinition/usesCodeSystemSupplement | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| border="2" cellspacing="0" cellpadding="3" width="600" | ||
+ | | '''Requirement''' | ||
+ | | Content definitions need to be able to identify which types of representations are allowed for the concepts selected by the content definition. | ||
+ | |- | ||
+ | | ''Rationale'' | ||
+ | | Some code systems may have multiple codes and/or multiple print names for a given concept. When defining the value set, there's often a need to constrain to only a single code or print name. For example, with ISO country codes, there might be a desire to constrain to only the 2-character codes. Or for multi-language code systems, to constrain to a particular language print name. | ||
+ | |- | ||
+ | | ''MIF'' | ||
+ | | mif-vocabulary-model.xsd/ContentDefinition/allowedRepresentation | ||
+ | |} | ||
+ | |||
+ | |||
+ | =Filters= | ||
+ | {| border="2" cellspacing="0" cellpadding="3" width="600" | ||
+ | | '''Requirement''' | ||
+ | | Valueset content must support complex structures involving combinations of other content structures such as unions, intersections and exclusions. | ||
+ | |- | ||
+ | | ''Rationale'' | ||
+ | | Many value set definitions are complex. For example "all specializations of code X or code Y, except specializations of code Z" | ||
+ | |- | ||
+ | | ''MIF'' | ||
+ | | mif-vocabulary-model.xsd/ContentDefinition/combinedContent | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| border="2" cellspacing="0" cellpadding="3" width="600" | ||
+ | | '''Requirement''' | ||
+ | | Content needs to be able to be defined by enumerating a set of allowed codes | ||
+ | |- | ||
+ | | ''Rationale'' | ||
+ | | For simple value sets or unsophisticated code systems, enumeration of the allowed set of codes is the best or only way to define value set content | ||
+ | |- | ||
+ | | ''MIF'' | ||
+ | | mif-vocabulary-model.xsd/ContentDefinition/codeBasedContent | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| border="2" cellspacing="0" cellpadding="3" width="600" | ||
+ | | '''Requirement''' | ||
+ | | Content needs to be able to be defined as a code and/or codes that have relationships of a particular type to that code, including such constructs as direct relations to the head code, the complete set of codes found by traversing relationships of the specified type or "leaf" code - those codes that are part of the complete traversal set that have no outbound relationships. | ||
+ | |- | ||
+ | | ''Rationale'' | ||
+ | | This is a common mechanism for value set definition in code systems that have parent-child or similar relationships. | ||
+ | |- | ||
+ | | ''MIF'' | ||
+ | | mif-vocabulary-model.xsd/ContentDefinition/codeBasedContent | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| border="2" cellspacing="0" cellpadding="3" width="600" | ||
+ | | '''Requirement''' | ||
+ | | Content needs to be able to be defined based on properties held by the concepts. This might be inclusion of concepts that have specified values for certain properties or exclusion of concepts with specified values for certain properties. The values may either be strings or REGEX expressions | ||
+ | |- | ||
+ | | ''Rationale'' | ||
+ | | Examples include filtering on LOINC properties such as Class or B/R/O, or supplemental properties such as "orderable". For more complex code system properties, matches may need to be on such things as "starts with 'b'". | ||
+ | |- | ||
+ | | ''MIF'' | ||
+ | | mif-vocabulary-model.xsd/ContentDefinition/propertyBasedContent | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| border="2" cellspacing="0" cellpadding="3" width="600" | ||
+ | | '''Requirement''' | ||
+ | | Content needs to be able to be defined based on the actual string value of the codes for the property. | ||
+ | |- | ||
+ | | ''Rationale'' | ||
+ | | Some code systems, such as the ICD code systems embed semantics in the codes themselves rather than using properties or relationships. As a result, the only way to define expression based content filters is with filters on the code. | ||
+ | |- | ||
+ | | ''Methodology'' | ||
+ | | Two types of expression languages are supported - regex and Terminology Query Language (TQL) | ||
+ | |- | ||
+ | | ''MIF'' | ||
+ | | mif-vocabulary-model.xsd/ContentDefinition/codeFilterContent | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| border="2" cellspacing="0" cellpadding="3" width="600" | ||
+ | | '''Requirement''' | ||
+ | | Content needs to be able to be defined by referencing existing value sets | ||
+ | |- | ||
+ | | ''Rationale'' | ||
+ | | Some value sets are most efficiently composed by referencing other existing value sets. This supports re-use and simplifies maintenance. | ||
+ | |- | ||
+ | | ''MIF'' | ||
+ | | mif-vocabulary-model.xsd/ContentDefinition/codeFilterContent | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| border="2" cellspacing="0" cellpadding="3" width="600" | ||
+ | | '''Requirement''' | ||
+ | | In some cases, content needs to be defined using free text description. | ||
+ | |- | ||
+ | | ''Rationale'' | ||
+ | | Some content definitions cannot be defined by formal mechanisms due to limitations of the code system. In other casesthe initial requirement is captured as text and is only later formally represented. | ||
+ | |- | ||
+ | | ''MIF'' | ||
+ | | mif-vocabulary-model.xsd/ContentDefinition/nonComputableContent|} | ||
+ | |||
+ | |||
+ | =Qualifiers= | ||
{| border="2" cellspacing="0" cellpadding="3" width="600" | {| border="2" cellspacing="0" cellpadding="3" width="600" | ||
| '''Requirement''' | | '''Requirement''' |
Revision as of 06:42, 27 November 2009
Value set content defines an enumeration or expression that resolves to a set of codes from one or more code systems.
Content
Requirement | Value Set content definitions may have a number of different types of annotations |
Rationale | See rationales for individual annotations types |
Implementation |
Requirement | Content definitions need to be able indicate which code system the content is being drawn from. |
Rationale | The code system determines the codes, properties, qualifiers and other relationships that can be used to define content. |
MIF | mif-vocabulary-model.xsd/ContentDefinition/drawnFromCodeSystem |
Requirement | Content definitions need to be able indicate which code system supplement(s), if any, they are based on. the content is being drawn from. |
Rationale | Code system supplements provide additional properties, relationships and representations that may be used to define value set content. |
MIF | mif-vocabulary-model.xsd/ContentDefinition/usesCodeSystemSupplement |
Requirement | Content definitions need to be able to identify which types of representations are allowed for the concepts selected by the content definition. |
Rationale | Some code systems may have multiple codes and/or multiple print names for a given concept. When defining the value set, there's often a need to constrain to only a single code or print name. For example, with ISO country codes, there might be a desire to constrain to only the 2-character codes. Or for multi-language code systems, to constrain to a particular language print name. |
MIF | mif-vocabulary-model.xsd/ContentDefinition/allowedRepresentation |
Filters
Requirement | Valueset content must support complex structures involving combinations of other content structures such as unions, intersections and exclusions. |
Rationale | Many value set definitions are complex. For example "all specializations of code X or code Y, except specializations of code Z" |
MIF | mif-vocabulary-model.xsd/ContentDefinition/combinedContent |
Requirement | Content needs to be able to be defined by enumerating a set of allowed codes |
Rationale | For simple value sets or unsophisticated code systems, enumeration of the allowed set of codes is the best or only way to define value set content |
MIF | mif-vocabulary-model.xsd/ContentDefinition/codeBasedContent |
Requirement | Content needs to be able to be defined as a code and/or codes that have relationships of a particular type to that code, including such constructs as direct relations to the head code, the complete set of codes found by traversing relationships of the specified type or "leaf" code - those codes that are part of the complete traversal set that have no outbound relationships. |
Rationale | This is a common mechanism for value set definition in code systems that have parent-child or similar relationships. |
MIF | mif-vocabulary-model.xsd/ContentDefinition/codeBasedContent |
Requirement | Content needs to be able to be defined based on properties held by the concepts. This might be inclusion of concepts that have specified values for certain properties or exclusion of concepts with specified values for certain properties. The values may either be strings or REGEX expressions |
Rationale | Examples include filtering on LOINC properties such as Class or B/R/O, or supplemental properties such as "orderable". For more complex code system properties, matches may need to be on such things as "starts with 'b'". |
MIF | mif-vocabulary-model.xsd/ContentDefinition/propertyBasedContent |
Requirement | Content needs to be able to be defined based on the actual string value of the codes for the property. |
Rationale | Some code systems, such as the ICD code systems embed semantics in the codes themselves rather than using properties or relationships. As a result, the only way to define expression based content filters is with filters on the code. |
Methodology | Two types of expression languages are supported - regex and Terminology Query Language (TQL) |
MIF | mif-vocabulary-model.xsd/ContentDefinition/codeFilterContent |
Requirement | Content needs to be able to be defined by referencing existing value sets |
Rationale | Some value sets are most efficiently composed by referencing other existing value sets. This supports re-use and simplifies maintenance. |
MIF | mif-vocabulary-model.xsd/ContentDefinition/codeFilterContent |
Requirement | In some cases, content needs to be defined using free text description. | ||||||||||||||||||||||||||||||
Rationale | Some content definitions cannot be defined by formal mechanisms due to limitations of the code system. In other casesthe initial requirement is captured as text and is only later formally represented. | ||||||||||||||||||||||||||||||
MIF | }
Qualifiers
|