# 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: AD.Text
An address in which the parts are encoded within a single, contiguous character string. As ISO 21090 EN data type does not support mixed element content, the address string is held in a single address line part. This data type flavor is designed to support the logical representation of the following address structures used within the NHS in England. NPfIT MIM Address Unstructured data type flavors - used for addresses which are not available in a structured form and therefore represented as a single text block; control characters such as <CR> and <LF> are permitted if required. NHS Data Model and Dictionary PATIENT USUAL ADDRESS with ADDRESS FORMAT CODE = '2' or 'U' - used within CDS messages to denote an 'unstructured' address, i.e. an address consisting of up to five contiguous data elements of 35 characters representing a 175 character string. ## Specializes ## AD ## Attributes
Name | Data type | Occurs | Description
--- | --- | --- | ---
part | AD.Part | 0..* | As ISO 21090, a sequence of address parts, such as street or post office Box, city, postal code, country, etc. Any instance of AD that is not is null must have at least one address part.
use | PostalAddressUse | 0..* | A set of codes to indicate to a system or user which address in a set of like addresses to select for a given purpose. An address instance may therefore be associated with number of intended uses. ISO 21090 specifies use of the HL7 v3 PostalAddressUse code system. The LRA adopts a subset of this and specifies a number of additional codes to meet the intended use requirements of address structures specified by: NPfIT MIM Datatypes Implementation Manual; Person Demographic Service; and NHS Data Model and Dictionary
useablePeriod | QSET_TS | 0..1 | As ISO 21090, a General Timing Specification (GTS) specifying the periods of time during which the address can be used. This is used to specify different addresses for different times of the week or year and not the overall period of validity of the address.
isNotOrdered | Boolean | 0..1 | True if the order of the address parts is known otherwise false. While the address parts are always a sequence, the order in which they are presented may or may not be known to be true or important.
## Constraints
Type | Name | Specification
--- | --- | ---
Address line part must be present | LRA Invariant | inv: isNull xor part-&gt;select(p: AD.Part | p.definesProperty(p.addressLine)-&gt;size() = 1
Only address parts addressKey , gridReference, country, addressLine and postalCode allowed | LRA Invariant | inv: part-&gt;forAll(p: AD.Part | p.definesProperty(p.addressKey) or p.definesProperty(p.gridReference) or p.definesProperty(p.country) or p.definesProperty(p.addressLine) or p.definesProperty(p.postalCode))
## Reference Model Type ##