<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.voror.co.uk/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sophie</id>
	<title>Voror_Wiki - User contributions [en-gb]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.voror.co.uk/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sophie"/>
	<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Special:Contributions/Sophie"/>
	<updated>2026-10-23T21:07:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Voror_Health_Platform&amp;diff=5906</id>
		<title>Voror Health Platform</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Voror_Health_Platform&amp;diff=5906"/>
		<updated>2022-02-27T17:04:14Z</updated>

		<summary type="html">&lt;p&gt;Sophie: Undo revision 5905 by Sophie (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
These articles describe the Discovery Data Service; the architecture that underpins the data service, the components that make up the service, the testing and assurance processes, and the resources, open source technologies, and software that are used to host, develop, and support the service.&lt;br /&gt;
&lt;br /&gt;
=Discovery Data Service status=&lt;br /&gt;
&lt;br /&gt;
* The data service is live.&lt;br /&gt;
* It currently stores and processes the data from 28 million linked organisational patient records in the UK.&lt;br /&gt;
* It contains long term records on 14 million unique UK citizens who have been resident in London at some point in the last 30 years (including people who have left or died).&lt;br /&gt;
* Data on individuals are held in a single common data model with data values represented by a super ontology composed of the world&#039;s leading health ontologies.&lt;br /&gt;
* Data in Discovery is submitted by health providers who provide primary, secondary, and urgent care services to patients or clients.&lt;br /&gt;
* Data is kept up to date in close to real time - at worst within 24 hours; see [[Latency of extract data feeds]] for more details.&lt;br /&gt;
&lt;br /&gt;
= Discovery overview =&lt;br /&gt;
&lt;br /&gt;
These articles provide background to the ideas, philosophies and approaches that have resulted in the Discovery Data Service. They cover the original objectives, the approach to collaboration and shared tenancy, and the information governance rules that underpin the way privacy and sharing are balanced.&lt;br /&gt;
&lt;br /&gt;
*[[What_is_Discovery|What is Discovery]]? - This article describes what Discovery is and how it is conceptualised at a very high level.&lt;br /&gt;
*[[Case studies]] - An overview of some initial projects that access and utilise data from Discovery; information includes the applicant, project summary, and the latest status (Development/Live).&lt;br /&gt;
*[[Latest news]] - The latest information for all Discovery Data Service releases and changes, plus known issues and updates from system suppliers and other third parties.&lt;br /&gt;
*[[Current_data_sets|Current data sets]] - the broad types of data received from various systems.&lt;br /&gt;
*[[Current published data]] - provides the latest data publisher information by sector, geographical area, service, and system provider.&lt;br /&gt;
&lt;br /&gt;
= Information model topics =&lt;br /&gt;
&lt;br /&gt;
These articles provide information about the services, structure, and functionality&amp;amp;nbsp;that operate using the Information Models;&amp;amp;nbsp;one of the fundamental tenets of the Discovery Data Service. This is the starting point for those interested in health data and the information derived from it, and why Discovery may be different from other approaches:&lt;br /&gt;
&lt;br /&gt;
*[[Discovery health information model|Health Information model]] - An overview of the approach to the Discovery information model,  the purpose, and type of content.&lt;br /&gt;
*[[Health Information modelling language|Modelling language]] - The W3C standard languages used to build the various components of the information model&lt;br /&gt;
*[[Health_data_model_content|Basic health data set&amp;amp;nbsp;]] - a very high level overview of the types of data mapped from data held  within the Discovery data stores.&lt;br /&gt;
*[[Information model reference data|Reference data -]] an overview of additional data held in the information model.&lt;br /&gt;
*[[Mapping and matching concepts|Mapping and matching concepts and structures]] - Introduces the approaches to matching and mapping concepts and the structural mappings in the model&lt;br /&gt;
*[[Information_model_service|Information model services]] - the technical services , such as APIs and apps that enable an model instance to be used or to implement an EHR based on the model or particular data model&lt;br /&gt;
&lt;br /&gt;
= Publishers and subscribers =&lt;br /&gt;
These articles provide some brief high level information for organisations that send data to Discovery and those that use that data.&lt;br /&gt;
&lt;br /&gt;
* [[Publishers]] - includes technical interface information, FHIR mapping, system requirements, and how to make changes to publishing services.&lt;br /&gt;
* [[Subscribers]] - includes set up, data mapping, and schema information.&lt;br /&gt;
&lt;br /&gt;
= Services and applications =&lt;br /&gt;
&lt;br /&gt;
These articles provide information about the services and applications provided by the Discovery information services.&lt;br /&gt;
&lt;br /&gt;
* [[Discovery Query|Sextant]] - A data set distribution service with an option to post the data directly into the recipients database.&lt;br /&gt;
*[[Monitoring and alerting]] - provides an overview of the monitoring and alert systems in place.&lt;br /&gt;
&lt;br /&gt;
*[[Data Sharing Manager|Data Sharing manager]]- DSM provides a visual representation of data that is being shared and processed and by which organisations, regions, and/or services.&lt;br /&gt;
&lt;br /&gt;
*[[UPRN address match application|ASSIGN- UPRN address matching application -]] a web based application that matches single or batches of hand entered address to authoritative addresses and assigns a unique property reference number.&lt;br /&gt;
*[[Information model manager]] - an application designed to provide a view of the common information model, and support the authoring of the content of the model.&lt;br /&gt;
*[[Information_model_service|Information model services]] - the technical services that enable the common information model to be used.&lt;br /&gt;
*[[FHIR Get Structured Record API]] - returns a complete patient record in a structured format following GP and Care Connect standards.&lt;br /&gt;
*[[HL7v2 API]] - Send HL7v2 ADT and ORU (clinical events) data to Discovery.&lt;br /&gt;
*Get health record - the service that obtains a fully structured health record about a person, in real time via a standards based API.&lt;br /&gt;
*Record publication service - the service that publishes data from health records for specific purposes, often immediately on receipt.&lt;br /&gt;
*Data set distribution service - the service that distributes sets of data for populations of patients where the definition is complex or where the subscriber is hosting a copy of the data permanently.&lt;br /&gt;
*[[NHS 111 Discovery frailty flagging]] / [[Frailty algorithm]]&lt;br /&gt;
*[[GitHub repositories]] - descriptions and information relating to the application source code.&lt;br /&gt;
&lt;br /&gt;
= Architectures =&lt;br /&gt;
These articles provide information about the overall high level software architecture models providing a descriptions and visualisations of the Discovery Data Service and information service components and how they interact.&lt;br /&gt;
&lt;br /&gt;
* The [[Data Storage Architecture]] illustrates how data is stored within the service and the various implementation options available for organisations that wish to use some or parts of the services.&lt;br /&gt;
*[[Identity Authentication Authorisation|Identity, authentication and authorisation]] specifies the approach taken by Discovery for accessing utilities and controlling some aspects of access to application functionality and some data resources, after all of the other locks have been opened.&lt;br /&gt;
*[[Application zone architecture]] illustrates how the data is accessed in different places and in different ways according to different use cases &lt;br /&gt;
*[[Pseudonymisation]] describes how Discovery generates pseudonymised data.&lt;br /&gt;
*[[Data linking]] describes how Discovery links several patient records into a single person/citizen record.&lt;br /&gt;
&lt;br /&gt;
= Application help =&lt;br /&gt;
&lt;br /&gt;
*[[Data_Sharing_Manager|Data Sharing Manager]]&amp;amp;nbsp;-&amp;amp;nbsp;Data Sharing Manager provides a visual representation of data that is being shared and processed and by which organisations, regions, and/or services.&lt;br /&gt;
*:You can also amend or cancel data sharing and processing agreements in real time.&lt;br /&gt;
*[[Record Viewer]] - Record Viewer shows a combined view of an individual&#039;s patient records, using data from different source organisations.&lt;br /&gt;
*[[Jira]] - Jira is an effective way to share and track information and helps to make sure that tasks and issues are completed, and signed off, by all relevant teams.&lt;br /&gt;
&lt;br /&gt;
= Wiki tips =&lt;br /&gt;
&lt;br /&gt;
*[[Adding a new page to the wiki]]&lt;br /&gt;
*[[Adding tables from word documents]]&lt;br /&gt;
*[https://www.mediawiki.org/wiki/Help:Tables Mediawiki Help:Tables]&lt;br /&gt;
*[[Creating a DDS wiki watchlist]]&lt;br /&gt;
*[[Creating a new user]]&lt;br /&gt;
*[https://en.wikipedia.org/wiki/Help:List Wikipedia Help:Lists]&lt;br /&gt;
*[[Test page]]&lt;/div&gt;</summary>
		<author><name>Sophie</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Voror_Health_Platform&amp;diff=5905</id>
		<title>Voror Health Platform</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Voror_Health_Platform&amp;diff=5905"/>
		<updated>2022-02-27T17:03:37Z</updated>

		<summary type="html">&lt;p&gt;Sophie: /* Information model topics */ IM sectction removed at request of Endeavour.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
These articles describe the Discovery Data Service; the architecture that underpins the data service, the components that make up the service, the testing and assurance processes, and the resources, open source technologies, and software that are used to host, develop, and support the service.&lt;br /&gt;
&lt;br /&gt;
=Discovery Data Service status=&lt;br /&gt;
&lt;br /&gt;
* The data service is live.&lt;br /&gt;
* It currently stores and processes the data from 28 million linked organisational patient records in the UK.&lt;br /&gt;
* It contains long term records on 14 million unique UK citizens who have been resident in London at some point in the last 30 years (including people who have left or died).&lt;br /&gt;
* Data on individuals are held in a single common data model with data values represented by a super ontology composed of the world&#039;s leading health ontologies.&lt;br /&gt;
* Data in Discovery is submitted by health providers who provide primary, secondary, and urgent care services to patients or clients.&lt;br /&gt;
* Data is kept up to date in close to real time - at worst within 24 hours; see [[Latency of extract data feeds]] for more details.&lt;br /&gt;
&lt;br /&gt;
= Discovery overview =&lt;br /&gt;
&lt;br /&gt;
These articles provide background to the ideas, philosophies and approaches that have resulted in the Discovery Data Service. They cover the original objectives, the approach to collaboration and shared tenancy, and the information governance rules that underpin the way privacy and sharing are balanced.&lt;br /&gt;
&lt;br /&gt;
*[[What_is_Discovery|What is Discovery]]? - This article describes what Discovery is and how it is conceptualised at a very high level.&lt;br /&gt;
*[[Case studies]] - An overview of some initial projects that access and utilise data from Discovery; information includes the applicant, project summary, and the latest status (Development/Live).&lt;br /&gt;
*[[Latest news]] - The latest information for all Discovery Data Service releases and changes, plus known issues and updates from system suppliers and other third parties.&lt;br /&gt;
*[[Current_data_sets|Current data sets]] - the broad types of data received from various systems.&lt;br /&gt;
*[[Current published data]] - provides the latest data publisher information by sector, geographical area, service, and system provider.&lt;br /&gt;
&lt;br /&gt;
= Publishers and subscribers =&lt;br /&gt;
These articles provide some brief high level information for organisations that send data to Discovery and those that use that data.&lt;br /&gt;
&lt;br /&gt;
* [[Publishers]] - includes technical interface information, FHIR mapping, system requirements, and how to make changes to publishing services.&lt;br /&gt;
* [[Subscribers]] - includes set up, data mapping, and schema information.&lt;br /&gt;
&lt;br /&gt;
= Services and applications =&lt;br /&gt;
&lt;br /&gt;
These articles provide information about the services and applications provided by the Discovery information services.&lt;br /&gt;
&lt;br /&gt;
* [[Discovery Query|Sextant]] - A data set distribution service with an option to post the data directly into the recipients database.&lt;br /&gt;
*[[Monitoring and alerting]] - provides an overview of the monitoring and alert systems in place.&lt;br /&gt;
&lt;br /&gt;
*[[Data Sharing Manager|Data Sharing manager]]- DSM provides a visual representation of data that is being shared and processed and by which organisations, regions, and/or services.&lt;br /&gt;
&lt;br /&gt;
*[[UPRN address match application|ASSIGN- UPRN address matching application -]] a web based application that matches single or batches of hand entered address to authoritative addresses and assigns a unique property reference number.&lt;br /&gt;
*[[Information model manager]] - an application designed to provide a view of the common information model, and support the authoring of the content of the model.&lt;br /&gt;
*[[Information_model_service|Information model services]] - the technical services that enable the common information model to be used.&lt;br /&gt;
*[[FHIR Get Structured Record API]] - returns a complete patient record in a structured format following GP and Care Connect standards.&lt;br /&gt;
*[[HL7v2 API]] - Send HL7v2 ADT and ORU (clinical events) data to Discovery.&lt;br /&gt;
*Get health record - the service that obtains a fully structured health record about a person, in real time via a standards based API.&lt;br /&gt;
*Record publication service - the service that publishes data from health records for specific purposes, often immediately on receipt.&lt;br /&gt;
*Data set distribution service - the service that distributes sets of data for populations of patients where the definition is complex or where the subscriber is hosting a copy of the data permanently.&lt;br /&gt;
*[[NHS 111 Discovery frailty flagging]] / [[Frailty algorithm]]&lt;br /&gt;
*[[GitHub repositories]] - descriptions and information relating to the application source code.&lt;br /&gt;
&lt;br /&gt;
= Architectures =&lt;br /&gt;
These articles provide information about the overall high level software architecture models providing a descriptions and visualisations of the Discovery Data Service and information service components and how they interact.&lt;br /&gt;
&lt;br /&gt;
* The [[Data Storage Architecture]] illustrates how data is stored within the service and the various implementation options available for organisations that wish to use some or parts of the services.&lt;br /&gt;
*[[Identity Authentication Authorisation|Identity, authentication and authorisation]] specifies the approach taken by Discovery for accessing utilities and controlling some aspects of access to application functionality and some data resources, after all of the other locks have been opened.&lt;br /&gt;
*[[Application zone architecture]] illustrates how the data is accessed in different places and in different ways according to different use cases &lt;br /&gt;
*[[Pseudonymisation]] describes how Discovery generates pseudonymised data.&lt;br /&gt;
*[[Data linking]] describes how Discovery links several patient records into a single person/citizen record.&lt;br /&gt;
&lt;br /&gt;
= Application help =&lt;br /&gt;
&lt;br /&gt;
*[[Data_Sharing_Manager|Data Sharing Manager]]&amp;amp;nbsp;-&amp;amp;nbsp;Data Sharing Manager provides a visual representation of data that is being shared and processed and by which organisations, regions, and/or services.&lt;br /&gt;
*:You can also amend or cancel data sharing and processing agreements in real time.&lt;br /&gt;
*[[Record Viewer]] - Record Viewer shows a combined view of an individual&#039;s patient records, using data from different source organisations.&lt;br /&gt;
*[[Jira]] - Jira is an effective way to share and track information and helps to make sure that tasks and issues are completed, and signed off, by all relevant teams.&lt;br /&gt;
&lt;br /&gt;
= Wiki tips =&lt;br /&gt;
&lt;br /&gt;
*[[Adding a new page to the wiki]]&lt;br /&gt;
*[[Adding tables from word documents]]&lt;br /&gt;
*[https://www.mediawiki.org/wiki/Help:Tables Mediawiki Help:Tables]&lt;br /&gt;
*[[Creating a DDS wiki watchlist]]&lt;br /&gt;
*[[Creating a new user]]&lt;br /&gt;
*[https://en.wikipedia.org/wiki/Help:List Wikipedia Help:Lists]&lt;br /&gt;
*[[Test page]]&lt;/div&gt;</summary>
		<author><name>Sophie</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Publisher_API_Code_Sets&amp;diff=5894</id>
		<title>Publisher API Code Sets</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Publisher_API_Code_Sets&amp;diff=5894"/>
		<updated>2022-01-10T13:40:42Z</updated>

		<summary type="html">&lt;p&gt;Sophie: Latest Version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page details the various code sets that are supported by the DDS Publisher API. The majority of these code sets have previously been published by NHS Digital as part of the [https://isd.digital.nhs.uk/trud3/user/guest/group/41/pack/34 ITK HL7 V2 standard] (version 1.1)&lt;br /&gt;
&lt;br /&gt;
=== AdministrativeSex ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Code&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|U&lt;br /&gt;
|Unknown&lt;br /&gt;
|-&lt;br /&gt;
|M&lt;br /&gt;
|Male&lt;br /&gt;
|-&lt;br /&gt;
|F&lt;br /&gt;
|Female&lt;br /&gt;
|-&lt;br /&gt;
|I&lt;br /&gt;
|Other&lt;br /&gt;
|}&lt;br /&gt;
=== PatientClass ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Code&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|E&lt;br /&gt;
|Emergency&lt;br /&gt;
|-&lt;br /&gt;
|I&lt;br /&gt;
|Inpatient&lt;br /&gt;
|-&lt;br /&gt;
|O&lt;br /&gt;
|Outpatient&lt;br /&gt;
|}&lt;br /&gt;
=== 0136-Yes/noIndicator ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Code&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|Y&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
=== 0399-CountryCode ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Code&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|England&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|Channel Islands&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|Scotland&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Wales&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|Northern Ireland&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|Sark&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|Alderney&lt;br /&gt;
|-&lt;br /&gt;
|ABW&lt;br /&gt;
|Aruba&lt;br /&gt;
|-&lt;br /&gt;
|AFG&lt;br /&gt;
|Afghanistan&lt;br /&gt;
|-&lt;br /&gt;
|AGO&lt;br /&gt;
|Angola&lt;br /&gt;
|-&lt;br /&gt;
|AIA&lt;br /&gt;
|Anguilla&lt;br /&gt;
|-&lt;br /&gt;
|ALA&lt;br /&gt;
|Ã…land Islands&lt;br /&gt;
|-&lt;br /&gt;
|ALB&lt;br /&gt;
|Albania&lt;br /&gt;
|-&lt;br /&gt;
|AND&lt;br /&gt;
|Andorra&lt;br /&gt;
|-&lt;br /&gt;
|ARE&lt;br /&gt;
|United Arab Emirates&lt;br /&gt;
|-&lt;br /&gt;
|ARG&lt;br /&gt;
|Argentina&lt;br /&gt;
|-&lt;br /&gt;
|ARM&lt;br /&gt;
|Armenia&lt;br /&gt;
|-&lt;br /&gt;
|ASM&lt;br /&gt;
|American Samoa&lt;br /&gt;
|-&lt;br /&gt;
|ATA&lt;br /&gt;
|Antarctica&lt;br /&gt;
|-&lt;br /&gt;
|ATF&lt;br /&gt;
|French Southern Territories&lt;br /&gt;
|-&lt;br /&gt;
|ATG&lt;br /&gt;
|Antigua and Barbuda&lt;br /&gt;
|-&lt;br /&gt;
|AUS&lt;br /&gt;
|Australia&lt;br /&gt;
|-&lt;br /&gt;
|AUT&lt;br /&gt;
|Austria&lt;br /&gt;
|-&lt;br /&gt;
|AZE&lt;br /&gt;
|Azerbaijan&lt;br /&gt;
|-&lt;br /&gt;
|BDI&lt;br /&gt;
|Burundi&lt;br /&gt;
|-&lt;br /&gt;
|BEL&lt;br /&gt;
|Belgium&lt;br /&gt;
|-&lt;br /&gt;
|BEN&lt;br /&gt;
|Benin&lt;br /&gt;
|-&lt;br /&gt;
|BES&lt;br /&gt;
|Bonaire, Sint Eustatius and Saba&lt;br /&gt;
|-&lt;br /&gt;
|BFA&lt;br /&gt;
|Burkina Faso&lt;br /&gt;
|-&lt;br /&gt;
|BGD&lt;br /&gt;
|Bangladesh&lt;br /&gt;
|-&lt;br /&gt;
|BGR&lt;br /&gt;
|Bulgaria&lt;br /&gt;
|-&lt;br /&gt;
|BHR&lt;br /&gt;
|Bahrain&lt;br /&gt;
|-&lt;br /&gt;
|BHS&lt;br /&gt;
|Bahamas&lt;br /&gt;
|-&lt;br /&gt;
|BIH&lt;br /&gt;
|Bosnia and Herzegovina&lt;br /&gt;
|-&lt;br /&gt;
|BLM&lt;br /&gt;
|Saint BarthÃ©lemy&lt;br /&gt;
|-&lt;br /&gt;
|BLR&lt;br /&gt;
|Belarus&lt;br /&gt;
|-&lt;br /&gt;
|BLZ&lt;br /&gt;
|Belize&lt;br /&gt;
|-&lt;br /&gt;
|BMU&lt;br /&gt;
|Bermuda&lt;br /&gt;
|-&lt;br /&gt;
|BOL&lt;br /&gt;
|Bolivia, Plurinational State of&lt;br /&gt;
|-&lt;br /&gt;
|BRA&lt;br /&gt;
|Brazil&lt;br /&gt;
|-&lt;br /&gt;
|BRB&lt;br /&gt;
|Barbados&lt;br /&gt;
|-&lt;br /&gt;
|BRN&lt;br /&gt;
|Brunei Darussalam&lt;br /&gt;
|-&lt;br /&gt;
|BTN&lt;br /&gt;
|Bhutan&lt;br /&gt;
|-&lt;br /&gt;
|BVT&lt;br /&gt;
|Bouvet Island&lt;br /&gt;
|-&lt;br /&gt;
|BWA&lt;br /&gt;
|Botswana&lt;br /&gt;
|-&lt;br /&gt;
|CAF&lt;br /&gt;
|Central African Republic&lt;br /&gt;
|-&lt;br /&gt;
|CAN&lt;br /&gt;
|Canada&lt;br /&gt;
|-&lt;br /&gt;
|CCK&lt;br /&gt;
|Cocos (Keeling) Islands&lt;br /&gt;
|-&lt;br /&gt;
|CHE&lt;br /&gt;
|Switzerland&lt;br /&gt;
|-&lt;br /&gt;
|CHL&lt;br /&gt;
|Chile&lt;br /&gt;
|-&lt;br /&gt;
|CHN&lt;br /&gt;
|China&lt;br /&gt;
|-&lt;br /&gt;
|CIV&lt;br /&gt;
|CÃ´te d&#039;Ivoire&lt;br /&gt;
|-&lt;br /&gt;
|CMR&lt;br /&gt;
|Cameroon&lt;br /&gt;
|-&lt;br /&gt;
|COD&lt;br /&gt;
|Congo, the Democratic Republic of the&lt;br /&gt;
|-&lt;br /&gt;
|COG&lt;br /&gt;
|Congo&lt;br /&gt;
|-&lt;br /&gt;
|COK&lt;br /&gt;
|Cook Islands&lt;br /&gt;
|-&lt;br /&gt;
|COL&lt;br /&gt;
|Colombia&lt;br /&gt;
|-&lt;br /&gt;
|COM&lt;br /&gt;
|Comoros&lt;br /&gt;
|-&lt;br /&gt;
|CPV&lt;br /&gt;
|Cape Verde&lt;br /&gt;
|-&lt;br /&gt;
|CRI&lt;br /&gt;
|Costa Rica&lt;br /&gt;
|-&lt;br /&gt;
|CUB&lt;br /&gt;
|Cuba&lt;br /&gt;
|-&lt;br /&gt;
|CUW&lt;br /&gt;
|CuraÃ§ao&lt;br /&gt;
|-&lt;br /&gt;
|CXR&lt;br /&gt;
|Christmas Island&lt;br /&gt;
|-&lt;br /&gt;
|CYM&lt;br /&gt;
|Cayman Islands&lt;br /&gt;
|-&lt;br /&gt;
|CYP&lt;br /&gt;
|Cyprus&lt;br /&gt;
|-&lt;br /&gt;
|CZE&lt;br /&gt;
|Czech Republic&lt;br /&gt;
|-&lt;br /&gt;
|DEU&lt;br /&gt;
|Germany&lt;br /&gt;
|-&lt;br /&gt;
|DJI&lt;br /&gt;
|Djibouti&lt;br /&gt;
|-&lt;br /&gt;
|DMA&lt;br /&gt;
|Dominica&lt;br /&gt;
|-&lt;br /&gt;
|DNK&lt;br /&gt;
|Denmark&lt;br /&gt;
|-&lt;br /&gt;
|DOM&lt;br /&gt;
|Dominican Republic&lt;br /&gt;
|-&lt;br /&gt;
|DZA&lt;br /&gt;
|Algeria&lt;br /&gt;
|-&lt;br /&gt;
|ECU&lt;br /&gt;
|Ecuador&lt;br /&gt;
|-&lt;br /&gt;
|EGY&lt;br /&gt;
|Egypt&lt;br /&gt;
|-&lt;br /&gt;
|ERI&lt;br /&gt;
|Eritrea&lt;br /&gt;
|-&lt;br /&gt;
|ESH&lt;br /&gt;
|Western Sahara&lt;br /&gt;
|-&lt;br /&gt;
|ESP&lt;br /&gt;
|Spain&lt;br /&gt;
|-&lt;br /&gt;
|EST&lt;br /&gt;
|Estonia&lt;br /&gt;
|-&lt;br /&gt;
|ETH&lt;br /&gt;
|Ethiopia&lt;br /&gt;
|-&lt;br /&gt;
|FIN&lt;br /&gt;
|Finland&lt;br /&gt;
|-&lt;br /&gt;
|FJI&lt;br /&gt;
|Fiji&lt;br /&gt;
|-&lt;br /&gt;
|FLK&lt;br /&gt;
|Falkland Islands (Malvinas)&lt;br /&gt;
|-&lt;br /&gt;
|FRA&lt;br /&gt;
|France&lt;br /&gt;
|-&lt;br /&gt;
|FRO&lt;br /&gt;
|Faroe Islands&lt;br /&gt;
|-&lt;br /&gt;
|FSM&lt;br /&gt;
|Micronesia, Federated States of&lt;br /&gt;
|-&lt;br /&gt;
|GAB&lt;br /&gt;
|Gabon&lt;br /&gt;
|-&lt;br /&gt;
|GBR&lt;br /&gt;
|United Kingdom&lt;br /&gt;
|-&lt;br /&gt;
|GEO&lt;br /&gt;
|Georgia&lt;br /&gt;
|-&lt;br /&gt;
|GGY&lt;br /&gt;
|Guernsey&lt;br /&gt;
|-&lt;br /&gt;
|GHA&lt;br /&gt;
|Ghana&lt;br /&gt;
|-&lt;br /&gt;
|GIB&lt;br /&gt;
|Gibraltar&lt;br /&gt;
|-&lt;br /&gt;
|GIN&lt;br /&gt;
|Guinea&lt;br /&gt;
|-&lt;br /&gt;
|GLP&lt;br /&gt;
|Guadeloupe&lt;br /&gt;
|-&lt;br /&gt;
|GMB&lt;br /&gt;
|Gambia&lt;br /&gt;
|-&lt;br /&gt;
|GNB&lt;br /&gt;
|Guinea-Bissau&lt;br /&gt;
|-&lt;br /&gt;
|GNQ&lt;br /&gt;
|Equatorial Guinea&lt;br /&gt;
|-&lt;br /&gt;
|GRC&lt;br /&gt;
|Greece&lt;br /&gt;
|-&lt;br /&gt;
|GRD&lt;br /&gt;
|Grenada&lt;br /&gt;
|-&lt;br /&gt;
|GRL&lt;br /&gt;
|Greenland&lt;br /&gt;
|-&lt;br /&gt;
|GTM&lt;br /&gt;
|Guatemala&lt;br /&gt;
|-&lt;br /&gt;
|GUF&lt;br /&gt;
|French Guiana&lt;br /&gt;
|-&lt;br /&gt;
|GUM&lt;br /&gt;
|Guam&lt;br /&gt;
|-&lt;br /&gt;
|GUY&lt;br /&gt;
|Guyana&lt;br /&gt;
|-&lt;br /&gt;
|HKG&lt;br /&gt;
|Hong Kong&lt;br /&gt;
|-&lt;br /&gt;
|HMD&lt;br /&gt;
|Heard Island and McDonald Islands&lt;br /&gt;
|-&lt;br /&gt;
|HND&lt;br /&gt;
|Honduras&lt;br /&gt;
|-&lt;br /&gt;
|HRV&lt;br /&gt;
|Croatia&lt;br /&gt;
|-&lt;br /&gt;
|HTI&lt;br /&gt;
|Haiti&lt;br /&gt;
|-&lt;br /&gt;
|HUN&lt;br /&gt;
|Hungary&lt;br /&gt;
|-&lt;br /&gt;
|IDN&lt;br /&gt;
|Indonesia&lt;br /&gt;
|-&lt;br /&gt;
|IMN&lt;br /&gt;
|Isle of Man&lt;br /&gt;
|-&lt;br /&gt;
|IND&lt;br /&gt;
|India&lt;br /&gt;
|-&lt;br /&gt;
|IOT&lt;br /&gt;
|British Indian Ocean Territory&lt;br /&gt;
|-&lt;br /&gt;
|IRL&lt;br /&gt;
|Ireland&lt;br /&gt;
|-&lt;br /&gt;
|IRN&lt;br /&gt;
|Iran, Islamic Republic of&lt;br /&gt;
|-&lt;br /&gt;
|IRQ&lt;br /&gt;
|Iraq&lt;br /&gt;
|-&lt;br /&gt;
|ISL&lt;br /&gt;
|Iceland&lt;br /&gt;
|-&lt;br /&gt;
|ISR&lt;br /&gt;
|Israel&lt;br /&gt;
|-&lt;br /&gt;
|ITA&lt;br /&gt;
|Italy&lt;br /&gt;
|-&lt;br /&gt;
|JAM&lt;br /&gt;
|Jamaica&lt;br /&gt;
|-&lt;br /&gt;
|JEY&lt;br /&gt;
|Jersey&lt;br /&gt;
|-&lt;br /&gt;
|JOR&lt;br /&gt;
|Jordan&lt;br /&gt;
|-&lt;br /&gt;
|JPN&lt;br /&gt;
|Japan&lt;br /&gt;
|-&lt;br /&gt;
|KAZ&lt;br /&gt;
|Kazakhstan&lt;br /&gt;
|-&lt;br /&gt;
|KEN&lt;br /&gt;
|Kenya&lt;br /&gt;
|-&lt;br /&gt;
|KGZ&lt;br /&gt;
|Kyrgyzstan&lt;br /&gt;
|-&lt;br /&gt;
|KHM&lt;br /&gt;
|Cambodia&lt;br /&gt;
|-&lt;br /&gt;
|KIR&lt;br /&gt;
|Kiribati&lt;br /&gt;
|-&lt;br /&gt;
|KNA&lt;br /&gt;
|Saint Kitts and Nevis&lt;br /&gt;
|-&lt;br /&gt;
|KOR&lt;br /&gt;
|Korea, Republic of&lt;br /&gt;
|-&lt;br /&gt;
|KWT&lt;br /&gt;
|Kuwait&lt;br /&gt;
|-&lt;br /&gt;
|LAO&lt;br /&gt;
|Lao People&#039;s Democratic Republic&lt;br /&gt;
|-&lt;br /&gt;
|LBN&lt;br /&gt;
|Lebanon&lt;br /&gt;
|-&lt;br /&gt;
|LBR&lt;br /&gt;
|Liberia&lt;br /&gt;
|-&lt;br /&gt;
|LBY&lt;br /&gt;
|Libya&lt;br /&gt;
|-&lt;br /&gt;
|LCA&lt;br /&gt;
|Saint Lucia&lt;br /&gt;
|-&lt;br /&gt;
|LIE&lt;br /&gt;
|Liechtenstein&lt;br /&gt;
|-&lt;br /&gt;
|LKA&lt;br /&gt;
|Sri Lanka&lt;br /&gt;
|-&lt;br /&gt;
|LSO&lt;br /&gt;
|Lesotho&lt;br /&gt;
|-&lt;br /&gt;
|LTU&lt;br /&gt;
|Lithuania&lt;br /&gt;
|-&lt;br /&gt;
|LUX&lt;br /&gt;
|Luxembourg&lt;br /&gt;
|-&lt;br /&gt;
|LVA&lt;br /&gt;
|Latvia&lt;br /&gt;
|-&lt;br /&gt;
|MAC&lt;br /&gt;
|Macao&lt;br /&gt;
|-&lt;br /&gt;
|MAF&lt;br /&gt;
|Saint Martin (French part)&lt;br /&gt;
|-&lt;br /&gt;
|MAR&lt;br /&gt;
|Morocco&lt;br /&gt;
|-&lt;br /&gt;
|MCO&lt;br /&gt;
|Monaco&lt;br /&gt;
|-&lt;br /&gt;
|MDA&lt;br /&gt;
|Moldova, Republic of&lt;br /&gt;
|-&lt;br /&gt;
|MDG&lt;br /&gt;
|Madagascar&lt;br /&gt;
|-&lt;br /&gt;
|MDV&lt;br /&gt;
|Maldives&lt;br /&gt;
|-&lt;br /&gt;
|MEX&lt;br /&gt;
|Mexico&lt;br /&gt;
|-&lt;br /&gt;
|MHL&lt;br /&gt;
|Marshall Islands&lt;br /&gt;
|-&lt;br /&gt;
|MKD&lt;br /&gt;
|Macedonia, the former Yugoslav Republic of&lt;br /&gt;
|-&lt;br /&gt;
|MLI&lt;br /&gt;
|Mali&lt;br /&gt;
|-&lt;br /&gt;
|MLT&lt;br /&gt;
|Malta&lt;br /&gt;
|-&lt;br /&gt;
|MMR&lt;br /&gt;
|Myanmar&lt;br /&gt;
|-&lt;br /&gt;
|MNE&lt;br /&gt;
|Montenegro&lt;br /&gt;
|-&lt;br /&gt;
|MNG&lt;br /&gt;
|Mongolia&lt;br /&gt;
|-&lt;br /&gt;
|MNP&lt;br /&gt;
|Northern Mariana Islands&lt;br /&gt;
|-&lt;br /&gt;
|MOZ&lt;br /&gt;
|Mozambique&lt;br /&gt;
|-&lt;br /&gt;
|MRT&lt;br /&gt;
|Mauritania&lt;br /&gt;
|-&lt;br /&gt;
|MSR&lt;br /&gt;
|Montserrat&lt;br /&gt;
|-&lt;br /&gt;
|MTQ&lt;br /&gt;
|Martinique&lt;br /&gt;
|-&lt;br /&gt;
|MUS&lt;br /&gt;
|Mauritius&lt;br /&gt;
|-&lt;br /&gt;
|MWI&lt;br /&gt;
|Malawi&lt;br /&gt;
|-&lt;br /&gt;
|MYS&lt;br /&gt;
|Malaysia&lt;br /&gt;
|-&lt;br /&gt;
|MYT&lt;br /&gt;
|Mayotte&lt;br /&gt;
|-&lt;br /&gt;
|NAM&lt;br /&gt;
|Namibia&lt;br /&gt;
|-&lt;br /&gt;
|NCL&lt;br /&gt;
|New Caledonia&lt;br /&gt;
|-&lt;br /&gt;
|NER&lt;br /&gt;
|Niger&lt;br /&gt;
|-&lt;br /&gt;
|NFK&lt;br /&gt;
|Norfolk Island&lt;br /&gt;
|-&lt;br /&gt;
|NGA&lt;br /&gt;
|Nigeria&lt;br /&gt;
|-&lt;br /&gt;
|NIC&lt;br /&gt;
|Nicaragua&lt;br /&gt;
|-&lt;br /&gt;
|NIU&lt;br /&gt;
|Niue&lt;br /&gt;
|-&lt;br /&gt;
|NLD&lt;br /&gt;
|Netherlands&lt;br /&gt;
|-&lt;br /&gt;
|NOR&lt;br /&gt;
|Norway&lt;br /&gt;
|-&lt;br /&gt;
|NPL&lt;br /&gt;
|Nepal&lt;br /&gt;
|-&lt;br /&gt;
|NRU&lt;br /&gt;
|Nauru&lt;br /&gt;
|-&lt;br /&gt;
|NZL&lt;br /&gt;
|New Zealand&lt;br /&gt;
|-&lt;br /&gt;
|OMN&lt;br /&gt;
|Oman&lt;br /&gt;
|-&lt;br /&gt;
|PAK&lt;br /&gt;
|Pakistan&lt;br /&gt;
|-&lt;br /&gt;
|PAN&lt;br /&gt;
|Panama&lt;br /&gt;
|-&lt;br /&gt;
|PCN&lt;br /&gt;
|Pitcairn&lt;br /&gt;
|-&lt;br /&gt;
|PER&lt;br /&gt;
|Peru&lt;br /&gt;
|-&lt;br /&gt;
|PHL&lt;br /&gt;
|Philippines&lt;br /&gt;
|-&lt;br /&gt;
|PLW&lt;br /&gt;
|Palau&lt;br /&gt;
|-&lt;br /&gt;
|PNG&lt;br /&gt;
|Papua New Guinea&lt;br /&gt;
|-&lt;br /&gt;
|POL&lt;br /&gt;
|Poland&lt;br /&gt;
|-&lt;br /&gt;
|PRI&lt;br /&gt;
|Puerto Rico&lt;br /&gt;
|-&lt;br /&gt;
|PRK&lt;br /&gt;
|Korea, Democratic People&#039;s Republic of&lt;br /&gt;
|-&lt;br /&gt;
|PRT&lt;br /&gt;
|Portugal&lt;br /&gt;
|-&lt;br /&gt;
|PRY&lt;br /&gt;
|Paraguay&lt;br /&gt;
|-&lt;br /&gt;
|PSE&lt;br /&gt;
|Palestinian Territory, Occupied&lt;br /&gt;
|-&lt;br /&gt;
|PYF&lt;br /&gt;
|French Polynesia&lt;br /&gt;
|-&lt;br /&gt;
|QAT&lt;br /&gt;
|Qatar&lt;br /&gt;
|-&lt;br /&gt;
|REU&lt;br /&gt;
|RÃ©union&lt;br /&gt;
|-&lt;br /&gt;
|ROU&lt;br /&gt;
|Romania&lt;br /&gt;
|-&lt;br /&gt;
|RUS&lt;br /&gt;
|Russian Federation&lt;br /&gt;
|-&lt;br /&gt;
|RWA&lt;br /&gt;
|Rwanda&lt;br /&gt;
|-&lt;br /&gt;
|SAU&lt;br /&gt;
|Saudi Arabia&lt;br /&gt;
|-&lt;br /&gt;
|SDN&lt;br /&gt;
|Sudan&lt;br /&gt;
|-&lt;br /&gt;
|SEN&lt;br /&gt;
|Senegal&lt;br /&gt;
|-&lt;br /&gt;
|SGP&lt;br /&gt;
|Singapore&lt;br /&gt;
|-&lt;br /&gt;
|SGS&lt;br /&gt;
|South Georgia and the South Sandwich Islands&lt;br /&gt;
|-&lt;br /&gt;
|SHN&lt;br /&gt;
|Saint Helena, Ascension and Tristan da Cunha&lt;br /&gt;
|-&lt;br /&gt;
|SJM&lt;br /&gt;
|Svalbard and Jan Mayen&lt;br /&gt;
|-&lt;br /&gt;
|SLB&lt;br /&gt;
|Solomon Islands&lt;br /&gt;
|-&lt;br /&gt;
|SLE&lt;br /&gt;
|Sierra Leone&lt;br /&gt;
|-&lt;br /&gt;
|SLV&lt;br /&gt;
|El Salvador&lt;br /&gt;
|-&lt;br /&gt;
|SMR&lt;br /&gt;
|San Marino&lt;br /&gt;
|-&lt;br /&gt;
|SOM&lt;br /&gt;
|Somalia&lt;br /&gt;
|-&lt;br /&gt;
|SPM&lt;br /&gt;
|Saint Pierre and Miquelon&lt;br /&gt;
|-&lt;br /&gt;
|SRB&lt;br /&gt;
|Serbia&lt;br /&gt;
|-&lt;br /&gt;
|SSD&lt;br /&gt;
|South Sudan&lt;br /&gt;
|-&lt;br /&gt;
|STP&lt;br /&gt;
|Sao Tome and Principe&lt;br /&gt;
|-&lt;br /&gt;
|SUR&lt;br /&gt;
|Suriname&lt;br /&gt;
|-&lt;br /&gt;
|SVK&lt;br /&gt;
|Slovakia&lt;br /&gt;
|-&lt;br /&gt;
|SVN&lt;br /&gt;
|Slovenia&lt;br /&gt;
|-&lt;br /&gt;
|SWE&lt;br /&gt;
|Sweden&lt;br /&gt;
|-&lt;br /&gt;
|SWZ&lt;br /&gt;
|Swaziland&lt;br /&gt;
|-&lt;br /&gt;
|SXM&lt;br /&gt;
|Sint Maarten (Dutch part)&lt;br /&gt;
|-&lt;br /&gt;
|SYC&lt;br /&gt;
|Seychelles&lt;br /&gt;
|-&lt;br /&gt;
|SYR&lt;br /&gt;
|Syrian Arab Republic&lt;br /&gt;
|-&lt;br /&gt;
|TCA&lt;br /&gt;
|Turks and Caicos Islands&lt;br /&gt;
|-&lt;br /&gt;
|TCD&lt;br /&gt;
|Chad&lt;br /&gt;
|-&lt;br /&gt;
|TGO&lt;br /&gt;
|Togo&lt;br /&gt;
|-&lt;br /&gt;
|THA&lt;br /&gt;
|Thailand&lt;br /&gt;
|-&lt;br /&gt;
|TJK&lt;br /&gt;
|Tajikistan&lt;br /&gt;
|-&lt;br /&gt;
|TKL&lt;br /&gt;
|Tokelau&lt;br /&gt;
|-&lt;br /&gt;
|TKM&lt;br /&gt;
|Turkmenistan&lt;br /&gt;
|-&lt;br /&gt;
|TLS&lt;br /&gt;
|Timor-Leste&lt;br /&gt;
|-&lt;br /&gt;
|TON&lt;br /&gt;
|Tonga&lt;br /&gt;
|-&lt;br /&gt;
|TTO&lt;br /&gt;
|Trinidad and Tobago&lt;br /&gt;
|-&lt;br /&gt;
|TUN&lt;br /&gt;
|Tunisia&lt;br /&gt;
|-&lt;br /&gt;
|TUR&lt;br /&gt;
|Turkey&lt;br /&gt;
|-&lt;br /&gt;
|TUV&lt;br /&gt;
|Tuvalu&lt;br /&gt;
|-&lt;br /&gt;
|TWN&lt;br /&gt;
|Taiwan, Province of China&lt;br /&gt;
|-&lt;br /&gt;
|TZA&lt;br /&gt;
|Tanzania, United Republic of&lt;br /&gt;
|-&lt;br /&gt;
|UGA&lt;br /&gt;
|Uganda&lt;br /&gt;
|-&lt;br /&gt;
|UKR&lt;br /&gt;
|Ukraine&lt;br /&gt;
|-&lt;br /&gt;
|UMI&lt;br /&gt;
|United States Minor Outlying Islands&lt;br /&gt;
|-&lt;br /&gt;
|URY&lt;br /&gt;
|Uruguay&lt;br /&gt;
|-&lt;br /&gt;
|USA&lt;br /&gt;
|United States&lt;br /&gt;
|-&lt;br /&gt;
|UZB&lt;br /&gt;
|Uzbekistan&lt;br /&gt;
|-&lt;br /&gt;
|VAT&lt;br /&gt;
|Holy See (Vatican City State)&lt;br /&gt;
|-&lt;br /&gt;
|VCT&lt;br /&gt;
|Saint Vincent and the Grenadines&lt;br /&gt;
|-&lt;br /&gt;
|VEN&lt;br /&gt;
|Venezuela, Bolivarian Republic of&lt;br /&gt;
|-&lt;br /&gt;
|VGB&lt;br /&gt;
|Virgin Islands, British&lt;br /&gt;
|-&lt;br /&gt;
|VIR&lt;br /&gt;
|Virgin Islands, U.S.&lt;br /&gt;
|-&lt;br /&gt;
|VNM&lt;br /&gt;
|Viet Nam&lt;br /&gt;
|-&lt;br /&gt;
|VUT&lt;br /&gt;
|Vanuatu&lt;br /&gt;
|-&lt;br /&gt;
|WLF&lt;br /&gt;
|Wallis and Futuna&lt;br /&gt;
|-&lt;br /&gt;
|WSM&lt;br /&gt;
|Samoa&lt;br /&gt;
|-&lt;br /&gt;
|YEM&lt;br /&gt;
|Yemen&lt;br /&gt;
|-&lt;br /&gt;
|ZAF&lt;br /&gt;
|South Africa&lt;br /&gt;
|-&lt;br /&gt;
|ZMB&lt;br /&gt;
|Zambia&lt;br /&gt;
|-&lt;br /&gt;
|ZWE&lt;br /&gt;
|Zimbabwe&lt;br /&gt;
|}&lt;br /&gt;
=== 0092-Re-AdmissionIndicator ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Code&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|R&lt;br /&gt;
|Re-admission&lt;br /&gt;
|}&lt;br /&gt;
=== 0125-ValueType ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Code&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|CE&lt;br /&gt;
|Coded Entry&lt;br /&gt;
|-&lt;br /&gt;
|ED&lt;br /&gt;
|Encapsulated Data&lt;br /&gt;
|-&lt;br /&gt;
|FT&lt;br /&gt;
|Formatted Text (Display)&lt;br /&gt;
|-&lt;br /&gt;
|NM&lt;br /&gt;
|Numeric&lt;br /&gt;
|-&lt;br /&gt;
|SN&lt;br /&gt;
|Structured Numeric&lt;br /&gt;
|-&lt;br /&gt;
|ST&lt;br /&gt;
|String Data.&lt;br /&gt;
|-&lt;br /&gt;
|TX&lt;br /&gt;
|Text Data (Display)&lt;br /&gt;
|}&lt;br /&gt;
=== 0127-AllergenType ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Code&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|AA&lt;br /&gt;
|Animal Allergy&lt;br /&gt;
|-&lt;br /&gt;
|DA&lt;br /&gt;
|Drug allergy&lt;br /&gt;
|-&lt;br /&gt;
|EA&lt;br /&gt;
|Environmental Allergy&lt;br /&gt;
|-&lt;br /&gt;
|FA&lt;br /&gt;
|Food allergy&lt;br /&gt;
|-&lt;br /&gt;
|IC&lt;br /&gt;
|Inorganic Chemicals&lt;br /&gt;
|-&lt;br /&gt;
|IN&lt;br /&gt;
|Insects&lt;br /&gt;
|-&lt;br /&gt;
|IO&lt;br /&gt;
|Iodine&lt;br /&gt;
|-&lt;br /&gt;
|LA&lt;br /&gt;
|Pollen Allergy&lt;br /&gt;
|-&lt;br /&gt;
|MA&lt;br /&gt;
|Miscellaneous allergy&lt;br /&gt;
|-&lt;br /&gt;
|MC&lt;br /&gt;
|Miscellaneous contraindication&lt;br /&gt;
|-&lt;br /&gt;
|OC&lt;br /&gt;
|Organic Chemicals&lt;br /&gt;
|-&lt;br /&gt;
|PA&lt;br /&gt;
|Plant Allergy&lt;br /&gt;
|}&lt;br /&gt;
=== 0128-AllergySeverity ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Code&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|0&lt;br /&gt;
|Unknown&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|Insignificant/Minimal&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Mild&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|Moderate&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|Moderate-Severe&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|Very Severe&lt;br /&gt;
|}&lt;br /&gt;
=== 0228-DiagnosisClassification ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Code&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|C&lt;br /&gt;
|Consultation&lt;br /&gt;
|-&lt;br /&gt;
|D&lt;br /&gt;
|Diagnosis&lt;br /&gt;
|-&lt;br /&gt;
|I&lt;br /&gt;
|Invasive procedure not classified elsewhere (I.V., catheter, etc.)&lt;br /&gt;
|-&lt;br /&gt;
|M&lt;br /&gt;
|Medication (antibiotic)&lt;br /&gt;
|-&lt;br /&gt;
|O&lt;br /&gt;
|Other&lt;br /&gt;
|-&lt;br /&gt;
|R&lt;br /&gt;
|Radiological scheduling (not using ICDA codes)&lt;br /&gt;
|-&lt;br /&gt;
|S&lt;br /&gt;
|Sign and symptom&lt;br /&gt;
|-&lt;br /&gt;
|T&lt;br /&gt;
|Tissue diagnosis&lt;br /&gt;
|}&lt;br /&gt;
=== DDS-HL7v2-EventType ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Code&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|A28&lt;br /&gt;
|ADT A28 - create patient record&lt;br /&gt;
|-&lt;br /&gt;
|A31&lt;br /&gt;
|ADT A31 - update patient record&lt;br /&gt;
|-&lt;br /&gt;
|A40&lt;br /&gt;
|ADT A40 - merge patient records&lt;br /&gt;
|-&lt;br /&gt;
|A05&lt;br /&gt;
|ADT A05 - pre-admit a patient&lt;br /&gt;
|-&lt;br /&gt;
|A38&lt;br /&gt;
|ADT A38 - cancel a pre-admit&lt;br /&gt;
|-&lt;br /&gt;
|A01&lt;br /&gt;
|ADT A01 - admit a patient&lt;br /&gt;
|-&lt;br /&gt;
|A11&lt;br /&gt;
|ADT A11 - cancel admit&lt;br /&gt;
|-&lt;br /&gt;
|A02&lt;br /&gt;
|ADT A02 - transfer a patient&lt;br /&gt;
|-&lt;br /&gt;
|A12&lt;br /&gt;
|ADT A12 - cancel transfer&lt;br /&gt;
|-&lt;br /&gt;
|A03&lt;br /&gt;
|ADT A03 - discharge a patient&lt;br /&gt;
|-&lt;br /&gt;
|A13&lt;br /&gt;
|ADT A13 - cancel discharge&lt;br /&gt;
|-&lt;br /&gt;
|R01&lt;br /&gt;
|ORU R01 - send observations&lt;br /&gt;
|}&lt;br /&gt;
=== DDS-HL7v2-MessageType ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Code&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|ADT&lt;br /&gt;
|ADT message&lt;br /&gt;
|-&lt;br /&gt;
|ORU&lt;br /&gt;
|ORU message&lt;br /&gt;
|-&lt;br /&gt;
|ACK&lt;br /&gt;
|General acknowledgment message&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== DDS-HL7v2-AckCode ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Code&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|AA&lt;br /&gt;
|Application Accept&lt;br /&gt;
|-&lt;br /&gt;
|AE&lt;br /&gt;
|Application Error&lt;br /&gt;
|-&lt;br /&gt;
|AR&lt;br /&gt;
|Application Reject&lt;br /&gt;
|}&lt;br /&gt;
=== 0062-EventReason ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Code&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|01&lt;br /&gt;
|Patient request&lt;br /&gt;
|-&lt;br /&gt;
|02&lt;br /&gt;
|Physician/health practitioner order&lt;br /&gt;
|-&lt;br /&gt;
|03&lt;br /&gt;
|Census management&lt;br /&gt;
|}&lt;br /&gt;
=== DDS-ResultStatus ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Code&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|C&lt;br /&gt;
|Correction to results&lt;br /&gt;
|-&lt;br /&gt;
|F&lt;br /&gt;
|Final results; results stored and verified. Can only be changed with a corrected result.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== NHSEOrganisationRole ===&lt;br /&gt;
&lt;br /&gt;
* URL - https://directory.spineservices.nhs.uk/STU3/CodeSystem/ODSAPI-OrganizationRole-1&lt;br /&gt;
* Version - 1.24.0&lt;br /&gt;
&lt;br /&gt;
=== 0074-DiagnosticServiceSectionID ===&lt;br /&gt;
&lt;br /&gt;
* URL - http://terminology.hl7.org/CodeSystem/v2-0074&lt;br /&gt;
* Version - 2.9&lt;br /&gt;
&lt;br /&gt;
=== HL7v3-EncounterType ===&lt;br /&gt;
&lt;br /&gt;
* URL - http://terminology.hl7.org/ValueSet/v3-ActEncounterCode&lt;br /&gt;
* Version - 2014-03-26&lt;br /&gt;
&lt;br /&gt;
=== FHIR-ProcedureCode ===&lt;br /&gt;
[TODO - is this the right valueset to use?]&lt;br /&gt;
&lt;br /&gt;
* URL - http://hl7.org/fhir/ValueSet/procedure-code&lt;br /&gt;
* Version - 4.0.1&lt;/div&gt;</summary>
		<author><name>Sophie</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Publisher_API_HL7_Messages&amp;diff=5893</id>
		<title>Publisher API HL7 Messages</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Publisher_API_HL7_Messages&amp;diff=5893"/>
		<updated>2022-01-10T13:35:54Z</updated>

		<summary type="html">&lt;p&gt;Sophie: Latest Version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
