# 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: ENVIRONMENT_ROLE
A ROLE played by an ORGANISATION_ENTITY or PLACE_ENTITY, whose (object) instances are either locally identified or not identified at all. The ENVIRONMENT_ROLE shall be used if there is no requirement to be able to share the identity of the participating instance (i.e. using a nationally recognised identification scheme such as NHS Organisational Data Service, NHS Prescription Services or some other [including non-NHS] organisation identification scheme). This is regardless of whether the environment is in fact identifiable using such a scheme. If there is an explicit requirement to be able to share the identity of the participating instance then the ORGANISATIONAL_ROLE shall be used. The ENVIRONMENT_ROLE is designed in particular to represent supporting and other provider organisations (e.g. national or local voluntary sector organisations, private sector providers of residential care homes, professional or patient bodies, etc.); and environments relevant to the subject of care such as the subject of care's own home or incidental locations where care was administered or an event occurred (e.g. road traffic accident scene).The inherited type attribute: Supports a logical representation of HL7 v3 RIM: Role.code Is informed by eMIM: Organisation.organisationType The inherited address attribute: Supports a logical representation of HL7 v3 RIM: Role.addr; EN 13940-1: Health Care Supporting Organisation.address ## 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
--- | --- | ---
environment role must be played by organisation or place entity | LRA Invariant | --There exists in the association role entity collection an object of type ORGANISATION_ENTITY or PLACE_ENTITY inv: entity-&gt;exists(i|i.oclIsTypeOf(ORGANISATION_ENTITY)) or entity-&gt;exists(i|i.oclIsTypeOf(PLACE_ENTITY))
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 LraEnvironmentRoleType inv: type.code.oclIsTypeOf(LraEnvironmentRoleType)
## Reference Model Type ##