# 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: DEVICE_ROLE
A class to represent a ROLE played by a DEVICE_ENTITY. The inherited type attribute: Supports a logical representation of HL7 v3 RIM: Role.code; EN 13606-1: SOFTWARE_OR_DEVICE.code ## Specializes ## ROLE ## Attributes
Name | Data type | Occurs | Description
--- | --- | --- | ---
type | CD.CV.SCT | 1..1 | A coded representation of the type of role being played. Supports the logical representation of: HL7 v3 RIM: Role.code, Role.recipientRoleCode
address | AD | 0..* | An attribute to represent an entity's postal address whilst playing this role. Supports the logical representation of: HL7 v3 RIM: Role.addr EN 13606-1: IDENTIFIED_ENTITY.POSTAL_ADDRESS Informed by: GDSC (e-GIF): ADDRESS
## Constraints
Type | Name | Specification
--- | --- | ---
address is undefined in LRA | LRA Invariant | --Attribute address is undefined (i.e. value assignment is prohibited) inv: address.oclIsUndefined()
device role must be played by device entity | LRA Invariant | --There exists in the association role entity collection an object of type DEVICE_ENTITY inv: entity-&gt;exists(i|i.oclIsTypeOf(DEVICE_ENTITY))
telecom is undefined in LRA | LRA Invariant | --Attribute telecom is undefined (i.e. value assignment is prohibited) inv: telecom.oclIsUndefined()
type is of type CD.CV.SCT | LRA Invariant | --Attribute type is of type CD.CV.SCT inv: type.oclIsTypeOf(CD.CV.SCT)
type LRA vocab | LRA Invariant | --The value of attribute type.code is a member of the value set LraDeviceRoleType inv: type.code.oclIsTypeOf(LraDeviceRoleType)
## Reference Model Type ##