# 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: ROLE_RELATIONSHIP
A class to represent a relationship between two roles. There is potential overlap between the ROLE_RELATIONSHIP and PARTICIPATION classes when describing the involvement of a ROLE within the LRA. A ROLE_RELATIONSHIP class shall be used if the involvement of the ROLE spans the entire EHR_EXTRACT, whereas a PARTICIPATION class shall be used if the involvement of the ROLE is limited to either the duration of a COMPOSITION, ENTRY or ATTESTATION_INFO class. ## Attributes
Name | Data type | Occurs | Description
--- | --- | --- | ---
type | CS | 1..1 | A coded representation of the type of role relationship. Supports the logical representation of: HL7 v3 RIM: RoleLink.typeCode, Scoping relationship Informed by: GDSC (e-GIF): PERSON RELATIONSHIP.Person Relationship Type
relationshipValidityTime | IVL_TS | 0..1 | A representation of the time period for which this relationship is valid. Supports the logical representation of: HL7 v3 RIM: RoleLink.effectiveTime Informed by: Lorenzo: Personal Relationships.Active From, Personal Relationships.Active To
## Constraints
Type | Name | Specification
--- | --- | ---
type LRA vocab | LRA Inv: Type | inv: type.code.oclIsTypeOf(<a href="$element://{AE5E24C2-D7ED-48ad-9F49-6101E27FAE85}"><font color="#0000ff"><u>LRARoleRelationshipType</u></font></a>)
## Reference Model Type ##