# 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: TEL
As specified by ISO 21090, a resource such as a web page, telephone number (voice, fax or some other resource mediated by telecommunication equipment), e-mail address, etc, whose location and method of access are specified by a Uniform Resource Locator (URL). This data type flavor supports the logical representation of the NPfIT MIM Telecommunication Address (TEL) data type flavors. NHS PDS and Data Model and Dictionary telecommunication address structures are represented more precislely by specialised flavors of this data type. The use and validTime (Low and High) may be used to represent the use and useablePeriod attributes within NPfIT MIM Telecommunication Address (TEL) data type flavors. It should be noted, however, that the NPfIT MIM flavors misuse the useablePeriod attribute to specify the period of validity of an address rather than using the validTime (Low and High) attributes. ## Specializes ## ANY ## Attributes
Name | Data type | Occurs | Description
--- | --- | --- | ---
value | Uri | 1..1 | As specified by ISO 21090, a Uniform Resource Identifier (URI) specified according to IETF RFC 2396 and constrained to a URL specified according to IETF RFCs 1738 and 2806. The URI specifies the protocol and the contact point defined by that protocol for the resource.
use | TelecommunicationAddressUse | 0..* | As ISO 21090, one or more codes advising a system or user which telecommunication address in a set of like addresses to select for a given telecommunication need. A telecommunication address may have a number of specified uses, e.g. home and work telephone number.
useablePeriod | QSET_TS | 0..1 | As ISO 21090, the periods of time during which the telecommunication address can be used. For a telephone number, this may indicate the time of day during which the party can be reached on that number. For a web address, it may specify a time range in which the web content is promised to be available under the given address. Note that this attribute does not specify the overall period of validity of the telecommunication address. A valid telephone number, for example, might still only be useable during certain periods, e.g. week days between 09:00AM and 5:00PM.
## Constraints
Type | Name | Specification
--- | --- | ---
no updateMode or History on TEL attributes | Invariant | inv: noUpdateOrHistory(useablePeriod)
no use if null | Invariant | inv: isNull implies use->isEmpty
no useablePeriod if null | Invariant | inv: isNull implies useablePeriod.oclIsUndefined
no value if null | Invariant | inv: isNull implies value.oclIsUndefined
unnamed constraint | Invariant | def: scheme(s : String) : Boolean = value.substring(0, s.size) = s -- nullflavor invariants:
value is required | Invariant | inv: isNotNull implies value.oclIsDefined