# 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: COMPOSITION
A COMPOSITION contains a set of care record ENTRYs (i.e. clinical statements) about a single subject of care, optionally organised under SECTION headings, that is the result of a single clinical encounter or record documentation session. Within the LRA, the COMPOSITION is the main top-level organiser both within an EHR extract and within the EHR itself, and represents the unit of commitment of information to a single EHR, the unit of modification of the record, the unit of transmission within record extracts and the unit of attestation (authentication) by authorizing clinicians. A COMPOSITION is created, synthesised or organised for committal to the EHR by a composer. The composer is the participating role to which the composition is primarily attributed (even if the composer is not the originator of the content or responsible for committing it to the EHR). This role may be played by an individual, a team, an organisation or a device. A COMPOSITION also may record any attestations (e.g. digital signatures) that pertain to it or to any of its contents. ## Specializes ## RECORD_COMPONENT ## Attributes
Name | Data type | Occurs | Description
--- | --- | --- | ---
session_time | IVL_TS | 1..1 | The date and time or interval during which the clinical encounter or documentation session occurred.
territory | CS | 0..1 | Code for the territory in which this COMPOSITION was created, identified by ISO 3166. This will indicate the country under whose laws this COMPOSITION was created.
contribution_id | II | 0..1 | This optional identifier may be used to logically group the set of COMPOSITIONs committed by one user at one point in time in the EHR of one subject of care, if an EHR system has permitted data to be committed simultaneously into multiple COMPOSITIONs.
## Relationships
Name | Class | Occurs | Description
--- | --- | --- | ---
attestations | ATTESTATION_INFO | 0..* | This association permits a COMPOSITION to contain any number of attestations that pertain to it or to its contents.
committal | AUDIT_INFO | 1..1 | This mandatory association contains the committal (and optionally revision) information for this COMPOSITION in the EHR Provider's system.
other_participations | FUNCTIONAL_ROLE | 1..* | This association permits the representation of any other agents who have contributed to this clinical encounter or documentation session. Within the LRA the members of the association role collection may be specified as being of type lra.technical.en13606.extended.PARTICIPATION to allow for the specification of the participation type and (optionally) participation time. However, because PARTICIPATION is an LRA-specific extension to EN 13606, any information specified by instances of the class is outside of the scope of interpretation by systems that conform to the general standard only.
content | CONTENT | 0..* | This association contains the set of SECTIONs and ENTRYs that are part of this COMPOSITION. A COMPOSITION may have no content if it is a revision of a COMPOSITION previously recorded in error.
composer | FUNCTIONAL_ROLE | 0..1 | Agent (person, device or software) responsible for creating, synthesising or organising information that is committed to an EHR. This agent takes responsibility for its inclusion in that EHR, even if not the originator of it and even if not the committer of it. The content of the COMPOSITION is primarily attributed to this person. Whether or not the composer is changed when a revision is made is optional, usually depending upon the extent of the changes made.
## Constraints
Type | Name | Specification
--- | --- | ---
composer is of type FUNCTIONAL_ROLE | LRA Invariant | inv: composer.oclIsDefined() implies composer.oclIsTypeOf(FUNCTIONAL_ROLE)
name value | LRA Inv: Fixed | inv: name.value = <a href="$element://{99CDF407-1579-4eac-BB4F-F9D25CB6AA56}"><font color="#0000ff"><u>LraRecordComponentName</u></font></a>.COMPOSITION
there exists one and only one other_participations instance representing the record target (i.e. subject of care) | LRA Invariant | self.other_participations-&gt;select(FUCTIONAL_ROLE: p | p.oclAsType(PARTICIPATION).typecode.code = LraParticipationType.RCT))-&gt;size() = 1
## Reference Model Type ##