<?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=DarrenS</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=DarrenS"/>
	<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Special:Contributions/DarrenS"/>
	<updated>2026-10-23T13:15:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Record_Viewer/Immunisations&amp;diff=4724</id>
		<title>Record Viewer/Immunisations</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Record_Viewer/Immunisations&amp;diff=4724"/>
		<updated>2021-04-30T11:50:29Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: record viewer image&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Help]]&lt;br /&gt;
Immunisations displays current and historical administration of vaccines.&lt;br /&gt;
&lt;br /&gt;
Use this section to help you to:&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Immunisations#Immunisations|View Immunisations]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Immunisations&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== View Immunisations ==&lt;br /&gt;
&lt;br /&gt;
#[[File:Screenshot 2021-04-30 at 12.40.33.png|alt=|thumb|800x800px|Example Immunisations screen]][[Accessing Record Viewer|Access Record Viewer]].&lt;br /&gt;
#If required, in the [[Record Viewer/Patient demographics/RV navigation side menu|Record Viewer navigation side menu]], click  &amp;lt;i class=&amp;quot;fas fa-syringe fa-lg&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; &#039;&#039;&#039;Immunisations&#039;&#039;&#039; .&lt;br /&gt;
#:Immunisations displays the following details for the &#039;&#039;&#039;selected patient&#039;&#039;&#039;:&amp;lt;span class=&amp;quot;mw-customtoggle-demographic fad fa-fw fa-lightbulb green-tip&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
#:&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; id=&amp;quot;mw-customcollapsible-demographic&amp;quot;&amp;gt;{{Demographic}}&amp;lt;/div&amp;gt;&lt;br /&gt;
#:*&#039;&#039;&#039;Immunisations&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Effective date&#039;&#039;&#039;&lt;br /&gt;
# Click &amp;lt;i class=&amp;quot;fas fa-greater-than&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; to expand specific conditions and display the following details:&lt;br /&gt;
#:*Source of data&lt;br /&gt;
#:*Practitioner&lt;br /&gt;
&lt;br /&gt;
{{Filter}}&lt;br /&gt;
&#039;&#039;&#039;See also:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Patient demographics|Patient demographics]]&lt;br /&gt;
*[[Record Viewer/Care record summary|Care record summary]]&lt;br /&gt;
*[[Record Viewer/Conditions|Conditions]]&lt;br /&gt;
*[[Record Viewer/Medication|Medication]]&lt;br /&gt;
*[[Record Viewer/Allergies|Allergies]]&lt;br /&gt;
*[[Record Viewer/Warnings &amp;amp; flags|Warnings &amp;amp; flags]]&lt;br /&gt;
*[[Record Viewer/Registries|Registries]]&lt;br /&gt;
*[[Record Viewer/Appointments|Appointments]]&lt;br /&gt;
*[[Record Viewer/Encounters|Encounters]]&lt;br /&gt;
*[[Record Viewer/Observations|Observations]]&lt;br /&gt;
*[[Record Viewer/Diagnostic reports|Diagnostic orders]]&lt;br /&gt;
*[[Record Viewer/Diagnostic reports|Diagnostic reports]]&lt;br /&gt;
*[[Record Viewer/Procedure requests|Procedure requests]]&lt;br /&gt;
*[[Record Viewer/Procedures|Procedures]]&lt;br /&gt;
*[[Record Viewer/Referral requests|Referral requests]]&lt;br /&gt;
*[[Integrated Patient Care Record Viewer/Family history|Family history]]&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.40.33.png&amp;diff=4723</id>
		<title>File:Screenshot 2021-04-30 at 12.40.33.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.40.33.png&amp;diff=4723"/>
		<updated>2021-04-30T11:50:24Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;record viewer image&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Record_Viewer/Family_history&amp;diff=4722</id>
		<title>Record Viewer/Family history</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Record_Viewer/Family_history&amp;diff=4722"/>
		<updated>2021-04-30T11:49:56Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: record viewer image&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Help]]&lt;br /&gt;
Family history displays significant health conditions for a person related to the patient relevant in the context of care for the selected patient.&lt;br /&gt;
&lt;br /&gt;
Use this section to help you to:&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Family history#Family history|View Family history]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Family history&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== View Family history ==&lt;br /&gt;
&lt;br /&gt;
#[[File:Screenshot 2021-04-30 at 12.40.10.png|alt=|thumb|800x800px|Example Family history screen]][[Accessing Record Viewer|Access Record Viewer]].&lt;br /&gt;
#If required, in the [[Record Viewer/Patient demographics/RV navigation side menu|Record Viewer navigation side menu]], click  &amp;lt;i class=&amp;quot;fas fa-user-friends fa-lg&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; &#039;&#039;&#039;Family history&#039;&#039;&#039; .&lt;br /&gt;
#:Family history displays the following details for the &#039;&#039;&#039;selected patient&#039;&#039;&#039;:&amp;lt;span class=&amp;quot;mw-customtoggle-demographic fad fa-fw fa-lightbulb green-tip&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
#:&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; id=&amp;quot;mw-customcollapsible-demographic&amp;quot;&amp;gt;{{Demographic}}&amp;lt;/div&amp;gt;&lt;br /&gt;
#:*&#039;&#039;&#039;Family history&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Effective date&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Practitioner&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Date of encounter&#039;&#039;&#039;&lt;br /&gt;
# Click &amp;lt;i class=&amp;quot;fas fa-greater-than&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; to expand specific conditions and display the following details:&lt;br /&gt;
#:*Source of data&lt;br /&gt;
#:*Practitioner&lt;br /&gt;
&lt;br /&gt;
{{Filter}}&lt;br /&gt;
&#039;&#039;&#039;See also:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Patient demographics|Patient demographics]]&lt;br /&gt;
*[[Record Viewer/Care record summary|Care record summary]]&lt;br /&gt;
*[[Record Viewer/Conditions|Conditions]]&lt;br /&gt;
*[[Record Viewer/Medication|Medication]]&lt;br /&gt;
*[[Record Viewer/Allergies|Allergies]]&lt;br /&gt;
*[[Record Viewer/Warnings &amp;amp; flags|Warnings &amp;amp; flags]]&lt;br /&gt;
*[[Record Viewer/Registries|Registries]]&lt;br /&gt;
*[[Record Viewer/Appointments|Appointments]]&lt;br /&gt;
*[[Record Viewer/Encounters|Encounters]]&lt;br /&gt;
*[[Record Viewer/Observations|Observations]]&lt;br /&gt;
*[[Record Viewer/Diagnostic reports|Diagnostic orders]]&lt;br /&gt;
*[[Record Viewer/Diagnostic reports|Diagnostic reports]]&lt;br /&gt;
*[[Record Viewer/Procedure requests|Procedure requests]]&lt;br /&gt;
*[[Record Viewer/Procedures|Procedures]]&lt;br /&gt;
*[[Record Viewer/Referral requests|Referral requests]]&lt;br /&gt;
*[[Record Viewer/Immunisations|Immunisations]]&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.40.10.png&amp;diff=4721</id>
		<title>File:Screenshot 2021-04-30 at 12.40.10.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.40.10.png&amp;diff=4721"/>
		<updated>2021-04-30T11:49:50Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;record viewer image&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Record_Viewer/Referral_requests&amp;diff=4720</id>
		<title>Record Viewer/Referral requests</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Record_Viewer/Referral_requests&amp;diff=4720"/>
		<updated>2021-04-30T11:49:24Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: record viewer image&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Help]]&lt;br /&gt;
Referral requests displays records of requests for a referral service or transfer of the selected patient to the care of another provider or provider organisation.&lt;br /&gt;
&lt;br /&gt;
Use this section to help you to:&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Referral requests#Referral requests|View Referral requests]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Referral requests&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== View Referral requests ==&lt;br /&gt;
&lt;br /&gt;
#[[File:Screenshot 2021-04-30 at 12.40.00.png|alt=|thumb|800x800px|Example Referral requests screen]][[Accessing Record Viewer|Access Record Viewer]].&lt;br /&gt;
#If required, in the [[Record Viewer/Patient demographics/RV navigation side menu|Record Viewer navigation side menu]], click  &amp;lt;i class=&amp;quot;fas fa-hospital-user fa-lg&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; &#039;&#039;&#039;Referral requests&#039;&#039;&#039; .&lt;br /&gt;
#:Referral requests displays the following details for the &#039;&#039;&#039;selected patient&#039;&#039;&#039;:&amp;lt;span class=&amp;quot;mw-customtoggle-demographic fad fa-fw fa-lightbulb green-tip&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
#:&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; id=&amp;quot;mw-customcollapsible-demographic&amp;quot;&amp;gt;{{Demographic}}&amp;lt;/div&amp;gt;&lt;br /&gt;
#:*&#039;&#039;&#039;Recipient&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Priority&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Type&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Mode&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Speciality&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Date of referral&lt;br /&gt;
# Click &amp;lt;i class=&amp;quot;fas fa-greater-than&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; to expand specific conditions and display the following details:&lt;br /&gt;
#:*Source of data&lt;br /&gt;
#:*Practitioner&lt;br /&gt;
&lt;br /&gt;
{{Filter}}&lt;br /&gt;
&#039;&#039;&#039;See also:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Patient demographics|Patient demographics]]&lt;br /&gt;
*[[Record Viewer/Care record summary|Care record summary]]&lt;br /&gt;
*[[Record Viewer/Conditions|Conditions]]&lt;br /&gt;
*[[Record Viewer/Medication|Medication]]&lt;br /&gt;
*[[Record Viewer/Allergies|Allergies]]&lt;br /&gt;
*[[Record Viewer/Warnings &amp;amp; flags|Warnings &amp;amp; flags]]&lt;br /&gt;
*[[Record Viewer/Registries|Registries]]&lt;br /&gt;
*[[Record Viewer/Appointments|Appointments]]&lt;br /&gt;
*[[Record Viewer/Encounters|Encounters]]&lt;br /&gt;
*[[Record Viewer/Observations|Observations]]&lt;br /&gt;
*[[Record Viewer/Diagnostic reports|Diagnostic orders]]&lt;br /&gt;
*[[Record Viewer/Diagnostic reports|Diagnostic reports]]&lt;br /&gt;
*[[Record Viewer/Procedure requests|Procedure requests]]&lt;br /&gt;
*[[Record Viewer/Procedures|Procedures]]&lt;br /&gt;
*[[Record Viewer/Family history|Family history]]&lt;br /&gt;
*[[Record Viewer/Immunisations|Immunisations]]&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.40.00.png&amp;diff=4719</id>
		<title>File:Screenshot 2021-04-30 at 12.40.00.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.40.00.png&amp;diff=4719"/>
		<updated>2021-04-30T11:49:17Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;record viewer image&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Record_Viewer/Procedures&amp;diff=4718</id>
		<title>Record Viewer/Procedures</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Record_Viewer/Procedures&amp;diff=4718"/>
		<updated>2021-04-30T11:48:38Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: record viewer image&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Help]]&lt;br /&gt;
Procedures displays the details of procedures performed on the selected patient.&lt;br /&gt;
&lt;br /&gt;
Use this section to help you to:&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Procedures#Procedures|View Procedures]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Procedures&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== View Procedures ==&lt;br /&gt;
&lt;br /&gt;
#[[File:Screenshot 2021-04-30 at 12.39.49.png|alt=|thumb|800x800px|Example Procedures screen]][[Accessing Record Viewer|Access Record Viewer]].&lt;br /&gt;
#If required, in the [[Record Viewer/Patient demographics/RV navigation side menu|Record Viewer navigation side menu]], click  &amp;lt;i class=&amp;quot;fas fa-procedures fa-lg&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; &#039;&#039;&#039;Procedures&#039;&#039;&#039; .&lt;br /&gt;
#:Procedures displays the following details for the &#039;&#039;&#039;selected patient&#039;&#039;&#039;:&amp;lt;span class=&amp;quot;mw-customtoggle-demographic fad fa-fw fa-lightbulb green-tip&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
#:&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; id=&amp;quot;mw-customcollapsible-demographic&amp;quot;&amp;gt;{{Demographic}}&amp;lt;/div&amp;gt;&lt;br /&gt;
#:*&#039;&#039;&#039;Procedures&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Effective date&#039;&#039;&#039;&lt;br /&gt;
# Click &amp;lt;i class=&amp;quot;fas fa-greater-than&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; to expand specific conditions and display the following details:&lt;br /&gt;
#:*Source of data&lt;br /&gt;
#:*Practitioner&lt;br /&gt;
&lt;br /&gt;
{{Filter}}&lt;br /&gt;
&#039;&#039;&#039;See also:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Patient demographics|Patient demographics]]&lt;br /&gt;
*[[Record Viewer/Care record summary|Care record summary]]&lt;br /&gt;
*[[Record Viewer/Conditions|Conditions]]&lt;br /&gt;
*[[Record Viewer/Medication|Medication]]&lt;br /&gt;
*[[Record Viewer/Allergies|Allergies]]&lt;br /&gt;
*[[Record Viewer/Warnings &amp;amp; flags|Warnings &amp;amp; flags]]&lt;br /&gt;
*[[Record Viewer/Registries|Registries]]&lt;br /&gt;
*[[Record Viewer/Appointments|Appointments]]&lt;br /&gt;
*[[Record Viewer/Encounters|Encounters]]&lt;br /&gt;
*[[Record Viewer/Observations|Observations]]&lt;br /&gt;
*[[Record Viewer/Diagnostic reports|Diagnostic orders]]&lt;br /&gt;
*[[Record Viewer/Diagnostic reports|Diagnostic reports]]&lt;br /&gt;
*[[Record Viewer/Procedure requests|Procedure requests]]&lt;br /&gt;
*[[Record Viewer/Referral requests|Referral requests]]&lt;br /&gt;
*[[Record Viewer/Family history|Family history]]&lt;br /&gt;
*[[Record Viewer/Immunisations|Immunisations]]&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.39.49.png&amp;diff=4717</id>
		<title>File:Screenshot 2021-04-30 at 12.39.49.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.39.49.png&amp;diff=4717"/>
		<updated>2021-04-30T11:48:30Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;record viewer image&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Record_Viewer/Procedure_requests&amp;diff=4716</id>
		<title>Record Viewer/Procedure requests</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Record_Viewer/Procedure_requests&amp;diff=4716"/>
		<updated>2021-04-30T11:48:04Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: record viewer image&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Help]]&lt;br /&gt;
Procedure requests displays records of requests for a procedure to be performed.&lt;br /&gt;
&lt;br /&gt;
Use this section to help you to:&lt;br /&gt;
&lt;br /&gt;
*[[Integrated Patient Care Record Viewer/Procedure requests#Procedure requests|View Procedure requests]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;Procedure requests&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== View Procedure requests ==&lt;br /&gt;
&lt;br /&gt;
#[[File:Screenshot 2021-04-30 at 12.39.35.png|alt=|thumb|800x800px|Example Procedure requests screen]][[Accessing Record Viewer|Access Record Viewer]].&lt;br /&gt;
#If required, in the [[Record Viewer/Patient demographics/RV navigation side menu|Record Viewer navigation side menu]], click  &amp;lt;i class=&amp;quot;fas fa-user-md-chat fa-lg&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; &#039;&#039;&#039;Procedure requests&#039;&#039;&#039; .&lt;br /&gt;
#:Procedure requests displays the following details for the &#039;&#039;&#039;selected patient&#039;&#039;&#039;:&amp;lt;span class=&amp;quot;mw-customtoggle-demographic fad fa-fw fa-lightbulb green-tip&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
#:&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; id=&amp;quot;mw-customcollapsible-demographic&amp;quot;&amp;gt;{{Demographic}}&amp;lt;/div&amp;gt;&lt;br /&gt;
#:*&#039;&#039;&#039;Procedure requests&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Status&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Effective date&#039;&#039;&#039;&lt;br /&gt;
# Click &amp;lt;i class=&amp;quot;fas fa-greater-than&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; to expand specific conditions and display the following details:&lt;br /&gt;
#:*Source of data&lt;br /&gt;
#:*Practitioner&lt;br /&gt;
&lt;br /&gt;
{{Filter}}&lt;br /&gt;
&#039;&#039;&#039;See also:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Patient demographics|Patient demographics]]&lt;br /&gt;
*[[Record Viewer/Care record summary|Care record summary]]&lt;br /&gt;
*[[Record Viewer/Conditions|Conditions]]&lt;br /&gt;
*[[Record Viewer/Medication|Medication]]&lt;br /&gt;
*[[Record Viewer/Allergies|Allergies]]&lt;br /&gt;
*[[Record Viewer/Warnings &amp;amp; flags|Warnings &amp;amp; flags]]&lt;br /&gt;
*[[Record Viewer/Registries|Registries]]&lt;br /&gt;
*[[Record Viewer/Appointments|Appointments]]&lt;br /&gt;
*[[Record Viewer/Encounters|Encounters]]&lt;br /&gt;
*[[Record Viewer/Observations|Observations]]&lt;br /&gt;
*[[Record Viewer/Diagnostic reports|Diagnostic orders]]&lt;br /&gt;
*[[Record Viewer/Diagnostic reports|Diagnostic reports]]&lt;br /&gt;
*[[Record Viewer/Procedures|Procedures]]&lt;br /&gt;
*[[Record Viewer/Referral requests|Referral requests]]&lt;br /&gt;
*[[Record Viewer/Family history|Family history]]&lt;br /&gt;
*[[Record Viewer/Immunisations|Immunisations]]&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.39.35.png&amp;diff=4715</id>
		<title>File:Screenshot 2021-04-30 at 12.39.35.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.39.35.png&amp;diff=4715"/>
		<updated>2021-04-30T11:47:57Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;record viewer image&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Record_Viewer/Diagnostic_reports&amp;diff=4714</id>
		<title>Record Viewer/Diagnostic reports</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Record_Viewer/Diagnostic_reports&amp;diff=4714"/>
		<updated>2021-04-30T11:47:12Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: record viewer image&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Help]]&lt;br /&gt;
Diagnostic reports displays the findings and interpretation of diagnostic tests performed on the selected patient.&lt;br /&gt;
&lt;br /&gt;
Use this section to help you to:&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Diagnostic reports#diagnostic reports|View Diagnostic reports]]&lt;br /&gt;
*[[Record Viewer/Diagnostic reports#trend charts|View trend charts]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;diagnostic reports&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== View Diagnostic reports ==&lt;br /&gt;
&lt;br /&gt;
#[[File:Screenshot 2021-04-30 at 12.39.25.png|alt=|thumb|700x700px|Example Diagnostics reports screen]][[Accessing Record Viewer|Access Record Viewer]].&lt;br /&gt;
#If required, in the [[Record Viewer/Patient demographics/RV navigation side menu|Record Viewer navigation side menu]], click  &amp;lt;i class=&amp;quot;fas fa-x-ray fa-lg&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; &#039;&#039;&#039;Diagnostic reports&#039;&#039;&#039; .&lt;br /&gt;
#:Diagnostic reports displays the following details for the &#039;&#039;&#039;selected patient&#039;&#039;&#039;:&amp;lt;span class=&amp;quot;mw-customtoggle-demographic fad fa-fw fa-lightbulb green-tip&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
#:&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; id=&amp;quot;mw-customcollapsible-demographic&amp;quot;&amp;gt;{{Demographic}}&amp;lt;/div&amp;gt;&lt;br /&gt;
#:*&#039;&#039;&#039;Battery&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Diagnostic report&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Result&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Effective date&#039;&#039;&#039;&lt;br /&gt;
# Click &amp;lt;i class=&amp;quot;fas fa-greater-than&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; to expand specific conditions and display the following details:&lt;br /&gt;
#:*Source of data&lt;br /&gt;
#:*Practitioner&lt;br /&gt;
{{Filter}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
== View trend charts ==&lt;br /&gt;
#[[File:Trend chart.jpg|thumb|700x700px|Example Trend chart|alt=]][[Access Record Viewer]].&lt;br /&gt;
#[[Record Viewer/Diagnostic reports#diagnostic reports|View Diagnostic reports]].&lt;br /&gt;
#Select the required diagnostic item check box(es), and then click &amp;lt;i class=&amp;quot;fad fa-analytics&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; to display a trend chart.&lt;br /&gt;
#If required, in the &#039;&#039;&#039;Date from&#039;&#039;&#039; and &#039;&#039;&#039;Date to&#039;&#039;&#039; fields, type the dates that you want the chart to cover, or click &amp;lt;i class=&amp;quot;fas fa-chevron-down&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; to use the calendar functions.&lt;br /&gt;
#If required, in the &#039;&#039;&#039;Select series&#039;&#039;&#039; field, select the items that you want to display on the chart.&lt;br /&gt;
#If required, select one or more of the following options to format the trend chart:&lt;br /&gt;
#:*Show gridlines&lt;br /&gt;
#:*Show area chart&lt;br /&gt;
#:*Gradient fill&lt;br /&gt;
#:*Logarithmic&lt;br /&gt;
#:{{Tip| Hover over the chart to show details of individual items: date, diagnostic test, and value.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;See also:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Patient demographics|Patient demographics]]&lt;br /&gt;
*[[Record Viewer/Care record summary|Care record summary]]&lt;br /&gt;
*[[Record Viewer/Conditions|Conditions]]&lt;br /&gt;
*[[Record Viewer/Medication|Medication]]&lt;br /&gt;
*[[Record Viewer/Allergies|Allergies]]&lt;br /&gt;
*[[Record Viewer/Warnings &amp;amp; flags|Warnings &amp;amp; flags]]&lt;br /&gt;
*[[Record Viewer/Registries|Registries]]&lt;br /&gt;
*[[Record Viewer/Appointments|Appointments]]&lt;br /&gt;
*[[Record Viewer/Encounters|Encounters]]&lt;br /&gt;
*[[Record Viewer/Observations|Observations]]&lt;br /&gt;
*[[Record Viewer/Diagnostic orders|Diagnostic orders]]&lt;br /&gt;
*[[Record Viewer/Procedure requests|Procedure requests]]&lt;br /&gt;
*[[Record Viewer/Procedures|Procedures]]&lt;br /&gt;
*[[Record Viewer/Referral requests|Referral requests]]&lt;br /&gt;
*[[Record Viewer/Family history|Family history]]&lt;br /&gt;
*[[Record Viewer/Immunisations|Immunisations]]&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.39.25.png&amp;diff=4713</id>
		<title>File:Screenshot 2021-04-30 at 12.39.25.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.39.25.png&amp;diff=4713"/>
		<updated>2021-04-30T11:47:03Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;record viewer image&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Record_Viewer/Observations&amp;diff=4712</id>
		<title>Record Viewer/Observations</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Record_Viewer/Observations&amp;diff=4712"/>
		<updated>2021-04-30T11:45:46Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: record viewer image&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Help]]&lt;br /&gt;
Observations displays measurements and simple assertions made about the selected patient.&lt;br /&gt;
&lt;br /&gt;
Use this section to help you to:&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Observations#observations|View Observations]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;observations&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== View Observations ==&lt;br /&gt;
&lt;br /&gt;
#[[Accessing Record Viewer|Access Record Viewer]].&lt;br /&gt;
#If required, in the [[Record Viewer/Patient demographics/RV navigation side menu|Record Viewer navigation side menu]], click   &#039;&#039;&#039;Observations&#039;&#039;&#039; .&lt;br /&gt;
#:Observations displays the following details for the &#039;&#039;&#039;selected patient&#039;&#039;&#039;:&amp;lt;span class=&amp;quot;mw-customtoggle-demographic fad fa-fw fa-lightbulb green-tip&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
#:&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot;&amp;gt;{{Demographic}}&amp;lt;/div&amp;gt;&lt;br /&gt;
#:*&#039;&#039;&#039;Observations&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Category&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Effective date&#039;&#039;&#039;&lt;br /&gt;
# Click  to expand specific conditions and display the following details:&lt;br /&gt;
#:*Source of data&lt;br /&gt;
#:*Practitioner&lt;br /&gt;
&lt;br /&gt;
{{Filter}}&lt;br /&gt;
&#039;&#039;&#039;See also:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Patient demographics|Patient demographics]]&lt;br /&gt;
*[[Record Viewer/Care record summary|Care record summary]]&lt;br /&gt;
*[[Record Viewer/Conditions|Conditions]]&lt;br /&gt;
*[[Record Viewer/Medication|Medication]]&lt;br /&gt;
*[[Record Viewer/Allergies|Allergies]]&lt;br /&gt;
*[[Record Viewer/Warnings &amp;amp; flags|Warnings &amp;amp; flags]]&lt;br /&gt;
*[[Record Viewer/Registries|Registries]]&lt;br /&gt;
*[[Record Viewer/Appointments|Appointments]]&lt;br /&gt;
*[[Record Viewer/Encounters|Encounters]]&lt;br /&gt;
*[[Record Viewer/Diagnostic orders|Diagnostic orders]]&lt;br /&gt;
*[[Record Viewer/Diagnostic reports|Diagnostic reports]]&lt;br /&gt;
*[[Record Viewer/Procedure requests|Procedure requests]]&lt;br /&gt;
*[[Record Viewer/Procedures|Procedures]]&lt;br /&gt;
*[[Record Viewer/Referral requests|Referral requests]]&lt;br /&gt;
*[[Record Viewer/Family history|Family history]]&lt;br /&gt;
*[[Record Viewer/Immunisations|Immunisations]]&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Record_Viewer/Allergies&amp;diff=4711</id>
		<title>Record Viewer/Allergies</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Record_Viewer/Allergies&amp;diff=4711"/>
		<updated>2021-04-30T11:43:27Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: record viewer image&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Help]]&lt;br /&gt;
