# Logical Record Architecture for Health and Social Care
## Discharge Summary Release 0.02

Contents
The content of this release is not comprehensive and is not fully validated and must not be used in live system implementations.
# Reference Model Class: EXTRACT_CRITERIA
The attributes of this class list the constraints or restrictions that were placed on the query or filter process that created this EHR_EXTRACT. The EHR Recipient is only required to retain this information after receipt of this EHR_EXTRACT if it might subsequently be communicated again with the same content. ## Attributes
Name | Data type | Occurs | Description
--- | --- | --- | ---
all_versions | BL | 0..1 | This attribute indicates if this EHR_EXTRACT is limited to the most recent version of each COMPOSITION or if it includes all historic versions.
archetype_ids | II | 0..* | This attribute identifies a set of archetypes if these were used as a basis for selecting data to include in this EHR_EXTRACT.
max_sensitivity | CS | 0..1 | This attribute specifies the maximum permitted sensitivity level (extent of authorisation) that was used to extract the data from the EHR provider system.
multimedia_included | BL | 0..1 | This attribute indicates if multimedia data have deliberately been excluded from this EHR_EXTRACT.
other_constraints | ED | 0..1 | This attribute may be used to represent additional criteria that were used; it is primarily intended for human readership, but might be used for locally-agreed structured criteria. This attribute is used by the LRA to specify the query definition required to create the parent EHR_EXTRACT
time_period | IVL | 0..1 | This attribute specifies a date or time interval to which this EHR_EXTRACT is limited
## Constraints
Type | Name | Specification
--- | --- | ---
all_versionsDefault | Invariant | --Attribute all_versions has default value false init: all_versions.value = false
all_versionsDefined | LRA Invariant | --Attribute all_versions has a cardinality of 1..1 inv: all_versions.oclIsDefined()
other_constraintsDefined | LRA Invariant | --Attribute other_constraints is defined inv: other_constraints.oclIsDefined()