Logical Record Architecture for Health and Social Care

Discharge Summary Release 0.02

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: ED.Doc

Instances of this class are used to model plain and marked-up text intended for human interpretation or machine processing outside the scope of the LRA. The choice of use of data type ED.Doc rather than ED.StructuredText is based on the nature of structured text documents in the LRA. At the data type level documents in the scope of the LRA are anticipated to be fragments or summaries of care that contain aspects that are machine processable rather than rich multimedia text. The complex specification of a whole document at a data type level is therefore not encouraged beyond the use of fragments of standard XHTML within an ED.Doc entity (the class specialisations ED.StructuredText and ED.StructuredTitle and associated StructuredText classes are out of scope).

Specializes

ED

Attributes

Name Data type Occurs Description
mediaType Code 1..1 In ISO 21090 ED.DOC is capable of representing plain text, html, xml or pdf documents. In the LRA pdf documents are disallowed for this specific specialisation type (although may be still represented using a unspecialised ED). Within the scope of the LRA this attribute MUST NOT contain "application/pdf". If instance data from outside of the LRA is received that uses "application/pdf", the conforming application MUST treat the data as as vanilla ED data type.


Constraints

Type Name Specification
mediaType Invariant inv: mediaType = "text/plain" or mediaType = "text/html" or mediaType = "text/xml" or mediaType = "application/pdf"
no pdf ED.Doc in LRA LRA Invariant inv: mediaType = "text/plain" or mediaType = "text/html" or mediaType = "text/xml"

Reference Model Type