Allergies &amp;amp; intolerances displays the clinical assessment of the selected patient&#039;s allergies or intolerances.&lt;br /&gt;
&lt;br /&gt;
Use this section to help you to:&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Allergies#allergies|View Allergies &amp;amp; intolerances]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;allergies&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== View Allergies &amp;amp; intolerances==&lt;br /&gt;
&lt;br /&gt;
#[[Accessing Record Viewer|Access Record Viewer]].&lt;br /&gt;
#[[File:Screenshot 2021-04-30 at 12.37.18.png|alt=|thumb|800x800px|Example Allergies &amp;amp; intolerances screen]]If required, in the [[Record Viewer/Patient demographics/RV navigation side menu|Record Viewer navigation side menu]], click  &amp;lt;i class=&amp;quot;fas fa-allergies fa-lg&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; &#039;&#039;&#039;Allergies&#039;&#039;&#039; .&lt;br /&gt;
#:Allergies displays the following details for the &#039;&#039;&#039;selected patient&#039;&#039;&#039;:&amp;lt;span class=&amp;quot;mw-customtoggle-demographic fad fa-fw fa-lightbulb green-tip&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
#:&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; id=&amp;quot;mw-customcollapsible-demographic&amp;quot;&amp;gt;{{Demographic}}&amp;lt;/div&amp;gt;&lt;br /&gt;
#:*&#039;&#039;&#039;Allergies &amp;amp; intolerances&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Effective date&#039;&#039;&#039;&lt;br /&gt;
# Click &amp;lt;i class=&amp;quot;fas fa-greater-than&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; to expand specific allergies and display the following details:&lt;br /&gt;
#:*Source of data&lt;br /&gt;
#:*Onset date&lt;br /&gt;
#:*Practitioner&lt;br /&gt;
&lt;br /&gt;
{{Filter}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;See also:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Patient demographics|Patient demographics]]&lt;br /&gt;
*[[Record Viewer/Care record summary|Care record summary]]&lt;br /&gt;
*[[Record Viewer/Conditions|Conditions]]&lt;br /&gt;
*[[Record Viewer/Medication|Medication]]&lt;br /&gt;
*[[Record Viewer/Warnings &amp;amp; flags|Warnings &amp;amp; flags]]&lt;br /&gt;
*[[Record Viewer/Registries|Registries]]&lt;br /&gt;
*[[Record Viewer/Appointments|Appointments]]&lt;br /&gt;
*[[Record Viewer/Encounters|Encounters]]&lt;br /&gt;
*[[Record Viewer/Observations|Observations]]&lt;br /&gt;
*[[Record Viewer/Diagnostic orders|Diagnostic orders]]&lt;br /&gt;
*[[Record Viewer/Diagnostic reports|Diagnostic reports]]&lt;br /&gt;
*[[Record Viewer/Procedure requests|Procedure requests]]&lt;br /&gt;
*[[Record Viewer/Procedures|Procedures]]&lt;br /&gt;
*[[Record Viewer/Referral requests|Referral requests]]&lt;br /&gt;
*[[Record Viewer/Family history|Family history]]&lt;br /&gt;
*[[Record Viewer/Immunisations|Immunisations]]&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.37.18.png&amp;diff=4710</id>
		<title>File:Screenshot 2021-04-30 at 12.37.18.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.37.18.png&amp;diff=4710"/>
		<updated>2021-04-30T11:43:20Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;record viewer image&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Record_Viewer/Medication&amp;diff=4709</id>
		<title>Record Viewer/Medication</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Record_Viewer/Medication&amp;diff=4709"/>
		<updated>2021-04-30T11:42:46Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: record viewer image&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Medication displays a record of acute and repeat medication that has been prescribed for the selected patient, including past medication.&lt;br /&gt;
&lt;br /&gt;
Use this section to help you to:&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Medication#medication|View Medication]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;medication&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== View Medication ==&lt;br /&gt;
&lt;br /&gt;
#[[Accessing Record Viewer|Access Record Viewer]].[[File:Screenshot 2021-04-30 at 12.37.08.png|alt=|thumb|800x800px|Example Medication screen]]&lt;br /&gt;
#If required, in the [[Record Viewer/Patient demographics/RV navigation side menu|Record Viewer navigation side menu]], click  &amp;lt;i class=&amp;quot;fas fa-pills fa-lg&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; &#039;&#039;&#039;Medication&#039;&#039;&#039; .&lt;br /&gt;
#:Medication displays the following details for the &#039;&#039;&#039;selected patient&#039;&#039;&#039;:&amp;lt;span class=&amp;quot;mw-customtoggle-demographic fad fa-fw fa-lightbulb green-tip&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
#:&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; id=&amp;quot;mw-customcollapsible-demographic&amp;quot;&amp;gt;{{Demographic}}&amp;lt;/div&amp;gt;&lt;br /&gt;
#:*&#039;&#039;&#039;Current medication&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Dose&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Status&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Date prescribed&#039;&#039;&#039;&lt;br /&gt;
#Click &amp;lt;i class=&amp;quot;fas fa-greater-than&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; to expand specific medications and display the following details:&lt;br /&gt;
#:*Type&lt;br /&gt;
#:*Last issued&lt;br /&gt;
#:*Source of data&lt;br /&gt;
#:*Dosage&lt;br /&gt;
#:*Quantity&lt;br /&gt;
#:*Start date&lt;br /&gt;
#:*Status&lt;br /&gt;
#:*Practitioner&lt;br /&gt;
&lt;br /&gt;
{{Filter}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;See also:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Patient demographics|Patient demographics]]&lt;br /&gt;
*[[Record Viewer/Care record summary|Care record summary]]&lt;br /&gt;
*[[Record Viewer/Conditions|Conditions]]&lt;br /&gt;
*[[Record Viewer/Allergies|Allergies]]&lt;br /&gt;
*[[Record Viewer/Warnings &amp;amp; flags|Warnings &amp;amp; flags]]&lt;br /&gt;
*[[Record Viewer/Registries|Registries]]&lt;br /&gt;
*[[Record Viewer/Appointments|Appointments]]&lt;br /&gt;
*[[Record Viewer/Encounters|Encounters]]&lt;br /&gt;
*[[Record Viewer/Observations|Observations]]&lt;br /&gt;
*[[Record Viewer/Diagnostic orders|Diagnostic orders]]&lt;br /&gt;
*[[Record Viewer/Diagnostic reports|Diagnostic reports]]&lt;br /&gt;
*[[Record Viewer/Procedure requests|Procedure requests]]&lt;br /&gt;
*[[Record Viewer/Procedures|Procedures]]&lt;br /&gt;
*[[Record Viewer/Referral requests|Referral requests]]&lt;br /&gt;
*[[Record Viewer/Family history|Family history]]&lt;br /&gt;
*[[Record Viewer/Immunisations|Immunisations]]&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.37.08.png&amp;diff=4708</id>
		<title>File:Screenshot 2021-04-30 at 12.37.08.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.37.08.png&amp;diff=4708"/>
		<updated>2021-04-30T11:42:39Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;record viewer image&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Record_Viewer/Conditions&amp;diff=4707</id>
		<title>Record Viewer/Conditions</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Record_Viewer/Conditions&amp;diff=4707"/>
		<updated>2021-04-30T11:41:47Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: record viewer image&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Help]]&lt;br /&gt;
Conditions displays the selected patient&#039;s clinical condition, problem, diagnosis, or other event, situation, issue, or clinical concept, that has risen to a level of concern.&lt;br /&gt;
&lt;br /&gt;
Use this section to help you to:&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Conditions#conditions|View Conditions]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;conditions&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== View Conditions ==&lt;br /&gt;
&lt;br /&gt;
#[[Accessing Record Viewer|Access Record Viewer]].[[File:Screenshot 2021-04-30 at 12.36.56.png|alt=|thumb|800x800px|Example Conditions screen]]&lt;br /&gt;
#If required, in the [[Record Viewer/Patient demographics/RV navigation side menu|Record Viewer navigation side menu]], click  &amp;lt;i class=&amp;quot;fas fa-diagnoses fa-lg&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; &#039;&#039;&#039;Conditions&#039;&#039;&#039; .&lt;br /&gt;
#:Conditions displays the following details for the &#039;&#039;&#039;selected patient&#039;&#039;&#039;:&amp;lt;span class=&amp;quot;mw-customtoggle-demographic fad fa-fw fa-lightbulb green-tip&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
#:&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; id=&amp;quot;mw-customcollapsible-demographic&amp;quot;&amp;gt;{{Demographic}}&amp;lt;/div&amp;gt;&lt;br /&gt;
#:*&#039;&#039;&#039;Condition&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Status&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Onset date&#039;&#039;&#039;&lt;br /&gt;
# Click &amp;lt;i class=&amp;quot;fas fa-greater-than&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; to expand specific conditions and display the following details:&lt;br /&gt;
#:*Status&lt;br /&gt;
#:*Source of data&lt;br /&gt;
#:*Onset date&lt;br /&gt;
#:*Problem end date&lt;br /&gt;
#:*Practitioner&lt;br /&gt;
&lt;br /&gt;
{{Filter}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;See also:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Patient demographics|Patient demographics]]&lt;br /&gt;
*[[Record Viewer/Care record summary|Care record summary]]&lt;br /&gt;
*[[Record Viewer/Medication|Medication]]&lt;br /&gt;
*[[Record Viewer/Allergies|Allergies]]&lt;br /&gt;
*[[Record Viewer/Warnings &amp;amp; flags|Warnings &amp;amp; flags]]&lt;br /&gt;
*[[Record Viewer/Registries|Registries]]&lt;br /&gt;
*[[Record Viewer/Appointments|Appointments]]&lt;br /&gt;
*[[Record Viewer/Encounters|Encounters]]&lt;br /&gt;
*[[Record Viewer/Observations|Observations]]&lt;br /&gt;
*[[Record Viewer/Diagnostic orders|Diagnostic orders]]&lt;br /&gt;
*[[Record Viewer/Diagnostic reports|Diagnostic reports]]&lt;br /&gt;
*[[Record Viewer/Procedure requests|Procedure requests]]&lt;br /&gt;
*[[Record Viewer/Procedures|Procedures]]&lt;br /&gt;
*[[Record Viewer/Referral requests|Referral requests]]&lt;br /&gt;
*[[Record Viewer/Family history|Family history]]&lt;br /&gt;
*[[Record Viewer/Immunisations|Immunisations]]&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.36.56.png&amp;diff=4706</id>
		<title>File:Screenshot 2021-04-30 at 12.36.56.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.36.56.png&amp;diff=4706"/>
		<updated>2021-04-30T11:41:39Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;record viewer image&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Record_Viewer/Care_record_summary&amp;diff=4705</id>
		<title>Record Viewer/Care record summary</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Record_Viewer/Care_record_summary&amp;diff=4705"/>
		<updated>2021-04-30T11:36:17Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: /* View Care record summary */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Help]]&lt;br /&gt;
Care record summary displays a summary of the selected patient&#039;s key care record events.&lt;br /&gt;
&lt;br /&gt;
Use this section to help you to:&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Care record summary#care record summary|View Care record summary]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;care record summary&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
== View Care record summary ==&lt;br /&gt;
&lt;br /&gt;
#[[Accessing Record Viewer|Access Record Viewer]].&lt;br /&gt;
#[[File:Screenshot 2021-04-30 at 12.35.52.png|alt=|thumb|800x800px|Example Care Record Summary screen]]If required, in the [[Record Viewer/Patient demographics/RV navigation side menu|Record Viewer navigation side menu]], click  &amp;lt;i class=&amp;quot;fas fa-notes-medical fa-lg&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; &#039;&#039;&#039;Care record summary&#039;&#039;&#039; .&lt;br /&gt;
#:{{Info| Care record summary is the default view.}}The Care record summary displays the following key care events for the selected patient:&lt;br /&gt;
#:*&#039;&#039;&#039;Active conditions/problems&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Allergies &amp;amp; intolerances&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Health status&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Current medication&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Recent encounters&#039;&#039;&#039;&lt;br /&gt;
#:*&#039;&#039;&#039;Warnings &amp;amp; flags&#039;&#039;&#039;&lt;br /&gt;
# Click &amp;lt;i class=&amp;quot;fas fa-greater-than&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; to expand specific care record events and display the following details:&lt;br /&gt;
#:*&#039;&#039;&#039;Active conditions/problems&#039;&#039;&#039;:&lt;br /&gt;
#:**Status&lt;br /&gt;
#:**Onset date&lt;br /&gt;
#:**Source of data&lt;br /&gt;
#:**Practitioner&lt;br /&gt;
#:***&lt;br /&gt;
#:*&#039;&#039;&#039;Allergies &amp;amp; intolerances&#039;&#039;&#039;:&lt;br /&gt;
#:** Effective date&lt;br /&gt;
#:** Source of data&lt;br /&gt;
#:** Practitioner&lt;br /&gt;
#:*&#039;&#039;&#039;Health status&#039;&#039;&#039;:&lt;br /&gt;
#:**Source of data&lt;br /&gt;
#:**Practitioner&lt;br /&gt;
#:*&#039;&#039;&#039;Current medication&#039;&#039;&#039;:&lt;br /&gt;
#:**Type&lt;br /&gt;
#:**Dosage&lt;br /&gt;
#:**Status&lt;br /&gt;
#:**Last issued&lt;br /&gt;
#:**Quantity&lt;br /&gt;
#:**Practitioner&lt;br /&gt;
#:**Source of data&lt;br /&gt;
#:**Start date&lt;br /&gt;
#:*&#039;&#039;&#039;Recent encounters&#039;&#039;&#039;:&lt;br /&gt;
#:**Source of data&lt;br /&gt;
#:**Practitioner&lt;br /&gt;
#:*&#039;&#039;&#039;Warnings &amp;amp; flags&#039;&#039;&#039;:&lt;br /&gt;
#:**Status&lt;br /&gt;
#:**Source of data&lt;br /&gt;
#:**Onset date&lt;br /&gt;
&lt;br /&gt;
{{Demographic}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;See also:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Patient demographics|Patient demographics]]&lt;br /&gt;
*[[Record Viewer/Conditions|Conditions]]&lt;br /&gt;
*[[Record Viewer/Medication|Medication]]&lt;br /&gt;
*[[Record Viewer/Allergies|Allergies]]&lt;br /&gt;
*[[Record Viewer/Warnings &amp;amp; flags|Warnings &amp;amp; flags]]&lt;br /&gt;
*[[Record Viewer/Appointments|Appointments]]&lt;br /&gt;
*[[Record Viewer/Encounters|Encounters]]&lt;br /&gt;
*[[Record Viewer/Observations|Observations]]&lt;br /&gt;
*[[Record Viewer/Diagnostic orders|Diagnostic orders]]&lt;br /&gt;
*[[Record Viewer/Diagnostic reports|Diagnostic reports]]&lt;br /&gt;
*[[Record Viewer/Procedure requests|Procedure requests]]&lt;br /&gt;
*[[Record Viewer/Procedures|Procedures]]&lt;br /&gt;
*[[Record Viewer/Referral requests|Referral requests]]&lt;br /&gt;
*[[Record Viewer/Family history|Family history]]&lt;br /&gt;
*[[Record Viewer/Immunisations|Immunisations]]&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.35.52.png&amp;diff=4704</id>
		<title>File:Screenshot 2021-04-30 at 12.35.52.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.35.52.png&amp;diff=4704"/>
		<updated>2021-04-30T11:36:07Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;record viewer image&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Record_Viewer&amp;diff=4703</id>
		<title>Record Viewer</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Record_Viewer&amp;diff=4703"/>
		<updated>2021-04-30T11:32:05Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: record viewer image&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Screenshot 2021-04-30 at 12.30.34.png|alt=|thumb|777x777px|Example Record Viewer screen showing the default Care Record Summary view]]&lt;br /&gt;
{{Help}}&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service (DDS) receives data from source organisations (publishers), transforms the data into a common model, stores the data, and then distributes the data to organisations (subscribers), subject to data sharing agreements, consent and satisfactory security arrangements.&lt;br /&gt;
&lt;br /&gt;
Record Viewer shows a combined view of an individual&#039;s patient records, using data from different source organisations.&lt;br /&gt;
&lt;br /&gt;
* [[Accessing Record Viewer]]&lt;br /&gt;
&lt;br /&gt;
Use Record Viewer to view: &lt;br /&gt;
&lt;br /&gt;
*[[Record Viewer/Patient demographics|Patient demographics]]&lt;br /&gt;
*[[Record Viewer/Care record summary|Care record summary]]&lt;br /&gt;
*[[Record Viewer/Conditions|Conditions]]&lt;br /&gt;
*[[Record Viewer/Medication|Medication]]&lt;br /&gt;
*[[Record Viewer/Allergies|Allergies]]&lt;br /&gt;
*[[Record Viewer/Warnings &amp;amp; flags|Warnings &amp;amp; flags]]&lt;br /&gt;
*[[Record Viewer/Registries|Registries]]&lt;br /&gt;
*[[Record Viewer/Appointments|Appointments]]&lt;br /&gt;
*[[Record Viewer/Encounters|Encounters]]&lt;br /&gt;
*[[Record Viewer/Observations|Observations]]&lt;br /&gt;
*[[Record Viewer/Diagnostic reports|Diagnostic orders]]&lt;br /&gt;
*[[Record Viewer/Diagnostic reports|Diagnostic reports]]&lt;br /&gt;
*[[Record Viewer/Procedure requests|Procedure requests]]&lt;br /&gt;
*[[Record Viewer/Procedures|Procedures]]&lt;br /&gt;
*[[Record Viewer/Referral requests|Referral requests]]&lt;br /&gt;
*[[Record Viewer/Family history|Family history]]&lt;br /&gt;
*[[Record Viewer/Immunisations|Immunisations]]&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.30.34.png&amp;diff=4702</id>
		<title>File:Screenshot 2021-04-30 at 12.30.34.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=File:Screenshot_2021-04-30_at_12.30.34.png&amp;diff=4702"/>
		<updated>2021-04-30T11:31:23Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;record viewer&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Secure_publication_to_the_DDS&amp;diff=1584</id>
		<title>Secure publication to the DDS</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Secure_publication_to_the_DDS&amp;diff=1584"/>
		<updated>2020-06-22T09:39:31Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Data is transferred, via HSCN, into the DDS HSCN connected AWS instance in one of the four following ways:&lt;br /&gt;
