# 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: PERSON_ROLE
A class to represent a role played by a PERSON_ENTITY. The inherited type attribute: Supports a logical representation of HL7 v3 RIM: Role.code, Role.recipientRoleCode, Employee.jobCode; EN 13606-1: HEALTHCARE_PROFESSIONAL_ROLE.position_or_grade Is informed by Lorenzo: Professional Carer.Carer role The inherited address attribute: Supports a logical representation of HL7 v3 RIM: Role.addr, Employee.addr, Patient.addr; ISO/TS 22220: Subject Of Care Address; EN 13940-1: Subject Of Care.address, Other Carer.address Is informed by GDSC (e-GIF): ADDRESS; ITK: Patient Address; eMIM: Address; Lorenzo: Address ## Specializes ## ROLE ## Attributes
Name | Data type | Occurs | Description
--- | --- | --- | ---
confidentialityCode | CD.CV | 0..1 | A coded representation of the chosen extent of disclosure of information of the person. Supports the logical representation of: HL7 v3 RIM: Role.confidentialityCode Informed by: Lorenzo: Patient.Confidentiality status
mainSpecialtyCode | CD.CV | 0..1 | A coded representation of the main specialty (if any) represented by this PERSON_ROLE. Specialties are divisions of clinical work which may be defined by body systems (dermatology), age (paediatrics), clinical technology (nuclear medicine), clinical function (rheumatology), group of diseases (oncology) or combinations of these factors. Informed by: NHS Data Dictionary: MAIN SPECIALTY CODE
preferredWrittenCommunicationFormat | CD.CV | 0..* | A coded representation of the preferred written communication format of a PERSON_ROLE.
preferredContactMethod | CD.CV | 0..* | A coded representation of the preferred contact method of a PERSON_ROLE.
preferredContactTime | QSET_TS | 0..1 | A representation of the preferred contact time of a PERSON_ROLE.
## Constraints
Type | Name | Specification
--- | --- | ---
confidentialityCode LRA vocab | LRA Invariant | inv: confidentialityCode.code.oclIsTypeOf(<a href="$element://{48A89690-7C5F-4af1-84FD-6BBB83600F5B}"><font color="#0000ff"><u>LraConfidentialityCode</u></font></a>)
mainSpecialtyCode LRA vocab | LRA Invariant | inv: mainSpecialtyCode.code.oclIsTypeOf(<a href="$element://{BCA98A90-660A-4c54-A74F-869C67BA9BF3}"><font color="#0000ff"><u>LraMainSpecialty</u></font></a>)
person role must be played by person entity | LRA Invariant | --There exists in the association role entity collection an object of type PERSON_ENTITY inv: entity-&gt;exists(i|i.oclIsTypeOf(PERSON_ENTITY))
preferredContactMethod LRA vocab | LRA Invariant | inv: preferredContactMethod.code.oclIsTypeOf(<a href="$element://{0E44C6CE-D17A-4bd8-B7C6-60ADEDB10FDB}"><font color="#0000ff"><u>LraPreferredContactMethod</u></font></a>)
preferredWrittenCommunicationFormat LRA vocab | LRA Invariant | inv: preferredWrittenCommunicationFormat.code.oclIsTypeOf(<a href="$element://{59211861-63C9-4ccc-9AC7-5580B9C787D8}"><font color="#0000ff"><u>LraPreferredWrittenCommunicationFormat</u></font></a>)
type attribute is CD.CV.SCT for subject or third party roles | LRA Invariant | type.code.oclIsTypeOf(LraSubjectOrThirdPartyRoleType) implies type.oclIsTypeOf(CD.CV.SCT)
type LRA vocab | LRA Invariant | inv: type.code.oclIsTypeOf(<a href="$element://{5D766F09-3752-4042-8951-A98806DBD738}"><font color="#0000ff"><u>JobRoleCode</u></font></a>) or type.code.oclIsTypeOf(<a href="$element://{191B93B0-251F-457b-88B2-01D7FE28987C}"><font color="#0000ff"><u>LraSubjectOrThirdPartyRoleType</u></font></a>)
## Reference Model Type ##