This page summarises the messages that are currently supported by DDS&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Acknowledgement&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*[[Publisher API HL7 Messages#ACK: General acknowledgement|ACK]] - general acknowledgement&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Records&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*[[Publisher API HL7 Messages#ADT A28: Create patient record|ADT A28]] - create patient record&lt;br /&gt;
*[[Publisher API HL7 Messages#ADT A31: Update patient record|ADT A31]] - update patient record&lt;br /&gt;
*[[Publisher API HL7 Messages#ADT A34: Merge Patient Information - Patient ID Only|ADT A34]] - merge patient records&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Encounters&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*[[Publisher API HL7 Messages#ADT A01: Admit Patient|ADT A01]] - admit a patient&lt;br /&gt;
*[[Publisher API HL7 Messages#ADT A11: Cancel admit|ADT A11]] - cancel admit&lt;br /&gt;
*[[Publisher API HL7 Messages#ADT 02: Transfer a Patient|ADT A02]] - transfer a patient&lt;br /&gt;
*[[Publisher API HL7 Messages#ADT A12: Cancel transfer|ADT A12]] - cancel transfer&lt;br /&gt;
*[[Publisher API HL7 Messages#ADT A03: Discharge Patient|ADT A03]] - discharge a patient&lt;br /&gt;
*[[Publisher API HL7 Messages#ADT A13: Cancel discharge|ADT A13]] - cancel discharge&lt;br /&gt;
*[[Publisher API HL7 Messages#ADT A08: Update Patient Information|ADT A08]] - update patient information&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Observations&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*[[Publisher API HL7 Messages#ORU R01: Unsolicited Observation|ORU R01]] - send observations&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Not currently defined&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*[[Publisher API HL7 Messages#Not currently defined|Not currently defined]]&lt;br /&gt;
&lt;br /&gt;
== Standard segments ==&lt;br /&gt;
See [[Publisher API HL7 Segments]] for definitions of the segments that are used across the DDS message set. Note that in many cases individual messages refine the standard definitions. Where this is the case it is made clear in the definition of each message below. &lt;br /&gt;
&lt;br /&gt;
== Coded field mapping ==&lt;br /&gt;
DDS has a core set of codes for various concepts. A scheme must be defined that maps your local codes on to their DDS core equivalents&lt;br /&gt;
&lt;br /&gt;
As a publisher you have two options open to you in terms of how coded values are mapped - &lt;br /&gt;
&lt;br /&gt;
# Map at source&lt;br /&gt;
# Map in DDS&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Map at source&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here the data that is published already contains the core DDS codes i.e. the mapping scheme is applied in &#039;&#039;your&#039;&#039; system. The onus is on you to maintain the mapping schemes within your local estate.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Map in DDS&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here the mapping scheme is applied when your data reaches the DDS i.e. local codes leave your system and are pushed in to DDS. The mapping scheme is maintained within DDS and DDS applies that scheme to the messages it receives.&lt;br /&gt;
&lt;br /&gt;
Note that in both cases there is still an onus on the publisher to create the mapping scheme from local to core DDS codes. The distinction is around when and where the mapping is applied.&lt;br /&gt;
&lt;br /&gt;
== ACK: General acknowledgement ==&lt;br /&gt;
This message is used to indicate whether or not DDS has successfully received an inbound message or not.&lt;br /&gt;
&lt;br /&gt;
The value of MSH:9.2 (trigger event) is always the same as the trigger event in the inbound message that is being acknowledged. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Segment&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#MSH - Message Header|MSH - Message Header]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#MSA - Message acknowledgement|MSA - Message acknowledgement]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|}&lt;br /&gt;
== ADT A28: Create patient record ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
This message will create a new patient record within DDS. [TODO - what happens if the record exists - will this act as A31?]&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
&#039;&#039;&#039;Segments&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Segment&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#MSH - Message Header|MSH - Message Header]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#EVN - Event Type|EVN - Event Type]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#PID - Patient Identification|PID - Patient Identification]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#PD1 - Patient Additional Demographic|PD1 - Patient Additional Demographics]]&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
== ADT A31: Update patient record ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
This message will update an existing patient record within DDS. [TODO - what happens if the record does not exist - will this act as A28?] &lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
&#039;&#039;&#039;Segments&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Segment&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#MSH - Message Header|MSH - Message Header]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#EVN - Event Type|EVN - Event Type]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#PID - Patient Identification|PID - Patient Identification]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#PD1 - Patient Additional Demographic|PD1 - Patient Additional Demographics]]&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
== ADT A34: Merge Patient Information - Patient ID Only ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
This message is used when two patient records are merged at the patient identifier list level.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;incorrect&amp;quot; identifier from MRG:4 is to be merged with the &amp;quot;correct&amp;quot; identifier from PID:3 where both identifiers have the same identifier type code.&lt;br /&gt;
&lt;br /&gt;
In theory the identifier from MRG:4 should not be used in future transactions when referring to the patient.&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
&#039;&#039;&#039;Segments&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Segment&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#MSH - Message Header|MSH - Message Header]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#EVN - Event Type|EVN - Event Type]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#PID - Patient Identification|PID - Patient Identification]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#MRG - Merge Patient Information|MRG - Merge Patient Information]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
== ADT A01: Admit Patient ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
This will create an Encounter for the specified patient&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
&#039;&#039;&#039;Segments&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Segment&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#MSH - Message Header|MSH - Message Header]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#EVN - Event Type|EVN - Event Type]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#PID - Patient Identification|PID - Patient Identification]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|PV1 - Patient Visit&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|}&lt;br /&gt;
&#039;&#039;&#039;Fields&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;PV1 - Patient Visit&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Refines the [[Publisher API HL7 Segments#PV1 - Patient Visit|DDS standard definition of PV1]] - &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
!Optionality&lt;br /&gt;
!Notes&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|PV1:3 - Assigned Patient Location&lt;br /&gt;
|R&lt;br /&gt;
|If not known please provide &amp;quot;UNKNOWN&amp;quot; for PV1:6.9&lt;br /&gt;
|^^^^^^^^UNKNOWN&lt;br /&gt;
|-&lt;br /&gt;
|PV1:4 - Admission Type&lt;br /&gt;
|R&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:9 - Consulting Doctor&lt;br /&gt;
|R&lt;br /&gt;
|If not known please provide &amp;quot;UNKNOWN&amp;quot; for the family name&lt;br /&gt;
|^UNKNOWN^^^^^^^^^^^^^^&lt;br /&gt;
|-&lt;br /&gt;
|PV1:14 - Admit source&lt;br /&gt;
|R&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:36 - Discharge Disposition&lt;br /&gt;
|X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:37 - Discharged to Location&lt;br /&gt;
|X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:44 - Admit Date/TIme&lt;br /&gt;
|R&lt;br /&gt;
|&lt;br /&gt;
|202105250824&lt;br /&gt;
|-&lt;br /&gt;
|PV1:45 - Discharge Date/Time&lt;br /&gt;
| X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
== ADT A11: Cancel admit ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The A11 is sent following the cancellation of an admission event (A01). The reason for cancellation could be that the original admission (A01) was created in error or that a decision was taken to not admit the patient.&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
&#039;&#039;&#039;Segments&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Segment&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#MSH - Message Header|MSH - Message Header]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#EVN - Event Type|EVN - Event Type]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#PID - Patient Identification|PID - Patient Identification]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|PV1 - Patient Visit&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|}&lt;br /&gt;
&#039;&#039;&#039;Fields&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;PV1 - Patient Visit&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Refines the [[Publisher API HL7 Segments#PV1 - Patient Visit|DDS standard definition of PV1]] - &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
!Optionality&lt;br /&gt;
!Notes&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|PV1:3 - Assigned Patient Location&lt;br /&gt;
|X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:9 - Consulting Doctor&lt;br /&gt;
|R&lt;br /&gt;
|If not known please provide &amp;quot;UNKNOWN&amp;quot; for the family name&lt;br /&gt;
|^UNKNOWN^^^^^^^^^^^^^^&lt;br /&gt;
|-&lt;br /&gt;
|PV1:36 - Discharge Disposition&lt;br /&gt;
|X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:37 - Discharged to Location&lt;br /&gt;
|X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:44 - Admit Date/TIme&lt;br /&gt;
|X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:45 - Discharge Date/Time&lt;br /&gt;
| X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
== ADT 02: Transfer a Patient ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
Records a patient transfer. Note that there can be three kinds of transfer - &lt;br /&gt;
&lt;br /&gt;
# location transfer&lt;br /&gt;
# clinician transfer&lt;br /&gt;
# location and clinician transfer&lt;br /&gt;
&lt;br /&gt;
In the case of a location transfer PV1:6 (prior patient location) will be populated along with PV1:3 (assigned patient location). In the case of clinician transfer PV1:9 (consulting doctor) will be updated. Note also that EVN:2 (recorded date/time) is used to track the actual time of transfer. &lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
&#039;&#039;&#039;Segments&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Segment&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#MSH - Message Header|MSH - Message Header]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#EVN - Event Type|EVN - Event Type]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#PID - Patient Identification|PID - Patient Identification]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|PV1 - Patient Visit&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|}&lt;br /&gt;
&#039;&#039;&#039;Fields&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;PV1 - Patient Visit&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Refines the [[Publisher API HL7 Segments#PV1 - Patient Visit|DDS standard definition of PV1]] - &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
!Optionality&lt;br /&gt;
!Notes&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|PV1:3 - Assigned Patient Location&lt;br /&gt;
|R&lt;br /&gt;
|If not known please provide &amp;quot;UNKNOWN&amp;quot; for PV1:6.9. If this is not a location transfer then provide the existing location. If this is a location transfer then provide the new location&lt;br /&gt;
|^^^^^^^^UNKNOWN&lt;br /&gt;
|-&lt;br /&gt;
|PV1:9 - Consulting Doctor&lt;br /&gt;
|R&lt;br /&gt;
|If not known please provide &amp;quot;UNKNOWN&amp;quot; for the family name. If this is not a clinician transfer then provide the existing clinician. If this is a location transfer then provide the new clinician&lt;br /&gt;
|^UNKNOWN^^^^^^^^^^^^^^&lt;br /&gt;
|-&lt;br /&gt;
|PV1:36 - Discharge Disposition&lt;br /&gt;
|X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:37 - Discharged to Location&lt;br /&gt;
|X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:44 - Admit Date/TIme&lt;br /&gt;
|X&lt;br /&gt;
|Ignored if supplied. Instead see EVN:3.2 where the transfer time will be recorded&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:45 - Discharge Date/Time&lt;br /&gt;
| X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
== ADT A12: Cancel transfer ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The A12 is sent following the cancellation of a transfer event (A02). The reason for cancellation could be that the original transfer (A02) was created in error or that a decision was taken to not transfer the patient.&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
&#039;&#039;&#039;Segments&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Segment&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#MSH - Message Header|MSH - Message Header]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#EVN - Event Type|EVN - Event Type]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#PID - Patient Identification|PID - Patient Identification]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|PV1 - Patient Visit&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|}&lt;br /&gt;
&#039;&#039;&#039;Fields&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;PV1 - Patient Visit&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Refines the [[Publisher API HL7 Segments#PV1 - Patient Visit|DDS standard definition of PV1]] - &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
!Optionality&lt;br /&gt;
!Notes&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|PV1:3 - Assigned Patient Location&lt;br /&gt;
|X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:9 - Consulting Doctor&lt;br /&gt;
|R&lt;br /&gt;
|If not known please provide &amp;quot;UNKNOWN&amp;quot; for the family name&lt;br /&gt;
|^UNKNOWN^^^^^^^^^^^^^^&lt;br /&gt;
|-&lt;br /&gt;
|PV1:36 - Discharge Disposition&lt;br /&gt;
|X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:37 - Discharged to Location&lt;br /&gt;
|X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:44 - Admit Date/TIme&lt;br /&gt;
|X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:45 - Discharge Date/Time&lt;br /&gt;
| X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
== ADT A03: Discharge Patient ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
This message signals that the patient&#039;s stay in the healthcare facility has ended.&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
&#039;&#039;&#039;Segments&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Segment&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#MSH - Message Header|MSH - Message Header]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#EVN - Event Type|EVN - Event Type]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#PID - Patient Identification|PID - Patient Identification]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|PV1 - Patient Visit&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|}&lt;br /&gt;
&#039;&#039;&#039;Fields&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;PV1 - Patient Visit&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Refines the [[Publisher API HL7 Segments#PV1 - Patient Visit|DDS standard definition of PV1]] - &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
!Optionality&lt;br /&gt;
!Notes&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|PV1:3 - Assigned Patient Location&lt;br /&gt;
|X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:6 - Prior Patient Location&lt;br /&gt;
|O&lt;br /&gt;
|If not known please provide &amp;quot;UNKNOWN&amp;quot; for PV1:6.9&lt;br /&gt;
|^^^^^^^^UNKNOWN&lt;br /&gt;
|-&lt;br /&gt;
|PV1:9 - Consulting Doctor&lt;br /&gt;
|R&lt;br /&gt;
|If not known please provide &amp;quot;UNKNOWN&amp;quot; for the family name&lt;br /&gt;
|^UNKNOWN^^^^^^^^^^^^^^&lt;br /&gt;
|-&lt;br /&gt;
|PV1:36 - Discharge Disposition&lt;br /&gt;
|R&lt;br /&gt;
|If not known please provide &amp;quot;UNKNOWN&amp;quot;&lt;br /&gt;
|UNKNOWN&lt;br /&gt;
|-&lt;br /&gt;
|PV1:37 - Discharged to Location&lt;br /&gt;
|R&lt;br /&gt;
|If not known please provide &amp;quot;UNKNOWN&amp;quot;&lt;br /&gt;
|19&lt;br /&gt;
|-&lt;br /&gt;
|PV1:44 - Admit Date/TIme&lt;br /&gt;
|R&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:45 - Discharge Date/Time&lt;br /&gt;
| R&lt;br /&gt;
|&lt;br /&gt;
|202105250824&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
== ADT A13: Cancel discharge ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The A13 is sent following the cancellation of a discharge event (A03). The reason for cancellation could be that the discharge transfer (A03) was created in error or that a decision was taken to not discharge the patient.&lt;br /&gt;
=== Definition ===&lt;br /&gt;
&#039;&#039;&#039;Segments&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Segment&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#MSH - Message Header|MSH - Message Header]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#EVN - Event Type|EVN - Event Type]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#PID - Patient Identification|PID - Patient Identification]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|PV1 - Patient Visit&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|}&lt;br /&gt;
&#039;&#039;&#039;Fields&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;PV1 - Patient Visit&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Refines the [[Publisher API HL7 Segments#PV1 - Patient Visit|DDS standard definition of PV1]] - &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
!Optionality&lt;br /&gt;
!Notes&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|PV1:3 - Assigned Patient Location&lt;br /&gt;
|R&lt;br /&gt;
|Assigned Patient Location should record the location of the patient following the cancellation. In the case of a discharge created in error the location could be different from the patient’s location prior to the erroneous discharge. In this scenario the prior Location could be used to show the location before the erroneous A03 was sent. If Assigned Patient Location is not known please provide &amp;quot;UNKNOWN&amp;quot; for PV1:6.9&lt;br /&gt;
|^^^^^^^^UNKNOWN&lt;br /&gt;
|-&lt;br /&gt;
|PV1:9 - Consulting Doctor&lt;br /&gt;
|R&lt;br /&gt;
|If not known please provide &amp;quot;UNKNOWN&amp;quot; for the family name&lt;br /&gt;
|^UNKNOWN^^^^^^^^^^^^^^&lt;br /&gt;
|-&lt;br /&gt;
|PV1:36 - Discharge Disposition&lt;br /&gt;
|X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:37 - Discharged to Location&lt;br /&gt;
|X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:44 - Admit Date/TIme&lt;br /&gt;
|X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:45 - Discharge Date/Time&lt;br /&gt;
| X&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
== ADT A08: Update Patient Information ==&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Overview&#039;&#039;&#039; ===&lt;br /&gt;
An A08 message is used to update existing encounter information. Note that it is important to supply a value for PV1:19 (Visit number) in order to match the encounter to update.&lt;br /&gt;
&lt;br /&gt;
[TODO] - &lt;br /&gt;
&lt;br /&gt;
* confirm behaviour if A08 is sent an no encounter exists&lt;br /&gt;
* confirm what happens to the previous version of the updated data (is it retained and retrievable?)&lt;br /&gt;
* What are the rules around triggered an update, for example if a field is left blank in PV1 does that mean that the existing data in DDS will not be updated?&lt;br /&gt;
* is it only the PV1 segment that is used as a source data to update i.e. the PID segment is ignored?&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Definition&#039;&#039;&#039; ===&lt;br /&gt;
&#039;&#039;&#039;Segments&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Segment&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#MSH - Message Header|MSH - Message Header]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#EVN - Event Type|EVN - Event Type]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#PID - Patient Identification|PID - Patient Identification]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|PV1 - Patient Visit&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|}&lt;br /&gt;
&#039;&#039;&#039;Fields&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;PV1 - Patient Visit&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Refines the [[Publisher API HL7 Segments#PV1 - Patient Visit|DDS standard definition of PV1]] - &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
!Component&lt;br /&gt;
!Data Type&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
!Description&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|PV1:2 - Patient Class&lt;br /&gt;
|PV1:2.1&lt;br /&gt;
|ID&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Allowed values are from table [[Publisher API Code Sets#0004-PatientClass|0004-PatientClass]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:3 - Assigned Patient Location&lt;br /&gt;
|PV1:3.1&lt;br /&gt;
|IS&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|General patient location&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:4 - Admission Type&lt;br /&gt;
|PV1:4.1&lt;br /&gt;
|ID&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Allowed values are from table [[Publisher API Code Sets#0007-AdmissionType|0007-AdmissionType]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:6 - Prior Patient Location&lt;br /&gt;
|PV1:6.9&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Free text description of the location&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;5&amp;quot; |PV1:7 - Attending Doctor&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Attending doctor. If provided, at least the family name must be given.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:7.2&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Family Name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:7.3&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Given Name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:7.4&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Middle Names&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:7.6&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Prefix&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;5&amp;quot; |PV1:8 - Referring Doctor&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Referring doctor. If provided, at least the family name must be given.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:8.2&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Family Name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:8.3&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Given Name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:8.4&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Middle Names&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:8.6&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Prefix&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;6&amp;quot; |PV1:9 - Consulting Doctor&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Consulting doctor. If provided, at least the family name must be given.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:9.1&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|ID number&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:9.2&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Family Name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:9.3&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Given Name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:9.4&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Middle Names&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:9.6&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Prefix&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:10 - Hospital Service&lt;br /&gt;
|PV1:10.1&lt;br /&gt;
|IS&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Allowed values are from table [[Publisher API Code Sets#0069-HospitalService|0069-HospitalService]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:13 - Re-admission Indicator&lt;br /&gt;
|PV1:13.1&lt;br /&gt;
|IS&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Allowed values are from table [[Publisher API Code Sets#0092-Re-AdmissionIndicator|0092-Re-AdmissionIndicator]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:14 - Admit source&lt;br /&gt;
|PV1:14.1&lt;br /&gt;
|IS&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Allowed values are from table [[Publisher API Code Sets#DDS-AdmissionSource|DDS-AdmissionSource]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:18 - Patient Type&lt;br /&gt;
|PV1:18.1&lt;br /&gt;
|IS&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Allowed values are from table [[Publisher API Code Sets#HL7v3-EncounterType|HL7v3-EncounterType]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:36 - Discharge Disposition&lt;br /&gt;
|PV1:36.1&lt;br /&gt;
|IS&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Allowed values are from table [[Publisher API Code Sets#0112-DischargeDisposition|0112-DischargeDisposition]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:37 - Discharged to Location&lt;br /&gt;
|PV1:37.1&lt;br /&gt;
|ID&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Allowed values are from table [[Publisher API Code Sets#0113-DischargedToLocation|0113-DischargedToLocation]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:44 - Admit Date/Time&lt;br /&gt;
|PV1:44.1&lt;br /&gt;
|TS&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Admit timestamp&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:45 - Discharge Date/Time&lt;br /&gt;
|PV1:45.1&lt;br /&gt;
|TS&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Discharge timestamp&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== ORU R01: Unsolicited Observation ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
DDS supports two kinds of Observation - &lt;br /&gt;
&lt;br /&gt;
*[[Publisher API HL7 Messages#ORU R01: Unsolicited Observation .28Laboratory.29|Laboratory observation]]&lt;br /&gt;
*[[Publisher API HL7 Messages#ORU R01: Unsolicited Observation .28Radiology.29|Radiology Observation]]&lt;br /&gt;
&lt;br /&gt;
DDS differentiates these by examining the value of MSH:3.1. For Radiology observations that value MUST be &amp;quot;RADIOLOGY&amp;quot;. Any other value is interpreted as a Laboratory observation.&lt;br /&gt;
&lt;br /&gt;
==== Payload size constraints ====&lt;br /&gt;
The specification does allow for binary payloads to be carried within the R01 message however it should be noted that publishers should verify that the inbound (to DDS) interface that is being integrated with is capable of receiving that type of payload.&lt;br /&gt;
&lt;br /&gt;
At the time of writing (Oct 2021) the DDS has a limit on the size of message that can be processed. This limitation is as a result of the queuing technology ([https://www.rabbitmq.com/ RabbitMQ]) that underpins the inbound message processing pipeline. There is a limit to the size of an individual message that can be processed hence it might be that binary payloads are not supported by the implementation at the time of integration. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Formatting of textual results&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Both Laboratory and Radiology observations can carry results in the form of text. The way that the text is formatted in the publisher&#039;s source system can be important from a clinical safety perspective. This is because formatting can impact the way a clinician interprets the information in the text. At the moment the specification does not attempt to cater for formatting rules that should be applied by consuming systems. This is an area that requires further elaboration. Potentially the Formatted Text (FT) data type could be used to convey this information. More detail can be found in the HL7 v2 standard - http://www.hl7.eu/HL7v2x/v27/std27/ch02.html#Heading44 (retrieved on 27 Oct 2021). &lt;br /&gt;
&lt;br /&gt;
==== Schema ====&lt;br /&gt;
&lt;br /&gt;
[[File:ORU Schema.png]]&lt;br /&gt;
&lt;br /&gt;
Note - In the diagram above the grey boxes are logical groupings of segments&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
&#039;&#039;&#039;segments&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Segment&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#MSH - Message Header|MSH - Message Header]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#EVN - Event Type|EVN - Event Type]]&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#PID - Patient Identification|PID - Patient Identification]]&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#PV1 - Patient Visit|PV1 - Patient Visit]]&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#ORC - Common Order|ORC - Common Order]]&lt;br /&gt;
|O&lt;br /&gt;
|Y&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#OBR - Observation Request|OBR - Observation Request]]&lt;br /&gt;
|C&lt;br /&gt;
|Y&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#OBX - Observation or result|OBX - Observation or result]]&lt;br /&gt;
|C&lt;br /&gt;
|Y&lt;br /&gt;
|-&lt;br /&gt;
|[[Publisher API HL7 Segments#NTE - Notes and Comments|NTE - Notes and Comments]]&lt;br /&gt;
|O&lt;br /&gt;
|Y&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== ORU R01: Unsolicited Observation (Laboratory) ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
This message is used to transmit unsolicited laboratory results into DDS. [TODO - how to differentiate path from rad results?]&lt;br /&gt;
&lt;br /&gt;
==== Interpretation of observations ====&lt;br /&gt;
Depending upon the structure of the R01, DDS will interpret the message in one of three ways. &lt;br /&gt;
&lt;br /&gt;
===== Single textual laboratory report =====&lt;br /&gt;
The following criteria are used to determine if an OBR contains a single textual laboratory report - &lt;br /&gt;
&lt;br /&gt;
* There are one or more OBX segments which when combined hold at least two lines of text&lt;br /&gt;
* Each OBX segment has a textual data type (TX, FT or ST)&lt;br /&gt;
* Each OBX segment has the same test ID as the others (OBX:3)&lt;br /&gt;
&lt;br /&gt;
The OBX segments are interpreted as lines of a report as are any NTE segments directly associated with the OBR.&lt;br /&gt;
&lt;br /&gt;
It&#039;s worth noting that OBX:13 can be used to carry details of any delay that is to be applied before the patient should see the results. If there is a delay associated with the report then this should be included on the first OBX segment.&lt;br /&gt;
&lt;br /&gt;
===== Collection of individual test results =====&lt;br /&gt;
If an OBR group does not meet the criteria for a single textual laboratory report then DDS assumes it to contain a collection of individual test results. DDS considers the comments for a given test result (OBX) to be the combination of the comments (NTE segments) associated directly with the OBR plus the comments (NTE segments) associated directly with the test result.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Embedded PDF result&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If OBX.2.1 (Value Type) contains &amp;quot;ED&amp;quot; then it is expected that the OBX segments contains an embedded, Base64-encoded PDF document&lt;br /&gt;
&lt;br /&gt;
===== NTE - Notes and Comments =====&lt;br /&gt;
DDS will interpret comments differently depending on where in the R01 message an NTE segment is found - &lt;br /&gt;
&lt;br /&gt;
* NTE segments that immediately follow the OBR segment are considered by DDS to apply to all results in the R01 message&lt;br /&gt;
* NTE segments immediately following an OBX segment are considered by DDS to apply only to the immediately preceding result&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
&#039;&#039;&#039;Fields&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
OBX - Observation&lt;br /&gt;
&lt;br /&gt;
Refines the [[Publisher API HL7 Segments#OBX%20-%20Observation%20or%20result|DDS standard definition of OBX]] -&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
!Component&lt;br /&gt;
!Data Type&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
!Description&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|OBX:3 - Observation Identifier&lt;br /&gt;
|OBX:3.3&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|DDS will only accept a measurement if this value is &amp;quot;SNOMED-CT&amp;quot;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;26604007 | Complete blood count (procedure)&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;6&amp;quot; |OBX:5 - Observation value&lt;br /&gt;
| -&lt;br /&gt;
|VARIES&lt;br /&gt;
|&lt;br /&gt;
|N&lt;br /&gt;
|The number of sub-fields varies depending upon the value of OBX:2.1&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:5.1&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|If OBX:2.1 = &amp;quot;ED&amp;quot; then this must be the source application&lt;br /&gt;
Otherwise the raw observation value&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:5.2&lt;br /&gt;
|ID&lt;br /&gt;
|C&lt;br /&gt;
|N&lt;br /&gt;
|Required if OBX:2.1 = &amp;quot;ED&amp;quot; and MUST be &amp;quot;document&amp;quot;&lt;br /&gt;
|document&lt;br /&gt;
|-&lt;br /&gt;
|OBX:5.3&lt;br /&gt;
|ID&lt;br /&gt;
|C&lt;br /&gt;
|N&lt;br /&gt;
|Required if OBX:2.1 = &amp;quot;ED&amp;quot; and MUST be &amp;quot;pdf&amp;quot;&lt;br /&gt;
|pdf&lt;br /&gt;
|-&lt;br /&gt;
|OBX:5.4&lt;br /&gt;
|ID&lt;br /&gt;
|C&lt;br /&gt;
|N&lt;br /&gt;
|Required if OBX:2.1 = &amp;quot;ED&amp;quot; and MUST be &amp;quot;Base64&amp;quot;&lt;br /&gt;
|Base64&lt;br /&gt;
|-&lt;br /&gt;
|OBX:5.5&lt;br /&gt;
|ST&lt;br /&gt;
|C&lt;br /&gt;
|N&lt;br /&gt;
|Required if OBX:2.1 = &amp;quot;ED&amp;quot; and must be Base64 encoded PDF document&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;u&amp;gt;ORC - Common Order&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Refines the [[Publisher API HL7 Segments#ORC - Common Order|DDS standard definition of ORC]] - &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
! Component&lt;br /&gt;
! Data Type&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
!Description&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|ORC:3 - Filler Order number&lt;br /&gt;
|ORC:3.1&lt;br /&gt;
|ST&lt;br /&gt;
|C&lt;br /&gt;
|N&lt;br /&gt;
|This string is required if OBR:3.1 is not provided&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
== ORU R01: Unsolicited Observation (Radiology) ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
&lt;br /&gt;
==== Interpretation of observations ====&lt;br /&gt;
DDS can interpret a radiology observation in three different ways - &lt;br /&gt;
&lt;br /&gt;
# as a single textual report with multiple image attachments&lt;br /&gt;
# as carrying an embedded PDF report&lt;br /&gt;
&lt;br /&gt;
It&#039;s worth noting that OBX:13 can be used to carry details of any delay that is to be applied before the patient should see the results. If there is a delay associated with the report then this should be included on the first OBX segment.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Single textual report with multiple image attachments&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If an OBX segments contains an image (OBX:2.1 = &amp;quot;ED&amp;quot; and OBX:5.2 = &amp;quot;image&amp;quot;) then the image will be extracted and added as an attachment to the textual report. The ordering of the OBX segments containing images is not meaningful to DDS.&lt;br /&gt;
&lt;br /&gt;
An NTE segment or an OBX segment that does not hold an image is considered to contain a portion of the report. The ordering of these segments will be respected by DDS and it will concatenate them to form a single textual report. Note that each segment will be delineated by a UNIX line feed character (escape sequence - \n Unicode character - U+000A).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Embedded PDF report&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DDS interprets a radiology observation in this way if the following is true - &lt;br /&gt;
 OBX:2.1 = &amp;quot;ED&amp;quot; and OBX:5.2 = &amp;quot;document&amp;quot; and OBX:5.3 = &amp;quot;pdf&amp;quot;&lt;br /&gt;
An NTE segment or an OBX segment that does not hold an image is considered to contain a portion of the report. The ordering of these segments will be respected by DDS and it will concatenate them to form a narrative block that will be associated with the PDF element of the observation.&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
&#039;&#039;&#039;Fields&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;OBX - Observation&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Refines the [[Publisher API HL7 Segments#OBX - Observation or result|DDS standard definition of OBX]] - &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
! Component&lt;br /&gt;
! Data Type&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
!Description&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|OBX:2 - Value Type&lt;br /&gt;
|OBX:2.1&lt;br /&gt;
|ID&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Radiology messages only support FT, TX or ED&lt;br /&gt;
|ED&lt;br /&gt;
|-&lt;br /&gt;
|OBX:3 - Observation Identifier&lt;br /&gt;
|OBX:3.2&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Needed to allow consumers to understand the type of radiology study that this observation represents. Note that if this is not specified then the OBR:4.2 value must be present. In this case the OBR:4.2 value is interpreted as the test code&lt;br /&gt;
|X-ray pelvis &lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;6&amp;quot; |OBX:5 - Observation value&lt;br /&gt;
| -&lt;br /&gt;
|VARIES&lt;br /&gt;
|&lt;br /&gt;
|N&lt;br /&gt;
|The number of sub-fields varies depending upon the value of OBX:2.1&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:5.1&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|If OBX:2.1 = &amp;quot;ED&amp;quot; then this must be the source application&lt;br /&gt;
Otherwise the raw observation value&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:5.2&lt;br /&gt;
|ID&lt;br /&gt;
|C&lt;br /&gt;
|N&lt;br /&gt;
|Required if OBX:2.1 = &amp;quot;ED&amp;quot; and MUST be &amp;quot;image&amp;quot; or &amp;quot;document&amp;quot;&lt;br /&gt;
|image&lt;br /&gt;
|-&lt;br /&gt;
|OBX:5.3&lt;br /&gt;
|ID&lt;br /&gt;
|C&lt;br /&gt;
|N&lt;br /&gt;
|Required if OBX:2.1 = &amp;quot;ED&amp;quot; &lt;br /&gt;
if OBX:5.2 = &amp;quot;image&amp;quot; then MUST be &amp;quot;TIFF&amp;quot;&lt;br /&gt;
&lt;br /&gt;
else if OBX:5.2 = &amp;quot;document&amp;quot; then must be &amp;quot;pdf&amp;quot;&lt;br /&gt;
|TIFF&lt;br /&gt;
|-&lt;br /&gt;
|OBX:5.4&lt;br /&gt;
|ID&lt;br /&gt;
|C&lt;br /&gt;
|N&lt;br /&gt;
|Required if OBX:2.1 = &amp;quot;ED&amp;quot; and MUST be &amp;quot;Base64&amp;quot;&lt;br /&gt;
|Base64&lt;br /&gt;
|-&lt;br /&gt;
|OBX:5.5&lt;br /&gt;
|ST&lt;br /&gt;
|C&lt;br /&gt;
|N&lt;br /&gt;
|Required if OBX:2.1 = &amp;quot;ED&amp;quot; and must be Base64 encoded image or PDF document&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Not currently defined ==&lt;br /&gt;
The following types of message are not currently in scope or need further elaboration&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Use case&lt;br /&gt;
!Messaging type&lt;br /&gt;
!Status&lt;br /&gt;
|-&lt;br /&gt;
|DICOM&lt;br /&gt;
|ORU - Unsolicited Results &lt;br /&gt;
|NOT IN SCOPE&lt;br /&gt;
|-&lt;br /&gt;
|Microbiology - discrete results&lt;br /&gt;
|ORU - Unsolicited Results &lt;br /&gt;
|REQUIRES ELABORATION (see https://www.hl7.org/documentcenter/public/standards/dstu/V251_IG_LRI_R1_STU3_2018JUN.pdf section 8.9.1)&lt;br /&gt;
|-&lt;br /&gt;
|Virology - discrete results&lt;br /&gt;
|ORU - Unsolicited Results &lt;br /&gt;
|REQUIRES ELABORATION (see https://www.hl7.org/documentcenter/public/standards/dstu/V251_IG_LRI_R1_STU3_2018JUN.pdf section 8.9.1)&lt;br /&gt;
|-&lt;br /&gt;
|Display formatting of text results&lt;br /&gt;
|ORU - Unsolicited Results&lt;br /&gt;
|REQUIRES ELABORATION (see [[Publisher API HL7 Messages#ORU%20R01:%20Unsolicited%20Observation|Formatting of textual results]])&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Sophie</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Publisher_API_HL7_Segments&amp;diff=5892</id>
		<title>Publisher API HL7 Segments</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Publisher_API_HL7_Segments&amp;diff=5892"/>
		<updated>2022-01-10T13:34:50Z</updated>

		<summary type="html">&lt;p&gt;Sophie: Latest Version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Below are all of the segments that a DDS Publisher using the HL7 API can send. The definitions below are generic and hence are relatively permissive. In the context of a specific message the segment various segment definitions may be refined to take account of the data needed to complete the business function associated with the message. More detail can be found on the [[Publisher API HL7 Messages|HL7 API messages page]]&lt;br /&gt;
&lt;br /&gt;
== Coded fields ==&lt;br /&gt;
Note that currently only a subset of the coded fields that are specified in the segments below are interpreted by DDS (see below). The remainder are left as-is once ingested in to DDS are are not processed further. In this latter case it is recommended that publishers take note of the suggested code sets as in the future it might be that these fields are interpreted by DDS and therefore a mapping exercise will need to be undertaken to map from publisher local codes to a core DDS code set.&lt;br /&gt;
&lt;br /&gt;
* Primary Language - PID:15&lt;br /&gt;
* Religion - PID:17&lt;br /&gt;
* Ethnic Group - PID:22&lt;br /&gt;
* Admission Type -  PV1:4&lt;br /&gt;
* Hospital Service - PV1:10&lt;br /&gt;
* Admit Source - PV1:14&lt;br /&gt;
* Patient Type - PV1:18 &lt;br /&gt;
* Discharge Disposition - PV1:36 &lt;br /&gt;
* Discharged to Location - PV1:37 &lt;br /&gt;
&lt;br /&gt;
== MSA - Message acknowledgement ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The MSA segment contains information sent whilst acknowledging an inbound message. The following rules govern the nature of the acknowledgement - &lt;br /&gt;
&lt;br /&gt;
* If the message could not be saved to the DDS message store then an AR (failure occurred, retry) acknowledgement code is returned.&lt;br /&gt;
* If the message is malformed, or fails sender, recipient or message type checks, or is missing a message control ID, or fails for an unexpected reason, an AE (failure occurred, move to next message) acknowledgement code is returned.&lt;br /&gt;
* If the message passes the above checks and is saved to the message store, an AA (success) acknowledgement code is returned.&lt;br /&gt;
* If the message receiver fails to send an acknowledgement (e.g. network outage, hardware failure etc), it is expected the sender will automatically re attempt to send the message.&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
!Component&lt;br /&gt;
!Data Type&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
!Description&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|MSA:1 - Acknowledgement code&lt;br /&gt;
|MSH:1.1&lt;br /&gt;
|ID&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Message type. Allowed values are from table [[Publisher API Code Sets#DDS-HL7v2-AckCode|DDS-HL7v2-AckCode]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|MSA:2 - Message control ID&lt;br /&gt;
|MSH:1.1&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Unique (to DDS) identifier assigned by DDS&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|MSA:3 - Text message&lt;br /&gt;
|MSA:3.1&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Further describes an error condition (may not always be provided by DDS)&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== MSH - Message Header ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The MSH segment defines the intent, source, destination, and some specifics of the syntax of a message&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
!Component&lt;br /&gt;
!Data Type&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
!Description&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|MSH.1 - Field Separator&lt;br /&gt;
|MSH:1.1&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Defines the character to be used as the separator in the message&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|MSH.2 - Encoding characters&lt;br /&gt;
|MSH:2.1&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Contains (in the following order) component separator, repetition separator, escape character, and subcomponent separator&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|MSH:3 - Sending application&lt;br /&gt;
|MSH:3.1&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Sending application name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|MSH:4 - Sending facility&lt;br /&gt;
|MSH:4.1&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Sending facility name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|MSH:5 - Receiving application&lt;br /&gt;
|MSH:5.1&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Receiving application name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|MSH:6 - Receiving facility&lt;br /&gt;
|MSH:6.1&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Receiving facility name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|MSH:7 - Message timestamp&lt;br /&gt;
|MSH:7.1&lt;br /&gt;
|DT&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Datetime that the sending system created the message&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |MSH:9 - Message type&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|MSH:9.1&lt;br /&gt;
|ID&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Message type. Values SHOULD be from table [[Publisher API Code Sets#DDS-HL7v2-MessageType|DDS-HL7v2-MessageType]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|MSH:9.2&lt;br /&gt;
|ID&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Trigger event. Values SHOULD be from table [[Publisher API Code Sets#DDS-HL7v2-EventType|DDS-HL7v2-EventType]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|MSH:10 - Message control ID. &lt;br /&gt;
|MSH:10.1&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|This must be unique for all messages sent to DDS by each publisher. However, DDS does not currently detect or reject duplicate messages based on this value, so it is important that each publisher enforces this themselves.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|MSH:11 - Processing ID&lt;br /&gt;
|MSH:11.1&lt;br /&gt;
|PT&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|In production MUST be &amp;quot;P&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|MSH:12 - Message version&lt;br /&gt;
|MSH:12.1&lt;br /&gt;
|ID&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|The version of HL7 that this message conforms to. MUST be &amp;quot;2.3&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== EVN - Event Type ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The EVN segment is used to communicate trigger event information to receiving applications&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
!Component&lt;br /&gt;
!Data Type&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
!Description&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|EVN:1 - Event Type Code&lt;br /&gt;
|EVN:1.1&lt;br /&gt;
|ID&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|The value should be the same as theMSH:9.2 (trigger event) &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|EVN:2 - Recorded Date/Time&lt;br /&gt;
|EVN:2.1&lt;br /&gt;
|TS&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Timestamp of when the transaction was entered&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|EVN:3 -  Date/Time planned event&lt;br /&gt;
|EVN:3.1&lt;br /&gt;
|TS&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Avoid populating this field. Instead use PV2 expected admit date and PV2 expected discharge date whenever possible.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|EVN:4 -  Event reason code&lt;br /&gt;
|EVN:4.1&lt;br /&gt;
|CWE &lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|The reason for this event. Allowed values are from table [[Publisher API Code Sets#0062-EventReason|0062-EventReason]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;5&amp;quot; |EVN:5 - Operator ID&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Operator ID. If provided, at least the family name must be given.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|EVN:5.2&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Family Name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|EVN:5.3&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Given Name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|EVN:5.4&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Middle Names&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|EVN:5.6&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Prefix&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|EVN:6 -  Event occured&lt;br /&gt;
|EVN:6.1&lt;br /&gt;
|TS&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|This field contains the date/time that the event actually occurred. For example, on a transfer (A02 (transfer a patient)), this field would contain the date/time the patient was actually transferred. On a cancellation event, this field should contain the date/time that the event being canceled occurred.&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== PID - Patient Identification ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The PID segment is used as the main way of communicating patient identification information. The majority of patient identifying and demographic information held within the PID segment is not subject to frequent changes&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
!Component&lt;br /&gt;
!Data Type&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
!Description&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|PID:2 - Patient ID&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|X&lt;br /&gt;
|N&lt;br /&gt;
|Not used. Instead please populate PID.3 Patient Identifier List&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |PID:3 - Patient Identifier List&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Patient Identifier List. This list must include at least both of the following (in order) -&lt;br /&gt;
&lt;br /&gt;
* the patient&#039;s local (to the publisher) identifier. In this instance the assigning authority (PID:3.4) must be &amp;quot;MRN&amp;quot;&lt;br /&gt;
*the patient&#039;s NHS number. In this instance the assigning authority (PID:3.4) must be &amp;quot;NHS&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:3.1&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|Y&lt;br /&gt;
|Patient ID&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:3.4&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Assigning authority&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;5&amp;quot; |PID:5 - Patient Name&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:5.1&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Family name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:5.2&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Given name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:5.3&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Middle names&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:5.5&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Title&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:7&lt;br /&gt;
|PID:7.1&lt;br /&gt;
|TS&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Date of birth&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:8&lt;br /&gt;
|PID:8.1&lt;br /&gt;
|IS&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Administrative sex. If [https://wiki.discoverydataservice.org/index.php?title=Publisher_API_HL7_Messages#Coded_field_mapping mapping at source] then allowed values are from table [[Publisher API Code Sets#AdministrativeSex|AdministrativeSex]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;8&amp;quot; |PID:11 - Patient Address&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:11.1&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Address line 1&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:11.2&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Address line 2&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:11.3&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|City&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:11.5&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Post code&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:11.6&lt;br /&gt;
|ID&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Country. Values SHOULD be from table [[Publisher API Code Sets#0399-CountryCode|0399-CountryCode]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:11.7&lt;br /&gt;
|ID&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Address usage eg temporary address&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:11.9&lt;br /&gt;
|IS&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|County&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |PID:13 - Home contact information&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:13.1&lt;br /&gt;
|TN&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Contact value&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:13.2&lt;br /&gt;
|ID&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Contact use code. Allowed values are &amp;quot;home&amp;quot; or &amp;quot;mobile&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |PID:14 - Work contact information&lt;br /&gt;
|  -&lt;br /&gt;
|  -&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:14.1&lt;br /&gt;
|TN&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Contact value&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:14.2&lt;br /&gt;
|ID&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Contact use code. Allowed values is &amp;quot;work&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |PID:15 - Primary language&lt;br /&gt;
|  -&lt;br /&gt;
|  -&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Primary language. This should be the ISO 639-1 code or one of the five communication method extensions defined in the NHS Data Dictionary code set.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:15.1&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Primary language. If [https://wiki.discoverydataservice.org/index.php?title=Publisher_API_HL7_Messages#Coded_field_mapping mapping at source]&amp;lt;nowiki&amp;gt; then allowed values are child concepts of the SNOMED CT World Languages concept  - 297289008 | World languages (qualifier value) |&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:17 - Religion&lt;br /&gt;
|PID:17.1&lt;br /&gt;
|IS&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Religion. If [https://wiki.discoverydataservice.org/index.php?title=Publisher_API_HL7_Messages#Coded_field_mapping mapping at source] then allowed values are from [https://datadictionary.nhs.uk/attributes/religious_or_other_belief_system_affiliation_code.html RELIGIOUS OR OTHER BELIEF SYSTEM AFFILIATION CODE]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:18 - Patient Account Number&lt;br /&gt;
|PID:18.1&lt;br /&gt;
|ST&lt;br /&gt;
|C&lt;br /&gt;
|N&lt;br /&gt;
|Though officially this field is intended to capture account number it has been repurposed in DDS. It is used to carry the identifier for the episode of care. Simplistically an episode of care encapsulates all of the encounters that a patient may have with a healthcare organisation from the point of referral to the point of discharge.&lt;br /&gt;
If the publisher does not have the concept of episode of care then instead this MUST be the same value as that found in PV1.19 - Visit number. &lt;br /&gt;
&lt;br /&gt;
If no PV1 segment accompanies this PID segment then PID:18 should not be populated&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:22 - Ethnic group&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|PID:22.1&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Ethnicity identifier. If [https://wiki.discoverydataservice.org/index.php?title=Publisher_API_HL7_Messages#Coded_field_mapping mapping at source] then allowed values are from [https://datadictionary.nhs.uk/data_elements/ethnic_category.html?hl=ethnicity ETHNIC CATEGORY]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:29 - Patient Death Date and Time&lt;br /&gt;
|PID:29.1&lt;br /&gt;
|TS&lt;br /&gt;
|C&lt;br /&gt;
|N&lt;br /&gt;
|If PID.30:1 is not empty and PID:30.1 == &amp;quot;Y&amp;quot; then PID:29 is mandatory&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PID:30 - Patient Death Indicator&lt;br /&gt;
|PID:30.1&lt;br /&gt;
|ID&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|&amp;quot;Y&amp;quot; or &amp;quot;N&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== PD1 - Patient Additional Demographic ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The PD1 segment contains demographic information about a patient that is likely to change. In the case of DDS is it used to carry GP data.&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
!Component&lt;br /&gt;
!Data Type&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
!Description&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |PD1:3 - Patient Primary Facility&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PD1:3.1&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PD1:3.3&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|ODS code&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;5&amp;quot; |PD1:4 - Patient Primary Care Provider Name and ID No&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PD1:4.1&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|GMC code&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PD1:4.2&lt;br /&gt;
|FN&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Family name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PD1:4.3&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Given name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PD1:4.6&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Prefix&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
== MRG - Merge Patient Information ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The MRG segment is used by DDS to support merging of patient identifiers&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
!Component&lt;br /&gt;
!Data Type&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
!Description&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|MRG:1 - Prior Patient Identifier List&lt;br /&gt;
|MRG:1.1&lt;br /&gt;
| CX&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|MUST only contain one value - the patient&#039;s local (to the publisher) identifier.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|MRG:2 - Prior Alternate Patient ID&lt;br /&gt;
|&lt;br /&gt;
|CX&lt;br /&gt;
|X&lt;br /&gt;
|N&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|MRG:3 - Prior Alternate Account Number&lt;br /&gt;
|&lt;br /&gt;
|CX&lt;br /&gt;
|X&lt;br /&gt;
|N&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|MRG:4 - Prior Patient ID&lt;br /&gt;
|&lt;br /&gt;
| -&lt;br /&gt;
|X&lt;br /&gt;
|N&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|MRG:5 - Prior Visit Number&lt;br /&gt;
|&lt;br /&gt;
|CX&lt;br /&gt;
|X&lt;br /&gt;
|N&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|MRG:6 - Prior Alternate Visit ID&lt;br /&gt;
|&lt;br /&gt;
|CX&lt;br /&gt;
|X&lt;br /&gt;
|N&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|MRG:7 - Prior Patient Name&lt;br /&gt;
|  -&lt;br /&gt;
| XPN&lt;br /&gt;
|X&lt;br /&gt;
|N&lt;br /&gt;
|Ignored if supplied&lt;br /&gt;
|&lt;br /&gt;
|}&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== PV1 - Patient Visit ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The PV1 segment is used by Registration/Patient Administration applications to communicate information on a visit-specific basis.&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
!Component&lt;br /&gt;
!Data Type&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
!Description&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|PV1:2 - Patient Class&lt;br /&gt;
|PV1:2.1&lt;br /&gt;
|ID&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|If [https://wiki.discoverydataservice.org/index.php?title=Publisher_API_HL7_Messages#Coded_field_mapping mapping at source] then allowed values are from table [[Publisher API Code Sets#PatientClass|PatientClass]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:3 - Assigned Patient Location&lt;br /&gt;
|PV1:3.1&lt;br /&gt;
|IS&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|General patient location&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:4 - Admission Type&lt;br /&gt;
|PV1:4.1&lt;br /&gt;
|ID&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|If [https://wiki.discoverydataservice.org/index.php?title=Publisher_API_HL7_Messages#Coded_field_mapping mapping at source] then allowed values are from [https://datadictionary.nhs.uk/attributes/admission_method.html ADMISSION METHOD]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;5&amp;quot; |PV1:8 - Referring Doctor&lt;br /&gt;
|  -&lt;br /&gt;
|  -&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Referring doctor. If provided, at least the family name must be given.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:8.1&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|ID number&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:8.2&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Family Name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:8.3&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Given Name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:8.6&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Prefix&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;5&amp;quot; |PV1:9 - Consulting Doctor&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Consulting doctor. If provided, at least the family name must be given.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:9.1&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|ID number&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:9.2&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Family Name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:9.3&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Given Name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:9.6&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Prefix&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:10 - Hospital Service&lt;br /&gt;
|PV1:10.1&lt;br /&gt;
|IS&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|If [https://wiki.discoverydataservice.org/index.php?title=Publisher_API_HL7_Messages#Coded_field_mapping mapping at source] then allowed values are from [https://datadictionary.nhs.uk/attributes/treatment_function_code.html TREATMENT FUNCTION CODE]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:14 - Admit source&lt;br /&gt;
|PV1:14.1&lt;br /&gt;
|IS&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|If [https://wiki.discoverydataservice.org/index.php?title=Publisher_API_HL7_Messages#Coded_field_mapping mapping at source] then allowed values are from [https://datadictionary.nhs.uk/attributes/source_of_admission.html SOURCE OF ADMISSION]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:18 - Patient Type&lt;br /&gt;
|PV1:18.1&lt;br /&gt;
|IS&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|If [https://wiki.discoverydataservice.org/index.php?title=Publisher_API_HL7_Messages#Coded_field_mapping mapping at source] then allowed values are from table [[Publisher API Code Sets#HL7v3-EncounterType|HL7v3-EncounterType]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:19 - Visit Number&lt;br /&gt;
|PV1:19.1&lt;br /&gt;
|CX&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Visit ID. Should uniquely identify an Encounter from the DDS publisher.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:36 - Discharge Disposition&lt;br /&gt;
|PV1:36.1&lt;br /&gt;
|IS&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|If [https://wiki.discoverydataservice.org/index.php?title=Publisher_API_HL7_Messages#Coded_field_mapping mapping at source] then allowed values are from [https://datadictionary.nhs.uk/attributes/discharge_method.html DISCHARGE METHOD]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:37 - Discharged to Location&lt;br /&gt;
|PV1:37.1&lt;br /&gt;
|ID&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|If [https://wiki.discoverydataservice.org/index.php?title=Publisher_API_HL7_Messages#Coded_field_mapping mapping at source] then allowed values are from [https://datadictionary.nhs.uk/attributes/discharge_destination.html DISCHARGE DESTINATION]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:44 - Admit Date/Time&lt;br /&gt;
|PV1:44.1&lt;br /&gt;
|TS&lt;br /&gt;
|C&lt;br /&gt;
|N&lt;br /&gt;
|Admit timestamp&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PV1:45 - Discharge Date/Time&lt;br /&gt;
|PV1:45.1&lt;br /&gt;
|TS&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Discharge timestamp&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== NTE - Notes and Comments ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The NTE segment is used to hold comments [TODO - are there any constraints on the size of an individual comment]&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
!Component&lt;br /&gt;
!Data Type&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
!Description&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|NTE:3 - Comment&lt;br /&gt;
|NTE:3.1&lt;br /&gt;
|FT&lt;br /&gt;
|R&lt;br /&gt;
|Y&lt;br /&gt;
|Comment&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== ORC - Common Order ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The ORC segment is used to carry information that is common across an order&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
!Component&lt;br /&gt;
!Data Type&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
!Description&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|ORC:3 - Filler Order number&lt;br /&gt;
|ORC:3.1&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|This string must uniquely identify an order from other orders in the filling system&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; |ORC:21 - Ordering Facility name&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Used to differentiate between different sources of result data (eg GP vs acute settings)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|ORC:21.1&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Facility name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|ORC:21.3&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Facility ID. Note that this MUST be the ODS code of the ordering facility&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|ORC:21.7&lt;br /&gt;
|ID&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Facility ID type. Values SHOULD be from table [[Publisher API Code Sets#0074-DiagnosticServiceSectionID|0074-DiagnosticServiceSectionID]]&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== OBR - Observation Request ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
DDS interprets an OBR as either representing a single textual laboratory report or a collection of individual test results. More information can be found in the [[Publisher API HL7 Messages#ORU_R01:_Unsolicited_Observation_.28Laboratory.29|ORU R01]] - Unsolicited Observation definition.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
!Component&lt;br /&gt;
!Data Type&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
!Description&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|OBR:3 - Filler Order number&lt;br /&gt;
|OBR:3.1&lt;br /&gt;
|ST&lt;br /&gt;
|C&lt;br /&gt;
|N&lt;br /&gt;
|OBR:3-filler order number is identical to ORC:3-filler order number. &lt;br /&gt;
If the filler order number is not present in the ORC, it must be present in the associated OBR&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;5&amp;quot; |OBR:4 - Universal Service Identifier&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBR:4.1&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Service Identifier&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBR:4.2&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Service name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBR:4.3&lt;br /&gt;
|ID&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Service coding system. Allowed values are [TODO]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBR:4.5&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Alternative service name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBR:7 - Observation date/time&lt;br /&gt;
|ORC:7.1&lt;br /&gt;
|TS&lt;br /&gt;
|C&lt;br /&gt;
|N&lt;br /&gt;
|Observation timestamp. If this is not present, OBX:14 is used instead. It is an error for neither to be provided.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;5&amp;quot; |OBR:16 - Ordered by&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|If provided, at least the family name must be given.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBR:16.2&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Family Name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBR:16.3&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Given Name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBR:16.4&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Middle Names&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBR:16.6&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Prefix&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBR:24 - Discipline&lt;br /&gt;
|OBR:24.1&lt;br /&gt;
|ID&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|This field is the section of the diagnostic service where the observation was performed. &lt;br /&gt;
If the study was performed by an outside service, the identification of that service should be recorded here. Values SHOULD be from table [[Publisher API Code Sets#0074-DiagnosticServiceSectionID|0074-DiagnosticServiceSectionID]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBR:25 - Result status&lt;br /&gt;
|OBR:25.1&lt;br /&gt;
|ID&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Only values of F and C will be processed. Values of I, O, P or X (which indicate pending or no results) are silently ignored, whilst any other values will cause an error. Values SHOULD be from table [[Publisher API Code Sets#DDS-ResultStatus|DDS-ResultStatus]]&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
&lt;br /&gt;
== OBX - Observation or result ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The OBX segment can carry an observation about the patient or it can also be used to carry test results.&lt;br /&gt;
&lt;br /&gt;
=== Definition ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field&lt;br /&gt;
!Component&lt;br /&gt;
!Data Type&lt;br /&gt;
!Optionality&lt;br /&gt;
!Repeating&lt;br /&gt;
!Description&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|OBX:1 - Set ID&lt;br /&gt;
|OBX:1.1&lt;br /&gt;
|SI&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Sequence number for OBX. Must be unique under its associated OBR segment&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:2 - Value Type&lt;br /&gt;
|OBX:2.1&lt;br /&gt;
|ID&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Values SHOULD be from table [[Publisher API Code Sets#0125-ValueType|0125-ValueType]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; |OBX:3 - Observation Identifier&lt;br /&gt;
| -&lt;br /&gt;
| CWE&lt;br /&gt;
|R&lt;br /&gt;
|Y&lt;br /&gt;
|If this is a textual report, this value will be overridden by OBR:4. Otherwise this value must be provided.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:3.1&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Test ID. If this is a textual report, this value will be overridden by OBR:4.1. Otherwise this value must be provided. If a measurement is being provided, this ID must match one of the predefined values which DDS can accept. At the time of writing the acceptable code systems are still being defined though there is an aspiration to adopt the [https://digital.nhs.uk/about-nhs-digital/our-work/nhs-digital-data-and-technology-standards/clinical-information-standards#unified-test-list National Unified Test List] where appropriate. Note that this does not exclude the adoption of more appropriate code systems depending upon the nature of the observation&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:3.2&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Test Name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:3.3&lt;br /&gt;
|ST&lt;br /&gt;
|C&lt;br /&gt;
|N&lt;br /&gt;
|Test coding system. If this is a textual report, this value will be overridden by OBR:4.3. &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:5 - Observation Value&lt;br /&gt;
| OBX:5.1&lt;br /&gt;
| VARIES&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Value. Type MUST match OBX:2.1&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; |OBX:6 - Observation Units&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:6.1&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Unit ID&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:6.2&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Unit Name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:6.3&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Unit coding system&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:7&lt;br /&gt;
|OBX:7.1&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Reference range. Can be used to convey low value, high value and normal value. DDS will parse the data into one or more of these categories depending upon how the reference range value is formatted&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [low value]&amp;quot;-&amp;quot;[high value] &lt;br /&gt;
* &amp;quot;&amp;lt;&amp;quot;[Number] (i.e. &amp;quot;less than number&amp;quot;)&lt;br /&gt;
* &amp;quot;&amp;gt;&amp;quot;[Number] (i.e. &amp;quot;greater than number&amp;quot;)&lt;br /&gt;
* &amp;quot;&amp;lt;=&amp;quot;[Number] (i.e. &amp;quot;less than or equal to number&amp;quot;)&lt;br /&gt;
* &amp;quot;&amp;gt;=&amp;quot;[Number] (i.e. &amp;quot;greater than or equal to number&amp;quot;)&lt;br /&gt;
* [Alphabetic value indicating normal value]&lt;br /&gt;
|See table below for examples&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot; |OBX:8 - Abnormal flag&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|C&lt;br /&gt;
|N&lt;br /&gt;
|To flag the result as abnormal (e.g., High, Low) this flag MUST be sent in the message&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:8.1&lt;br /&gt;
|&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Flag ID - Values SHOULD be from table &amp;lt;nowiki&amp;gt;http://terminology.hl7.org/ValueSet/v3-ObservationInterpretation&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:8.2&lt;br /&gt;
|&lt;br /&gt;
|O&lt;br /&gt;
|&lt;br /&gt;
|Flag name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:8.3&lt;br /&gt;
|&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Flag coding system - If present then SHOULD be &amp;quot;&amp;lt;nowiki&amp;gt;http://terminology.hl7.org/ValueSet/v3-ObservationInterpretation&amp;lt;/nowiki&amp;gt;&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:11&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Result status&lt;br /&gt;
|Result status. Only values of F and C will be processed. Values of I, O, P or X (which indicate pending or no results) are silently ignored, whilst any other values will cause an error. Values SHOULD be from  table [[Publisher API Code Sets#DDS-ResultStatus|DDS-ResultStatus]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:13&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Custom access rules&lt;br /&gt;
|Custom access rules for lab results. Currently supported: &amp;quot;{patientDelay:NUMBERdays}&amp;quot; with any whole number in place of &amp;quot;NUMBER&amp;quot; (no spaces). The patient will see that a lab result has arrived, but the result value will not be revealed until the set number of days past the date/time of observation have passed. If this field is not specified the patient will be able to see their results immediately. Note: if this OBR group is a textual report spanning multiple OBX segments, the delay must be provided in the first.&lt;br /&gt;
|{patientDelay:3days}	&lt;br /&gt;
|-&lt;br /&gt;
|OBX:14&lt;br /&gt;
|ST&lt;br /&gt;
|C&lt;br /&gt;
|N&lt;br /&gt;
|Date/Time of the Observation&lt;br /&gt;
|Observation timestamp. If this is not present, OBR:7 is used instead. It is an error for neither to be provided.&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;5&amp;quot; |OBX:16 - Responsible Observer&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|If provided, at least the family name must be given.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:16.2&lt;br /&gt;
|ST&lt;br /&gt;
|R&lt;br /&gt;
|N&lt;br /&gt;
|Family Name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:16.3&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Given Name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:16.4&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Middle Names&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|OBX:16.6&lt;br /&gt;
|ST&lt;br /&gt;
|O&lt;br /&gt;
|N&lt;br /&gt;
|Prefix&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Reference range ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!OBX:7 value&lt;br /&gt;
!Low value&lt;br /&gt;
!High value&lt;br /&gt;
!Normal value&lt;br /&gt;
|-&lt;br /&gt;
|&amp;quot;3-4&amp;quot;&lt;br /&gt;
|3&lt;br /&gt;
|4&lt;br /&gt;
| -&lt;br /&gt;
|-&lt;br /&gt;
|&amp;quot;3--4&amp;quot;&lt;br /&gt;
|3&lt;br /&gt;
| -4&lt;br /&gt;
| -&lt;br /&gt;
|-&lt;br /&gt;
|&amp;quot;-3-4&amp;quot;&lt;br /&gt;
| -3&lt;br /&gt;
|4&lt;br /&gt;
| -&lt;br /&gt;
|-&lt;br /&gt;
|&amp;quot;3 - 4&amp;quot;&lt;br /&gt;
|3&lt;br /&gt;
|4&lt;br /&gt;
| -&lt;br /&gt;
|-&lt;br /&gt;
|&amp;quot; 5&amp;quot;&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|5&lt;br /&gt;
|-&lt;br /&gt;
|&amp;quot;&amp;gt;5&amp;quot;&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|&amp;quot;&amp;gt;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;quot;POS&amp;quot;&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|&amp;quot;POS&amp;quot;&lt;br /&gt;
|}&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sophie</name></author>
	</entry>
</feed>