&lt;br /&gt;
* SFTP Pull&lt;br /&gt;
* SFTP Push&lt;br /&gt;
* HTTPS Post&lt;br /&gt;
* MLLP Send&lt;br /&gt;
&lt;br /&gt;
=== SFTP Pull ===&lt;br /&gt;
&lt;br /&gt;
GPSoC IM1 pairing directly with the publisher’s system supplier. The data is pulled by the DDS from the suppliers SFTP and then onto a publisher specific SFTP folder structure in Discovery’s AWS instance over a TLS 1.2 encrypted link. Data from EMIS is pgp encrypted at source.&lt;br /&gt;
&lt;br /&gt;
=== SFTP Push ===&lt;br /&gt;
&lt;br /&gt;
The data is pushed from the publisher&#039;s SFTP into the DDS and then onto a publisher specific SFTP folder structure in Discovery’s AWS instance over a TLS 1.2 encrypted link.&lt;br /&gt;
&lt;br /&gt;
=== HTTPS REST Post ===&lt;br /&gt;
&lt;br /&gt;
The data is posted to the DDS and then onto a publisher specific data structure in Discovery’s AWS instance over a TLS 1.2 encrypted link.&lt;br /&gt;
&lt;br /&gt;
=== MLLP Send ===&lt;br /&gt;
&lt;br /&gt;
Messages are posted over VPN TLS 1.2 encrypted links into the DDS HL7 receiver and then onto Discovery’s AWS instance.&lt;br /&gt;
&lt;br /&gt;
===AWS Security===&lt;br /&gt;
&lt;br /&gt;
As a hosting organisation, AWS has in place over 50 security and compliance certifications including ISO 27001, 27017, 27018; PCI DSS; SOC 1/2/3; and Cyber Essentials Plus.&lt;br /&gt;
&lt;br /&gt;
The DDS is built on this platform and makes use of multiple enhanced features to secure the data; these include encrypting all networks to at least TLS 1.2 with high strength ciphers, ensuring all data at rest (such as in databases) or data in transit (such processing queues) is encrypted, administrative access is controlled using VPN with 2FA, access controls, and all access to the systems is logged &amp;amp;amp; audited. &lt;br /&gt;
&lt;br /&gt;
The system has been designed to exceed the requirements set out in the NHS Data Security Protection Toolkit.&lt;br /&gt;
&lt;br /&gt;
===HSCN Certification===&lt;br /&gt;
&lt;br /&gt;
The Discovery platform has an HSCN to AWS connection that has been certified. &lt;br /&gt;
&lt;br /&gt;
The connection is provided through our IG agreement with Tower Hamlets CCG ODS code 08V.&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1319</id>
		<title>HL7v2 API</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1319"/>
		<updated>2020-06-10T17:24:46Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This document specifies the technical details for accessing and using the Discovery Data Service HL7v2 API, for the use by interoperability system suppliers developing integrations against the service.&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service (DDS) is an NHS owned service that provides low cost access to personal health and care data from combined primary, secondary, unscheduled and community health care data sets (https://discoverydataservice.org/Content/Overview.htm)&lt;br /&gt;
&lt;br /&gt;
All data that is published or subscribed to and from DDS is governed by strict information governance rules and underpinned by Data Sharing Agreements, Sharing Flows and Subscriber Extract Projects (https://discoverydataservice.org/Content/Governance.htm)&lt;br /&gt;
&lt;br /&gt;
DDS receives data from multiple source publishing systems in multiple formats and normalises the data into a common structure based on national care record standards.&lt;br /&gt;
&lt;br /&gt;
DDS can receive HL7v2 structured ADT and ORU messages from Secondary Care systems, and transform them into the Discovery FHIR store, from where the data gets transformed into subscriber databases for reporting.&lt;br /&gt;
&lt;br /&gt;
The Discovery HL7v2 API uses a secure authentication and authorisation service. This uses recommended standards for identity and access management, using OpenID Connect and OAuth 2.0 methods, and also includes an additional security layer, where DDS checks it’s internal User Management service to ensure that each user is authorised with the necessary role based access profiles to use each particular application. This allows for tokens and user access to be centrally managed and revoked within the DDS User Manager application.&lt;br /&gt;
&lt;br /&gt;
Two API calls are used for the HL7v2 API:&lt;br /&gt;
&lt;br /&gt;
*Authenticate&lt;br /&gt;
*Authorise/ProcessMessage&lt;br /&gt;
&lt;br /&gt;
===Authenticate===&lt;br /&gt;
Authenticate the client identity by passing in client credentials to receive an access token for the API.&lt;br /&gt;
&lt;br /&gt;
The Client Credentials grant is used when applications request an access token to access their own resources, not on behalf of a user.&lt;br /&gt;
&lt;br /&gt;
The authorization server MUST authenticate the client.&lt;br /&gt;
&lt;br /&gt;
https://devauthentication.discoverydataservice.net/authenticate/$gettoken&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;client_credentials&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;hl7v2-api&amp;quot;,&lt;br /&gt;
  &amp;quot;clientSecret&amp;quot;: &amp;quot;888b4f03-3264-4d89-b6a8-9c9a502ad0d0&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;The &amp;lt;code&amp;gt;grantType&amp;lt;/code&amp;gt; parameter must be set to &amp;lt;code&amp;gt;client_credentials&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
(the client secret is unique to each client application and can be acquired by contacting the Learning Health Solutions Helpdesk at https://learning-health.co.uk/)&lt;br /&gt;
&lt;br /&gt;
If the access token request is valid and authorized, the authorization server issues an access token in this JSON reply, or a 404 HTTP Not Found (Unauthorized Client) response if the request failed client authentication or is invalid.&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;access_token&amp;quot;: &amp;quot;xxxxxxxxxxxxxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;not-before-policy&amp;quot;: 1548863201,&lt;br /&gt;
    &amp;quot;scope&amp;quot;: &amp;quot;profile email&amp;quot;,&lt;br /&gt;
    &amp;quot;token_type&amp;quot;: &amp;quot;bearer&amp;quot;,&lt;br /&gt;
    &amp;quot;session_state&amp;quot;: &amp;quot;97260f48-23c4-408d-8af2-d528fc17390c&amp;quot;,&lt;br /&gt;
    &amp;quot;expires_in&amp;quot;: 60&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;NOTE: A refresh token SHOULD NOT and is not included, as specified in the OAuth 2.0 standards.&lt;br /&gt;
&lt;br /&gt;
https://tools.ietf.org/html/rfc6749#section-4.4&lt;br /&gt;
===Authorise/ProcessMessage===&lt;br /&gt;
Post HL7v2 messages to a REST API.&lt;br /&gt;
&lt;br /&gt;
This call uses the access token from the authentication API to authorise the client&#039;s access to the API, which will then post the HL7v2 message to DDS if the client is recognised and authorised to use this service.&lt;br /&gt;
&lt;br /&gt;
https://devhl7.discoverydataservice.net/hl7/$process-message&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;meta&amp;quot;: {&lt;br /&gt;
    &amp;quot;profile&amp;quot;: [&lt;br /&gt;
      &amp;quot;https://hl7.org.uk/V2/OperationDefinition/ProcessMessage-Operation-1&amp;quot;&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;tag&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/Id/ODS-Code&amp;quot;,&lt;br /&gt;
            &amp;quot;code&amp;quot;: &amp;quot;RYJ&amp;quot;,&lt;br /&gt;
            &amp;quot;display&amp;quot;: &amp;quot;IMPERIAL COLLEGE HEALTHCARE NHS TRUST&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;resourceType&amp;quot;: &amp;quot;HL7v2&amp;quot;,&lt;br /&gt;
  &amp;quot;messageType&amp;quot;: &amp;quot;LaboratoryResult&amp;quot;,&lt;br /&gt;
  &amp;quot;id&amp;quot;: &amp;quot;4847653a-7b39-4d7e-928f-a9fa6d833dd4&amp;quot;,&lt;br /&gt;
  &amp;quot;identifier&amp;quot;: [&lt;br /&gt;
	    {&lt;br /&gt;
	        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.org.uk/Id/dds&amp;quot;,&lt;br /&gt;
	        &amp;quot;value&amp;quot;: &amp;quot;1716&amp;quot;&lt;br /&gt;
	    }&lt;br /&gt;
	],&lt;br /&gt;
  &amp;quot;creationTime&amp;quot;: &amp;quot;2012-10-23T00:00:00+00:00&amp;quot;,&lt;br /&gt;
  &amp;quot;messageEventType&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;valueCodeableConcept&amp;quot;: {&lt;br /&gt;
                &amp;quot;coding&amp;quot;: [&lt;br /&gt;
                    {&lt;br /&gt;
                        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/CodeSystem/EMS-MessageEventType-1&amp;quot;,&lt;br /&gt;
                        &amp;quot;code&amp;quot;: &amp;quot;new&amp;quot;,&lt;br /&gt;
                        &amp;quot;display&amp;quot;: &amp;quot;New event message&amp;quot;&lt;br /&gt;
                    }&lt;br /&gt;
                ]&lt;br /&gt;
            },&lt;br /&gt;
            &amp;quot;url&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/StructureDefinition/Extension-EMS-MessageEventType-1&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
  &amp;quot;body&amp;quot;: &amp;quot;MSH|^~\&amp;amp;|GHH LAB|ELAB-3|GHH OE|BLDG4|200202150930||ORU^R01|CNTRL-3456|P|2.4 PID|||07827717281||JANET^EVE^E^^^^L|JONES|19620320|F|||153 FERNWOOD DR.^&lt;br /&gt;
 ^TESTVILLE^EL4^35292||(01)33452232|(01)348439949||||AC555444444||67-A4335^LONDON^20030520 OBR|1|845439^GHH OE|1045813^GHH LAB|15545^GLUCOSE|||200202150730|||||||||&lt;br /&gt;
 0283829292^PRIMARY^PATRICIA P^^^^MD^^|||||||||F||||||02992888292^SMITH^HOWARD H^^^^MD OBX|1|SN|1554-5^GLUCOSE^POST 12H CFST:MCNC:PT:SER/PLAS:QN||^182|mg/dl|70_105|H|||F&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&#039;&#039;&#039;Note:&#039;&#039;&#039; The body elements contains the HL7v2 message. The rest of the JSON is the wrapper specification for the message.&lt;br /&gt;
&lt;br /&gt;
Set the Authorization header in the REST POST call to the value of the &#039;&#039;&#039;access_token&#039;&#039;&#039; returned from the authentication API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Access tokens expire if they are not used according to the value set in the &#039;&#039;&#039;expires_in&#039;&#039;&#039; attribute of the Client Credentials authentication method response.&lt;br /&gt;
&lt;br /&gt;
[[File:Options.png|border|600x600px|link=https://wiki.discoverydataservice.org/File:Options.png]]&lt;br /&gt;
&lt;br /&gt;
If this API fails to authorise the access token against the Discovery identity and access management service, then an Unauthorised return value will be sent with a 401 HTTP Status (Unauthorized).&lt;br /&gt;
&lt;br /&gt;
Success will return a 200 OK HTTP status, after the message is filed into DDS.&lt;br /&gt;
===Workflow===&lt;br /&gt;
[[File:HL7v2 workflow.png|alt=|600x600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service is powered by Learning Health Solutions Ltd. https://learning-health.co.uk/&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1318</id>
		<title>HL7v2 API</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1318"/>
		<updated>2020-06-10T17:23:47Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This document specifies the technical details for accessing and using the Discovery Data Service HL7v2 API, for the use by interoperability system suppliers developing integrations against the service.&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service (DDS) is an NHS owned service that provides low cost access to personal health and care data from combined primary, secondary, unscheduled and community health care data sets (https://discoverydataservice.org/Content/Overview.htm)&lt;br /&gt;
&lt;br /&gt;
All data that is published or subscribed to and from DDS is governed by strict information governance rules and underpinned by Data Sharing Agreements, Sharing Flows and Subscriber Extract Projects (https://discoverydataservice.org/Content/Governance.htm)&lt;br /&gt;
&lt;br /&gt;
DDS receives data from multiple source publishing systems in multiple formats and normalises the data into a common structure based on national care record standards.&lt;br /&gt;
&lt;br /&gt;
DDS can receive HL7v2 structured ADT and ORU messages from Secondary Care systems, and transform them into the Discovery FHIR store, from where the data gets transformed into subscriber databases for reporting.&lt;br /&gt;
&lt;br /&gt;
The Discovery HL7v2 API uses a secure authentication and authorisation service. This uses recommended standards for identity and access management, using OpenID Connect and OAuth 2.0 methods, and also includes an additional security layer, where DDS checks it’s internal User Management service to ensure that each user is authorised with the necessary role based access profiles to use each particular application. This allows for tokens and user access to be centrally managed and revoked within the DDS User Manager application.&lt;br /&gt;
&lt;br /&gt;
Two API calls are used for the HL7v2 API:&lt;br /&gt;
&lt;br /&gt;
*Authenticate&lt;br /&gt;
*Authorise/ProcessMessage&lt;br /&gt;
&lt;br /&gt;
===Authenticate===&lt;br /&gt;
Authenticate the client identity by passing in client credentials to receive an access token for the API.&lt;br /&gt;
&lt;br /&gt;
The Client Credentials grant is used when applications request an access token to access their own resources, not on behalf of a user.&lt;br /&gt;
&lt;br /&gt;
The authorization server MUST authenticate the client.&lt;br /&gt;
&lt;br /&gt;
https://devauthentication.discoverydataservice.net/authenticate/$gettoken&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;client_credentials&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;fhir-api&amp;quot;,&lt;br /&gt;
  &amp;quot;clientSecret&amp;quot;: &amp;quot;6d8e1310-5e9c-4b62-b314-79fbd9c735d5&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;The &amp;lt;code&amp;gt;grantType&amp;lt;/code&amp;gt; parameter must be set to &amp;lt;code&amp;gt;client_credentials&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
(the client secret is unique to each client application and can be acquired by contacting the Learning Health Solutions Helpdesk at https://learning-health.co.uk/)&lt;br /&gt;
&lt;br /&gt;
If the access token request is valid and authorized, the authorization server issues an access token in this JSON reply, or a 404 HTTP Not Found (Unauthorized Client) response if the request failed client authentication or is invalid.&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;access_token&amp;quot;: &amp;quot;xxxxxxxxxxxxxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;not-before-policy&amp;quot;: 1548863201,&lt;br /&gt;
    &amp;quot;scope&amp;quot;: &amp;quot;profile email&amp;quot;,&lt;br /&gt;
    &amp;quot;token_type&amp;quot;: &amp;quot;bearer&amp;quot;,&lt;br /&gt;
    &amp;quot;session_state&amp;quot;: &amp;quot;97260f48-23c4-408d-8af2-d528fc17390c&amp;quot;,&lt;br /&gt;
    &amp;quot;expires_in&amp;quot;: 60&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;NOTE: A refresh token SHOULD NOT and is not included, as specified in the OAuth 2.0 standards.&lt;br /&gt;
&lt;br /&gt;
https://tools.ietf.org/html/rfc6749#section-4.4&lt;br /&gt;
===Authorise/ProcessMessage===&lt;br /&gt;
Post HL7v2 messages to a REST API.&lt;br /&gt;
&lt;br /&gt;
This call uses the access token from the authentication API to authorise the client&#039;s access to the API, which will then post the HL7v2 message to DDS if the client is recognised and authorised to use this service.&lt;br /&gt;
&lt;br /&gt;
https://devhl7.discoverydataservice.net/hl7/$process-message&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;meta&amp;quot;: {&lt;br /&gt;
    &amp;quot;profile&amp;quot;: [&lt;br /&gt;
      &amp;quot;https://hl7.org.uk/V2/OperationDefinition/ProcessMessage-Operation-1&amp;quot;&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;tag&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/Id/ODS-Code&amp;quot;,&lt;br /&gt;
            &amp;quot;code&amp;quot;: &amp;quot;RYJ&amp;quot;,&lt;br /&gt;
            &amp;quot;display&amp;quot;: &amp;quot;IMPERIAL COLLEGE HEALTHCARE NHS TRUST&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;resourceType&amp;quot;: &amp;quot;HL7v2&amp;quot;,&lt;br /&gt;
  &amp;quot;messageType&amp;quot;: &amp;quot;LaboratoryResult&amp;quot;,&lt;br /&gt;
  &amp;quot;id&amp;quot;: &amp;quot;4847653a-7b39-4d7e-928f-a9fa6d833dd4&amp;quot;,&lt;br /&gt;
  &amp;quot;identifier&amp;quot;: [&lt;br /&gt;
	    {&lt;br /&gt;
	        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.org.uk/Id/dds&amp;quot;,&lt;br /&gt;
	        &amp;quot;value&amp;quot;: &amp;quot;1716&amp;quot;&lt;br /&gt;
	    }&lt;br /&gt;
	],&lt;br /&gt;
  &amp;quot;creationTime&amp;quot;: &amp;quot;2012-10-23T00:00:00+00:00&amp;quot;,&lt;br /&gt;
  &amp;quot;messageEventType&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;valueCodeableConcept&amp;quot;: {&lt;br /&gt;
                &amp;quot;coding&amp;quot;: [&lt;br /&gt;
                    {&lt;br /&gt;
                        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/CodeSystem/EMS-MessageEventType-1&amp;quot;,&lt;br /&gt;
                        &amp;quot;code&amp;quot;: &amp;quot;new&amp;quot;,&lt;br /&gt;
                        &amp;quot;display&amp;quot;: &amp;quot;New event message&amp;quot;&lt;br /&gt;
                    }&lt;br /&gt;
                ]&lt;br /&gt;
            },&lt;br /&gt;
            &amp;quot;url&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/StructureDefinition/Extension-EMS-MessageEventType-1&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
  &amp;quot;body&amp;quot;: &amp;quot;MSH|^~\&amp;amp;|GHH LAB|ELAB-3|GHH OE|BLDG4|200202150930||ORU^R01|CNTRL-3456|P|2.4 PID|||07827717281||JANET^EVE^E^^^^L|JONES|19620320|F|||153 FERNWOOD DR.^&lt;br /&gt;
 ^TESTVILLE^EL4^35292||(01)33452232|(01)348439949||||AC555444444||67-A4335^LONDON^20030520 OBR|1|845439^GHH OE|1045813^GHH LAB|15545^GLUCOSE|||200202150730|||||||||&lt;br /&gt;
 0283829292^PRIMARY^PATRICIA P^^^^MD^^|||||||||F||||||02992888292^SMITH^HOWARD H^^^^MD OBX|1|SN|1554-5^GLUCOSE^POST 12H CFST:MCNC:PT:SER/PLAS:QN||^182|mg/dl|70_105|H|||F&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&#039;&#039;&#039;Note:&#039;&#039;&#039; The body elements contains the HL7v2 message. The rest of the JSON is the wrapper specification for the message.&lt;br /&gt;
&lt;br /&gt;
Set the Authorization header in the REST POST call to the value of the &#039;&#039;&#039;access_token&#039;&#039;&#039; returned from the authentication API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Access tokens expire if they are not used according to the value set in the &#039;&#039;&#039;expires_in&#039;&#039;&#039; attribute of the Client Credentials authentication method response.&lt;br /&gt;
&lt;br /&gt;
[[File:Options.png|border|600x600px|link=https://wiki.discoverydataservice.org/File:Options.png]]&lt;br /&gt;
&lt;br /&gt;
If this API fails to authorise the access token against the Discovery identity and access management service, then an Unauthorised return value will be sent with a 401 HTTP Status (Unauthorized).&lt;br /&gt;
&lt;br /&gt;
Success will return a 200 OK HTTP status, after the message is filed into DDS.&lt;br /&gt;
===Workflow===&lt;br /&gt;
[[File:HL7v2 workflow.png|alt=|600x600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service is powered by Learning Health Solutions Ltd. https://learning-health.co.uk/&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1317</id>
		<title>HL7v2 API</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1317"/>
		<updated>2020-06-10T17:23:29Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This document specifies the technical details for accessing and using the Discovery Data Service HL7v2 API, for the use by interoperability system suppliers developing integrations against the service.&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service (DDS) is an NHS owned service that provides low cost access to personal health and care data from combined primary, secondary, unscheduled and community health care data sets (https://discoverydataservice.org/Content/Overview.htm)&lt;br /&gt;
&lt;br /&gt;
All data that is published or subscribed to and from DDS is governed by strict information governance rules and underpinned by Data Sharing Agreements, Sharing Flows and Subscriber Extract Projects (https://discoverydataservice.org/Content/Governance.htm)&lt;br /&gt;
&lt;br /&gt;
DDS receives data from multiple source publishing systems in multiple formats and normalises the data into a common structure based on national care record standards.&lt;br /&gt;
&lt;br /&gt;
DDS can receive HL7v2 structured ADT and ORU messages from Secondary Care systems, and transform them into the Discovery FHIR store, from where the data gets transformed into subscriber databases for reporting.&lt;br /&gt;
&lt;br /&gt;
The Discovery HL7v2 API uses a secure authentication and authorisation service. This uses recommended standards for identity and access management, using OpenID Connect and OAuth 2.0 methods, and also includes an additional security layer, where DDS checks it’s internal User Management service to ensure that each user is authorised with the necessary role based access profiles to use each particular application. This allows for tokens and user access to be centrally managed and revoked within the DDS User Manager application.&lt;br /&gt;
&lt;br /&gt;
Two API calls are used for the HL7v2 API:&lt;br /&gt;
&lt;br /&gt;
*Authenticate&lt;br /&gt;
*Authorise/ProcessMessage&lt;br /&gt;
&lt;br /&gt;
===Authenticate===&lt;br /&gt;
Authenticate the client identity by passing in client credentials to receive an access token for the API.&lt;br /&gt;
&lt;br /&gt;
The Client Credentials grant is used when applications request an access token to access their own resources, not on behalf of a user.&lt;br /&gt;
&lt;br /&gt;
The authorization server MUST authenticate the client.&lt;br /&gt;
&lt;br /&gt;
https://devauthentication.discoverydataservice.net/authenticate/$gettoken&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;client_credentials&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;fhir-api&amp;quot;,&lt;br /&gt;
  &amp;quot;clientSecret&amp;quot;: &amp;quot;6d8e1310-5e9c-4b62-b314-79fbd9c735d5&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;The &amp;lt;code&amp;gt;grantType&amp;lt;/code&amp;gt; parameter must be set to &amp;lt;code&amp;gt;client_credentials&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
(the client secret is unique to each client application and can be acquired by contacting the Learning Health Solutions Helpdesk at https://learning-health.co.uk/)&lt;br /&gt;
&lt;br /&gt;
If the access token request is valid and authorized, the authorization server issues an access token in this JSON reply, or a 404 HTTP Not Found (Unauthorized Client) response if the request failed client authentication or is invalid.&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;access_token&amp;quot;: &amp;quot;xxxxxxxxxxxxxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;not-before-policy&amp;quot;: 1548863201,&lt;br /&gt;
    &amp;quot;scope&amp;quot;: &amp;quot;profile email&amp;quot;,&lt;br /&gt;
    &amp;quot;token_type&amp;quot;: &amp;quot;bearer&amp;quot;,&lt;br /&gt;
    &amp;quot;session_state&amp;quot;: &amp;quot;97260f48-23c4-408d-8af2-d528fc17390c&amp;quot;,&lt;br /&gt;
    &amp;quot;expires_in&amp;quot;: 60&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;NOTE: A refresh token SHOULD NOT and is not included, as specified in the OAuth 2.0 standards.&lt;br /&gt;
&lt;br /&gt;
https://tools.ietf.org/html/rfc6749#section-4.4&lt;br /&gt;
===Authorise/ProcessMessage===&lt;br /&gt;
Post HL7v2 messages to a REST API.&lt;br /&gt;
&lt;br /&gt;
This call uses the access token from the authentication API to authorise the client&#039;s access to the API, which will then post the HL7v2 message to DDS if the client is recognised and authorised to use this service.&lt;br /&gt;
&lt;br /&gt;
https://devhl7.discoverydataservice.net/hl7/$process-message&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;meta&amp;quot;: {&lt;br /&gt;
    &amp;quot;profile&amp;quot;: [&lt;br /&gt;
      &amp;quot;https://hl7.org.uk/V2/OperationDefinition/ProcessMessage-Operation-1&amp;quot;&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;tag&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/Id/ODS-Code&amp;quot;,&lt;br /&gt;
            &amp;quot;code&amp;quot;: &amp;quot;RYJ&amp;quot;,&lt;br /&gt;
            &amp;quot;display&amp;quot;: &amp;quot;IMPERIAL COLLEGE HEALTHCARE NHS TRUST&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;resourceType&amp;quot;: &amp;quot;HL7v2&amp;quot;,&lt;br /&gt;
  &amp;quot;messageType&amp;quot;: &amp;quot;LaboratoryResult&amp;quot;,&lt;br /&gt;
  &amp;quot;id&amp;quot;: &amp;quot;4847653a-7b39-4d7e-928f-a9fa6d833dd4&amp;quot;,&lt;br /&gt;
  &amp;quot;identifier&amp;quot;: [&lt;br /&gt;
	    {&lt;br /&gt;
	        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.org.uk/Id/dds&amp;quot;,&lt;br /&gt;
	        &amp;quot;value&amp;quot;: &amp;quot;1716&amp;quot;&lt;br /&gt;
	    }&lt;br /&gt;
	],&lt;br /&gt;
  &amp;quot;creationTime&amp;quot;: &amp;quot;2012-10-23T00:00:00+00:00&amp;quot;,&lt;br /&gt;
  &amp;quot;messageEventType&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;valueCodeableConcept&amp;quot;: {&lt;br /&gt;
                &amp;quot;coding&amp;quot;: [&lt;br /&gt;
                    {&lt;br /&gt;
                        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/CodeSystem/EMS-MessageEventType-1&amp;quot;,&lt;br /&gt;
                        &amp;quot;code&amp;quot;: &amp;quot;new&amp;quot;,&lt;br /&gt;
                        &amp;quot;display&amp;quot;: &amp;quot;New event message&amp;quot;&lt;br /&gt;
                    }&lt;br /&gt;
                ]&lt;br /&gt;
            },&lt;br /&gt;
            &amp;quot;url&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/StructureDefinition/Extension-EMS-MessageEventType-1&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
  &amp;quot;body&amp;quot;: &amp;quot;MSH|^~\&amp;amp;|GHH LAB|ELAB-3|GHH OE|BLDG4|200202150930||ORU^R01|CNTRL-3456|P|2.4 PID|||07827717281||JANET^EVE^E^^^^L|JONES|19620320|F|||153 FERNWOOD DR.^&lt;br /&gt;
 ^TESTVILLE^EL4^35292||(01)33452232|(01)348439949||||AC555444444||67-A4335^LONDON^20030520 OBR|1|845439^GHH OE|1045813^GHH LAB|15545^GLUCOSE|||200202150730|||||||||&lt;br /&gt;
 0283829292^PRIMARY^PATRICIA P^^^^MD^^|||||||||F||||||02992888292^SMITH^HOWARD H^^^^MD OBX|1|SN|1554-5^GLUCOSE^POST 12H CFST:MCNC:PT:SER/PLAS:QN||^182|mg/dl|70_105|H|||F&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&#039;&#039;&#039;Note:&#039;&#039;&#039; The body elements contains the HL7v2 message. The rest of the JSON is the wrapper specification for the message.&lt;br /&gt;
&lt;br /&gt;
Set the Authorization header in the REST POST call to the value of the &#039;&#039;&#039;access_token&#039;&#039;&#039; returned from the authentication API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Access tokens expire if they are not used according to the value set in the &#039;&#039;&#039;expires_in&#039;&#039;&#039; attribute of the Client Credentials authentication method response.&lt;br /&gt;
&lt;br /&gt;
[[File:Options.png|border|600x600px|link=https://wiki.discoverydataservice.org/File:Options.png]]&lt;br /&gt;
&lt;br /&gt;
If this API fails to authorise the access token against the Discovery identity and access management service, then an Unauthorised return value will be sent with a 401 HTTP Status (Unauthorized).&lt;br /&gt;
&lt;br /&gt;
Success will return a 200 OK HTTP status, after the message is filed into DDS.&lt;br /&gt;
===Workflow===&lt;br /&gt;
[[File:HL7v2 workflow.png|alt=|600x600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service is powered by Learning Health Solutions Ltd. https://learning-health.co.uk/&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1316</id>
		<title>HL7v2 API</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1316"/>
		<updated>2020-06-10T17:22:08Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This document specifies the technical details for accessing and using the Discovery Data Service HL7v2 API, for the use by interoperability system suppliers developing integrations against the service.&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service (DDS) is an NHS owned service that provides low cost access to personal health and care data from combined primary, secondary, unscheduled and community health care data sets (https://discoverydataservice.org/Content/Overview.htm)&lt;br /&gt;
&lt;br /&gt;
All data that is published or subscribed to and from DDS is governed by strict information governance rules and underpinned by Data Sharing Agreements, Sharing Flows and Subscriber Extract Projects (https://discoverydataservice.org/Content/Governance.htm)&lt;br /&gt;
&lt;br /&gt;
DDS receives data from multiple source publishing systems in multiple formats and normalises the data into a common structure based on national care record standards.&lt;br /&gt;
&lt;br /&gt;
DDS can receive HL7v2 structured ADT and ORU messages from Secondary Care systems, and transform them into the Discovery FHIR store, from where the data gets transformed into subscriber databases for reporting.&lt;br /&gt;
&lt;br /&gt;
The Discovery HL7v2 API uses a secure authentication and authorisation service. This uses recommended standards for identity and access management, using OpenID Connect and OAuth 2.0 methods, and also includes an additional security layer, where DDS checks it’s internal User Management service to ensure that each user is authorised with the necessary role based access profiles to use each particular application. This allows for tokens and user access to be centrally managed and revoked within the DDS User Manager application.&lt;br /&gt;
&lt;br /&gt;
Two API calls are used for the HL7v2 API:&lt;br /&gt;
&lt;br /&gt;
*Authenticate&lt;br /&gt;
*Authorise/ProcessMessage&lt;br /&gt;
&lt;br /&gt;
===Authenticate===&lt;br /&gt;
Authenticate the client identity by passing in client credentials to receive an access token for the API.&lt;br /&gt;
&lt;br /&gt;
The Client Credentials grant is used when applications request an access token to access their own resources, not on behalf of a user.&lt;br /&gt;
&lt;br /&gt;
The authorization server MUST authenticate the client.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;https://devauthentication.discoverydataservice.net/authenticate/$gettoken&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;client_credentials&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;fhir-api&amp;quot;,&lt;br /&gt;
  &amp;quot;clientSecret&amp;quot;: &amp;quot;6d8e1310-5e9c-4b62-b314-79fbd9c735d5&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;The &amp;lt;code&amp;gt;grantType&amp;lt;/code&amp;gt; parameter must be set to &amp;lt;code&amp;gt;client_credentials&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
(the client secret is unique to each client application and can be acquired by contacting the Learning Health Solutions Helpdesk at https://learning-health.co.uk/)&lt;br /&gt;
&lt;br /&gt;
If the access token request is valid and authorized, the authorization server issues an access token in this JSON reply, or a 404 HTTP Not Found (Unauthorized Client) response if the request failed client authentication or is invalid.&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;access_token&amp;quot;: &amp;quot;xxxxxxxxxxxxxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;not-before-policy&amp;quot;: 1548863201,&lt;br /&gt;
    &amp;quot;scope&amp;quot;: &amp;quot;profile email&amp;quot;,&lt;br /&gt;
    &amp;quot;token_type&amp;quot;: &amp;quot;bearer&amp;quot;,&lt;br /&gt;
    &amp;quot;session_state&amp;quot;: &amp;quot;97260f48-23c4-408d-8af2-d528fc17390c&amp;quot;,&lt;br /&gt;
    &amp;quot;expires_in&amp;quot;: 60&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;NOTE: A refresh token SHOULD NOT and is not included, as specified in the OAuth 2.0 standards.&lt;br /&gt;
&lt;br /&gt;
https://tools.ietf.org/html/rfc6749#section-4.4&lt;br /&gt;
===Authorise/ProcessMessage===&lt;br /&gt;
Post HL7v2 messages to a REST API.&lt;br /&gt;
&lt;br /&gt;
This call uses the access token from the authentication API to authorise the client&#039;s access to the API, which will then post the HL7v2 message to DDS if the client is recognised and authorised to use this service.&lt;br /&gt;
&lt;br /&gt;
https://devhl7.discoverydataservice.net/hl7/$process-message&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;meta&amp;quot;: {&lt;br /&gt;
    &amp;quot;profile&amp;quot;: [&lt;br /&gt;
      &amp;quot;https://hl7.org.uk/V2/OperationDefinition/ProcessMessage-Operation-1&amp;quot;&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;tag&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/Id/ODS-Code&amp;quot;,&lt;br /&gt;
            &amp;quot;code&amp;quot;: &amp;quot;RYJ&amp;quot;,&lt;br /&gt;
            &amp;quot;display&amp;quot;: &amp;quot;IMPERIAL COLLEGE HEALTHCARE NHS TRUST&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;resourceType&amp;quot;: &amp;quot;HL7v2&amp;quot;,&lt;br /&gt;
  &amp;quot;messageType&amp;quot;: &amp;quot;LaboratoryResult&amp;quot;,&lt;br /&gt;
  &amp;quot;id&amp;quot;: &amp;quot;4847653a-7b39-4d7e-928f-a9fa6d833dd4&amp;quot;,&lt;br /&gt;
  &amp;quot;identifier&amp;quot;: [&lt;br /&gt;
	    {&lt;br /&gt;
	        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.org.uk/Id/dds&amp;quot;,&lt;br /&gt;
	        &amp;quot;value&amp;quot;: &amp;quot;1716&amp;quot;&lt;br /&gt;
	    }&lt;br /&gt;
	],&lt;br /&gt;
  &amp;quot;creationTime&amp;quot;: &amp;quot;2012-10-23T00:00:00+00:00&amp;quot;,&lt;br /&gt;
  &amp;quot;messageEventType&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;valueCodeableConcept&amp;quot;: {&lt;br /&gt;
                &amp;quot;coding&amp;quot;: [&lt;br /&gt;
                    {&lt;br /&gt;
                        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/CodeSystem/EMS-MessageEventType-1&amp;quot;,&lt;br /&gt;
                        &amp;quot;code&amp;quot;: &amp;quot;new&amp;quot;,&lt;br /&gt;
                        &amp;quot;display&amp;quot;: &amp;quot;New event message&amp;quot;&lt;br /&gt;
                    }&lt;br /&gt;
                ]&lt;br /&gt;
            },&lt;br /&gt;
            &amp;quot;url&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/StructureDefinition/Extension-EMS-MessageEventType-1&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
  &amp;quot;body&amp;quot;: &amp;quot;MSH|^~\&amp;amp;|GHH LAB|ELAB-3|GHH OE|BLDG4|200202150930||ORU^R01|CNTRL-3456|P|2.4 PID|||07827717281||JANET^EVE^E^^^^L|JONES|19620320|F|||153 FERNWOOD DR.^&lt;br /&gt;
 ^TESTVILLE^EL4^35292||(01)33452232|(01)348439949||||AC555444444||67-A4335^LONDON^20030520 OBR|1|845439^GHH OE|1045813^GHH LAB|15545^GLUCOSE|||200202150730|||||||||&lt;br /&gt;
 0283829292^PRIMARY^PATRICIA P^^^^MD^^|||||||||F||||||02992888292^SMITH^HOWARD H^^^^MD OBX|1|SN|1554-5^GLUCOSE^POST 12H CFST:MCNC:PT:SER/PLAS:QN||^182|mg/dl|70_105|H|||F&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&#039;&#039;&#039;Note:&#039;&#039;&#039; The body elements contains the HL7v2 message. The rest of the JSON is the wrapper specification for the message.&lt;br /&gt;
&lt;br /&gt;
Set the Authorization header in the REST POST call to the value of the &#039;&#039;&#039;access_token&#039;&#039;&#039; returned from the authentication API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Access tokens expire if they are not used according to the value set in the &#039;&#039;&#039;expires_in&#039;&#039;&#039; attribute of the Client Credentials authentication method response.&lt;br /&gt;
&lt;br /&gt;
[[File:Options.png|border|600x600px|link=https://wiki.discoverydataservice.org/File:Options.png]]&lt;br /&gt;
&lt;br /&gt;
If this API fails to authorise the access token against the Discovery identity and access management service, then an Unauthorised return value will be sent with a 401 HTTP Status (Unauthorized).&lt;br /&gt;
&lt;br /&gt;
Success will return a 200 OK HTTP status, after the message is filed into DDS.&lt;br /&gt;
===Workflow===&lt;br /&gt;
[[File:HL7v2 workflow.png|alt=|600x600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service is powered by Learning Health Solutions Ltd. https://learning-health.co.uk/&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1315</id>
		<title>HL7v2 API</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1315"/>
		<updated>2020-06-10T17:21:01Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This document specifies the technical details for accessing and using the Discovery Data Service HL7v2 API, for the use by interoperability system suppliers developing integrations against the service.&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service (DDS) is an NHS owned service that provides low cost access to personal health and care data from combined primary, secondary, unscheduled and community health care data sets (https://discoverydataservice.org/Content/Overview.htm)&lt;br /&gt;
&lt;br /&gt;
All data that is published or subscribed to and from DDS is governed by strict information governance rules and underpinned by Data Sharing Agreements, Sharing Flows and Subscriber Extract Projects (https://discoverydataservice.org/Content/Governance.htm)&lt;br /&gt;
&lt;br /&gt;
DDS receives data from multiple source publishing systems in multiple formats and normalises the data into a common structure based on national care record standards.&lt;br /&gt;
&lt;br /&gt;
DDS can receive HL7v2 structured ADT and ORU messages from Secondary Care systems, and transform them into the Discovery FHIR store, from where the data gets transformed into subscriber databases for reporting.&lt;br /&gt;
&lt;br /&gt;
The Discovery HL7v2 API uses a secure authentication and authorisation service. This uses recommended standards for identity and access management, using OpenID Connect and OAuth 2.0 methods, and also includes an additional security layer, where DDS checks it’s internal User Management service to ensure that each user is authorised with the necessary role based access profiles to use each particular application. This allows for tokens and user access to be centrally managed and revoked within the DDS User Manager application.&lt;br /&gt;
&lt;br /&gt;
Two API calls are used for the HL7v2 API:&lt;br /&gt;
&lt;br /&gt;
*Authenticate&lt;br /&gt;
*Authorise/ProcessMessage&lt;br /&gt;
&lt;br /&gt;
===Authenticate===&lt;br /&gt;
Authenticate the client identity by passing in client credentials to receive an access token for the API.&lt;br /&gt;
&lt;br /&gt;
The Client Credentials grant is used when applications request an access token to access their own resources, not on behalf of a user.&lt;br /&gt;
&lt;br /&gt;
The authorization server MUST authenticate the client.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;https://devauthentication.discoverydataservice.net/authenticate/$gettoken&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;client_credentials&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;fhir-api&amp;quot;,&lt;br /&gt;
  &amp;quot;clientSecret&amp;quot;: &amp;quot;6d8e1310-5e9c-4b62-b314-79fbd9c735d5&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;The &amp;lt;code&amp;gt;grantType&amp;lt;/code&amp;gt; parameter must be set to &amp;lt;code&amp;gt;client_credentials&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
(the client secret is unique to each client application and can be acquired by contacting the Learning Health Solutions Helpdesk at https://learning-health.co.uk/)&lt;br /&gt;
&lt;br /&gt;
If the access token request is valid and authorized, the authorization server issues an access token in this JSON reply, or a 404 HTTP Not Found (Unauthorized Client) response if the request failed client authentication or is invalid.&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;access_token&amp;quot;: &amp;quot;xxxxxxxxxxxxxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;not-before-policy&amp;quot;: 1548863201,&lt;br /&gt;
    &amp;quot;scope&amp;quot;: &amp;quot;profile email&amp;quot;,&lt;br /&gt;
    &amp;quot;token_type&amp;quot;: &amp;quot;bearer&amp;quot;,&lt;br /&gt;
    &amp;quot;session_state&amp;quot;: &amp;quot;97260f48-23c4-408d-8af2-d528fc17390c&amp;quot;,&lt;br /&gt;
    &amp;quot;expires_in&amp;quot;: 60&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;NOTE: A refresh token SHOULD NOT and is not included, as specified in the OAuth 2.0 standards.&lt;br /&gt;
&lt;br /&gt;
https://tools.ietf.org/html/rfc6749#section-4.4&lt;br /&gt;
===Authorise/ProcessMessage===&lt;br /&gt;
Post HL7v2 messages to a REST API.&lt;br /&gt;
&lt;br /&gt;
This call uses the access token from the authentication API to authorise the client&#039;s access to the API, which will then post the HL7v2 message to DDS if the client is recognised and authorised to use this service.&lt;br /&gt;
&lt;br /&gt;
https://devhl7.discoverydataservice.net/hl7/$process-message&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;meta&amp;quot;: {&lt;br /&gt;
    &amp;quot;profile&amp;quot;: [&lt;br /&gt;
      &amp;quot;https://hl7.org.uk/V2/OperationDefinition/ProcessMessage-Operation-1&amp;quot;&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;tag&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/Id/ODS-Code&amp;quot;,&lt;br /&gt;
            &amp;quot;code&amp;quot;: &amp;quot;RYJ&amp;quot;,&lt;br /&gt;
            &amp;quot;display&amp;quot;: &amp;quot;IMPERIAL COLLEGE HEALTHCARE NHS TRUST&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;resourceType&amp;quot;: &amp;quot;HL7v2&amp;quot;,&lt;br /&gt;
  &amp;quot;messageType&amp;quot;: &amp;quot;LaboratoryResult&amp;quot;,&lt;br /&gt;
  &amp;quot;id&amp;quot;: &amp;quot;4847653a-7b39-4d7e-928f-a9fa6d833dd4&amp;quot;,&lt;br /&gt;
  &amp;quot;identifier&amp;quot;: [&lt;br /&gt;
	    {&lt;br /&gt;
	        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.org.uk/Id/dds&amp;quot;,&lt;br /&gt;
	        &amp;quot;value&amp;quot;: &amp;quot;1716&amp;quot;&lt;br /&gt;
	    }&lt;br /&gt;
	],&lt;br /&gt;
  &amp;quot;creationTime&amp;quot;: &amp;quot;2012-10-23T00:00:00+00:00&amp;quot;,&lt;br /&gt;
  &amp;quot;messageEventType&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;valueCodeableConcept&amp;quot;: {&lt;br /&gt;
                &amp;quot;coding&amp;quot;: [&lt;br /&gt;
                    {&lt;br /&gt;
                        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/CodeSystem/EMS-MessageEventType-1&amp;quot;,&lt;br /&gt;
                        &amp;quot;code&amp;quot;: &amp;quot;new&amp;quot;,&lt;br /&gt;
                        &amp;quot;display&amp;quot;: &amp;quot;New event message&amp;quot;&lt;br /&gt;
                    }&lt;br /&gt;
                ]&lt;br /&gt;
            },&lt;br /&gt;
            &amp;quot;url&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/StructureDefinition/Extension-EMS-MessageEventType-1&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
  &amp;quot;body&amp;quot;: &amp;quot;MSH|^~\&amp;amp;|GHH LAB|ELAB-3|GHH OE|BLDG4|200202150930||ORU^R01|CNTRL-3456|P|2.4 PID|||07827717281||JANET^EVE^E^^^^L|JONES|19620320|F|||153 FERNWOOD DR.^&lt;br /&gt;
 ^TESTVILLE^EL4^35292||(01)33452232|(01)348439949||||AC555444444||67-A4335^LONDON^20030520 OBR|1|845439^GHH OE|1045813^GHH LAB|15545^GLUCOSE|||200202150730|||||||||&lt;br /&gt;
 0283829292^PRIMARY^PATRICIA P^^^^MD^^|||||||||F||||||02992888292^SMITH^HOWARD H^^^^MD OBX|1|SN|1554-5^GLUCOSE^POST 12H CFST:MCNC:PT:SER/PLAS:QN||^182|mg/dl|70_105|H|||F&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&#039;&#039;&#039;Note:&#039;&#039;&#039; The body elements contains the HL7v2 message. The rest of the JSON is the wrapper specification for the message.&lt;br /&gt;
&lt;br /&gt;
Set the Authorization header in the REST POST call to the value of the &#039;&#039;&#039;access_token&#039;&#039;&#039; returned from the authentication API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Access tokens expire if they are not used within 60 seconds.&lt;br /&gt;
&lt;br /&gt;
[[File:Options.png|border|600x600px|link=https://wiki.discoverydataservice.org/File:Options.png]]&lt;br /&gt;
&lt;br /&gt;
If this API fails to authorise the access token against the Discovery identity and access management service, then an Unauthorised return value will be sent with a 401 HTTP Status (Unauthorized).&lt;br /&gt;
&lt;br /&gt;
Success will return a 200 OK HTTP status, after the message is filed into DDS.&lt;br /&gt;
===Workflow===&lt;br /&gt;
[[File:HL7v2 workflow.png|alt=|600x600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service is powered by Learning Health Solutions Ltd. https://learning-health.co.uk/&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1314</id>
		<title>HL7v2 API</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1314"/>
		<updated>2020-06-10T17:18:02Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This document specifies the technical details for accessing and using the Discovery Data Service HL7v2 API, for the use by interoperability system suppliers developing integrations against the service.&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service (DDS) is an NHS owned service that provides low cost access to personal health and care data from combined primary, secondary, unscheduled and community health care data sets (https://discoverydataservice.org/Content/Overview.htm)&lt;br /&gt;
&lt;br /&gt;
All data that is published or subscribed to and from DDS is governed by strict information governance rules and underpinned by Data Sharing Agreements, Sharing Flows and Subscriber Extract Projects (https://discoverydataservice.org/Content/Governance.htm)&lt;br /&gt;
&lt;br /&gt;
DDS receives data from multiple source publishing systems in multiple formats and normalises the data into a common structure based on national care record standards.&lt;br /&gt;
&lt;br /&gt;
DDS can receive HL7v2 structured ADT and ORU messages from Secondary Care systems, and transform them into the Discovery FHIR store, from where the data gets transformed into subscriber databases for reporting.&lt;br /&gt;
&lt;br /&gt;
The Discovery HL7v2 API uses a secure authentication and authorisation service. This uses recommended standards for identity and access management, using OpenID Connect and OAuth 2.0 methods, and also includes an additional security layer, where DDS checks it’s internal User Management service to ensure that each user is authorised with the necessary role based access profiles to use each particular application. This allows for tokens and user access to be centrally managed and revoked within the DDS User Manager application.&lt;br /&gt;
&lt;br /&gt;
Two API calls are used for the HL7v2 API:&lt;br /&gt;
&lt;br /&gt;
*Authenticate&lt;br /&gt;
*Authorise/ProcessMessage&lt;br /&gt;
&lt;br /&gt;
===Authenticate===&lt;br /&gt;
Authenticate the client identity by passing in client credentials to receive an access token for the API.&lt;br /&gt;
&lt;br /&gt;
The Client Credentials grant is used when applications request an access token to access their own resources, not on behalf of a user.&lt;br /&gt;
&lt;br /&gt;
The authorization server MUST authenticate the client.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;https://devauthentication.discoverydataservice.net/authenticate/$gettoken&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;client_credentials&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;fhir-api&amp;quot;,&lt;br /&gt;
  &amp;quot;clientSecret&amp;quot;: &amp;quot;6d8e1310-5e9c-4b62-b314-79fbd9c735d5&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;The &amp;lt;code&amp;gt;grantType&amp;lt;/code&amp;gt; parameter must be set to &amp;lt;code&amp;gt;client_credentials&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
(the client secret is unique to each client application and can be acquired by contacting the Learning Health Solutions Helpdesk at https://learning-health.co.uk/)&lt;br /&gt;
&lt;br /&gt;
If the access token request is valid and authorized, the authorization server issues an access token in this JSON reply, or a 404 HTTP Not Found (Unauthorized Client) response if the request failed client authentication or is invalid.&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;access_token&amp;quot;: &amp;quot;xxxxxxxxxxxxxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;not-before-policy&amp;quot;: 1548863201,&lt;br /&gt;
    &amp;quot;scope&amp;quot;: &amp;quot;profile email&amp;quot;,&lt;br /&gt;
    &amp;quot;token_type&amp;quot;: &amp;quot;bearer&amp;quot;,&lt;br /&gt;
    &amp;quot;session_state&amp;quot;: &amp;quot;97260f48-23c4-408d-8af2-d528fc17390c&amp;quot;,&lt;br /&gt;
    &amp;quot;expires_in&amp;quot;: 60&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
NOTE: A refresh token SHOULD NOT and is not included, as specified in the OAuth 2.0 standards.&lt;br /&gt;
&lt;br /&gt;
https://tools.ietf.org/html/rfc6749#section-4.4&lt;br /&gt;
===Authorise/ProcessMessage===&lt;br /&gt;
Post HL7v2 messages to a REST API.&lt;br /&gt;
&lt;br /&gt;
This call uses the access token from the authentication API to authorise the client&#039;s access to the API, which will then post the HL7v2 message to DDS if the client is recognised and authorised to use this service.&lt;br /&gt;
&lt;br /&gt;
https://devhl7.discoverydataservice.net/hl7/$process-message&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;meta&amp;quot;: {&lt;br /&gt;
    &amp;quot;profile&amp;quot;: [&lt;br /&gt;
      &amp;quot;https://hl7.org.uk/V2/OperationDefinition/ProcessMessage-Operation-1&amp;quot;&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;tag&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/Id/ODS-Code&amp;quot;,&lt;br /&gt;
            &amp;quot;code&amp;quot;: &amp;quot;RYJ&amp;quot;,&lt;br /&gt;
            &amp;quot;display&amp;quot;: &amp;quot;IMPERIAL COLLEGE HEALTHCARE NHS TRUST&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;resourceType&amp;quot;: &amp;quot;HL7v2&amp;quot;,&lt;br /&gt;
  &amp;quot;messageType&amp;quot;: &amp;quot;LaboratoryResult&amp;quot;,&lt;br /&gt;
  &amp;quot;id&amp;quot;: &amp;quot;4847653a-7b39-4d7e-928f-a9fa6d833dd4&amp;quot;,&lt;br /&gt;
  &amp;quot;identifier&amp;quot;: [&lt;br /&gt;
	    {&lt;br /&gt;
	        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.org.uk/Id/dds&amp;quot;,&lt;br /&gt;
	        &amp;quot;value&amp;quot;: &amp;quot;1716&amp;quot;&lt;br /&gt;
	    }&lt;br /&gt;
	],&lt;br /&gt;
  &amp;quot;creationTime&amp;quot;: &amp;quot;2012-10-23T00:00:00+00:00&amp;quot;,&lt;br /&gt;
  &amp;quot;messageEventType&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;valueCodeableConcept&amp;quot;: {&lt;br /&gt;
                &amp;quot;coding&amp;quot;: [&lt;br /&gt;
                    {&lt;br /&gt;
                        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/CodeSystem/EMS-MessageEventType-1&amp;quot;,&lt;br /&gt;
                        &amp;quot;code&amp;quot;: &amp;quot;new&amp;quot;,&lt;br /&gt;
                        &amp;quot;display&amp;quot;: &amp;quot;New event message&amp;quot;&lt;br /&gt;
                    }&lt;br /&gt;
                ]&lt;br /&gt;
            },&lt;br /&gt;
            &amp;quot;url&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/StructureDefinition/Extension-EMS-MessageEventType-1&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
  &amp;quot;body&amp;quot;: &amp;quot;MSH|^~\&amp;amp;|GHH LAB|ELAB-3|GHH OE|BLDG4|200202150930||ORU^R01|CNTRL-3456|P|2.4 PID|||07827717281||JANET^EVE^E^^^^L|JONES|19620320|F|||153 FERNWOOD DR.^&lt;br /&gt;
 ^TESTVILLE^EL4^35292||(01)33452232|(01)348439949||||AC555444444||67-A4335^LONDON^20030520 OBR|1|845439^GHH OE|1045813^GHH LAB|15545^GLUCOSE|||200202150730|||||||||&lt;br /&gt;
 0283829292^PRIMARY^PATRICIA P^^^^MD^^|||||||||F||||||02992888292^SMITH^HOWARD H^^^^MD OBX|1|SN|1554-5^GLUCOSE^POST 12H CFST:MCNC:PT:SER/PLAS:QN||^182|mg/dl|70_105|H|||F&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&#039;&#039;&#039;Note:&#039;&#039;&#039; The body elements contains the HL7v2 message. The rest of the JSON is the wrapper specification for the message.&lt;br /&gt;
&lt;br /&gt;
Set the Authorization header in the REST POST call to the value of the &#039;&#039;&#039;access_token&#039;&#039;&#039; returned from the authentication API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Access tokens expire if they are not used within 60 seconds.&lt;br /&gt;
&lt;br /&gt;
[[File:Options.png|border|600x600px|link=https://wiki.discoverydataservice.org/File:Options.png]]&lt;br /&gt;
&lt;br /&gt;
If this API fails to authorise the access token against the Discovery identity and access management service, then an Unauthorised return value will be sent with a 401 HTTP Status (Unauthorized).&lt;br /&gt;
&lt;br /&gt;
Success will return a 200 OK HTTP status, after the message is filed into DDS.&lt;br /&gt;
===Workflow===&lt;br /&gt;
[[File:HL7v2 workflow.png|alt=|600x600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service is powered by Learning Health Solutions Ltd. https://learning-health.co.uk/&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1313</id>
		<title>HL7v2 API</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1313"/>
		<updated>2020-06-10T17:16:22Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This document specifies the technical details for accessing and using the Discovery Data Service HL7v2 API, for the use by interoperability system suppliers developing integrations against the service.&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service (DDS) is an NHS owned service that provides low cost access to personal health and care data from combined primary, secondary, unscheduled and community health care data sets (https://discoverydataservice.org/Content/Overview.htm)&lt;br /&gt;
&lt;br /&gt;
All data that is published or subscribed to and from DDS is governed by strict information governance rules and underpinned by Data Sharing Agreements, Sharing Flows and Subscriber Extract Projects (https://discoverydataservice.org/Content/Governance.htm)&lt;br /&gt;
&lt;br /&gt;
DDS receives data from multiple source publishing systems in multiple formats and normalises the data into a common structure based on national care record standards.&lt;br /&gt;
&lt;br /&gt;
DDS can receive HL7v2 structured ADT and ORU messages from Secondary Care systems, and transform them into the Discovery FHIR store, from where the data gets transformed into subscriber databases for reporting.&lt;br /&gt;
&lt;br /&gt;
The Discovery HL7v2 API uses a secure authentication and authorisation service. This uses recommended standards for identity and access management, using OpenID Connect and OAuth 2.0 methods, and also includes an additional security layer, where DDS checks it’s internal User Management service to ensure that each user is authorised with the necessary role based access profiles to use each particular application. This allows for tokens and user access to be centrally managed and revoked within the DDS User Manager application.&lt;br /&gt;
&lt;br /&gt;
Two API calls are used for the HL7v2 API:&lt;br /&gt;
&lt;br /&gt;
*Authenticate&lt;br /&gt;
*Authorise/ProcessMessage&lt;br /&gt;
&lt;br /&gt;
===Authenticate===&lt;br /&gt;
Authenticate the client identity by passing in client credentials to receive an access token for the API.&lt;br /&gt;
&lt;br /&gt;
The Client Credentials grant is used when applications request an access token to access their own resources, not on behalf of a user.&lt;br /&gt;
&lt;br /&gt;
The authorization server MUST authenticate the client.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;https://devauthentication.discoverydataservice.net/authenticate/$gettoken&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;client_credentials&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;fhir-api&amp;quot;,&lt;br /&gt;
  &amp;quot;clientSecret&amp;quot;: &amp;quot;6d8e1310-5e9c-4b62-b314-79fbd9c735d5&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;The &amp;lt;code&amp;gt;grantType&amp;lt;/code&amp;gt; parameter must be set to &amp;lt;code&amp;gt;client_credentials&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
(the client secret is unique to each client application and can be acquired by contacting the Learning Health Solutions Helpdesk at https://learning-health.co.uk/)&lt;br /&gt;
&lt;br /&gt;
If the access token request is valid and authorized, the authorization server issues an access token in this JSON reply, or a 404 HTTP Not Found (Unauthorized Client) response if the request failed client authentication or is invalid.&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;access_token&amp;quot;: &amp;quot;xxxxxxxxxxxxxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;not-before-policy&amp;quot;: 1548863201,&lt;br /&gt;
    &amp;quot;scope&amp;quot;: &amp;quot;profile email&amp;quot;,&lt;br /&gt;
    &amp;quot;token_type&amp;quot;: &amp;quot;bearer&amp;quot;,&lt;br /&gt;
    &amp;quot;session_state&amp;quot;: &amp;quot;97260f48-23c4-408d-8af2-d528fc17390c&amp;quot;,&lt;br /&gt;
    &amp;quot;expires_in&amp;quot;: 60&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
NOTE: A refresh token SHOULD NOT and is not included, as specified in the OAuth 2.0 standards.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;https://tools.ietf.org/html/rfc6749#section-4.4&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Authorise/ProcessMessage===&lt;br /&gt;
Post HL7v2 messages to a REST API.&lt;br /&gt;
&lt;br /&gt;
This call uses the access token from the authentication API to authorise the client&#039;s access to the API, which will then post the HL7v2 message to DDS if the client is recognised and authorised to use this service.&lt;br /&gt;
&lt;br /&gt;
https://devhl7.discoverydataservice.net/hl7/$process-message&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;meta&amp;quot;: {&lt;br /&gt;
    &amp;quot;profile&amp;quot;: [&lt;br /&gt;
      &amp;quot;https://hl7.org.uk/V2/OperationDefinition/ProcessMessage-Operation-1&amp;quot;&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;tag&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/Id/ODS-Code&amp;quot;,&lt;br /&gt;
            &amp;quot;code&amp;quot;: &amp;quot;RYJ&amp;quot;,&lt;br /&gt;
            &amp;quot;display&amp;quot;: &amp;quot;IMPERIAL COLLEGE HEALTHCARE NHS TRUST&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;resourceType&amp;quot;: &amp;quot;HL7v2&amp;quot;,&lt;br /&gt;
  &amp;quot;messageType&amp;quot;: &amp;quot;LaboratoryResult&amp;quot;,&lt;br /&gt;
  &amp;quot;id&amp;quot;: &amp;quot;4847653a-7b39-4d7e-928f-a9fa6d833dd4&amp;quot;,&lt;br /&gt;
  &amp;quot;identifier&amp;quot;: [&lt;br /&gt;
	    {&lt;br /&gt;
	        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.org.uk/Id/dds&amp;quot;,&lt;br /&gt;
	        &amp;quot;value&amp;quot;: &amp;quot;1716&amp;quot;&lt;br /&gt;
	    }&lt;br /&gt;
	],&lt;br /&gt;
  &amp;quot;creationTime&amp;quot;: &amp;quot;2012-10-23T00:00:00+00:00&amp;quot;,&lt;br /&gt;
  &amp;quot;messageEventType&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;valueCodeableConcept&amp;quot;: {&lt;br /&gt;
                &amp;quot;coding&amp;quot;: [&lt;br /&gt;
                    {&lt;br /&gt;
                        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/CodeSystem/EMS-MessageEventType-1&amp;quot;,&lt;br /&gt;
                        &amp;quot;code&amp;quot;: &amp;quot;new&amp;quot;,&lt;br /&gt;
                        &amp;quot;display&amp;quot;: &amp;quot;New event message&amp;quot;&lt;br /&gt;
                    }&lt;br /&gt;
                ]&lt;br /&gt;
            },&lt;br /&gt;
            &amp;quot;url&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/StructureDefinition/Extension-EMS-MessageEventType-1&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
  &amp;quot;body&amp;quot;: &amp;quot;MSH|^~\&amp;amp;|GHH LAB|ELAB-3|GHH OE|BLDG4|200202150930||ORU^R01|CNTRL-3456|P|2.4 PID|||07827717281||JANET^EVE^E^^^^L|JONES|19620320|F|||153 FERNWOOD DR.^&lt;br /&gt;
 ^TESTVILLE^EL4^35292||(01)33452232|(01)348439949||||AC555444444||67-A4335^LONDON^20030520 OBR|1|845439^GHH OE|1045813^GHH LAB|15545^GLUCOSE|||200202150730|||||||||&lt;br /&gt;
 0283829292^PRIMARY^PATRICIA P^^^^MD^^|||||||||F||||||02992888292^SMITH^HOWARD H^^^^MD OBX|1|SN|1554-5^GLUCOSE^POST 12H CFST:MCNC:PT:SER/PLAS:QN||^182|mg/dl|70_105|H|||F&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&#039;&#039;&#039;Note:&#039;&#039;&#039; The body elements contains the HL7v2 message. The rest of the JSON is the wrapper specification for the message.&lt;br /&gt;
&lt;br /&gt;
Set the Authorization header in the REST POST call to the value of the &#039;&#039;&#039;access_token&#039;&#039;&#039; returned from the authentication API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Access tokens expire if they are not used within 60 seconds.&lt;br /&gt;
&lt;br /&gt;
[[File:Options.png|border|600x600px|link=https://wiki.discoverydataservice.org/File:Options.png]]&lt;br /&gt;
&lt;br /&gt;
If this API fails to authorise the access token against the Discovery identity and access management service, then an Unauthorised return value will be sent with a 401 HTTP Status (Unauthorized).&lt;br /&gt;
&lt;br /&gt;
Success will return a 200 OK HTTP status, after the message is filed into DDS.&lt;br /&gt;
===Workflow===&lt;br /&gt;
[[File:HL7v2 workflow.png|alt=|600x600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service is powered by Learning Health Solutions Ltd. https://learning-health.co.uk/&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1312</id>
		<title>HL7v2 API</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1312"/>
		<updated>2020-06-10T17:14:29Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This document specifies the technical details for accessing and using the Discovery Data Service HL7v2 API, for the use by interoperability system suppliers developing integrations against the service.&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service (DDS) is an NHS owned service that provides low cost access to personal health and care data from combined primary, secondary, unscheduled and community health care data sets (https://discoverydataservice.org/Content/Overview.htm)&lt;br /&gt;
&lt;br /&gt;
All data that is published or subscribed to and from DDS is governed by strict information governance rules and underpinned by Data Sharing Agreements, Sharing Flows and Subscriber Extract Projects (https://discoverydataservice.org/Content/Governance.htm)&lt;br /&gt;
&lt;br /&gt;
DDS receives data from multiple source publishing systems in multiple formats and normalises the data into a common structure based on national care record standards.&lt;br /&gt;
&lt;br /&gt;
DDS can receive HL7v2 structured ADT and ORU messages from Secondary Care systems, and transform them into the Discovery FHIR store, from where the data gets transformed into subscriber databases for reporting.&lt;br /&gt;
&lt;br /&gt;
The Discovery HL7v2 API uses a secure authentication and authorisation service. This uses recommended standards for identity and access management, using OpenID Connect and OAuth 2.0 methods, and also includes an additional security layer, where DDS checks it’s internal User Management service to ensure that each user is authorised with the necessary role based access profiles to use each particular application. This allows for tokens and user access to be centrally managed and revoked within the DDS User Manager application.&lt;br /&gt;
&lt;br /&gt;
Two API calls are used for the HL7v2 API:&lt;br /&gt;
&lt;br /&gt;
*Authenticate&lt;br /&gt;
*Authorise/ProcessMessage&lt;br /&gt;
&lt;br /&gt;
===Authenticate===&lt;br /&gt;
Authenticate the client identity by passing in client credentials to receive an access token for the API.&lt;br /&gt;
&lt;br /&gt;
The Client Credentials grant is used when applications request an access token to access their own resources, not on behalf of a user.&lt;br /&gt;
&lt;br /&gt;
The authorization server MUST authenticate the client.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;https://devauthentication.discoverydataservice.net/authenticate/$gettoken&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&lt;br /&gt;
 {&lt;br /&gt;
   &amp;quot;grantType&amp;quot;: &amp;quot;client_credentials&amp;quot;,&lt;br /&gt;
   &amp;quot;clientId&amp;quot;: &amp;quot;fhir-api&amp;quot;,&lt;br /&gt;
   &amp;quot;clientSecret&amp;quot;: &amp;quot;6d8e1310-5e9c-4b62-b314-79fbd9c735d5&amp;quot;&lt;br /&gt;
 }&lt;br /&gt;
The &amp;lt;code&amp;gt;grantType&amp;lt;/code&amp;gt; parameter must be set to &amp;lt;code&amp;gt;client_credentials&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
(the client secret is unique to each client application and can be acquired by contacting the Learning Health Solutions Helpdesk at &amp;lt;nowiki&amp;gt;https://learning-health.co.uk/&amp;lt;/nowiki&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
If the access token request is valid and authorized, the authorization server issues an access token in this JSON reply, or a 404 HTTP Not Found (Unauthorized Client) response if the request failed client authentication or is invalid.&lt;br /&gt;
 {&lt;br /&gt;
     &amp;quot;access_token&amp;quot;: &amp;quot;xxxxxxxxxxxxxxxxxxx&amp;quot;,&lt;br /&gt;
     &amp;quot;not-before-policy&amp;quot;: 1548863201,&lt;br /&gt;
     &amp;quot;scope&amp;quot;: &amp;quot;profile email&amp;quot;,&lt;br /&gt;
     &amp;quot;token_type&amp;quot;: &amp;quot;bearer&amp;quot;,&lt;br /&gt;
     &amp;quot;session_state&amp;quot;: &amp;quot;97260f48-23c4-408d-8af2-d528fc17390c&amp;quot;,&lt;br /&gt;
     &amp;quot;expires_in&amp;quot;: 60&lt;br /&gt;
 }&lt;br /&gt;
NOTE: A refresh token SHOULD NOT and is not included, as specified in the OAuth 2.0 standards.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;https://tools.ietf.org/html/rfc6749#section-4.4&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Authorise/ProcessMessage===&lt;br /&gt;
Post HL7v2 messages to a REST API.&lt;br /&gt;
&lt;br /&gt;
This call uses the access token from the authentication API to authorise the client&#039;s access to the API, which will then post the HL7v2 message to DDS if the client is recognised and authorised to use this service.&lt;br /&gt;
&lt;br /&gt;
https://devhl7.discoverydataservice.net/hl7/$process-message&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;meta&amp;quot;: {&lt;br /&gt;
    &amp;quot;profile&amp;quot;: [&lt;br /&gt;
      &amp;quot;https://hl7.org.uk/V2/OperationDefinition/ProcessMessage-Operation-1&amp;quot;&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;tag&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/Id/ODS-Code&amp;quot;,&lt;br /&gt;
            &amp;quot;code&amp;quot;: &amp;quot;RYJ&amp;quot;,&lt;br /&gt;
            &amp;quot;display&amp;quot;: &amp;quot;IMPERIAL COLLEGE HEALTHCARE NHS TRUST&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;resourceType&amp;quot;: &amp;quot;HL7v2&amp;quot;,&lt;br /&gt;
  &amp;quot;messageType&amp;quot;: &amp;quot;LaboratoryResult&amp;quot;,&lt;br /&gt;
  &amp;quot;id&amp;quot;: &amp;quot;4847653a-7b39-4d7e-928f-a9fa6d833dd4&amp;quot;,&lt;br /&gt;
  &amp;quot;identifier&amp;quot;: [&lt;br /&gt;
	    {&lt;br /&gt;
	        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.org.uk/Id/dds&amp;quot;,&lt;br /&gt;
	        &amp;quot;value&amp;quot;: &amp;quot;1716&amp;quot;&lt;br /&gt;
	    }&lt;br /&gt;
	],&lt;br /&gt;
  &amp;quot;creationTime&amp;quot;: &amp;quot;2012-10-23T00:00:00+00:00&amp;quot;,&lt;br /&gt;
  &amp;quot;messageEventType&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;valueCodeableConcept&amp;quot;: {&lt;br /&gt;
                &amp;quot;coding&amp;quot;: [&lt;br /&gt;
                    {&lt;br /&gt;
                        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/CodeSystem/EMS-MessageEventType-1&amp;quot;,&lt;br /&gt;
                        &amp;quot;code&amp;quot;: &amp;quot;new&amp;quot;,&lt;br /&gt;
                        &amp;quot;display&amp;quot;: &amp;quot;New event message&amp;quot;&lt;br /&gt;
                    }&lt;br /&gt;
                ]&lt;br /&gt;
            },&lt;br /&gt;
            &amp;quot;url&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/StructureDefinition/Extension-EMS-MessageEventType-1&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
  &amp;quot;body&amp;quot;: &amp;quot;MSH|^~\&amp;amp;|GHH LAB|ELAB-3|GHH OE|BLDG4|200202150930||ORU^R01|CNTRL-3456|P|2.4 PID|||07827717281||JANET^EVE^E^^^^L|JONES|19620320|F|||153 FERNWOOD DR.^&lt;br /&gt;
 ^TESTVILLE^EL4^35292||(01)33452232|(01)348439949||||AC555444444||67-A4335^LONDON^20030520 OBR|1|845439^GHH OE|1045813^GHH LAB|15545^GLUCOSE|||200202150730|||||||||&lt;br /&gt;
 0283829292^PRIMARY^PATRICIA P^^^^MD^^|||||||||F||||||02992888292^SMITH^HOWARD H^^^^MD OBX|1|SN|1554-5^GLUCOSE^POST 12H CFST:MCNC:PT:SER/PLAS:QN||^182|mg/dl|70_105|H|||F&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&#039;&#039;&#039;Note:&#039;&#039;&#039; The body elements contains the HL7v2 message. The rest of the JSON is the wrapper specification for the message.&lt;br /&gt;
&lt;br /&gt;
Set the Authorization header in the REST POST call to the value of the &#039;&#039;&#039;access_token&#039;&#039;&#039; returned from the authentication API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Access tokens expire if they are not used within 60 seconds.&lt;br /&gt;
&lt;br /&gt;
[[File:Options.png|border|600x600px|link=https://wiki.discoverydataservice.org/File:Options.png]]&lt;br /&gt;
&lt;br /&gt;
If this API fails to authorise the access token against the Discovery identity and access management service, then an Unauthorised return value will be sent with a 401 HTTP Status (Unauthorized).&lt;br /&gt;
&lt;br /&gt;
Success will return a 200 OK HTTP status, after the message is filed into DDS.&lt;br /&gt;
===Workflow===&lt;br /&gt;
[[File:HL7v2 workflow.png|alt=|600x600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service is powered by Learning Health Solutions Ltd. https://learning-health.co.uk/&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=FHIR_Get_Structured_Record_API&amp;diff=1311</id>
		<title>FHIR Get Structured Record API</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=FHIR_Get_Structured_Record_API&amp;diff=1311"/>
		<updated>2020-06-10T17:11:51Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:FHIR Get Structured Record API}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This document specifies the technical details for accessing and using the Discovery Data Service FHIR® Care Connect API, for the use by interoperability system suppliers developing integrations against the service.&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service (DDS) is an NHS owned service that provides low cost access to personal health and care data from combined primary, secondary, unscheduled and community health care data sets (https://discoverydataservice.org/Content/Overview.htm)&lt;br /&gt;
&lt;br /&gt;
All data that is published or subscribed to and from DDS is governed by strict information governance rules and underpinned by Data Sharing Agreements, Sharing Flows and Subscriber Extract Projects (https://discoverydataservice.org/Content/Governance.htm)&lt;br /&gt;
&lt;br /&gt;
DDS receives data from multiple source publishing systems in multiple formats and normalises the data into a common structure based on national care record standards.&lt;br /&gt;
&lt;br /&gt;
DDS makes the data available to multiple subscribers in standardised formats, one of the common formats being FHIR®.&lt;br /&gt;
&lt;br /&gt;
The Discovery FHIR CareConnect $getstructuredrecord API uses a secure authentication and authorisation service. This uses recommended standards for identity and access management, using OpenID Connect and OAuth 2.0 methods, and also includes an additional security layer, where DDS checks it’s internal User Management service to ensure that each user is authorised with the necessary role based access profiles to use each particular application. This allows for tokens and user access to be centrally managed and revoked within the DDS User Manager application.&lt;br /&gt;
&lt;br /&gt;
The following FHIR CareConnect FHIR STU3 resources are currently supported by the API.&lt;br /&gt;
&lt;br /&gt;
AllergyIntolerance, Condition, MedicationStatement, Medication, MedicationRequest, Observation, Organization, Patient, Practitioner, PractitionerRole, Encounter, EpisodeOfCare, DiagnosticReport, FamilyMemberHistory, Immunization, Location, Procedure, ProcedureRequest, ReferralRequest, RelatedPerson, Appointment.&lt;br /&gt;
&lt;br /&gt;
Two API calls are used for the FHIR CareConnect $getstructuredrecord API:&lt;br /&gt;
&lt;br /&gt;
* Authenticate &lt;br /&gt;
* Authorise/GetRecord&lt;br /&gt;
&lt;br /&gt;
=== Authenticate ===&lt;br /&gt;
Authenticate the client identity by passing in client credentials to receive an access token for the API.&lt;br /&gt;
&lt;br /&gt;
The Client Credentials grant is used when applications request an access token to access their own resources, not on behalf of a user.&lt;br /&gt;
&lt;br /&gt;
The authorization server MUST authenticate the client.&lt;br /&gt;
&lt;br /&gt;
https://devauthentication.discoverydataservice.net/authenticate/$gettoken&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;client_credentials&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;fhir-api&amp;quot;,&lt;br /&gt;
  &amp;quot;clientSecret&amp;quot;: &amp;quot;6d8e1310-5e9c-4b62-b314-79fbd9c735d5&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;The &amp;lt;code&amp;gt;grantType&amp;lt;/code&amp;gt; parameter must be set to &amp;lt;code&amp;gt;client_credentials&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
(the client secret is unique to each client application and can be acquired by contacting the Learning Health Solutions Helpdesk at https://learning-health.co.uk/)&lt;br /&gt;
&lt;br /&gt;
If the access token request is valid and authorized, the authorization server issues an access token in this JSON reply, or a 404 HTTP Not Found (Unauthorized Client) response if the request failed client authentication or is invalid.&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;access_token&amp;quot;: &amp;quot;xxxxxxxxxxxxxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;not-before-policy&amp;quot;: 1548863201,&lt;br /&gt;
    &amp;quot;scope&amp;quot;: &amp;quot;profile email&amp;quot;,&lt;br /&gt;
    &amp;quot;token_type&amp;quot;: &amp;quot;bearer&amp;quot;,&lt;br /&gt;
    &amp;quot;session_state&amp;quot;: &amp;quot;97260f48-23c4-408d-8af2-d528fc17390c&amp;quot;,&lt;br /&gt;
    &amp;quot;expires_in&amp;quot;: 60&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;NOTE: A refresh token SHOULD NOT and is not included, as specified in the OAuth 2.0 standards.&lt;br /&gt;
&lt;br /&gt;
https://tools.ietf.org/html/rfc6749#section-4.4&lt;br /&gt;
=== Authorise/GetRecord ===&lt;br /&gt;
Retrieve a patient&#039;s structured care record as a FHIR bundle in the FHIR CareConnect STU3 format. See https://fhir.hl7.org.uk/&lt;br /&gt;
&lt;br /&gt;
This call uses the access token from the authentication API to authorise the client&#039;s access to the API, which will return the FHIR bundle if the client is recognised and authorised to use this service.&lt;br /&gt;
&lt;br /&gt;
https://devfhir.discoverydataservice.net/patient/$getstructuredrecord&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;meta&amp;quot;: {&lt;br /&gt;
    &amp;quot;profile&amp;quot;: [&lt;br /&gt;
      &amp;quot;https://fhir.hl7.org.uk/STU3/OperationDefinition/CareConnect-GetStructuredRecord-Operation-1&amp;quot;&lt;br /&gt;
    ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;resourceType&amp;quot;: &amp;quot;Parameters&amp;quot;,&lt;br /&gt;
  &amp;quot;parameter&amp;quot;: [&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;patientNHSNumber&amp;quot;,&lt;br /&gt;
      &amp;quot;valueIdentifier&amp;quot;: {&lt;br /&gt;
        &amp;quot;system&amp;quot;: &amp;quot;https://fhir.hl7.org.uk/Id/nhs-number&amp;quot;,&lt;br /&gt;
        &amp;quot;value&amp;quot;: &amp;quot;5558526785&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
    },&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;patientDOB&amp;quot;,&lt;br /&gt;
      &amp;quot;valueIdentifier&amp;quot;: {&lt;br /&gt;
        &amp;quot;system&amp;quot;: &amp;quot;https://fhir.hl7.org.uk/Id/dob&amp;quot;,&lt;br /&gt;
        &amp;quot;value&amp;quot;: &amp;quot;1970-01-01&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
  ]&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&#039;&#039;&#039;Note:&#039;&#039;&#039; The patientDOB parameter is optional. &lt;br /&gt;
&lt;br /&gt;
Set the Authorization header in the REST POST call to the value of the &#039;&#039;&#039;access_token&#039;&#039;&#039; returned from the authentication API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Access tokens expire if they are not used according to the value set in the &#039;&#039;&#039;expires_in&#039;&#039;&#039; attribute of the Client Credentials authentication method response.&lt;br /&gt;
&lt;br /&gt;
[[File:Options.png|border|600x600px]]&lt;br /&gt;
&lt;br /&gt;
If this API fails to authorise the access token against the Discovery identity and access management service, then an Unauthorised return value will be sent with a 401 HTTP Status (Unauthorized).&lt;br /&gt;
&lt;br /&gt;
Success will return the FHIR bundle for the patient specified in the query parameters.&lt;br /&gt;
&lt;br /&gt;
=== Workflow ===&lt;br /&gt;
[[File:Workflow.png|600x600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service is powered by Learning Health Solutions Ltd. https://learning-health.co.uk/&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=FHIR_Get_Structured_Record_API&amp;diff=1265</id>
		<title>FHIR Get Structured Record API</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=FHIR_Get_Structured_Record_API&amp;diff=1265"/>
		<updated>2020-06-07T10:04:29Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:FHIR Get Structured Record API}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This document specifies the technical details for accessing and using the Discovery Data Service FHIR® Care Connect API, for the use by interoperability system suppliers developing integrations against the service.&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service (DDS) is an NHS owned service that provides low cost access to personal health and care data from combined primary, secondary, unscheduled and community health care data sets (https://discoverydataservice.org/Content/Overview.htm)&lt;br /&gt;
&lt;br /&gt;
All data that is published or subscribed to and from DDS is governed by strict information governance rules and underpinned by Data Sharing Agreements, Sharing Flows and Subscriber Extract Projects (https://discoverydataservice.org/Content/Governance.htm)&lt;br /&gt;
&lt;br /&gt;
DDS receives data from multiple source publishing systems in multiple formats and normalises the data into a common structure based on national care record standards.&lt;br /&gt;
&lt;br /&gt;
DDS makes the data available to multiple subscribers in standardised formats, one of the common formats being FHIR®.&lt;br /&gt;
&lt;br /&gt;
The Discovery FHIR CareConnect $getstructuredrecord API uses a secure authentication and authorisation service. This uses recommended standards for identity and access management, using OpenID Connect and OAuth 2.0 methods, and also includes an additional security layer, where DDS checks it’s internal User Management service to ensure that each user is authorised with the necessary role based access profiles to use each particular application. This allows for tokens and user access to be centrally managed and revoked within the DDS User Manager application.&lt;br /&gt;
&lt;br /&gt;
The following FHIR CareConnect FHIR STU3 resources are currently supported by the API.&lt;br /&gt;
&lt;br /&gt;
AllergyIntolerance, Condition, MedicationStatement, Medication, MedicationRequest, Observation, Organization, Patient, Practitioner, PractitionerRole, Encounter, EpisodeOfCare, DiagnosticReport, FamilyMemberHistory, Immunization, Location, Procedure, ProcedureRequest, ReferralRequest, RelatedPerson, Appointment.&lt;br /&gt;
&lt;br /&gt;
Two API calls are used for the FHIR CareConnect $getstructuredrecord API:&lt;br /&gt;
&lt;br /&gt;
* Authenticate &lt;br /&gt;
* Authorise/GetRecord&lt;br /&gt;
&lt;br /&gt;
=== Authenticate ===&lt;br /&gt;
Authenticate the client identity by passing in client credentials to receive an access token for the API.&lt;br /&gt;
&lt;br /&gt;
https://devauthentication.discoverydataservice.net/authenticate/$gettoken&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;password&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;information-manager&amp;quot;,&lt;br /&gt;
  &amp;quot;userName&amp;quot;: &amp;quot;XXXXXXXXXXX&amp;quot;,&lt;br /&gt;
  &amp;quot;password&amp;quot;: &amp;quot;XXXXXXXXXXXX&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;(userName and password can be requested by contacting the Learning Health Solutions Helpdesk at https://learning-health.co.uk/).&lt;br /&gt;
&lt;br /&gt;
This API call returns an authorisation access_token in this JSON reply, or a 404 HTTP Not Found response if the user is not recognised.&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;access_token&amp;quot;: &amp;quot;xxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;refresh_token&amp;quot;: &amp;quot;xxxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;refresh_expires_in&amp;quot;: 1800,&lt;br /&gt;
    &amp;quot;not-before-policy&amp;quot;: 1548863201,&lt;br /&gt;
    &amp;quot;scope&amp;quot;: &amp;quot;profile email&amp;quot;,&lt;br /&gt;
    &amp;quot;token_type&amp;quot;: &amp;quot;bearer&amp;quot;,&lt;br /&gt;
    &amp;quot;session_state&amp;quot;: &amp;quot;79b125f5-f062-4a4c-a5a6-b2fa4519e8ad&amp;quot;,&lt;br /&gt;
    &amp;quot;expires_in&amp;quot;: 60&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;An access token can also be retrieved using the refresh_token value, once the user&#039;s identity has been authenticated using the above call.&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;refresh_token&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;information-manager&amp;quot;,&lt;br /&gt;
  &amp;quot;userName&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
  &amp;quot;password&amp;quot;: &amp;quot;&amp;lt;refresh_token_value&amp;gt;&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Note: this will return as updated refresh token along with each new access token request, and retrieves the access token based on updated refresh token.&lt;br /&gt;
&lt;br /&gt;
=== Authorise/GetRecord ===&lt;br /&gt;
Retrieve a patient&#039;s structured care record as a FHIR bundle in the FHIR CareConnect STU3 format. See https://fhir.hl7.org.uk/&lt;br /&gt;
&lt;br /&gt;
This call uses the access token from the authentication API to authorise the client&#039;s access to the API, which will return the FHIR bundle if the client is recognised and authorised to use this service.&lt;br /&gt;
&lt;br /&gt;
https://devfhir.discoverydataservice.net/patient/$getstructuredrecord&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;meta&amp;quot;: {&lt;br /&gt;
    &amp;quot;profile&amp;quot;: [&lt;br /&gt;
      &amp;quot;https://fhir.hl7.org.uk/STU3/OperationDefinition/CareConnect-GetStructuredRecord-Operation-1&amp;quot;&lt;br /&gt;
    ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;resourceType&amp;quot;: &amp;quot;Parameters&amp;quot;,&lt;br /&gt;
  &amp;quot;parameter&amp;quot;: [&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;patientNHSNumber&amp;quot;,&lt;br /&gt;
      &amp;quot;valueIdentifier&amp;quot;: {&lt;br /&gt;
        &amp;quot;system&amp;quot;: &amp;quot;https://fhir.hl7.org.uk/Id/nhs-number&amp;quot;,&lt;br /&gt;
        &amp;quot;value&amp;quot;: &amp;quot;5558526785&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
    },&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;patientDOB&amp;quot;,&lt;br /&gt;
      &amp;quot;valueIdentifier&amp;quot;: {&lt;br /&gt;
        &amp;quot;system&amp;quot;: &amp;quot;https://fhir.hl7.org.uk/Id/dob&amp;quot;,&lt;br /&gt;
        &amp;quot;value&amp;quot;: &amp;quot;1970-01-01&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
  ]&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&#039;&#039;&#039;Note:&#039;&#039;&#039; The patientDOB parameter is optional. &lt;br /&gt;
&lt;br /&gt;
Set the Authorization header in the REST POST call to the value of the &#039;&#039;&#039;access_token&#039;&#039;&#039; returned from the authentication API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Access tokens expire if they are not used within 60 seconds.&lt;br /&gt;
&lt;br /&gt;
[[File:Options.png|border|600x600px]]&lt;br /&gt;
&lt;br /&gt;
If this API fails to authorise the access token against the Discovery identity and access management service, then an Unauthorised return value will be sent with a 401 HTTP Status (Unauthorized).&lt;br /&gt;
&lt;br /&gt;
Success will return the FHIR bundle for the patient specified in the query parameters.&lt;br /&gt;
&lt;br /&gt;
=== Workflow ===&lt;br /&gt;
[[File:Workflow.png|600x600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service is powered by Learning Health Solutions Ltd. https://learning-health.co.uk/&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1264</id>
		<title>HL7v2 API</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1264"/>
		<updated>2020-06-07T10:03:50Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This document specifies the technical details for accessing and using the Discovery Data Service HL7v2 API, for the use by interoperability system suppliers developing integrations against the service.&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service (DDS) is an NHS owned service that provides low cost access to personal health and care data from combined primary, secondary, unscheduled and community health care data sets (https://discoverydataservice.org/Content/Overview.htm)&lt;br /&gt;
&lt;br /&gt;
All data that is published or subscribed to and from DDS is governed by strict information governance rules and underpinned by Data Sharing Agreements, Sharing Flows and Subscriber Extract Projects (https://discoverydataservice.org/Content/Governance.htm)&lt;br /&gt;
&lt;br /&gt;
DDS receives data from multiple source publishing systems in multiple formats and normalises the data into a common structure based on national care record standards.&lt;br /&gt;
&lt;br /&gt;
DDS can receive HL7v2 structured ADT and ORU messages from Secondary Care systems, and transform them into the Discovery FHIR store, from where the data gets transformed into subscriber databases for reporting.&lt;br /&gt;
&lt;br /&gt;
The Discovery HL7v2 API uses a secure authentication and authorisation service. This uses recommended standards for identity and access management, using OpenID Connect and OAuth 2.0 methods, and also includes an additional security layer, where DDS checks it’s internal User Management service to ensure that each user is authorised with the necessary role based access profiles to use each particular application. This allows for tokens and user access to be centrally managed and revoked within the DDS User Manager application.&lt;br /&gt;
&lt;br /&gt;
Two API calls are used for the HL7v2 API:&lt;br /&gt;
&lt;br /&gt;
*Authenticate&lt;br /&gt;
*Authorise/ProcessMessage&lt;br /&gt;
&lt;br /&gt;
===Authenticate===&lt;br /&gt;
Authenticate the client identity by passing in client credentials to receive an access token for the API.&lt;br /&gt;
&lt;br /&gt;
https://devauthentication.discoverydataservice.net/authenticate/$gettoken&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;password&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;information-manager&amp;quot;,&lt;br /&gt;
  &amp;quot;userName&amp;quot;: &amp;quot;XXXXXXXXXXX&amp;quot;,&lt;br /&gt;
  &amp;quot;password&amp;quot;: &amp;quot;XXXXXXXXXXXX&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;(userName and password can be requested by contacting the Learning Health Solutions Helpdesk at https://learning-health.co.uk/). This API call returns an authorisation access_token in this JSON reply, or a 404 HTTP Not Found response if the user is not recognised.&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;access_token&amp;quot;: &amp;quot;xxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;refresh_token&amp;quot;: &amp;quot;xxxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;refresh_expires_in&amp;quot;: 1800,&lt;br /&gt;
    &amp;quot;not-before-policy&amp;quot;: 1548863201,&lt;br /&gt;
    &amp;quot;scope&amp;quot;: &amp;quot;profile email&amp;quot;,&lt;br /&gt;
    &amp;quot;token_type&amp;quot;: &amp;quot;bearer&amp;quot;,&lt;br /&gt;
    &amp;quot;session_state&amp;quot;: &amp;quot;79b125f5-f062-4a4c-a5a6-b2fa4519e8ad&amp;quot;,&lt;br /&gt;
    &amp;quot;expires_in&amp;quot;: 60&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;An access token can also be retrieved using the refresh_token value, once the user&#039;s identity has been authenticated using the above call. Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;refresh_token&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;information-manager&amp;quot;,&lt;br /&gt;
  &amp;quot;userName&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
  &amp;quot;password&amp;quot;: &amp;quot;&amp;lt;refresh_token_value&amp;gt;&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Note: this will return as updated refresh token along with each new access token request, and retrieves the access token based on updated refresh token.&lt;br /&gt;
&lt;br /&gt;
===Authorise/ProcessMessage===&lt;br /&gt;
Post HL7v2 messages to a REST API.&lt;br /&gt;
&lt;br /&gt;
This call uses the access token from the authentication API to authorise the client&#039;s access to the API, which will then post the HL7v2 message to DDS if the client is recognised and authorised to use this service.&lt;br /&gt;
&lt;br /&gt;
https://devhl7.discoverydataservice.net/hl7/$process-message&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;meta&amp;quot;: {&lt;br /&gt;
    &amp;quot;profile&amp;quot;: [&lt;br /&gt;
      &amp;quot;https://hl7.org.uk/V2/OperationDefinition/ProcessMessage-Operation-1&amp;quot;&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;tag&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/Id/ODS-Code&amp;quot;,&lt;br /&gt;
            &amp;quot;code&amp;quot;: &amp;quot;RYJ&amp;quot;,&lt;br /&gt;
            &amp;quot;display&amp;quot;: &amp;quot;IMPERIAL COLLEGE HEALTHCARE NHS TRUST&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;resourceType&amp;quot;: &amp;quot;HL7v2&amp;quot;,&lt;br /&gt;
  &amp;quot;messageType&amp;quot;: &amp;quot;LaboratoryResult&amp;quot;,&lt;br /&gt;
  &amp;quot;id&amp;quot;: &amp;quot;4847653a-7b39-4d7e-928f-a9fa6d833dd4&amp;quot;,&lt;br /&gt;
  &amp;quot;identifier&amp;quot;: [&lt;br /&gt;
	    {&lt;br /&gt;
	        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.org.uk/Id/dds&amp;quot;,&lt;br /&gt;
	        &amp;quot;value&amp;quot;: &amp;quot;1716&amp;quot;&lt;br /&gt;
	    }&lt;br /&gt;
	],&lt;br /&gt;
  &amp;quot;creationTime&amp;quot;: &amp;quot;2012-10-23T00:00:00+00:00&amp;quot;,&lt;br /&gt;
  &amp;quot;messageEventType&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;valueCodeableConcept&amp;quot;: {&lt;br /&gt;
                &amp;quot;coding&amp;quot;: [&lt;br /&gt;
                    {&lt;br /&gt;
                        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/CodeSystem/EMS-MessageEventType-1&amp;quot;,&lt;br /&gt;
                        &amp;quot;code&amp;quot;: &amp;quot;new&amp;quot;,&lt;br /&gt;
                        &amp;quot;display&amp;quot;: &amp;quot;New event message&amp;quot;&lt;br /&gt;
                    }&lt;br /&gt;
                ]&lt;br /&gt;
            },&lt;br /&gt;
            &amp;quot;url&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/StructureDefinition/Extension-EMS-MessageEventType-1&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
  &amp;quot;body&amp;quot;: &amp;quot;MSH|^~\&amp;amp;|GHH LAB|ELAB-3|GHH OE|BLDG4|200202150930||ORU^R01|CNTRL-3456|P|2.4 PID|||07827717281||JANET^EVE^E^^^^L|JONES|19620320|F|||153 FERNWOOD DR.^&lt;br /&gt;
 ^TESTVILLE^EL4^35292||(01)33452232|(01)348439949||||AC555444444||67-A4335^LONDON^20030520 OBR|1|845439^GHH OE|1045813^GHH LAB|15545^GLUCOSE|||200202150730|||||||||&lt;br /&gt;
 0283829292^PRIMARY^PATRICIA P^^^^MD^^|||||||||F||||||02992888292^SMITH^HOWARD H^^^^MD OBX|1|SN|1554-5^GLUCOSE^POST 12H CFST:MCNC:PT:SER/PLAS:QN||^182|mg/dl|70_105|H|||F&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&#039;&#039;&#039;Note:&#039;&#039;&#039; The body elements contains the HL7v2 message. The rest of the JSON is the wrapper specification for the message.&lt;br /&gt;
&lt;br /&gt;
Set the Authorization header in the REST POST call to the value of the &#039;&#039;&#039;access_token&#039;&#039;&#039; returned from the authentication API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Access tokens expire if they are not used within 60 seconds.&lt;br /&gt;
&lt;br /&gt;
[[File:Options.png|border|600x600px|link=https://wiki.discoverydataservice.org/File:Options.png]]&lt;br /&gt;
&lt;br /&gt;
If this API fails to authorise the access token against the Discovery identity and access management service, then an Unauthorised return value will be sent with a 401 HTTP Status (Unauthorized).&lt;br /&gt;
&lt;br /&gt;
Success will return a 200 OK HTTP status, after the message is filed into DDS.&lt;br /&gt;
===Workflow===&lt;br /&gt;
[[File:HL7v2 workflow.png|alt=|600x600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service is powered by Learning Health Solutions Ltd. https://learning-health.co.uk/&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Voror_Health_Platform&amp;diff=1259</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=1259"/>
		<updated>2020-06-05T09:52:41Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#e74c3c;&amp;quot;&amp;gt;DRAFT: These pages are at an early stage of development, with many articles to be lifted from the Discovery document repository.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The articles describe and define Discovery Data Service functionality and technology; the architecture that underpins the data service software, the components that make up the service, the testing and assurance processes, and the resources, technologies, and software that are used to host, develop, and support the service.&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;
&lt;br /&gt;
= Information model related topics =&lt;br /&gt;
&lt;br /&gt;
These articles provide information about the services, structure, and functionality&amp;amp;nbsp;that operate using the Discovery Common Information Model;&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;
*[[Common_information_model|Discovery common information model]] - an overview of the components of the common model, leading to details of each component.&lt;br /&gt;
*[[Health_data_model_content|Discovery health data model&amp;amp;nbsp;]] - a very high level overview of the types of data held within the Discovery data stores.&lt;br /&gt;
*[[Information_model_service|Information model services]] - the technical services that enable the common information model to be used.&lt;br /&gt;
*[[Data modelling language|Discovery information modelling language]] - describes the machine and human readable language used to build the information model and for computers to process or manipulate data&lt;br /&gt;
&lt;br /&gt;
= Operational and interoperability topics =&lt;br /&gt;
These articles provide information about how systems can interoperate with Discovery and provide further links into test APIs, schemas, and other documentation associated with data formats for sending and receiving data.&lt;br /&gt;
&lt;br /&gt;
*[[Secure_publication_to_the_DDS|Secure publication to the DDS]] - lists the technical interfaces in place for receiving data from publishers. &lt;br /&gt;
*[[Remote_Subscriber_Database_(RSD)_SQL_guide|Remote Subscriber Database (RSD) SQL guide]] - provides information for subscribers that wish to host their own copy of data supplied by Discovery. &lt;br /&gt;
*[[Remote_Subscriber_Database_(RSD)_AWS_hosting_setup_guide|Remote Subscriber Database (RSD) AWS hosting setup guide]] - provides information for subscribers who want to set up their data in AWS.&lt;br /&gt;
*[[Generic_publisher_system_data_requirements|Generic publisher system data requirements]] - provides a set of guides for systems that are publishing data through the Discovery Data Service. &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;
*[[Publishers_and_mapping_to_the_commmon_model|Publishers and mapping to the common model]] - provides the specification for how supplier system information is mapped to the common model, using FHIR as the intermediary.&lt;br /&gt;
&lt;br /&gt;
= Services =&lt;br /&gt;
&lt;br /&gt;
These articles provide information about the services provided by the Discovery Data Service and the underlying functionality.&lt;br /&gt;
&lt;br /&gt;
*[[Simple_generic_query_service|Simple Generic query Service]] - a service that provides data on request for data&amp;amp;nbsp;that might be conceptually very complex, but falls into simple common patterns.&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;
&lt;br /&gt;
= Technologies =&lt;br /&gt;
&lt;br /&gt;
These articles provide information about the technologies used in the Discovery Data services, including summaries of considerations and tests that have been undertaken when selecting technologies.&lt;br /&gt;
&lt;br /&gt;
*[[Graph_or_relational_databases|Graph versus relational database&amp;amp;nbsp;]]&amp;amp;nbsp;- considers two of the approaches for storing the main health care record stores. &lt;br /&gt;
&lt;br /&gt;
= Publisher system known issues =&lt;br /&gt;
&lt;br /&gt;
This section documents the known long standing problems relating to systems that publish data to Discovery. The issues as categorised by supplier and system. These issues need to be taken into account when configuring the services to process the data. The issues do not include short term glitches or errors.&lt;br /&gt;
&lt;br /&gt;
*[[EMIS_known_issues|EMIS]] &lt;br /&gt;
*[[TPP_known_issues|TPP]] &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.&amp;lt;br/&amp;gt; You can also amend or cancel data sharing and processing agreements in real time.&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=FHIR_GetStructuredRecord_API&amp;diff=1258</id>
		<title>FHIR GetStructuredRecord API</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=FHIR_GetStructuredRecord_API&amp;diff=1258"/>
		<updated>2020-06-05T09:49:54Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: DarrenS moved page FHIR GetStructuredRecord API to FHIR Get Structured Record API&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[FHIR Get Structured Record API]]&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=FHIR_Get_Structured_Record_API&amp;diff=1257</id>
		<title>FHIR Get Structured Record API</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=FHIR_Get_Structured_Record_API&amp;diff=1257"/>
		<updated>2020-06-05T09:49:53Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: DarrenS moved page FHIR GetStructuredRecord API to FHIR Get Structured Record API&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:FHIR Get Structured Record API}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This document specifies the technical details for accessing and using the Discovery Data Service FHIR® Care Connect API, for the use by interoperability system suppliers developing integrations against the service.&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service (DDS) is an NHS owned service that provides low cost access to personal health and care data from combined primary, secondary, unscheduled and community health care data sets (https://discoverydataservice.org/Content/Overview.htm)&lt;br /&gt;
&lt;br /&gt;
All data that is published or subscribed to and from DDS is governed by strict information governance rules and underpinned by Data Sharing Agreements, Sharing Flows and Subscriber Extract Projects (https://discoverydataservice.org/Content/Governance.htm)&lt;br /&gt;
&lt;br /&gt;
DDS receives data from multiple source publishing systems in multiple formats and normalises the data into a common structure based on national care record standards.&lt;br /&gt;
&lt;br /&gt;
DDS makes the data available to multiple subscribers in standardised formats, one of the common formats being FHIR®.&lt;br /&gt;
&lt;br /&gt;
The Discovery FHIR CareConnect $getstructuredrecord API uses a secure authentication and authorisation service. This uses recommended standards for identity and access management, using OpenID Connect and OAuth 2.0 methods, and also includes an additional security layer, where DDS checks it’s internal User Management service to ensure that each user is authorised with the necessary role based access profiles to use each particular application. This allows for tokens and user access to be centrally managed and revoked within the DDS User Manager application.&lt;br /&gt;
&lt;br /&gt;
The following FHIR CareConnect FHIR STU3 resources are currently supported by the API.&lt;br /&gt;
&lt;br /&gt;
AllergyIntolerance, Condition, MedicationStatement, Medication, MedicationRequest, Observation, Organization, Patient, Practitioner, PractitionerRole, Encounter, EpisodeOfCare, DiagnosticReport, FamilyMemberHistory, Immunization, Location, Procedure, ProcedureRequest, ReferralRequest, RelatedPerson, Appointment.&lt;br /&gt;
&lt;br /&gt;
Two API calls are used for the FHIR CareConnect $getstructuredrecord API:&lt;br /&gt;
&lt;br /&gt;
* Authenticate &lt;br /&gt;
* Authorise/GetRecord&lt;br /&gt;
&lt;br /&gt;
=== Authenticate ===&lt;br /&gt;
Authenticate the client identity by passing in client credentials to receive an access token for the API.&lt;br /&gt;
&lt;br /&gt;
https://devauthentication.discoverydataservice.net/authenticate/$gettoken&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;password&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;information-manager&amp;quot;,&lt;br /&gt;
  &amp;quot;userName&amp;quot;: &amp;quot;XXXXXXXXXXX&amp;quot;,&lt;br /&gt;
  &amp;quot;password&amp;quot;: &amp;quot;XXXXXXXXXXXX&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;(userName and password can be requested by contacting the Learning Health Solutions Helpdesk at https://learning-health.co.uk/).&lt;br /&gt;
&lt;br /&gt;
This API call returns an authorisation access_token in this JSON reply, or a 404 HTTP Not Found response if the user is not recognised.&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;access_token&amp;quot;: &amp;quot;xxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;refresh_token&amp;quot;: &amp;quot;xxxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;refresh_expires_in&amp;quot;: 1800,&lt;br /&gt;
    &amp;quot;not-before-policy&amp;quot;: 1548863201,&lt;br /&gt;
    &amp;quot;scope&amp;quot;: &amp;quot;profile email&amp;quot;,&lt;br /&gt;
    &amp;quot;token_type&amp;quot;: &amp;quot;bearer&amp;quot;,&lt;br /&gt;
    &amp;quot;session_state&amp;quot;: &amp;quot;79b125f5-f062-4a4c-a5a6-b2fa4519e8ad&amp;quot;,&lt;br /&gt;
    &amp;quot;expires_in&amp;quot;: 60&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;An access token can also be retrieved using the refresh_token value, once the user&#039;s identity has been authenticated using the above call.&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;refresh_token&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;information-manager&amp;quot;,&lt;br /&gt;
  &amp;quot;userName&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
  &amp;quot;password&amp;quot;: &amp;quot;&amp;lt;refresh_token_value&amp;gt;&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Authorise/GetRecord ===&lt;br /&gt;
Retrieve a patient&#039;s structured care record as a FHIR bundle in the FHIR CareConnect STU3 format. See https://fhir.hl7.org.uk/&lt;br /&gt;
&lt;br /&gt;
This call uses the access token from the authentication API to authorise the client&#039;s access to the API, which will return the FHIR bundle if the client is recognised and authorised to use this service.&lt;br /&gt;
&lt;br /&gt;
https://devfhir.discoverydataservice.net/patient/$getstructuredrecord&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;meta&amp;quot;: {&lt;br /&gt;
    &amp;quot;profile&amp;quot;: [&lt;br /&gt;
      &amp;quot;https://fhir.hl7.org.uk/STU3/OperationDefinition/CareConnect-GetStructuredRecord-Operation-1&amp;quot;&lt;br /&gt;
    ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;resourceType&amp;quot;: &amp;quot;Parameters&amp;quot;,&lt;br /&gt;
  &amp;quot;parameter&amp;quot;: [&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;patientNHSNumber&amp;quot;,&lt;br /&gt;
      &amp;quot;valueIdentifier&amp;quot;: {&lt;br /&gt;
        &amp;quot;system&amp;quot;: &amp;quot;https://fhir.hl7.org.uk/Id/nhs-number&amp;quot;,&lt;br /&gt;
        &amp;quot;value&amp;quot;: &amp;quot;5558526785&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
    },&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;patientDOB&amp;quot;,&lt;br /&gt;
      &amp;quot;valueIdentifier&amp;quot;: {&lt;br /&gt;
        &amp;quot;system&amp;quot;: &amp;quot;https://fhir.hl7.org.uk/Id/dob&amp;quot;,&lt;br /&gt;
        &amp;quot;value&amp;quot;: &amp;quot;1970-01-01&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
  ]&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&#039;&#039;&#039;Note:&#039;&#039;&#039; The patientDOB parameter is optional. &lt;br /&gt;
&lt;br /&gt;
Set the Authorization header in the REST POST call to the value of the &#039;&#039;&#039;access_token&#039;&#039;&#039; returned from the authentication API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Access tokens expire if they are not used within 60 seconds.&lt;br /&gt;
&lt;br /&gt;
[[File:Options.png|border|600x600px]]&lt;br /&gt;
&lt;br /&gt;
If this API fails to authorise the access token against the Discovery identity and access management service, then an Unauthorised return value will be sent with a 401 HTTP Status (Unauthorized).&lt;br /&gt;
&lt;br /&gt;
Success will return the FHIR bundle for the patient specified in the query parameters.&lt;br /&gt;
&lt;br /&gt;
=== Workflow ===&lt;br /&gt;
[[File:Workflow.png|600x600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service is powered by Learning Health Solutions Ltd. https://learning-health.co.uk/&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Template:DISPLAYTITLE&amp;diff=1256</id>
		<title>Template:DISPLAYTITLE</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=Template:DISPLAYTITLE&amp;diff=1256"/>
		<updated>2020-06-05T09:45:15Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: Created page with &amp;quot;{{DISPLAYTITLE:FHIR Get Structured Record API}}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:FHIR Get Structured Record API}}&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=FHIR_Get_Structured_Record_API&amp;diff=1255</id>
		<title>FHIR Get Structured Record API</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=FHIR_Get_Structured_Record_API&amp;diff=1255"/>
		<updated>2020-06-05T09:38:41Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:FHIR Get Structured Record API}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This document specifies the technical details for accessing and using the Discovery Data Service FHIR® Care Connect API, for the use by interoperability system suppliers developing integrations against the service.&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service (DDS) is an NHS owned service that provides low cost access to personal health and care data from combined primary, secondary, unscheduled and community health care data sets (https://discoverydataservice.org/Content/Overview.htm)&lt;br /&gt;
&lt;br /&gt;
All data that is published or subscribed to and from DDS is governed by strict information governance rules and underpinned by Data Sharing Agreements, Sharing Flows and Subscriber Extract Projects (https://discoverydataservice.org/Content/Governance.htm)&lt;br /&gt;
&lt;br /&gt;
DDS receives data from multiple source publishing systems in multiple formats and normalises the data into a common structure based on national care record standards.&lt;br /&gt;
&lt;br /&gt;
DDS makes the data available to multiple subscribers in standardised formats, one of the common formats being FHIR®.&lt;br /&gt;
&lt;br /&gt;
The Discovery FHIR CareConnect $getstructuredrecord API uses a secure authentication and authorisation service. This uses recommended standards for identity and access management, using OpenID Connect and OAuth 2.0 methods, and also includes an additional security layer, where DDS checks it’s internal User Management service to ensure that each user is authorised with the necessary role based access profiles to use each particular application. This allows for tokens and user access to be centrally managed and revoked within the DDS User Manager application.&lt;br /&gt;
&lt;br /&gt;
The following FHIR CareConnect FHIR STU3 resources are currently supported by the API.&lt;br /&gt;
&lt;br /&gt;
AllergyIntolerance, Condition, MedicationStatement, Medication, MedicationRequest, Observation, Organization, Patient, Practitioner, PractitionerRole, Encounter, EpisodeOfCare, DiagnosticReport, FamilyMemberHistory, Immunization, Location, Procedure, ProcedureRequest, ReferralRequest, RelatedPerson, Appointment.&lt;br /&gt;
&lt;br /&gt;
Two API calls are used for the FHIR CareConnect $getstructuredrecord API:&lt;br /&gt;
&lt;br /&gt;
* Authenticate &lt;br /&gt;
* Authorise/GetRecord&lt;br /&gt;
&lt;br /&gt;
=== Authenticate ===&lt;br /&gt;
Authenticate the client identity by passing in client credentials to receive an access token for the API.&lt;br /&gt;
&lt;br /&gt;
https://devauthentication.discoverydataservice.net/authenticate/$gettoken&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;password&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;information-manager&amp;quot;,&lt;br /&gt;
  &amp;quot;userName&amp;quot;: &amp;quot;XXXXXXXXXXX&amp;quot;,&lt;br /&gt;
  &amp;quot;password&amp;quot;: &amp;quot;XXXXXXXXXXXX&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;(userName and password can be requested by contacting the Learning Health Solutions Helpdesk at https://learning-health.co.uk/).&lt;br /&gt;
&lt;br /&gt;
This API call returns an authorisation access_token in this JSON reply, or a 404 HTTP Not Found response if the user is not recognised.&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;access_token&amp;quot;: &amp;quot;xxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;refresh_token&amp;quot;: &amp;quot;xxxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;refresh_expires_in&amp;quot;: 1800,&lt;br /&gt;
    &amp;quot;not-before-policy&amp;quot;: 1548863201,&lt;br /&gt;
    &amp;quot;scope&amp;quot;: &amp;quot;profile email&amp;quot;,&lt;br /&gt;
    &amp;quot;token_type&amp;quot;: &amp;quot;bearer&amp;quot;,&lt;br /&gt;
    &amp;quot;session_state&amp;quot;: &amp;quot;79b125f5-f062-4a4c-a5a6-b2fa4519e8ad&amp;quot;,&lt;br /&gt;
    &amp;quot;expires_in&amp;quot;: 60&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;An access token can also be retrieved using the refresh_token value, once the user&#039;s identity has been authenticated using the above call.&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;refresh_token&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;information-manager&amp;quot;,&lt;br /&gt;
  &amp;quot;userName&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
  &amp;quot;password&amp;quot;: &amp;quot;&amp;lt;refresh_token_value&amp;gt;&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Authorise/GetRecord ===&lt;br /&gt;
Retrieve a patient&#039;s structured care record as a FHIR bundle in the FHIR CareConnect STU3 format. See https://fhir.hl7.org.uk/&lt;br /&gt;
&lt;br /&gt;
This call uses the access token from the authentication API to authorise the client&#039;s access to the API, which will return the FHIR bundle if the client is recognised and authorised to use this service.&lt;br /&gt;
&lt;br /&gt;
https://devfhir.discoverydataservice.net/patient/$getstructuredrecord&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;meta&amp;quot;: {&lt;br /&gt;
    &amp;quot;profile&amp;quot;: [&lt;br /&gt;
      &amp;quot;https://fhir.hl7.org.uk/STU3/OperationDefinition/CareConnect-GetStructuredRecord-Operation-1&amp;quot;&lt;br /&gt;
    ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;resourceType&amp;quot;: &amp;quot;Parameters&amp;quot;,&lt;br /&gt;
  &amp;quot;parameter&amp;quot;: [&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;patientNHSNumber&amp;quot;,&lt;br /&gt;
      &amp;quot;valueIdentifier&amp;quot;: {&lt;br /&gt;
        &amp;quot;system&amp;quot;: &amp;quot;https://fhir.hl7.org.uk/Id/nhs-number&amp;quot;,&lt;br /&gt;
        &amp;quot;value&amp;quot;: &amp;quot;5558526785&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
    },&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;patientDOB&amp;quot;,&lt;br /&gt;
      &amp;quot;valueIdentifier&amp;quot;: {&lt;br /&gt;
        &amp;quot;system&amp;quot;: &amp;quot;https://fhir.hl7.org.uk/Id/dob&amp;quot;,&lt;br /&gt;
        &amp;quot;value&amp;quot;: &amp;quot;1970-01-01&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
  ]&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&#039;&#039;&#039;Note:&#039;&#039;&#039; The patientDOB parameter is optional. &lt;br /&gt;
&lt;br /&gt;
Set the Authorization header in the REST POST call to the value of the &#039;&#039;&#039;access_token&#039;&#039;&#039; returned from the authentication API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Access tokens expire if they are not used within 60 seconds.&lt;br /&gt;
&lt;br /&gt;
[[File:Options.png|border|600x600px]]&lt;br /&gt;
&lt;br /&gt;
If this API fails to authorise the access token against the Discovery identity and access management service, then an Unauthorised return value will be sent with a 401 HTTP Status (Unauthorized).&lt;br /&gt;
&lt;br /&gt;
Success will return the FHIR bundle for the patient specified in the query parameters.&lt;br /&gt;
&lt;br /&gt;
=== Workflow ===&lt;br /&gt;
[[File:Workflow.png|600x600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service is powered by Learning Health Solutions Ltd. https://learning-health.co.uk/&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=FHIR_Get_Structured_Record_API&amp;diff=1254</id>
		<title>FHIR Get Structured Record API</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=FHIR_Get_Structured_Record_API&amp;diff=1254"/>
		<updated>2020-06-05T09:37:30Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:FHIR}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This document specifies the technical details for accessing and using the Discovery Data Service FHIR® Care Connect API, for the use by interoperability system suppliers developing integrations against the service.&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service (DDS) is an NHS owned service that provides low cost access to personal health and care data from combined primary, secondary, unscheduled and community health care data sets (https://discoverydataservice.org/Content/Overview.htm)&lt;br /&gt;
&lt;br /&gt;
All data that is published or subscribed to and from DDS is governed by strict information governance rules and underpinned by Data Sharing Agreements, Sharing Flows and Subscriber Extract Projects (https://discoverydataservice.org/Content/Governance.htm)&lt;br /&gt;
&lt;br /&gt;
DDS receives data from multiple source publishing systems in multiple formats and normalises the data into a common structure based on national care record standards.&lt;br /&gt;
&lt;br /&gt;
DDS makes the data available to multiple subscribers in standardised formats, one of the common formats being FHIR®.&lt;br /&gt;
&lt;br /&gt;
The Discovery FHIR CareConnect $getstructuredrecord API uses a secure authentication and authorisation service. This uses recommended standards for identity and access management, using OpenID Connect and OAuth 2.0 methods, and also includes an additional security layer, where DDS checks it’s internal User Management service to ensure that each user is authorised with the necessary role based access profiles to use each particular application. This allows for tokens and user access to be centrally managed and revoked within the DDS User Manager application.&lt;br /&gt;
&lt;br /&gt;
The following FHIR CareConnect FHIR STU3 resources are currently supported by the API.&lt;br /&gt;
&lt;br /&gt;
AllergyIntolerance, Condition, MedicationStatement, Medication, MedicationRequest, Observation, Organization, Patient, Practitioner, PractitionerRole, Encounter, EpisodeOfCare, DiagnosticReport, FamilyMemberHistory, Immunization, Location, Procedure, ProcedureRequest, ReferralRequest, RelatedPerson, Appointment.&lt;br /&gt;
&lt;br /&gt;
Two API calls are used for the FHIR CareConnect $getstructuredrecord API:&lt;br /&gt;
&lt;br /&gt;
* Authenticate &lt;br /&gt;
* Authorise/GetRecord&lt;br /&gt;
&lt;br /&gt;
=== Authenticate ===&lt;br /&gt;
Authenticate the client identity by passing in client credentials to receive an access token for the API.&lt;br /&gt;
&lt;br /&gt;
https://devauthentication.discoverydataservice.net/authenticate/$gettoken&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;password&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;information-manager&amp;quot;,&lt;br /&gt;
  &amp;quot;userName&amp;quot;: &amp;quot;XXXXXXXXXXX&amp;quot;,&lt;br /&gt;
  &amp;quot;password&amp;quot;: &amp;quot;XXXXXXXXXXXX&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;(userName and password can be requested by contacting the Learning Health Solutions Helpdesk at https://learning-health.co.uk/).&lt;br /&gt;
&lt;br /&gt;
This API call returns an authorisation access_token in this JSON reply, or a 404 HTTP Not Found response if the user is not recognised.&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;access_token&amp;quot;: &amp;quot;xxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;refresh_token&amp;quot;: &amp;quot;xxxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;refresh_expires_in&amp;quot;: 1800,&lt;br /&gt;
    &amp;quot;not-before-policy&amp;quot;: 1548863201,&lt;br /&gt;
    &amp;quot;scope&amp;quot;: &amp;quot;profile email&amp;quot;,&lt;br /&gt;
    &amp;quot;token_type&amp;quot;: &amp;quot;bearer&amp;quot;,&lt;br /&gt;
    &amp;quot;session_state&amp;quot;: &amp;quot;79b125f5-f062-4a4c-a5a6-b2fa4519e8ad&amp;quot;,&lt;br /&gt;
    &amp;quot;expires_in&amp;quot;: 60&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;An access token can also be retrieved using the refresh_token value, once the user&#039;s identity has been authenticated using the above call.&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;refresh_token&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;information-manager&amp;quot;,&lt;br /&gt;
  &amp;quot;userName&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
  &amp;quot;password&amp;quot;: &amp;quot;&amp;lt;refresh_token_value&amp;gt;&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Authorise/GetRecord ===&lt;br /&gt;
Retrieve a patient&#039;s structured care record as a FHIR bundle in the FHIR CareConnect STU3 format. See https://fhir.hl7.org.uk/&lt;br /&gt;
&lt;br /&gt;
This call uses the access token from the authentication API to authorise the client&#039;s access to the API, which will return the FHIR bundle if the client is recognised and authorised to use this service.&lt;br /&gt;
&lt;br /&gt;
https://devfhir.discoverydataservice.net/patient/$getstructuredrecord&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;meta&amp;quot;: {&lt;br /&gt;
    &amp;quot;profile&amp;quot;: [&lt;br /&gt;
      &amp;quot;https://fhir.hl7.org.uk/STU3/OperationDefinition/CareConnect-GetStructuredRecord-Operation-1&amp;quot;&lt;br /&gt;
    ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;resourceType&amp;quot;: &amp;quot;Parameters&amp;quot;,&lt;br /&gt;
  &amp;quot;parameter&amp;quot;: [&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;patientNHSNumber&amp;quot;,&lt;br /&gt;
      &amp;quot;valueIdentifier&amp;quot;: {&lt;br /&gt;
        &amp;quot;system&amp;quot;: &amp;quot;https://fhir.hl7.org.uk/Id/nhs-number&amp;quot;,&lt;br /&gt;
        &amp;quot;value&amp;quot;: &amp;quot;5558526785&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
    },&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;patientDOB&amp;quot;,&lt;br /&gt;
      &amp;quot;valueIdentifier&amp;quot;: {&lt;br /&gt;
        &amp;quot;system&amp;quot;: &amp;quot;https://fhir.hl7.org.uk/Id/dob&amp;quot;,&lt;br /&gt;
        &amp;quot;value&amp;quot;: &amp;quot;1970-01-01&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
  ]&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&#039;&#039;&#039;Note:&#039;&#039;&#039; The patientDOB parameter is optional. &lt;br /&gt;
&lt;br /&gt;
Set the Authorization header in the REST POST call to the value of the &#039;&#039;&#039;access_token&#039;&#039;&#039; returned from the authentication API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Access tokens expire if they are not used within 60 seconds.&lt;br /&gt;
&lt;br /&gt;
[[File:Options.png|border|600x600px]]&lt;br /&gt;
&lt;br /&gt;
If this API fails to authorise the access token against the Discovery identity and access management service, then an Unauthorised return value will be sent with a 401 HTTP Status (Unauthorized).&lt;br /&gt;
&lt;br /&gt;
Success will return the FHIR bundle for the patient specified in the query parameters.&lt;br /&gt;
&lt;br /&gt;
=== Workflow ===&lt;br /&gt;
[[File:Workflow.png|600x600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service is powered by Learning Health Solutions Ltd. https://learning-health.co.uk/&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=FHIR_Get_Structured_Record_API&amp;diff=1253</id>
		<title>FHIR Get Structured Record API</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=FHIR_Get_Structured_Record_API&amp;diff=1253"/>
		<updated>2020-06-05T09:35:20Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:FHIR Get Structured Record API}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This document specifies the technical details for accessing and using the Discovery Data Service FHIR® Care Connect API, for the use by interoperability system suppliers developing integrations against the service.&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service (DDS) is an NHS owned service that provides low cost access to personal health and care data from combined primary, secondary, unscheduled and community health care data sets (https://discoverydataservice.org/Content/Overview.htm)&lt;br /&gt;
&lt;br /&gt;
All data that is published or subscribed to and from DDS is governed by strict information governance rules and underpinned by Data Sharing Agreements, Sharing Flows and Subscriber Extract Projects (https://discoverydataservice.org/Content/Governance.htm)&lt;br /&gt;
&lt;br /&gt;
DDS receives data from multiple source publishing systems in multiple formats and normalises the data into a common structure based on national care record standards.&lt;br /&gt;
&lt;br /&gt;
DDS makes the data available to multiple subscribers in standardised formats, one of the common formats being FHIR®.&lt;br /&gt;
&lt;br /&gt;
The Discovery FHIR CareConnect $getstructuredrecord API uses a secure authentication and authorisation service. This uses recommended standards for identity and access management, using OpenID Connect and OAuth 2.0 methods, and also includes an additional security layer, where DDS checks it’s internal User Management service to ensure that each user is authorised with the necessary role based access profiles to use each particular application. This allows for tokens and user access to be centrally managed and revoked within the DDS User Manager application.&lt;br /&gt;
&lt;br /&gt;
The following FHIR CareConnect FHIR STU3 resources are currently supported by the API.&lt;br /&gt;
&lt;br /&gt;
AllergyIntolerance, Condition, MedicationStatement, Medication, MedicationRequest, Observation, Organization, Patient, Practitioner, PractitionerRole, Encounter, EpisodeOfCare, DiagnosticReport, FamilyMemberHistory, Immunization, Location, Procedure, ProcedureRequest, ReferralRequest, RelatedPerson, Appointment.&lt;br /&gt;
&lt;br /&gt;
Two API calls are used for the FHIR CareConnect $getstructuredrecord API:&lt;br /&gt;
&lt;br /&gt;
* Authenticate &lt;br /&gt;
* Authorise/GetRecord&lt;br /&gt;
&lt;br /&gt;
=== Authenticate ===&lt;br /&gt;
Authenticate the client identity by passing in client credentials to receive an access token for the API.&lt;br /&gt;
&lt;br /&gt;
https://devauthentication.discoverydataservice.net/authenticate/$gettoken&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;password&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;information-manager&amp;quot;,&lt;br /&gt;
  &amp;quot;userName&amp;quot;: &amp;quot;XXXXXXXXXXX&amp;quot;,&lt;br /&gt;
  &amp;quot;password&amp;quot;: &amp;quot;XXXXXXXXXXXX&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;(userName and password can be requested by contacting the Learning Health Solutions Helpdesk at https://learning-health.co.uk/).&lt;br /&gt;
&lt;br /&gt;
This API call returns an authorisation access_token in this JSON reply, or a 404 HTTP Not Found response if the user is not recognised.&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;access_token&amp;quot;: &amp;quot;xxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;refresh_token&amp;quot;: &amp;quot;xxxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;refresh_expires_in&amp;quot;: 1800,&lt;br /&gt;
    &amp;quot;not-before-policy&amp;quot;: 1548863201,&lt;br /&gt;
    &amp;quot;scope&amp;quot;: &amp;quot;profile email&amp;quot;,&lt;br /&gt;
    &amp;quot;token_type&amp;quot;: &amp;quot;bearer&amp;quot;,&lt;br /&gt;
    &amp;quot;session_state&amp;quot;: &amp;quot;79b125f5-f062-4a4c-a5a6-b2fa4519e8ad&amp;quot;,&lt;br /&gt;
    &amp;quot;expires_in&amp;quot;: 60&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;An access token can also be retrieved using the refresh_token value, once the user&#039;s identity has been authenticated using the above call.&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;refresh_token&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;information-manager&amp;quot;,&lt;br /&gt;
  &amp;quot;userName&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
  &amp;quot;password&amp;quot;: &amp;quot;&amp;lt;refresh_token_value&amp;gt;&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Authorise/GetRecord ===&lt;br /&gt;
Retrieve a patient&#039;s structured care record as a FHIR bundle in the FHIR CareConnect STU3 format. See https://fhir.hl7.org.uk/&lt;br /&gt;
&lt;br /&gt;
This call uses the access token from the authentication API to authorise the client&#039;s access to the API, which will return the FHIR bundle if the client is recognised and authorised to use this service.&lt;br /&gt;
&lt;br /&gt;
https://devfhir.discoverydataservice.net/patient/$getstructuredrecord&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;meta&amp;quot;: {&lt;br /&gt;
    &amp;quot;profile&amp;quot;: [&lt;br /&gt;
      &amp;quot;https://fhir.hl7.org.uk/STU3/OperationDefinition/CareConnect-GetStructuredRecord-Operation-1&amp;quot;&lt;br /&gt;
    ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;resourceType&amp;quot;: &amp;quot;Parameters&amp;quot;,&lt;br /&gt;
  &amp;quot;parameter&amp;quot;: [&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;patientNHSNumber&amp;quot;,&lt;br /&gt;
      &amp;quot;valueIdentifier&amp;quot;: {&lt;br /&gt;
        &amp;quot;system&amp;quot;: &amp;quot;https://fhir.hl7.org.uk/Id/nhs-number&amp;quot;,&lt;br /&gt;
        &amp;quot;value&amp;quot;: &amp;quot;5558526785&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
    },&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;patientDOB&amp;quot;,&lt;br /&gt;
      &amp;quot;valueIdentifier&amp;quot;: {&lt;br /&gt;
        &amp;quot;system&amp;quot;: &amp;quot;https://fhir.hl7.org.uk/Id/dob&amp;quot;,&lt;br /&gt;
        &amp;quot;value&amp;quot;: &amp;quot;1970-01-01&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
  ]&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&#039;&#039;&#039;Note:&#039;&#039;&#039; The patientDOB parameter is optional. &lt;br /&gt;
&lt;br /&gt;
Set the Authorization header in the REST POST call to the value of the &#039;&#039;&#039;access_token&#039;&#039;&#039; returned from the authentication API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Access tokens expire if they are not used within 60 seconds.&lt;br /&gt;
&lt;br /&gt;
[[File:Options.png|border|600x600px]]&lt;br /&gt;
&lt;br /&gt;
If this API fails to authorise the access token against the Discovery identity and access management service, then an Unauthorised return value will be sent with a 401 HTTP Status (Unauthorized).&lt;br /&gt;
&lt;br /&gt;
Success will return the FHIR bundle for the patient specified in the query parameters.&lt;br /&gt;
&lt;br /&gt;
=== Workflow ===&lt;br /&gt;
[[File:Workflow.png|600x600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service is powered by Learning Health Solutions Ltd. https://learning-health.co.uk/&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Voror_Health_Platform&amp;diff=1252</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=1252"/>
		<updated>2020-06-05T09:30:57Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#e74c3c;&amp;quot;&amp;gt;DRAFT: These pages are at an early stage of development, with many articles to be lifted from the Discovery document repository.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The articles describe and define Discovery Data Service functionality and technology; the architecture that underpins the data service software, the components that make up the service, the testing and assurance processes, and the resources, technologies, and software that are used to host, develop, and support the service.&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;
&lt;br /&gt;
= Information model related topics =&lt;br /&gt;
&lt;br /&gt;
These articles provide information about the services, structure, and functionality&amp;amp;nbsp;that operate using the Discovery Common Information Model;&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;
*[[Common_information_model|Discovery common information model]] - an overview of the components of the common model, leading to details of each component.&lt;br /&gt;
*[[Health_data_model_content|Discovery health data model&amp;amp;nbsp;]] - a very high level overview of the types of data held within the Discovery data stores.&lt;br /&gt;
*[[Information_model_service|Information model services]] - the technical services that enable the common information model to be used.&lt;br /&gt;
*[[Data modelling language|Discovery information modelling language]] - describes the machine and human readable language used to build the information model and for computers to process or manipulate data&lt;br /&gt;
&lt;br /&gt;
= Operational and interoperability topics =&lt;br /&gt;
These articles provide information about how systems can interoperate with Discovery and provide further links into test APIs, schemas, and other documentation associated with data formats for sending and receiving data.&lt;br /&gt;
&lt;br /&gt;
*[[Secure_publication_to_the_DDS|Secure publication to the DDS]] - lists the technical interfaces in place for receiving data from publishers. &lt;br /&gt;
*[[Remote_Subscriber_Database_(RSD)_SQL_guide|Remote Subscriber Database (RSD) SQL guide]] - provides information for subscribers that wish to host their own copy of data supplied by Discovery. &lt;br /&gt;
*[[Remote_Subscriber_Database_(RSD)_AWS_hosting_setup_guide|Remote Subscriber Database (RSD) AWS hosting setup guide]] - provides information for subscribers who want to set up their data in AWS.&lt;br /&gt;
*[[Generic_publisher_system_data_requirements|Generic publisher system data requirements]] - provides a set of guides for systems that are publishing data through the Discovery Data Service. &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;
*[[Publishers_and_mapping_to_the_commmon_model|Publishers and mapping to the common model]] - provides the specification for how supplier system information is mapped to the common model, using FHIR as the intermediary.&lt;br /&gt;
&lt;br /&gt;
= Services =&lt;br /&gt;
&lt;br /&gt;
These articles provide information about the services provided by the Discovery Data Service and the underlying functionality.&lt;br /&gt;
&lt;br /&gt;
*[[Simple_generic_query_service|Simple Generic query Service]] - a service that provides data on request for data&amp;amp;nbsp;that might be conceptually very complex, but falls into simple common patterns.&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 GetStructuredRecord API|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;
&lt;br /&gt;
= Technologies =&lt;br /&gt;
&lt;br /&gt;
These articles provide information about the technologies used in the Discovery Data services, including summaries of considerations and tests that have been undertaken when selecting technologies.&lt;br /&gt;
&lt;br /&gt;
*[[Graph_or_relational_databases|Graph versus relational database&amp;amp;nbsp;]]&amp;amp;nbsp;- considers two of the approaches for storing the main health care record stores. &lt;br /&gt;
&lt;br /&gt;
= Publisher system known issues =&lt;br /&gt;
&lt;br /&gt;
This section documents the known long standing problems relating to systems that publish data to Discovery. The issues as categorised by supplier and system. These issues need to be taken into account when configuring the services to process the data. The issues do not include short term glitches or errors.&lt;br /&gt;
&lt;br /&gt;
*[[EMIS_known_issues|EMIS]] &lt;br /&gt;
*[[TPP_known_issues|TPP]] &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.&amp;lt;br/&amp;gt; You can also amend or cancel data sharing and processing agreements in real time.&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1251</id>
		<title>HL7v2 API</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1251"/>
		<updated>2020-06-04T20:06:08Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: /* Workflow */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This document specifies the technical details for accessing and using the Discovery Data Service HL7v2 API, for the use by interoperability system suppliers developing integrations against the service.&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service (DDS) is an NHS owned service that provides low cost access to personal health and care data from combined primary, secondary, unscheduled and community health care data sets (https://discoverydataservice.org/Content/Overview.htm)&lt;br /&gt;
&lt;br /&gt;
All data that is published or subscribed to and from DDS is governed by strict information governance rules and underpinned by Data Sharing Agreements, Sharing Flows and Subscriber Extract Projects (https://discoverydataservice.org/Content/Governance.htm)&lt;br /&gt;
&lt;br /&gt;
DDS receives data from multiple source publishing systems in multiple formats and normalises the data into a common structure based on national care record standards.&lt;br /&gt;
&lt;br /&gt;
DDS can receive HL7v2 structured ADT and ORU messages from Secondary Care systems, and transform them into the Discovery FHIR store, from where the data gets transformed into subscriber databases for reporting.&lt;br /&gt;
&lt;br /&gt;
The Discovery HL7v2 API uses a secure authentication and authorisation service. This uses recommended standards for identity and access management, using OpenID Connect and OAuth 2.0 methods, and also includes an additional security layer, where DDS checks it’s internal User Management service to ensure that each user is authorised with the necessary role based access profiles to use each particular application. This allows for tokens and user access to be centrally managed and revoked within the DDS User Manager application.&lt;br /&gt;
&lt;br /&gt;
Two API calls are used for the HL7v2 API:&lt;br /&gt;
&lt;br /&gt;
*Authenticate&lt;br /&gt;
*Authorise/ProcessMessage&lt;br /&gt;
&lt;br /&gt;
===Authenticate===&lt;br /&gt;
Authenticate the client identity by passing in client credentials to receive an access token for the API.&lt;br /&gt;
&lt;br /&gt;
https://devauthentication.discoverydataservice.net/authenticate/$gettoken&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;password&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;information-manager&amp;quot;,&lt;br /&gt;
  &amp;quot;userName&amp;quot;: &amp;quot;XXXXXXXXXXX&amp;quot;,&lt;br /&gt;
  &amp;quot;password&amp;quot;: &amp;quot;XXXXXXXXXXXX&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;(userName and password can be requested by contacting the Learning Health Solutions Helpdesk at https://learning-health.co.uk/). This API call returns an authorisation access_token in this JSON reply, or a 404 HTTP Not Found response if the user is not recognised.&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;access_token&amp;quot;: &amp;quot;xxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;refresh_token&amp;quot;: &amp;quot;xxxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;refresh_expires_in&amp;quot;: 1800,&lt;br /&gt;
    &amp;quot;not-before-policy&amp;quot;: 1548863201,&lt;br /&gt;
    &amp;quot;scope&amp;quot;: &amp;quot;profile email&amp;quot;,&lt;br /&gt;
    &amp;quot;token_type&amp;quot;: &amp;quot;bearer&amp;quot;,&lt;br /&gt;
    &amp;quot;session_state&amp;quot;: &amp;quot;79b125f5-f062-4a4c-a5a6-b2fa4519e8ad&amp;quot;,&lt;br /&gt;
    &amp;quot;expires_in&amp;quot;: 60&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;An access token can also be retrieved using the refresh_token value, once the user&#039;s identity has been authenticated using the above call. Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;refresh_token&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;information-manager&amp;quot;,&lt;br /&gt;
  &amp;quot;userName&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
  &amp;quot;password&amp;quot;: &amp;quot;&amp;lt;refresh_token_value&amp;gt;&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===Authorise/ProcessMessage===&lt;br /&gt;
Post HL7v2 messages to a REST API.&lt;br /&gt;
&lt;br /&gt;
This call uses the access token from the authentication API to authorise the client&#039;s access to the API, which will then post the HL7v2 message to DDS if the client is recognised and authorised to use this service.&lt;br /&gt;
&lt;br /&gt;
https://devhl7.discoverydataservice.net/hl7/$process-message&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;meta&amp;quot;: {&lt;br /&gt;
    &amp;quot;profile&amp;quot;: [&lt;br /&gt;
      &amp;quot;https://hl7.org.uk/V2/OperationDefinition/ProcessMessage-Operation-1&amp;quot;&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;tag&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/Id/ODS-Code&amp;quot;,&lt;br /&gt;
            &amp;quot;code&amp;quot;: &amp;quot;RYJ&amp;quot;,&lt;br /&gt;
            &amp;quot;display&amp;quot;: &amp;quot;IMPERIAL COLLEGE HEALTHCARE NHS TRUST&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;resourceType&amp;quot;: &amp;quot;HL7v2&amp;quot;,&lt;br /&gt;
  &amp;quot;messageType&amp;quot;: &amp;quot;LaboratoryResult&amp;quot;,&lt;br /&gt;
  &amp;quot;id&amp;quot;: &amp;quot;4847653a-7b39-4d7e-928f-a9fa6d833dd4&amp;quot;,&lt;br /&gt;
  &amp;quot;identifier&amp;quot;: [&lt;br /&gt;
	    {&lt;br /&gt;
	        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.org.uk/Id/dds&amp;quot;,&lt;br /&gt;
	        &amp;quot;value&amp;quot;: &amp;quot;1716&amp;quot;&lt;br /&gt;
	    }&lt;br /&gt;
	],&lt;br /&gt;
  &amp;quot;creationTime&amp;quot;: &amp;quot;2012-10-23T00:00:00+00:00&amp;quot;,&lt;br /&gt;
  &amp;quot;messageEventType&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;valueCodeableConcept&amp;quot;: {&lt;br /&gt;
                &amp;quot;coding&amp;quot;: [&lt;br /&gt;
                    {&lt;br /&gt;
                        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/CodeSystem/EMS-MessageEventType-1&amp;quot;,&lt;br /&gt;
                        &amp;quot;code&amp;quot;: &amp;quot;new&amp;quot;,&lt;br /&gt;
                        &amp;quot;display&amp;quot;: &amp;quot;New event message&amp;quot;&lt;br /&gt;
                    }&lt;br /&gt;
                ]&lt;br /&gt;
            },&lt;br /&gt;
            &amp;quot;url&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/StructureDefinition/Extension-EMS-MessageEventType-1&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
  &amp;quot;body&amp;quot;: &amp;quot;MSH|^~\&amp;amp;|GHH LAB|ELAB-3|GHH OE|BLDG4|200202150930||ORU^R01|CNTRL-3456|P|2.4 PID|||07827717281||JANET^EVE^E^^^^L|JONES|19620320|F|||153 FERNWOOD DR.^&lt;br /&gt;
 ^TESTVILLE^EL4^35292||(01)33452232|(01)348439949||||AC555444444||67-A4335^LONDON^20030520 OBR|1|845439^GHH OE|1045813^GHH LAB|15545^GLUCOSE|||200202150730|||||||||&lt;br /&gt;
 0283829292^PRIMARY^PATRICIA P^^^^MD^^|||||||||F||||||02992888292^SMITH^HOWARD H^^^^MD OBX|1|SN|1554-5^GLUCOSE^POST 12H CFST:MCNC:PT:SER/PLAS:QN||^182|mg/dl|70_105|H|||F&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&#039;&#039;&#039;Note:&#039;&#039;&#039; The body elements contains the HL7v2 message. The rest of the JSON is the wrapper specification for the message.&lt;br /&gt;
&lt;br /&gt;
Set the Authorization header in the REST POST call to the value of the &#039;&#039;&#039;access_token&#039;&#039;&#039; returned from the authentication API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Access tokens expire if they are not used within 60 seconds.&lt;br /&gt;
&lt;br /&gt;
[[File:Options.png|border|600x600px|link=https://wiki.discoverydataservice.org/File:Options.png]]&lt;br /&gt;
&lt;br /&gt;
If this API fails to authorise the access token against the Discovery identity and access management service, then an Unauthorised return value will be sent with a 401 HTTP Status (Unauthorized).&lt;br /&gt;
&lt;br /&gt;
Success will return a 200 OK HTTP status, after the message is filed into DDS.&lt;br /&gt;
===Workflow===&lt;br /&gt;
[[File:HL7v2 workflow.png|alt=|600x600px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service is powered by Learning Health Solutions Ltd. https://learning-health.co.uk/&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=File:HL7v2_workflow.png&amp;diff=1250</id>
		<title>File:HL7v2 workflow.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=File:HL7v2_workflow.png&amp;diff=1250"/>
		<updated>2020-06-04T20:04:52Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;HL7v2 workflow&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1249</id>
		<title>HL7v2 API</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1249"/>
		<updated>2020-06-04T19:56:36Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This document specifies the technical details for accessing and using the Discovery Data Service HL7v2 API, for the use by interoperability system suppliers developing integrations against the service.&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service (DDS) is an NHS owned service that provides low cost access to personal health and care data from combined primary, secondary, unscheduled and community health care data sets (https://discoverydataservice.org/Content/Overview.htm)&lt;br /&gt;
&lt;br /&gt;
All data that is published or subscribed to and from DDS is governed by strict information governance rules and underpinned by Data Sharing Agreements, Sharing Flows and Subscriber Extract Projects (https://discoverydataservice.org/Content/Governance.htm)&lt;br /&gt;
&lt;br /&gt;
DDS receives data from multiple source publishing systems in multiple formats and normalises the data into a common structure based on national care record standards.&lt;br /&gt;
&lt;br /&gt;
DDS can receive HL7v2 structured ADT and ORU messages from Secondary Care systems, and transform them into the Discovery FHIR store, from where the data gets transformed into subscriber databases for reporting.&lt;br /&gt;
&lt;br /&gt;
The Discovery HL7v2 API uses a secure authentication and authorisation service. This uses recommended standards for identity and access management, using OpenID Connect and OAuth 2.0 methods, and also includes an additional security layer, where DDS checks it’s internal User Management service to ensure that each user is authorised with the necessary role based access profiles to use each particular application. This allows for tokens and user access to be centrally managed and revoked within the DDS User Manager application.&lt;br /&gt;
&lt;br /&gt;
Two API calls are used for the HL7v2 API:&lt;br /&gt;
&lt;br /&gt;
*Authenticate&lt;br /&gt;
*Authorise/ProcessMessage&lt;br /&gt;
&lt;br /&gt;
===Authenticate===&lt;br /&gt;
Authenticate the client identity by passing in client credentials to receive an access token for the API.&lt;br /&gt;
&lt;br /&gt;
https://devauthentication.discoverydataservice.net/authenticate/$gettoken&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;password&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;information-manager&amp;quot;,&lt;br /&gt;
  &amp;quot;userName&amp;quot;: &amp;quot;XXXXXXXXXXX&amp;quot;,&lt;br /&gt;
  &amp;quot;password&amp;quot;: &amp;quot;XXXXXXXXXXXX&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;(userName and password can be requested by contacting the Learning Health Solutions Helpdesk at https://learning-health.co.uk/). This API call returns an authorisation access_token in this JSON reply, or a 404 HTTP Not Found response if the user is not recognised.&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;access_token&amp;quot;: &amp;quot;xxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;refresh_token&amp;quot;: &amp;quot;xxxxxxxxx&amp;quot;,&lt;br /&gt;
    &amp;quot;refresh_expires_in&amp;quot;: 1800,&lt;br /&gt;
    &amp;quot;not-before-policy&amp;quot;: 1548863201,&lt;br /&gt;
    &amp;quot;scope&amp;quot;: &amp;quot;profile email&amp;quot;,&lt;br /&gt;
    &amp;quot;token_type&amp;quot;: &amp;quot;bearer&amp;quot;,&lt;br /&gt;
    &amp;quot;session_state&amp;quot;: &amp;quot;79b125f5-f062-4a4c-a5a6-b2fa4519e8ad&amp;quot;,&lt;br /&gt;
    &amp;quot;expires_in&amp;quot;: 60&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;An access token can also be retrieved using the refresh_token value, once the user&#039;s identity has been authenticated using the above call. Passing this JSON POST body (no header required)&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;grantType&amp;quot;: &amp;quot;refresh_token&amp;quot;,&lt;br /&gt;
  &amp;quot;clientId&amp;quot;: &amp;quot;information-manager&amp;quot;,&lt;br /&gt;
  &amp;quot;userName&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
  &amp;quot;password&amp;quot;: &amp;quot;&amp;lt;refresh_token_value&amp;gt;&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===Authorise/ProcessMessage===&lt;br /&gt;
Post HL7v2 messages to a REST API.&lt;br /&gt;
&lt;br /&gt;
This call uses the access token from the authentication API to authorise the client&#039;s access to the API, which will then post the HL7v2 message to DDS if the client is recognised and authorised to use this service.&lt;br /&gt;
&lt;br /&gt;
https://devhl7.discoverydataservice.net/hl7/$process-message&lt;br /&gt;
&lt;br /&gt;
Passing this JSON POST body&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;meta&amp;quot;: {&lt;br /&gt;
    &amp;quot;profile&amp;quot;: [&lt;br /&gt;
      &amp;quot;https://hl7.org.uk/V2/OperationDefinition/ProcessMessage-Operation-1&amp;quot;&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;tag&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/Id/ODS-Code&amp;quot;,&lt;br /&gt;
            &amp;quot;code&amp;quot;: &amp;quot;RYJ&amp;quot;,&lt;br /&gt;
            &amp;quot;display&amp;quot;: &amp;quot;IMPERIAL COLLEGE HEALTHCARE NHS TRUST&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ]&lt;br /&gt;
  },&lt;br /&gt;
  &amp;quot;resourceType&amp;quot;: &amp;quot;HL7v2&amp;quot;,&lt;br /&gt;
  &amp;quot;messageType&amp;quot;: &amp;quot;LaboratoryResult&amp;quot;,&lt;br /&gt;
  &amp;quot;id&amp;quot;: &amp;quot;4847653a-7b39-4d7e-928f-a9fa6d833dd4&amp;quot;,&lt;br /&gt;
  &amp;quot;identifier&amp;quot;: [&lt;br /&gt;
	    {&lt;br /&gt;
	        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.org.uk/Id/dds&amp;quot;,&lt;br /&gt;
	        &amp;quot;value&amp;quot;: &amp;quot;1716&amp;quot;&lt;br /&gt;
	    }&lt;br /&gt;
	],&lt;br /&gt;
  &amp;quot;creationTime&amp;quot;: &amp;quot;2012-10-23T00:00:00+00:00&amp;quot;,&lt;br /&gt;
  &amp;quot;messageEventType&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;valueCodeableConcept&amp;quot;: {&lt;br /&gt;
                &amp;quot;coding&amp;quot;: [&lt;br /&gt;
                    {&lt;br /&gt;
                        &amp;quot;system&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/CodeSystem/EMS-MessageEventType-1&amp;quot;,&lt;br /&gt;
                        &amp;quot;code&amp;quot;: &amp;quot;new&amp;quot;,&lt;br /&gt;
                        &amp;quot;display&amp;quot;: &amp;quot;New event message&amp;quot;&lt;br /&gt;
                    }&lt;br /&gt;
                ]&lt;br /&gt;
            },&lt;br /&gt;
            &amp;quot;url&amp;quot;: &amp;quot;https://hl7.nhs.uk/V2/StructureDefinition/Extension-EMS-MessageEventType-1&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
  &amp;quot;body&amp;quot;: &amp;quot;MSH|^~\&amp;amp;|GHH LAB|ELAB-3|GHH OE|BLDG4|200202150930||ORU^R01|CNTRL-3456|P|2.4 PID|||07827717281||JANET^EVE^E^^^^L|JONES|19620320|F|||153 FERNWOOD DR.^&lt;br /&gt;
 ^TESTVILLE^EL4^35292||(01)33452232|(01)348439949||||AC555444444||67-A4335^LONDON^20030520 OBR|1|845439^GHH OE|1045813^GHH LAB|15545^GLUCOSE|||200202150730|||||||||&lt;br /&gt;
 0283829292^PRIMARY^PATRICIA P^^^^MD^^|||||||||F||||||02992888292^SMITH^HOWARD H^^^^MD OBX|1|SN|1554-5^GLUCOSE^POST 12H CFST:MCNC:PT:SER/PLAS:QN||^182|mg/dl|70_105|H|||F&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&#039;&#039;&#039;Note:&#039;&#039;&#039; The body elements contains the HL7v2 message. The rest of the JSON is the wrapper specification for the message.&lt;br /&gt;
&lt;br /&gt;
Set the Authorization header in the REST POST call to the value of the &#039;&#039;&#039;access_token&#039;&#039;&#039; returned from the authentication API.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Access tokens expire if they are not used within 60 seconds.&lt;br /&gt;
&lt;br /&gt;
[[File:Options.png|border|600x600px|link=https://wiki.discoverydataservice.org/File:Options.png]]&lt;br /&gt;
&lt;br /&gt;
If this API fails to authorise the access token against the Discovery identity and access management service, then an Unauthorised return value will be sent with a 401 HTTP Status (Unauthorized).&lt;br /&gt;
&lt;br /&gt;
Success will return a 200 OK HTTP status, after the message is filed into DDS.&lt;br /&gt;
===Workflow===&lt;br /&gt;
[[File:Workflow.png|600x600px|link=https://wiki.discoverydataservice.org/File:Workflow.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Discovery Data Service is powered by Learning Health Solutions Ltd. https://learning-health.co.uk/&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Voror_Health_Platform&amp;diff=1248</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=1248"/>
		<updated>2020-06-04T19:46:29Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#e74c3c;&amp;quot;&amp;gt;DRAFT: These pages are at an early stage of development, with many articles to be lifted from the Discovery document repository.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The articles describe and define Discovery Data Service functionality and technology; the architecture that underpins the data service software, the components that make up the service, the testing and assurance processes, and the resources, technologies, and software that are used to host, develop, and support the service.&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;
&lt;br /&gt;
= Information model related topics =&lt;br /&gt;
&lt;br /&gt;
These articles provide information about the services, structure, and functionality&amp;amp;nbsp;that operate using the Discovery Common Information Model;&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;
*[[Common_information_model|Discovery common information model]] - an overview of the components of the common model, leading to details of each component.&lt;br /&gt;
*[[Health_data_model_content|Discovery health data model&amp;amp;nbsp;]] - a very high level overview of the types of data held within the Discovery data stores.&lt;br /&gt;
*[[Information_model_service|Information model services]] - the technical services that enable the common information model to be used.&lt;br /&gt;
*[[Data modelling language|Discovery information modelling language]] - describes the machine and human readable language used to build the information model and for computers to process or manipulate data&lt;br /&gt;
&lt;br /&gt;
= Operational and interoperability topics =&lt;br /&gt;
These articles provide information about how systems can interoperate with Discovery and provide further links into test APIs, schemas, and other documentation associated with data formats for sending and receiving data.&lt;br /&gt;
&lt;br /&gt;
*[[Secure_publication_to_the_DDS|Secure publication to the DDS]] - lists the technical interfaces in place for receiving data from publishers. &lt;br /&gt;
*[[Remote_Subscriber_Database_(RSD)_SQL_guide|Remote Subscriber Database (RSD) SQL guide]] - provides information for subscribers that wish to host their own copy of data supplied by Discovery. &lt;br /&gt;
*[[Remote_Subscriber_Database_(RSD)_AWS_hosting_setup_guide|Remote Subscriber Database (RSD) AWS hosting setup guide]] - provides information for subscribers who want to set up their data in AWS.&lt;br /&gt;
*[[Generic_publisher_system_data_requirements|Generic publisher system data requirements]] - provides a set of guides for systems that are publishing data through the Discovery Data Service. &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;
*[[Publishers_and_mapping_to_the_commmon_model|Publishers and mapping to the common model]] - provides the specification for how supplier system information is mapped to the common model, using FHIR as the intermediary.&lt;br /&gt;
&lt;br /&gt;
= Services =&lt;br /&gt;
&lt;br /&gt;
These articles provide information about the services provided by the Discovery Data Service and the underlying functionality.&lt;br /&gt;
&lt;br /&gt;
*[[Simple_generic_query_service|Simple Generic query Service]] - a service that provides data on request for data&amp;amp;nbsp;that might be conceptually very complex, but falls into simple common patterns.&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 GetStructuredRecord 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;
&lt;br /&gt;
= Technologies =&lt;br /&gt;
&lt;br /&gt;
These articles provide information about the technologies used in the Discovery Data services, including summaries of considerations and tests that have been undertaken when selecting technologies.&lt;br /&gt;
&lt;br /&gt;
*[[Graph_or_relational_databases|Graph versus relational database&amp;amp;nbsp;]]&amp;amp;nbsp;- considers two of the approaches for storing the main health care record stores. &lt;br /&gt;
&lt;br /&gt;
= Publisher system known issues =&lt;br /&gt;
&lt;br /&gt;
This section documents the known long standing problems relating to systems that publish data to Discovery. The issues as categorised by supplier and system. These issues need to be taken into account when configuring the services to process the data. The issues do not include short term glitches or errors.&lt;br /&gt;
&lt;br /&gt;
*[[EMIS_known_issues|EMIS]] &lt;br /&gt;
*[[TPP_known_issues|TPP]] &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.&amp;lt;br/&amp;gt; You can also amend or cancel data sharing and processing agreements in real time.&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1247</id>
		<title>HL7v2 API</title>
		<link rel="alternate" type="text/html" href="https://wiki.voror.co.uk/index.php?title=HL7v2_API&amp;diff=1247"/>
		<updated>2020-06-04T19:44:46Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: Created page with &amp;quot;aaa&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;aaa&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Voror_Health_Platform&amp;diff=1246</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=1246"/>
		<updated>2020-06-04T19:42:53Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#e74c3c;&amp;quot;&amp;gt;DRAFT: These pages are at an early stage of development, with many articles to be lifted from the Discovery document repository.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The articles describe and define Discovery Data Service functionality and technology; the architecture that underpins the data service software, the components that make up the service, the testing and assurance processes, and the resources, technologies, and software that are used to host, develop, and support the service.&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;
&lt;br /&gt;
= Information model related topics =&lt;br /&gt;
&lt;br /&gt;
These articles provide information about the services, structure, and functionality&amp;amp;nbsp;that operate using the Discovery Common Information Model;&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;
*[[Common_information_model|Discovery common information model]] - an overview of the components of the common model, leading to details of each component.&lt;br /&gt;
*[[Health_data_model_content|Discovery health data model&amp;amp;nbsp;]] - a very high level overview of the types of data held within the Discovery data stores.&lt;br /&gt;
*[[Information_model_service|Information model services]] - the technical services that enable the common information model to be used.&lt;br /&gt;
*[[Data modelling language|Discovery information modelling language]] - describes the machine and human readable language used to build the information model and for computers to process or manipulate data&lt;br /&gt;
&lt;br /&gt;
= Operational and interoperability topics =&lt;br /&gt;
These articles provide information about how systems can interoperate with Discovery and provide further links into test APIs, schemas, and other documentation associated with data formats for sending and receiving data.&lt;br /&gt;
&lt;br /&gt;
*[[Secure_publication_to_the_DDS|Secure publication to the DDS]] - lists the technical interfaces in place for receiving data from publishers. &lt;br /&gt;
*[[Remote_Subscriber_Database_(RSD)_SQL_guide|Remote Subscriber Database (RSD) SQL guide]] - provides information for subscribers that wish to host their own copy of data supplied by Discovery. &lt;br /&gt;
*[[Remote_Subscriber_Database_(RSD)_AWS_hosting_setup_guide|Remote Subscriber Database (RSD) AWS hosting setup guide]] - provides information for subscribers who want to set up their data in AWS.&lt;br /&gt;
*[[Generic_publisher_system_data_requirements|Generic publisher system data requirements]] - provides a set of guides for systems that are publishing data through the Discovery Data Service. &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;
*[[Publishers_and_mapping_to_the_commmon_model|Publishers and mapping to the common model]] - provides the specification for how supplier system information is mapped to the common model, using FHIR as the intermediary.&lt;br /&gt;
&lt;br /&gt;
= Services =&lt;br /&gt;
&lt;br /&gt;
These articles provide information about the services provided by the Discovery Data Service and the underlying functionality.&lt;br /&gt;
&lt;br /&gt;
*[[Simple_generic_query_service|Simple Generic query Service]] - a service that provides data on request for data&amp;amp;nbsp;that might be conceptually very complex, but falls into simple common patterns.&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 GetStructuredRecord API]] - Returns a complete patient record in a structured format following GP and Care Connect standards.&lt;br /&gt;
*[[HL7v2 API|FHIR GetStructuredRecord 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;
&lt;br /&gt;
= Technologies =&lt;br /&gt;
&lt;br /&gt;
These articles provide information about the technologies used in the Discovery Data services, including summaries of considerations and tests that have been undertaken when selecting technologies.&lt;br /&gt;
&lt;br /&gt;
*[[Graph_or_relational_databases|Graph versus relational database&amp;amp;nbsp;]]&amp;amp;nbsp;- considers two of the approaches for storing the main health care record stores. &lt;br /&gt;
&lt;br /&gt;
= Publisher system known issues =&lt;br /&gt;
&lt;br /&gt;
This section documents the known long standing problems relating to systems that publish data to Discovery. The issues as categorised by supplier and system. These issues need to be taken into account when configuring the services to process the data. The issues do not include short term glitches or errors.&lt;br /&gt;
&lt;br /&gt;
*[[EMIS_known_issues|EMIS]] &lt;br /&gt;
*[[TPP_known_issues|TPP]] &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.&amp;lt;br/&amp;gt; You can also amend or cancel data sharing and processing agreements in real time.&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
	<entry>
		<id>https://wiki.voror.co.uk/index.php?title=Voror_Health_Platform&amp;diff=1245</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=1245"/>
		<updated>2020-06-04T19:38:42Z</updated>

		<summary type="html">&lt;p&gt;DarrenS: /* Services */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#e74c3c;&amp;quot;&amp;gt;DRAFT: These pages are at an early stage of development, with many articles to be lifted from the Discovery document repository.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The articles describe and define Discovery Data Service functionality and technology; the architecture that underpins the data service software, the components that make up the service, the testing and assurance processes, and the resources, technologies, and software that are used to host, develop, and support the service.&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;
&lt;br /&gt;
= Information model related topics =&lt;br /&gt;
&lt;br /&gt;
These articles provide information about the services, structure, and functionality&amp;amp;nbsp;that operate using the Discovery Common Information Model;&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;
*[[Common_information_model|Discovery common information model]] - an overview of the components of the common model, leading to details of each component.&lt;br /&gt;
*[[Health_data_model_content|Discovery health data model&amp;amp;nbsp;]] - a very high level overview of the types of data held within the Discovery data stores.&lt;br /&gt;
*[[Information_model_service|Information model services]] - the technical services that enable the common information model to be used.&lt;br /&gt;
*[[Data modelling language|Discovery information modelling language]] - describes the machine and human readable language used to build the information model and for computers to process or manipulate data&lt;br /&gt;
&lt;br /&gt;
= Operational and interoperability topics =&lt;br /&gt;
These articles provide information about how systems can interoperate with Discovery and provide further links into test APIs, schemas, and other documentation associated with data formats for sending and receiving data.&lt;br /&gt;
&lt;br /&gt;
*[[Secure_publication_to_the_DDS|Secure publication to the DDS]] - lists the technical interfaces in place for receiving data from publishers. &lt;br /&gt;
*[[Remote_Subscriber_Database_(RSD)_SQL_guide|Remote Subscriber Database (RSD) SQL guide]] - provides information for subscribers that wish to host their own copy of data supplied by Discovery. &lt;br /&gt;
*[[Remote_Subscriber_Database_(RSD)_AWS_hosting_setup_guide|Remote Subscriber Database (RSD) AWS hosting setup guide]] - provides information for subscribers who want to set up their data in AWS.&lt;br /&gt;
*[[Generic_publisher_system_data_requirements|Generic publisher system data requirements]] - provides a set of guides for systems that are publishing data through the Discovery Data Service. &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;
*[[Publishers_and_mapping_to_the_commmon_model|Publishers and mapping to the common model]] - provides the specification for how supplier system information is mapped to the common model, using FHIR as the intermediary.&lt;br /&gt;
&lt;br /&gt;
= Services =&lt;br /&gt;
&lt;br /&gt;
These articles provide information about the services provided by the Discovery Data Service and the underlying functionality.&lt;br /&gt;
&lt;br /&gt;
*[[Simple_generic_query_service|Simple Generic query Service]] - a service that provides data on request for data&amp;amp;nbsp;that might be conceptually very complex, but falls into simple common patterns.&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 GetStructuredRecord API]] - Returns a complete patient record in a structured format following GP and Care Connect standards.&lt;br /&gt;
*[[FHIR GetStructuredRecord 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;
&lt;br /&gt;
= Technologies =&lt;br /&gt;
&lt;br /&gt;
These articles provide information about the technologies used in the Discovery Data services, including summaries of considerations and tests that have been undertaken when selecting technologies.&lt;br /&gt;
&lt;br /&gt;
*[[Graph_or_relational_databases|Graph versus relational database&amp;amp;nbsp;]]&amp;amp;nbsp;- considers two of the approaches for storing the main health care record stores. &lt;br /&gt;
&lt;br /&gt;
= Publisher system known issues =&lt;br /&gt;
&lt;br /&gt;
This section documents the known long standing problems relating to systems that publish data to Discovery. The issues as categorised by supplier and system. These issues need to be taken into account when configuring the services to process the data. The issues do not include short term glitches or errors.&lt;br /&gt;
&lt;br /&gt;
*[[EMIS_known_issues|EMIS]] &lt;br /&gt;
*[[TPP_known_issues|TPP]] &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.&amp;lt;br/&amp;gt; You can also amend or cancel data sharing and processing agreements in real time.&lt;/div&gt;</summary>
		<author><name>DarrenS</name></author>
	</entry>
</feed>