# 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.
# COMPOSITION: SrfTestSubjectOfCareRole
Represents the role of a subject of care played by a Person Entity. ## Specializes ## SubjectOfCareRole ## Attributes
Name | Data type | Occurs | Description | Value constraints
--- | --- | --- | --- | ---
extract_id | II.Uuid | 1..1 | The unique identifier used consistently within the Extract Package of this EHR_EXTRACT to represent the IDENTIFIED_ENTITY referred to in this Demographics Package. In the LRA IDENTIFIED_ENTITY is specialized in the participants package by a ROLE. The unique identifier used within the Extract package will refer to a ROLE class. |
id | II | 1..* | The identifier for the subject of care. A single instance of this attribute shall always be present to carry the subject of care's NHS Number. Additional instances of this attribute may be also present to represent the subject of care's Scottish NHS Number, Scottish CHI Number, Blood Donor Id etc. In all cases id.root shall carry the OID value associated with the identifier scheme and id.extension shall carry the value of the identifier associated with the OID in id.root. |
telecom | TEL | 0..* | An attribute to represent the telecommunication details of a PERSON_ENTITY whilst playing the role of Subject of Care. |
type | CD.CV.SCT | 1..1 | Identifies this PERSON_ROLE as being of type Subject Of Care. |
code
Semantic expression constraint
address | AD | 0..* | An attribute to represent the postal address of a PERSON_ENTITY whilst playing the role of Subject of Care. |
confidentialityCode | CD.CV | 0..1 | A coded representation of the chosen extent of disclosure of information of a PERSON_ENTITY whilst playing the role of Subject of Care. |
preferredWrittenCommunicationFormat | CD.CV | 0..* | A coded representation of the preferred written communication format of a PERSON_ENTITY whilst playing the role of Subject of Care. |
preferredContactMethod | CD.CV | 0..* | A coded representation of the preferred contact method of a PERSON_ENTITY whilst playing the role of Subject of Care. |
preferredContactTime | QSET_TS | 0..1 | A representation of the preferred contact time of a PERSON_ENTITY whilst playing the role of Subject of Care. |
## Contained ENTRYs
Name | ENTRY Class | Occurs | Description
--- | --- | --- | ---
## Constraints
Type | Name | Specification
--- | --- | ---
id is either a valid NhsNumber or any other kind of local identifier | LRA Inv: Type | inv: id.oclIsTypeOf(<a href="$element://{A0630F15-E5FC-4fdf-975F-4B28599BB0C5}"><font color="#0000ff"><u>II.NhsNumber</u></font></a>) or id.oclIsTypeOf(<a href="$element://{AC99A331-9184-4234-A734-210292D8765F}"><font color="#0000ff"><u>II</u></font></a>)
use of confidentialityCode is undefined | LRA Inv: Prohib | inv: confidentialityCode.oclIsUndefined()
use of preferredWrittenCommunicationFormat is undefined | LRA Inv: Prohib | inv: preferredWrittenCommunicationFormat.oclIsUndefined()
## ## Reference Model Type ## PERSON_ROLE