> For the complete documentation index, see [llms.txt](https://docs.snomed.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.snomed.org/snomed-international-documents/snomed-ct-glossary/a/attribute/attribute-in-group-cardinality-constraint.md).

# attribute in group cardinality constraint

## attribute in group cardinality constraint

A constraint on the number of times that a specific attribute may be included in the same attribute group.

#### Notes

* Constraints on *attribute in group cardinality* apply only to non-redundant attributes. A redundant attribute is an attribute with a value that is subsumed by another attribute in the same group.
* Cardinality constraints are represented by square brackets containing a minimum value value represented as an integer, optionally followed by two dots and a maximum value represented as an integer or as an asterisk \*\*\*\*\*.
  * If the maximum is omitted then the maximum cardinality is the same as the minimum cardinality.
  * If the maximum is an asterisk \*\*\*\*\* the maximum cardinality is unlimited.
* *Attribute in group cardinality* is NOT the same as attribute group cardinality constraint.

Attribute group cardinality constraint is defined as:

```
* A constraint on the number of times that an attribute group may be included in the same concept definition or expression.
```

\_\_

#### Examples

* The following expression constraint restricts *cardinality in-group* and would require a clinical finding whose definition has no more than one finding site in each group. However, it permits multiple groups to exist as there are cardinality constraints on the group.

< [404684003 |Clinical finding|](http://snomed.info/id/404684003) :\
{\[0..1] [363698007 |Finding site|](http://snomed.info/id/363698007) = < [91723000 |Anatomical structure|](http://snomed.info/id/91723000) }

* In contrast, the following expression constraint is satisfied by any clinical finding whose definition has two or more non-redundant finding sites, irrespective of the attribute group in which they are contained.

< [404684003 |Clinical finding|](http://snomed.info/id/404684003) : \[2..\*] [363698007 |Finding site|](http://snomed.info/id/363698007) = < [91723000 |Anatomical structure|](http://snomed.info/id/91723000)

* A clinical finding could satisfy both the above constraints by have two or more groups each of which contains one finding site.

<a href="https://docs.google.com/forms/d/e/1FAIpQLScTmbZIf0UEQwYDkY27EEWBkaiYkHSbR0_9DmFrMLXoQLyL7Q/viewform?usp=pp_url&#x26;entry.1767247133=SNOMED+Glossary&#x26;entry.670899847=attribute%20in%20group%20cardinality%20constraint" class="button primary">Provide Feedback</a>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.snomed.org/snomed-international-documents/snomed-ct-glossary/a/attribute/attribute-in-group-cardinality-constraint.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
