<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="nl">
	<id>https://informatiestandaarden.test-nictiz.nl/index.php?action=history&amp;feed=atom&amp;title=MedMij%3AVissue-MM-3808%2FFHIR_VitalSigns</id>
	<title>MedMij:Vissue-MM-3808/FHIR VitalSigns - Bewerkingsoverzicht</title>
	<link rel="self" type="application/atom+xml" href="https://informatiestandaarden.test-nictiz.nl/index.php?action=history&amp;feed=atom&amp;title=MedMij%3AVissue-MM-3808%2FFHIR_VitalSigns"/>
	<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=MedMij:Vissue-MM-3808/FHIR_VitalSigns&amp;action=history"/>
	<updated>2026-04-28T23:40:26Z</updated>
	<subtitle>Bewerkingsoverzicht voor deze pagina op de wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://informatiestandaarden.test-nictiz.nl/index.php?title=MedMij:Vissue-MM-3808/FHIR_VitalSigns&amp;diff=142796&amp;oldid=prev</id>
		<title>Pieter Edelman: /* The {{fhir|$lastn}} operation */</title>
		<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=MedMij:Vissue-MM-3808/FHIR_VitalSigns&amp;diff=142796&amp;oldid=prev"/>
		<updated>2022-11-17T13:23:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;The {{fhir|$lastn}} operation&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;nl&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Oudere versie&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versie van 17 nov 2022 13:23&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l208&quot;&gt;Regel 208:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Regel 208:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The [http://hl7.org/fhir/STU3/observation-operations.html#{{fhir|$lastn}} FHIR STU3] specification is vague regarding the sorting mechanism of {{fhir|$lastn}}. In [http://hl7.org/fhir/R4/observation-operation-lastn.html FHIR R4] however, this has been clarified and can be read as follows: when using {{fhir|$lastn}}, the {{fhir|effective[x]}} element is used for sorting of Observations, sorted from most recent to the oldest.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The [http://hl7.org/fhir/STU3/observation-operations.html#{{fhir|$lastn}} FHIR STU3] specification is vague regarding the sorting mechanism of {{fhir|$lastn}}. In [http://hl7.org/fhir/R4/observation-operation-lastn.html FHIR R4] however, this has been clarified and can be read as follows: when using {{fhir|$lastn}}, the {{fhir|effective[x]}} element is used for sorting of Observations, sorted from most recent to the oldest.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{NoteBox|The {{fhir|$lastn}} operation applies differently to the blood glucose measurements, as it may return up to three Observation resources instead of just one. This is due to the fact that blood glucose measurements have three different categories (fasting, general and post-meal), resulting in three possible values for {{fhir|Observation.code}}. To query on blood glucose, the {{fhir|$lastn}} query on blood glucose Observations should include all these three values, but this &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;which &lt;/del&gt;will result in the latest Observation for &#039;&#039;each&#039;&#039; of these values.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{NoteBox|The {{fhir|$lastn}} operation applies differently to the blood glucose measurements, as it may return up to three Observation resources instead of just one. This is due to the fact that blood glucose measurements have three different categories (fasting, general and post-meal), resulting in three possible values for {{fhir|Observation.code}}. To query on blood glucose, the {{fhir|$lastn}} query on blood glucose Observations should include all these three values, but this will result in the latest Observation for &#039;&#039;each&#039;&#039; of these values.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Use case: Send Vital Signs=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Use case: Send Vital Signs=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pieter Edelman</name></author>
	</entry>
	<entry>
		<id>https://informatiestandaarden.test-nictiz.nl/index.php?title=MedMij:Vissue-MM-3808/FHIR_VitalSigns&amp;diff=142724&amp;oldid=prev</id>
		<title>Pieter Edelman: /* The {{fhir|lastn}} operation */</title>
		<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=MedMij:Vissue-MM-3808/FHIR_VitalSigns&amp;diff=142724&amp;oldid=prev"/>
		<updated>2022-11-11T15:47:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;The {{fhir|lastn}} operation&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;nl&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Oudere versie&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versie van 11 nov 2022 15:47&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l200&quot;&gt;Regel 200:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Regel 200:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The PHR processes the results according to application-defined rules.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The PHR processes the results according to application-defined rules.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===The {{fhir|lastn}} operation===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===The {{fhir|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$&lt;/ins&gt;lastn}} operation===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following [http://hl7.org/fhir/STU3/operations.html operation] is needed for this use case.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following [http://hl7.org/fhir/STU3/operations.html operation] is needed for this use case.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://hl7.org/fhir/STU3/observation-operations.html#lastn Last N Observations Query]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://hl7.org/fhir/STU3/observation-operations.html#lastn Last N Observations Query]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The {{fhir|lastn}} query meets the common need for searching for the most recent or last n=number of observations for a subject. For example, retrieving the last 5 temperatures for a patient to view trends or fetching the most recent laboratory results or vital signs. The link will provide more detailed information and examples regarding this operation.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The {{fhir|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$&lt;/ins&gt;lastn}} query meets the common need for searching for the most recent or last n=number of observations for a subject. For example, retrieving the last 5 temperatures for a patient to view trends or fetching the most recent laboratory results or vital signs. The link will provide more detailed information and examples regarding this operation.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The [http://hl7.org/fhir/STU3/observation-operations.html#{{fhir|lastn}} FHIR STU3] specification is vague regarding the sorting mechanism of {{fhir|lastn}}. In [http://hl7.org/fhir/R4/observation-operation-lastn.html FHIR R4] however, this has been clarified and can be read as follows: when using {{fhir|lastn}}, the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;code&amp;gt;&lt;/del&gt;effective[x]&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/code&amp;gt; &lt;/del&gt;element is used for sorting of Observations, sorted from most recent to the oldest.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The [http://hl7.org/fhir/STU3/observation-operations.html#{{fhir|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$&lt;/ins&gt;lastn}} FHIR STU3] specification is vague regarding the sorting mechanism of {{fhir|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$&lt;/ins&gt;lastn}}. In [http://hl7.org/fhir/R4/observation-operation-lastn.html FHIR R4] however, this has been clarified and can be read as follows: when using {{fhir|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$&lt;/ins&gt;lastn}}, the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{fhir|&lt;/ins&gt;effective[x]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;element is used for sorting of Observations, sorted from most recent to the oldest.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{NoteBox|The {{fhir|lastn}} operation applies differently to the blood glucose measurements, as it may return up to three Observation resources instead of just one. This is due to the fact that blood glucose measurements have three different categories (fasting, general and post-meal), resulting in three possible values for {{fhir|Observation.code}}. To query on blood glucose, the {{fhir|lastn}} query on blood glucose Observations should include all these three values, but this which will result in the latest Observation for &#039;&#039;each&#039;&#039; of these values.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{NoteBox|The {{fhir|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$&lt;/ins&gt;lastn}} operation applies differently to the blood glucose measurements, as it may return up to three Observation resources instead of just one. This is due to the fact that blood glucose measurements have three different categories (fasting, general and post-meal), resulting in three possible values for {{fhir|Observation.code}}. To query on blood glucose, the {{fhir|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$&lt;/ins&gt;lastn}} query on blood glucose Observations should include all these three values, but this which will result in the latest Observation for &#039;&#039;each&#039;&#039; of these values.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Use case: Send Vital Signs=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Use case: Send Vital Signs=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pieter Edelman</name></author>
	</entry>
	<entry>
		<id>https://informatiestandaarden.test-nictiz.nl/index.php?title=MedMij:Vissue-MM-3808/FHIR_VitalSigns&amp;diff=142717&amp;oldid=prev</id>
		<title>Pieter Edelman op 11 nov 2022 om 15:19</title>
		<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=MedMij:Vissue-MM-3808/FHIR_VitalSigns&amp;diff=142717&amp;oldid=prev"/>
		<updated>2022-11-11T15:19:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;nl&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Oudere versie&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versie van 11 nov 2022 15:19&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l200&quot;&gt;Regel 200:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Regel 200:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The PHR processes the results according to application-defined rules.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The PHR processes the results according to application-defined rules.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===The &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;code&amp;gt;&lt;/del&gt;lastn&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/code&amp;gt; &lt;/del&gt;operation===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===The &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{fhir|&lt;/ins&gt;lastn&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;operation===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following [http://hl7.org/fhir/STU3/operations.html operation] is needed for this use case.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following [http://hl7.org/fhir/STU3/operations.html operation] is needed for this use case.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://hl7.org/fhir/STU3/observation-operations.html#lastn Last N Observations Query]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [http://hl7.org/fhir/STU3/observation-operations.html#lastn Last N Observations Query]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;code&amp;gt;&lt;/del&gt;lastn&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/code&amp;gt; &lt;/del&gt;query meets the common need for searching for the most recent or last n=number of observations for a subject. For example, retrieving the last 5 temperatures for a patient to view trends or fetching the most recent laboratory results or vital signs. The link will provide more detailed information and examples regarding this operation.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{fhir|&lt;/ins&gt;lastn&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;query meets the common need for searching for the most recent or last n=number of observations for a subject. For example, retrieving the last 5 temperatures for a patient to view trends or fetching the most recent laboratory results or vital signs. The link will provide more detailed information and examples regarding this operation.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The [http://hl7.org/fhir/STU3/observation-operations.html#lastn FHIR STU3] specification is vague regarding the sorting mechanism of lastn. In [http://hl7.org/fhir/R4/observation-operation-lastn.html FHIR R4] however, this has been clarified and can be read as follows: when using lastn, the &amp;lt;code&amp;gt;effective[x]&amp;lt;/code&amp;gt; element is used for sorting of Observations, sorted from most recent to the oldest.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The [http://hl7.org/fhir/STU3/observation-operations.html#&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{fhir|&lt;/ins&gt;lastn&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;FHIR STU3] specification is vague regarding the sorting mechanism of &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{fhir|&lt;/ins&gt;lastn&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/ins&gt;. In [http://hl7.org/fhir/R4/observation-operation-lastn.html FHIR R4] however, this has been clarified and can be read as follows: when using &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{fhir|&lt;/ins&gt;lastn&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/ins&gt;, the &amp;lt;code&amp;gt;effective[x]&amp;lt;/code&amp;gt; element is used for sorting of Observations, sorted from most recent to the oldest.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{NoteBox|The lastn operation applies differently to the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;BloodGlucose Observation resource&lt;/del&gt;, as &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;BloodGlucose has &lt;/del&gt;three different categories (fasting, general and post-meal). &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This means that &lt;/del&gt;the lastn query on &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;BloodGlucose &lt;/del&gt;will result in the latest &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;observation &lt;/del&gt;for each of these &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;three categories and will therefore return three &lt;/del&gt;values &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;instead of one&lt;/del&gt;.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{NoteBox|The &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{fhir|&lt;/ins&gt;lastn&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;operation applies differently to the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;blood glucose measurements&lt;/ins&gt;, as &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;it may return up to three Observation resources instead of just one. This is due to the fact that blood glucose measurements have &lt;/ins&gt;three different categories (fasting, general and post-meal)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, resulting in three possible values for {{fhir|Observation&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code}}. To query on blood glucose, &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{fhir|&lt;/ins&gt;lastn&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}} &lt;/ins&gt;query on &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;blood glucose Observations should include all these three values, but this which &lt;/ins&gt;will result in the latest &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Observation &lt;/ins&gt;for &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&lt;/ins&gt;each&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039; &lt;/ins&gt;of these values.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Use case: Send Vital Signs=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Use case: Send Vital Signs=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pieter Edelman</name></author>
	</entry>
	<entry>
		<id>https://informatiestandaarden.test-nictiz.nl/index.php?title=MedMij:Vissue-MM-3808/FHIR_VitalSigns&amp;diff=142709&amp;oldid=prev</id>
		<title>Eduard de Rijcke: MM-3808 Added a known issue about lastn and BloodGlucose query</title>
		<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=MedMij:Vissue-MM-3808/FHIR_VitalSigns&amp;diff=142709&amp;oldid=prev"/>
		<updated>2022-11-11T13:06:15Z</updated>

		<summary type="html">&lt;p&gt;MM-3808 Added a known issue about lastn and BloodGlucose query&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;nl&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Oudere versie&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versie van 11 nov 2022 13:06&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l208&quot;&gt;Regel 208:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Regel 208:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The [http://hl7.org/fhir/STU3/observation-operations.html#lastn FHIR STU3] specification is vague regarding the sorting mechanism of lastn. In [http://hl7.org/fhir/R4/observation-operation-lastn.html FHIR R4] however, this has been clarified and can be read as follows: when using lastn, the &amp;lt;code&amp;gt;effective[x]&amp;lt;/code&amp;gt; element is used for sorting of Observations, sorted from most recent to the oldest.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The [http://hl7.org/fhir/STU3/observation-operations.html#lastn FHIR STU3] specification is vague regarding the sorting mechanism of lastn. In [http://hl7.org/fhir/R4/observation-operation-lastn.html FHIR R4] however, this has been clarified and can be read as follows: when using lastn, the &amp;lt;code&amp;gt;effective[x]&amp;lt;/code&amp;gt; element is used for sorting of Observations, sorted from most recent to the oldest.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{NoteBox|The &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Lastn query couldn&#039;t apply for &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lastest &lt;/del&gt;BloodGlucose Observation &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;because &lt;/del&gt;BloodGlucose has three different categories (fasting, general and post-meal). &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;For &lt;/del&gt;each &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;category &lt;/del&gt;of &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;BloodGlucose, the lastn &lt;/del&gt;will &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;be applied&lt;/del&gt;.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{NoteBox|The &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lastn operation applies differently to &lt;/ins&gt;the BloodGlucose Observation &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;resource, as &lt;/ins&gt;BloodGlucose has three different categories (fasting, general and post-meal). &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This means that the lastn query on BloodGlucose will result in the latest observation for &lt;/ins&gt;each of &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;these three categories and &lt;/ins&gt;will &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;therefore return three values instead of one&lt;/ins&gt;.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Use case: Send Vital Signs=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Use case: Send Vital Signs=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Eduard de Rijcke</name></author>
	</entry>
	<entry>
		<id>https://informatiestandaarden.test-nictiz.nl/index.php?title=MedMij:Vissue-MM-3808/FHIR_VitalSigns&amp;diff=142662&amp;oldid=prev</id>
		<title>Eduard de Rijcke: MM-3808 Added a known issue about lastn and BloodGlucose query</title>
		<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=MedMij:Vissue-MM-3808/FHIR_VitalSigns&amp;diff=142662&amp;oldid=prev"/>
		<updated>2022-11-09T10:47:09Z</updated>

		<summary type="html">&lt;p&gt;MM-3808 Added a known issue about lastn and BloodGlucose query&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;nl&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Oudere versie&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versie van 9 nov 2022 10:47&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l208&quot;&gt;Regel 208:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Regel 208:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The [http://hl7.org/fhir/STU3/observation-operations.html#lastn FHIR STU3] specification is vague regarding the sorting mechanism of lastn. In [http://hl7.org/fhir/R4/observation-operation-lastn.html FHIR R4] however, this has been clarified and can be read as follows: when using lastn, the &amp;lt;code&amp;gt;effective[x]&amp;lt;/code&amp;gt; element is used for sorting of Observations, sorted from most recent to the oldest.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The [http://hl7.org/fhir/STU3/observation-operations.html#lastn FHIR STU3] specification is vague regarding the sorting mechanism of lastn. In [http://hl7.org/fhir/R4/observation-operation-lastn.html FHIR R4] however, this has been clarified and can be read as follows: when using lastn, the &amp;lt;code&amp;gt;effective[x]&amp;lt;/code&amp;gt; element is used for sorting of Observations, sorted from most recent to the oldest.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{NoteBox|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;With the &lt;/del&gt;Lastn query &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;it isn&lt;/del&gt;&#039;t &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;possible to receive &lt;/del&gt;the lastest BloodGlucose Observation because BloodGlucose has three different categories (fasting, general and post-meal). For each category of &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the &lt;/del&gt;BloodGlucose, the lastn will be applied.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{NoteBox|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The &lt;/ins&gt;Lastn query &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;couldn&lt;/ins&gt;&#039;t &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;apply for &lt;/ins&gt;the lastest BloodGlucose Observation because BloodGlucose has three different categories (fasting, general and post-meal). For each category of BloodGlucose, the lastn will be applied.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Use case: Send Vital Signs=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Use case: Send Vital Signs=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Eduard de Rijcke</name></author>
	</entry>
	<entry>
		<id>https://informatiestandaarden.test-nictiz.nl/index.php?title=MedMij:Vissue-MM-3808/FHIR_VitalSigns&amp;diff=142661&amp;oldid=prev</id>
		<title>Eduard de Rijcke: MM-3808 Added a known issue about lastn and BloodGlucose query</title>
		<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=MedMij:Vissue-MM-3808/FHIR_VitalSigns&amp;diff=142661&amp;oldid=prev"/>
		<updated>2022-11-09T10:39:46Z</updated>

		<summary type="html">&lt;p&gt;MM-3808 Added a known issue about lastn and BloodGlucose query&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;nl&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Oudere versie&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versie van 9 nov 2022 10:39&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l208&quot;&gt;Regel 208:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Regel 208:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The [http://hl7.org/fhir/STU3/observation-operations.html#lastn FHIR STU3] specification is vague regarding the sorting mechanism of lastn. In [http://hl7.org/fhir/R4/observation-operation-lastn.html FHIR R4] however, this has been clarified and can be read as follows: when using lastn, the &amp;lt;code&amp;gt;effective[x]&amp;lt;/code&amp;gt; element is used for sorting of Observations, sorted from most recent to the oldest.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The [http://hl7.org/fhir/STU3/observation-operations.html#lastn FHIR STU3] specification is vague regarding the sorting mechanism of lastn. In [http://hl7.org/fhir/R4/observation-operation-lastn.html FHIR R4] however, this has been clarified and can be read as follows: when using lastn, the &amp;lt;code&amp;gt;effective[x]&amp;lt;/code&amp;gt; element is used for sorting of Observations, sorted from most recent to the oldest.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{NoteBox|With the Lastn query it isn&#039;t possible to receive the lastest BloodGlucose Observation because BloodGlucose has three different categories (fasting, general and post-meal). For each category, the lastn will be applied.}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{NoteBox|With the Lastn query it isn&#039;t possible to receive the lastest BloodGlucose Observation because BloodGlucose has three different categories (fasting, general and post-meal). For each category &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;of the BloodGlucose&lt;/ins&gt;, the lastn will be applied.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Use case: Send Vital Signs=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Use case: Send Vital Signs=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Eduard de Rijcke</name></author>
	</entry>
	<entry>
		<id>https://informatiestandaarden.test-nictiz.nl/index.php?title=MedMij:Vissue-MM-3808/FHIR_VitalSigns&amp;diff=142660&amp;oldid=prev</id>
		<title>Eduard de Rijcke: MM-3808 Added a known issue about lastn and BloodGlucose query</title>
		<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=MedMij:Vissue-MM-3808/FHIR_VitalSigns&amp;diff=142660&amp;oldid=prev"/>
		<updated>2022-11-09T10:38:07Z</updated>

		<summary type="html">&lt;p&gt;MM-3808 Added a known issue about lastn and BloodGlucose query&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;nl&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Oudere versie&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versie van 9 nov 2022 10:38&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l208&quot;&gt;Regel 208:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Regel 208:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The [http://hl7.org/fhir/STU3/observation-operations.html#lastn FHIR STU3] specification is vague regarding the sorting mechanism of lastn. In [http://hl7.org/fhir/R4/observation-operation-lastn.html FHIR R4] however, this has been clarified and can be read as follows: when using lastn, the &amp;lt;code&amp;gt;effective[x]&amp;lt;/code&amp;gt; element is used for sorting of Observations, sorted from most recent to the oldest.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The [http://hl7.org/fhir/STU3/observation-operations.html#lastn FHIR STU3] specification is vague regarding the sorting mechanism of lastn. In [http://hl7.org/fhir/R4/observation-operation-lastn.html FHIR R4] however, this has been clarified and can be read as follows: when using lastn, the &amp;lt;code&amp;gt;effective[x]&amp;lt;/code&amp;gt; element is used for sorting of Observations, sorted from most recent to the oldest.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{NoteBox|With the Lastn query it isn&#039;t possible to receive the lastest BloodGlucose Observation because BloodGlucose has three different categories (fasting, general and post-meal). For each category &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;there &lt;/del&gt;will be &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &lt;/del&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{NoteBox|With the Lastn query it isn&#039;t possible to receive the lastest BloodGlucose Observation because BloodGlucose has three different categories (fasting, general and post-meal). For each category&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, the lastn &lt;/ins&gt;will be &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;applied.&lt;/ins&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Use case: Send Vital Signs=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Use case: Send Vital Signs=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Eduard de Rijcke</name></author>
	</entry>
	<entry>
		<id>https://informatiestandaarden.test-nictiz.nl/index.php?title=MedMij:Vissue-MM-3808/FHIR_VitalSigns&amp;diff=142659&amp;oldid=prev</id>
		<title>Eduard de Rijcke: MM-3808 Added a known issue about lastn and BloodGlucose query</title>
		<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=MedMij:Vissue-MM-3808/FHIR_VitalSigns&amp;diff=142659&amp;oldid=prev"/>
		<updated>2022-11-09T10:36:00Z</updated>

		<summary type="html">&lt;p&gt;MM-3808 Added a known issue about lastn and BloodGlucose query&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;nl&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Oudere versie&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versie van 9 nov 2022 10:36&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l207&quot;&gt;Regel 207:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Regel 207:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The [http://hl7.org/fhir/STU3/observation-operations.html#lastn FHIR STU3] specification is vague regarding the sorting mechanism of lastn. In [http://hl7.org/fhir/R4/observation-operation-lastn.html FHIR R4] however, this has been clarified and can be read as follows: when using lastn, the &amp;lt;code&amp;gt;effective[x]&amp;lt;/code&amp;gt; element is used for sorting of Observations, sorted from most recent to the oldest.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The [http://hl7.org/fhir/STU3/observation-operations.html#lastn FHIR STU3] specification is vague regarding the sorting mechanism of lastn. In [http://hl7.org/fhir/R4/observation-operation-lastn.html FHIR R4] however, this has been clarified and can be read as follows: when using lastn, the &amp;lt;code&amp;gt;effective[x]&amp;lt;/code&amp;gt; element is used for sorting of Observations, sorted from most recent to the oldest.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{NoteBox|With the Lastn query it isn&#039;t possible to receive the lastest BloodGlucose Observation because BloodGlucose has three different categories (fasting, general and post-meal). For each category there will be   }}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Use case: Send Vital Signs=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Use case: Send Vital Signs=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Eduard de Rijcke</name></author>
	</entry>
	<entry>
		<id>https://informatiestandaarden.test-nictiz.nl/index.php?title=MedMij:Vissue-MM-3808/FHIR_VitalSigns&amp;diff=142653&amp;oldid=prev</id>
		<title>Eduard de Rijcke: Clone of V2020.01 production page for issue MM-3808</title>
		<link rel="alternate" type="text/html" href="https://informatiestandaarden.test-nictiz.nl/index.php?title=MedMij:Vissue-MM-3808/FHIR_VitalSigns&amp;diff=142653&amp;oldid=prev"/>
		<updated>2022-11-09T09:45:09Z</updated>

		<summary type="html">&lt;p&gt;Clone of V2020.01 production page for issue MM-3808&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nieuwe pagina&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{IssuePaginaWaarschuwing|MM-3808|MedMij:V2020.01/FHIR_VitalSigns}}&lt;br /&gt;
__NOINDEX__&lt;br /&gt;
__NUMBEREDHEADINGS__&lt;br /&gt;
{{DISPLAYTITLE:MedMij FHIR Implementation Guide Vital Signs {{VersieInfo|Zelfmetingen}}}}&lt;br /&gt;
{{MedMij:Vprepub-2020.01/Issuebox_FHIR_IG}}&lt;br /&gt;
&lt;br /&gt;
[[Bestand:MedMij2.png |link=https://www.medmij.nl/|rechts|Naar medmij.nl]]&lt;br /&gt;
[[Bestand:Self-measurements_Icoon.png|link=|87px |links||Self-Measurements]]&lt;br /&gt;
&amp;lt;imagemap&amp;gt;Bestand:Leeswijzer-technisch-banner 03 white.png|center|400px|alt=Afspraken-Functioneel-Technisch   &lt;br /&gt;
circle 241 216 211 [https://www.medmij.nl/afsprakenstelsel Afsprakenstelsel]                &lt;br /&gt;
circle 1013 224 212 [[MedMij:Vprepub-2020.01/OntwerpZelfmetingen|Functioneel]]                &lt;br /&gt;
circle 1787 230 212 [[MedMij:Vprepub-2020.01/FHIR_IG|Technisch]]                &lt;br /&gt;
desc none                    &lt;br /&gt;
&amp;lt;/imagemap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
[[Bestand:Functioneel-02.png|link=MedMij:Vprepub-2020.01/Ontwerpen |100px|rechts|Functional design|Go to functional design]]&lt;br /&gt;
&lt;br /&gt;
This use case is mainly based on the HL7 FHIR vital signs specification - http://hl7.org/fhir/STU3/observation-vitalsigns.html. The HL7 FHIR vital signs specification is extended with profiles of zib concepts that represent vital signs. These profiles are derived from the official [http://hl7.org/fhir/observation-vitalsigns.html HL7 Vital Signs profiles]. The purpose of these profiles is to add additional concepts that are not in the vital sign profiles but are provided in the corresponding zib. Moreover, these derived profiles include zib to FHIR mappings. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039;: This implementation guide builds on the general guidelines described in the [[MedMij:Vprepub-2020.01/FHIR_IG#Use case overarching principles|use case overarching principles]].&lt;br /&gt;
&lt;br /&gt;
Because the base [http://hl7.org/fhir/vitalsigns.html vital signs] profile constrains the &amp;lt;code&amp;gt;.code&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;.component.code&amp;lt;/code&amp;gt; to the datatype quantity it is not possible to add additional zib concepts. A GForge [https://gforge.hl7.org/gf/project/fhir/tracker/?action=TrackerItemEdit&amp;amp;tracker_item_id=13796 issue] is created to address this problem. This issue will most likely be resolved with FHIR version STU4. However, to address this problem now the base vital signs panel is copied, the datatype constrains removed and published under a different canonical URL. The HL7 vital sign profiles bloodpressure, bodyweight, and oxygensaturation are copied, the StructureDefinition.baseDefinition adjusted and published under a different canonical URL because they are in the chain of derived profiles and the component.code needs to be used for these vital signs.&lt;br /&gt;
&lt;br /&gt;
Use cases:&lt;br /&gt;
* [[MedMij:Vprepub-2020.01/FHIR_VitalSigns#Use_case:_Retrieve_Vital_Signs|Retrieve vital signs]]&lt;br /&gt;
* [[MedMij:Vprepub-2020.01/FHIR_VitalSigns#Use_case:_Send_Vital_Signs|Send vital signs]]&lt;br /&gt;
&lt;br /&gt;
=Actors involved=&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align:left;&amp;quot; | Persons&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align:left;&amp;quot; | Systems&lt;br /&gt;
! colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align:left;&amp;quot; | FHIR Capability Statements&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot; |Name&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot; |Description&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot; |Name&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot; |Description&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot; |Name&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot; |Description&lt;br /&gt;
|-&lt;br /&gt;
| Patient&lt;br /&gt;
| The user of a personal healthcare environment.&lt;br /&gt;
| PHR&lt;br /&gt;
| Personal health record&lt;br /&gt;
|[[Bestand: Verwijzing.png| 20px]] {{Simplifier|http://nictiz.nl/fhir/CapabilityStatement/vitalsigns-clientcapabilities|nictiz.fhir.nl.stu3.zib2017|title=CapabilityStatement: Client}}&lt;br /&gt;
| Vital Signs client requirements &lt;br /&gt;
|-&lt;br /&gt;
| Healthcare professional&lt;br /&gt;
| The user of a XIS&lt;br /&gt;
| XIS&lt;br /&gt;
| Healthcare information system&lt;br /&gt;
|[[Bestand: Verwijzing.png| 20px]] {{Simplifier|http://nictiz.nl/fhir/CapabilityStatement/vitalsigns-servercapabilities|nictiz.fhir.nl.stu3.zib2017|title=CapabilityStatement: Server}}&lt;br /&gt;
| Vital Signs server requirements &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Use case: Retrieve Vital Signs=&lt;br /&gt;
[[Bestand:Afsprakenstelsel-01.png|link=https://www.medmij.nl/afsprakenstelsel/|rechts |100px|Go to Afsprakenstelsel]]&lt;br /&gt;
{{FHIR-IG-Afsprakenstelsel-Note}}&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
The retrieve vital signs transaction is used by the PHR to retrieve vital signs from the XIS.&lt;br /&gt;
&lt;br /&gt;
==Actors==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &amp;quot;cellpadding=&amp;quot;10&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;Transaction group&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;Transaction&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;Actor&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;Role&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background-color: white;vertical-align:top;&amp;quot; rowspan=&amp;quot;2&amp;quot;|Retrieve Vital Signs(PULL)&lt;br /&gt;
|style=&amp;quot;background-color: white;vertical-align:top;&amp;quot;|Retrieve vital signs request&lt;br /&gt;
|style=&amp;quot;background-color: white;vertical-align:top;&amp;quot;|Patient (using a PHR)&lt;br /&gt;
|style=&amp;quot;background-color: white;vertical-align:top;&amp;quot;|Request vital signs from the XIS&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background-color: white;vertical-align:top;&amp;quot;|Retrieve vital signs response&lt;br /&gt;
|style=&amp;quot;background-color: white;vertical-align:top;&amp;quot;|Healthcare professional (using a XIS)&lt;br /&gt;
|style=&amp;quot;background-color: white;vertical-align:top;&amp;quot;|Serves vital signs to the PHR&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Invocations==&lt;br /&gt;
===PHR: request message===&lt;br /&gt;
The request message represents an HTTP GET parameterized query from the PHR to the XIS.&lt;br /&gt;
&lt;br /&gt;
====Trigger Events====&lt;br /&gt;
When the patient(PHR) wants to obtain vital signs, it issues a retrieve vital signs request message.&lt;br /&gt;
&lt;br /&gt;
====Message Semantics====&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Search&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The PHR executes an HTTP GET conform to the FHIR [http://hl7.org/fhir/http.html RESTful] and [http://hl7.org/fhir/search.html search] specification against the XIS&amp;#039;s Observation endpoint. This search query URL is configurable by the PHR and has the following format.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
GET [base]/Observation{/$lastn}{?[parameters]}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Search Parameters&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The PHR may supply, and the XIS shall be capable of processing, all query parameters listed below. These search parameters are a selection of the defined search parameters by the HL7 FHIR specification search parameters of [http://hl7.org/fhir/STU3/observation.html#search Observation].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
! colspan=&amp;quot;4&amp;quot; style=&amp;quot;font-weight: bold; text-align:left;&amp;quot; | Observation&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;font-weight: bold;&amp;quot; | Name&lt;br /&gt;
| style=&amp;quot;font-weight: bold;&amp;quot; | Type&lt;br /&gt;
| style=&amp;quot;font-weight: bold;&amp;quot; | Description&lt;br /&gt;
| style=&amp;quot;font-weight: bold;&amp;quot; | Example&lt;br /&gt;
|-&lt;br /&gt;
| [https://www.hl7.org/fhir/stu3/observation.html#search &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt;]&lt;br /&gt;
| token&lt;br /&gt;
| The classification of the type of observation.&lt;br /&gt;
&lt;br /&gt;
Within this context this will be {{term|vital-signs}} (from code system &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://hl7.org/fhir/observation-category&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|&lt;br /&gt;
Retrieve all Observation resources that are considered a vital sign observation:&lt;br /&gt;
&amp;lt;pre&amp;gt;GET [base]/Observation?category=vital-signs&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [https://www.hl7.org/fhir/stu3/observation.html#search &amp;lt;code&amp;gt;code&amp;lt;/code&amp;gt;]&lt;br /&gt;
| token&lt;br /&gt;
| The code of the observation type.&lt;br /&gt;
&lt;br /&gt;
The different types of measurements are specified using the following LOINC codes:&lt;br /&gt;
* Respiration: 9279-1&lt;br /&gt;
* BloodPressure: 85354-9&lt;br /&gt;
* BodyWeight: 29463-7&lt;br /&gt;
* BodyHeight: 8302-2&lt;br /&gt;
* BodyTemperature: 8310-5&lt;br /&gt;
* Oxygenation, saturation, SpO2: 59408-5&lt;br /&gt;
* HeartRate: 8867-4&lt;br /&gt;
* PulseRate: 8889-8&lt;br /&gt;
* BloodGlucose&lt;br /&gt;
** fasting: 14770-2&lt;br /&gt;
** general: 14743-9&lt;br /&gt;
** post-meal: 14760-3&lt;br /&gt;
|&lt;br /&gt;
Retrieve all Observation resources that are a blood pressure observation:&lt;br /&gt;
&amp;lt;pre&amp;gt;GET [base]/Observation?code=http://loinc.org|85354-9&amp;lt;/pre&amp;gt;&lt;br /&gt;
Retrieve the most recent body height and the most recent body weight observation:&lt;br /&gt;
&amp;lt;pre&amp;gt;GET [base]/Observation/$lastn?code=http://loinc.org|8302-2&amp;amp;code=http://loinc.org|29463-7&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [https://www.hl7.org/fhir/stu3/observation.html#search &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt;]&lt;br /&gt;
| date&lt;br /&gt;
| Obtained date/time. If the obtained element is a period, a date that falls in the period&lt;br /&gt;
|&lt;br /&gt;
Retrieve all Observation resources that are a blood pressure observation and have an effective date between 01-01-2010 and 31-12-2010:&lt;br /&gt;
&amp;lt;pre&amp;gt;GET [base]/Observation?code=http://loinc.org|85354-9&amp;amp;date=ge2010-01-01&amp;amp;date=le2011-01-01&amp;lt;/pre&amp;gt;&lt;br /&gt;
Retrieve at most four temperature observations that have an effective date greater than 01-06-2012:&lt;br /&gt;
&amp;lt;pre&amp;gt;GET [base]/Observation/$lastn?max=4&amp;amp;code=http://loinc.org|8310-5&amp;amp;date=ge2012-06-01&amp;lt;/pre&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=====Expected Actions=====&lt;br /&gt;
The XIS shall process the query to find and return the vital signs matching the provided query parameters.&lt;br /&gt;
&lt;br /&gt;
===XIS: response message===&lt;br /&gt;
The XIS returns an HTTP Status code appropriate to the processing as well as a Bundle of matching vital signs Observation.&lt;br /&gt;
&lt;br /&gt;
====Trigger Events====&lt;br /&gt;
The XIS completed processing of the retrieve vital signs request message.&lt;br /&gt;
&lt;br /&gt;
====Message Semantics====&lt;br /&gt;
The body of the response message shall be a Bundle of type &amp;quot;&amp;#039;&amp;#039;searchset&amp;#039;&amp;#039;&amp;quot; containing all matching vital sign Observations as entries. If no Observations are found, a Bundle of type &amp;quot;&amp;#039;&amp;#039;searchset&amp;#039;&amp;#039;&amp;quot; shall be returned without any Observation as entries.&lt;br /&gt;
&lt;br /&gt;
In the table below, the vital sign zibs and their respective profiles are listed. Zibs that MUST be supported are marked with (M). Other vital signs profiles, without a corresponding zib, are can be found in the [http://hl7.org/fhir/STU3/observation-vitalsigns.html HL7 FHIR specification.]&lt;br /&gt;
&lt;br /&gt;
{{MedMij:Vprepub-2020.01/NoteBoxPackage|p1=nictiz.fhir.nl.stu3.zib2017|v1Min=2.0.0}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-style=&amp;quot;background-color: #1F497D; color: white; font-weight: bold; &amp;quot;&lt;br /&gt;
|style=&amp;quot;width:150px;&amp;quot;|Zib NL||style=&amp;quot;width:150px;&amp;quot;|HCIM EN||style=&amp;quot;width:150px;&amp;quot;|FHIR Resource||style=&amp;quot;width:450px;&amp;quot;|FHIR Profile&lt;br /&gt;
|-style=&amp;quot;vertical-align:top; background-color: #E3E3E3;&lt;br /&gt;
|-&lt;br /&gt;
| Patiënt (M)||Patient||Patient||{{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-patient|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|-&lt;br /&gt;
| Zorgverlener (M)||HealthProfessional||Practitioner||{{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|-&lt;br /&gt;
| Ademhaling||Respiration||Observation||{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-Respiration|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|-&lt;br /&gt;
| Bloeddruk (M)||BloodPressure [[#MustSupportFlag|*]]||Observation||{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-BloodPressure|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|-&lt;br /&gt;
| LichaamsGewicht (M)||BodyWeight[[#MustSupportFlag|*]]||Observation||{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-BodyWeight|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|-&lt;br /&gt;
| LichaamsLengte||BodyHeight[[#MustSupportFlag|*]]||Observation||{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-BodyHeight|nictiz.fhir.nl.stu3.zib2017}}  &lt;br /&gt;
|-&lt;br /&gt;
| Lichaamstemperatuur||BodyTemperature[[#MustSupportFlag|*]]||Observation||{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-BodyTemperature|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|-&lt;br /&gt;
| O2Saturatie||oxygenation, saturation, SpO2[[#MustSupportFlag|*]]||Observation||{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-OxygenSaturation|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|-&lt;br /&gt;
| Hartfrequentie (M)||HeartRate[[#MustSupportFlag|*]]||Observation||{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-HeartRate|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|-&lt;br /&gt;
| Polsfrequentie||PulseRate[[#MustSupportFlag|*]]||Observation||{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-PulseRate|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|-&lt;br /&gt;
| LaboratoriumUitslag (based on) (M)||LaboratoryTestResult (based on)||Observation||{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/vitalsign-bloodglucose|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;MustSupportFlag&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;{{NoteBox|The Vital Signs FHIR profiles contain &amp;quot;Must Support&amp;quot; flags for various elements. The &amp;quot;Must Support&amp;quot; flags are inherited from FHIR core, but no particular meaning has been specified for the interpretation of these flags. Therefore, the &amp;quot;Must Support&amp;quot; flags also have no particular meaning within this context and can be ignored.}}&lt;br /&gt;
&lt;br /&gt;
====Expected Actions====&lt;br /&gt;
The PHR processes the results according to application-defined rules.&lt;br /&gt;
&lt;br /&gt;
===The &amp;lt;code&amp;gt;lastn&amp;lt;/code&amp;gt; operation===&lt;br /&gt;
The following [http://hl7.org/fhir/STU3/operations.html operation] is needed for this use case.&lt;br /&gt;
* [http://hl7.org/fhir/STU3/observation-operations.html#lastn Last N Observations Query]&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;lastn&amp;lt;/code&amp;gt; query meets the common need for searching for the most recent or last n=number of observations for a subject. For example, retrieving the last 5 temperatures for a patient to view trends or fetching the most recent laboratory results or vital signs. The link will provide more detailed information and examples regarding this operation.&lt;br /&gt;
&lt;br /&gt;
The [http://hl7.org/fhir/STU3/observation-operations.html#lastn FHIR STU3] specification is vague regarding the sorting mechanism of lastn. In [http://hl7.org/fhir/R4/observation-operation-lastn.html FHIR R4] however, this has been clarified and can be read as follows: when using lastn, the &amp;lt;code&amp;gt;effective[x]&amp;lt;/code&amp;gt; element is used for sorting of Observations, sorted from most recent to the oldest.&lt;br /&gt;
&lt;br /&gt;
=Use case: Send Vital Signs=&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
The send vital signs transaction is used by the PHR to send vital signs to the XIS.&lt;br /&gt;
&lt;br /&gt;
==Actors==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &amp;quot;cellpadding=&amp;quot;10&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;Transaction group&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;Transaction&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;Actor&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot;| &amp;#039;&amp;#039;&amp;#039;Role&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background-color: white;vertical-align:top;&amp;quot; rowspan=&amp;quot;2&amp;quot;|Send Vital Signs(PUSH)&lt;br /&gt;
|style=&amp;quot;background-color: white;vertical-align:top;&amp;quot;|Send vital signs request&lt;br /&gt;
|style=&amp;quot;background-color: white;vertical-align:top;&amp;quot;|Patient (using a PHR)&lt;br /&gt;
|style=&amp;quot;background-color: white;vertical-align:top;&amp;quot;|Sends vital signs to the XIS&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;background-color: white;vertical-align:top;&amp;quot;|Send vital signs response&lt;br /&gt;
|style=&amp;quot;background-color: white;vertical-align:top;&amp;quot;|Healthcare professional (using a XIS)&lt;br /&gt;
|style=&amp;quot;background-color: white;vertical-align:top;&amp;quot;|Receives vital signs from the PHR&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Invocations==&lt;br /&gt;
===PHR: request message===&lt;br /&gt;
The send vital sings request message uses the HTTP POST method on the target XIS&amp;#039;s base.&lt;br /&gt;
&lt;br /&gt;
====Trigger Events====&lt;br /&gt;
This message is invoked when the PHR needs to send one or more vital signs observations to the XIS.&lt;br /&gt;
&lt;br /&gt;
====Message Semantics====&lt;br /&gt;
Because sending vital signs will most likely consist of multiple Observations, a {{fhir|batch}} operation is used. This allows for creating a set of resources in a single interaction and makes it possible to [[MedMij:Vprepub-2020.01/FHIR_IG#Referring other resources when sending information|include referenced secondary resources]] if needed.&lt;br /&gt;
&lt;br /&gt;
A {{fhir|batch}} interaction is performed by an HTTP POST command as shown:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;POST [base]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The body of the post submission is a Bundle with {{fhir|Bundle.type}}={{term|batch}}. Each entry carries request details ({{fhir|Bundle.entry.request}}) that provides the HTTP details of the action in order to inform the system processing the batch or what to do for the entry. (Note: {{fhir|.request}} is optional, but SHALL be present, even for the resources which aren&amp;#039;t Observations. See [[MedMij:Vprepub-2020.01/FHIR_IG#Referring other resources when sending information|the overarching principles]] for more information.)&lt;br /&gt;
&lt;br /&gt;
{{NoteBox|Sending systems are expected to use an internal reference to the Patient resource included in the request Bundle if they cannot refer to the subject in any other way (see [[MedMij:Vprepub-2020.01/FHIR_IG#Referring other resources when sending information|the overarching principles]]). This contradicts the FHIR specification, which states that internal references cannot be used for {{fhir|batch}} operations. This is a known issue which will be addressed in the future versions of this information standard. See [https://bits.nictiz.nl/browse/MM-1620 MM-1620] for more information.}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Identification:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Sending systems are strongly encouraged to assign a stable identifier to the {{fhir|.identifier}} element when sending vital signs, this helps receiving systems with detecting duplicates and re-identification of Observation resources. For more information on dealing with identifiers, see the [[MedMij:Vprepub-2020.01/FHIR_IG#When_is_.identifier_expected.3F|general MedMij FHIR IG]].&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Links:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* [http://hl7.org/fhir/STU3/http.html#transaction batch]&lt;br /&gt;
* [http://hl7.org/fhir/STU3/http.html#create create]&lt;br /&gt;
&lt;br /&gt;
The vital signs data send to the XIS SHALL conform to the matching vital sign profile. The table below lists profiles that represent zibs that can be used for vital sign information exchange. If no matching vital sign zib profile is present, vital sign profiles listed in the [http://hl7.org/fhir/STU3/observation-vitalsigns.html FHIR specification] can be used. Other vital sign concepts are currently out of scope for this use case.  &lt;br /&gt;
&lt;br /&gt;
{{MedMij:Vprepub-2020.01/NoteBoxPackage|p1=nictiz.fhir.nl.stu3.zib2017}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-style=&amp;quot;background-color: #1F497D; color: white; font-weight: bold; &amp;quot;&lt;br /&gt;
|style=&amp;quot;width:150px;&amp;quot;|Zib NL||style=&amp;quot;width:150px;&amp;quot;|HCIM EN||style=&amp;quot;width:150px;&amp;quot;|FHIR Resource||style=&amp;quot;width:450px;&amp;quot;|FHIR Profile&lt;br /&gt;
|-style=&amp;quot;vertical-align:top; background-color: #E3E3E3;&lt;br /&gt;
|-&lt;br /&gt;
| Patiënt (M)||Patient||Patient||{{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-patient|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|-&lt;br /&gt;
| Zorgverlener (M)||HealthProfessional||Practitioner||{{Simplifier|http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|-&lt;br /&gt;
| Ademhaling||Respiration||Observation||{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-Respiration|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|-&lt;br /&gt;
| Bloeddruk (M)||BloodPressure[[#MustSupportFlag|*]]||Observation||{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-BloodPressure|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|-&lt;br /&gt;
| LichaamsGewicht (M)||BodyWeight[[#MustSupportFlag|*]]||Observation||{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-BodyWeight|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|-&lt;br /&gt;
| LichaamsLengte||BodyHeight[[#MustSupportFlag|*]]||Observation||{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-BodyHeight|nictiz.fhir.nl.stu3.zib2017}}  &lt;br /&gt;
|-&lt;br /&gt;
| Lichaamstemperatuur||BodyTemperature[[#MustSupportFlag|*]]||Observation||{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-BodyTemperature|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|-&lt;br /&gt;
| O2Saturatie||oxygenation, saturation, SpO2[[#MustSupportFlag|*]]||Observation||{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-OxygenSaturation|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|-&lt;br /&gt;
| Hartfrequentie (M)||HeartRate[[#MustSupportFlag|*]]||Observation||{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-HeartRate|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|-&lt;br /&gt;
| Polsfrequentie||PulseRate[[#MustSupportFlag|*]]||Observation||{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/zib-PulseRate|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|-&lt;br /&gt;
| LaboratoriumUitslag (based on) (M)||LaboratoryTestResult (based on)||Observation||{{Simplifier|http://nictiz.nl/fhir/StructureDefinition/vitalsign-bloodglucose|nictiz.fhir.nl.stu3.zib2017}} &lt;br /&gt;
|}&lt;br /&gt;
=====Expected Actions=====&lt;br /&gt;
On receipt of the submission, the XIS shall validate the resources and respond with an appropriate HTTP code.&lt;br /&gt;
&lt;br /&gt;
===XIS: response message===&lt;br /&gt;
The XIS returns an HTTP Status code appropriate to the processing outcome and returns a Bundle, of type batch-response, that contains one entry for each entry in the request, in the same order, with the outcome of processing the entry.&lt;br /&gt;
&lt;br /&gt;
====Trigger Events====&lt;br /&gt;
The XIS completed processing of the send vital signs request message.&lt;br /&gt;
&lt;br /&gt;
====Message Semantics====&lt;br /&gt;
The XIS SHALL return a Bundle with type set to batch-response that contains one entry for each entry in the request, in the same order, with the outcome of processing the entry.&lt;br /&gt;
&lt;br /&gt;
A client may use the returned Bundle to track the outcomes of processing the entry, and the identities assigned to the resources by the server. Each entry element SHALL contain a response element which details the outcome of processing the entry - the HTTP status code, and the location and ETag header values, which are used for identifying and versioning the resources. In addition, a resource may be included in the entry, as specified by the Prefer header.&lt;br /&gt;
&lt;br /&gt;
Read more:&lt;br /&gt;
[http://hl7.org/fhir/STU3/http.html#create create]&lt;br /&gt;
[http://hl7.org/fhir/STU3/http.html#transaction batch]&lt;br /&gt;
&lt;br /&gt;
====Expected Actions====&lt;br /&gt;
The PHR processes the results according to application-defined rules.&lt;br /&gt;
&lt;br /&gt;
====Handling Errors====&lt;br /&gt;
The server may be unable to accept a Bundle due to errors or because of business rules (e.g. because of an unsupported code value in an Observation resource). Refer to the [https://informatiestandaarden.nictiz.nl/wiki/MedMij:V2020.01/FHIR_IG#Handling_errors Handling Errors section] in the MedMij FHIR IG for more information.&lt;br /&gt;
&lt;br /&gt;
=Release notes=&lt;br /&gt;
Release notes can be found on the [[MedMij:Vprepub-2020.01/OntwerpZelfmetingen#Release_notes|functional design page]].&lt;/div&gt;</summary>
		<author><name>Eduard de Rijcke</name></author>
	</entry>
</feed>