Key Attributes serve two purposes; they may be used as Matching Key Attributes or as Return Key Attributes. Matching Key Attributes may be used for matching (criteria to be used in the C-FIND request to determine whether an entity matches the query). Return Key Attributes may be used to specify desired return attributes (what elements in addition to the Matching Key Attributes have to be returned in the C-FIND response).
Note: Matching Keys are typically used in an SQL ‘where’ clause. Return Keys are typically used in an SQL ‘select’ clause to convey the Attribute values.
Matching Key Attributes may be of Type "required" (R) or "optional" (O). Return Key Attributes may be of Type 1, 1C, 2, 2C, 3 as defined in PS 3.5.