<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ohcnwiki.tellmey.fyi/index.php?action=history&amp;feed=atom&amp;title=Concepts%2FQuestionnaire_Response</id>
	<title>Concepts/Questionnaire Response - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ohcnwiki.tellmey.fyi/index.php?action=history&amp;feed=atom&amp;title=Concepts%2FQuestionnaire_Response"/>
	<link rel="alternate" type="text/html" href="https://ohcnwiki.tellmey.fyi/index.php?title=Concepts/Questionnaire_Response&amp;action=history"/>
	<updated>2026-07-06T07:10:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.4</generator>
	<entry>
		<id>https://ohcnwiki.tellmey.fyi/index.php?title=Concepts/Questionnaire_Response&amp;diff=380&amp;oldid=prev</id>
		<title>Admin: Automated edit (via update-page on MediaWiki MCP Server)</title>
		<link rel="alternate" type="text/html" href="https://ohcnwiki.tellmey.fyi/index.php?title=Concepts/Questionnaire_Response&amp;diff=380&amp;oldid=prev"/>
		<updated>2026-07-06T04:00:47Z</updated>

		<summary type="html">&lt;p&gt;Automated edit (via update-page on MediaWiki MCP Server)&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:30, 6 July 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 78:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 78:&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;Reads on an encounter-linked response are allowed if &#039;&#039;&#039;either&#039;&#039;&#039; &amp;lt;code&amp;gt;can_view_clinical_data&amp;lt;/code&amp;gt; (patient) or &amp;lt;code&amp;gt;can_read_encounter_clinical_data&amp;lt;/code&amp;gt; (encounter) is held; responses without an encounter fall back to &amp;lt;code&amp;gt;can_view_questionnaire_responses&amp;lt;/code&amp;gt;. Updates are limited to marking a response &amp;lt;code&amp;gt;entered_in_error&amp;lt;/code&amp;gt; within a short edit window and require the matching submit permission. Roles are granted through a user&#039;s organization, facility, or patient memberships, and permissions cascade down the organization tree — so access to a patient&#039;s responses follows from access to the patient.&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;Reads on an encounter-linked response are allowed if &#039;&#039;&#039;either&#039;&#039;&#039; &amp;lt;code&amp;gt;can_view_clinical_data&amp;lt;/code&amp;gt; (patient) or &amp;lt;code&amp;gt;can_read_encounter_clinical_data&amp;lt;/code&amp;gt; (encounter) is held; responses without an encounter fall back to &amp;lt;code&amp;gt;can_view_questionnaire_responses&amp;lt;/code&amp;gt;. Updates are limited to marking a response &amp;lt;code&amp;gt;entered_in_error&amp;lt;/code&amp;gt; within a short edit window and require the matching submit permission. Roles are granted through a user&#039;s organization, facility, or patient memberships, and permissions cascade down the organization tree — so access to a patient&#039;s responses follows from access to the patient.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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;{{Navbox clinical}}&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;{{Related}}&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;{{Related}}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty 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;Wiki: ohcnwiki.tellmey.fyi&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-99:rev-380:wikidiff2=table:1.14.2:bc2a06be --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://ohcnwiki.tellmey.fyi/index.php?title=Concepts/Questionnaire_Response&amp;diff=99&amp;oldid=prev</id>
		<title>Admin: OHC identity seed</title>
		<link rel="alternate" type="text/html" href="https://ohcnwiki.tellmey.fyi/index.php?title=Concepts/Questionnaire_Response&amp;diff=99&amp;oldid=prev"/>
		<updated>2026-07-04T22:43:16Z</updated>

		<summary type="html">&lt;p&gt;OHC identity seed&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Doc header&lt;br /&gt;
|type=concept&lt;br /&gt;
|domain=clinical&lt;br /&gt;
|title=Questionnaire Response&lt;br /&gt;
|order=14&lt;br /&gt;
|introduced=3.0&lt;br /&gt;
|fhir=Questionnaire Response&lt;br /&gt;
|concept=Concepts/Patient&lt;br /&gt;
|reference=References/Questionnaire Response&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;questionnaire response&amp;#039;&amp;#039;&amp;#039; is the set of answers a clinician or staff member records when they fill in a [[Concepts/Questionnaire|questionnaire]] for a patient. It turns a blank form — a triage screen, a vitals chart, an intake assessment — into a permanent, attributed piece of that patient&amp;#039;s clinical record.&lt;br /&gt;
&lt;br /&gt;
== What it represents ==&lt;br /&gt;
&lt;br /&gt;
In Care&amp;#039;s FHIR-aligned model, a questionnaire response maps to the &amp;#039;&amp;#039;&amp;#039;QuestionnaireResponse&amp;#039;&amp;#039;&amp;#039; resource. It captures:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;The answers&amp;#039;&amp;#039;&amp;#039; — what was entered for each question, kept both as the raw submission and as an extracted, query-friendly form&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Who and what it is about&amp;#039;&amp;#039;&amp;#039; — the patient, and the encounter it was recorded in when answered during a visit&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Which form was answered&amp;#039;&amp;#039;&amp;#039; — a link back to the questionnaire definition that was filled in&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Provenance&amp;#039;&amp;#039;&amp;#039; — who submitted it and when, maintained automatically by the platform&lt;br /&gt;
&lt;br /&gt;
A questionnaire response is not the questionnaire itself. The questionnaire is the reusable template (the questions and their rules); the response is one patient&amp;#039;s filled-in copy. Submitting the same form for ten patients produces ten responses against a single questionnaire.&lt;br /&gt;
&lt;br /&gt;
== How a response is captured ==&lt;br /&gt;
&lt;br /&gt;
Answers are not edited directly into a response record. They arrive through the &amp;#039;&amp;#039;&amp;#039;submit flow&amp;#039;&amp;#039;&amp;#039;: one submission carries the questionnaire being answered, the patient, the encounter if there is one, and the answer to every question. Care validates that whole payload against the questionnaire definition — required questions, allowed values, coded options — and only then writes the response. A submission that fails validation produces no response at all.&lt;br /&gt;
&lt;br /&gt;
This is why a response is best thought of as a snapshot. It records what was answered at the moment of submission, attributed to the person who submitted it, against the patient and encounter in scope at that time.&lt;br /&gt;
&lt;br /&gt;
== Lifecycle ==&lt;br /&gt;
&lt;br /&gt;
A response is finalised the moment it is submitted; it has no draft state of its own.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;completed → entered_in_error&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;completed&amp;#039;&amp;#039;&amp;#039; — the response is finalised and part of the record (this is the default and normal state)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;entered_in_error&amp;#039;&amp;#039;&amp;#039; — the response was recorded by mistake; rather than deleting it, it is flagged so the history stays auditable&lt;br /&gt;
&lt;br /&gt;
Because answers are not re-edited after submission, the only change applied to an existing response is marking it &amp;lt;code&amp;gt;entered_in_error&amp;lt;/code&amp;gt;. Drafts, where they exist, live one level up in the &amp;#039;&amp;#039;&amp;#039;form submission&amp;#039;&amp;#039;&amp;#039; envelope (&amp;lt;code&amp;gt;draft → submitted&amp;lt;/code&amp;gt;) before a response is written — see the technical reference.&lt;br /&gt;
&lt;br /&gt;
== How it connects ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Patient&amp;#039;&amp;#039;&amp;#039; — every response belongs to a [[Concepts/Patient|patient]]; it is governed by that patient&amp;#039;s permission set&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Encounter&amp;#039;&amp;#039;&amp;#039; — when answered during a visit, the response is tied to that [[Concepts/Encounter|encounter]], giving the answers a clinical context and timestamp&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Questionnaire&amp;#039;&amp;#039;&amp;#039; — the response points back to the [[Concepts/Questionnaire|questionnaire]] it answered; rendering the answers joins them against that definition so labels stay human-readable&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Structured data&amp;#039;&amp;#039;&amp;#039; — alongside the raw answers, a response can hold an extracted, query-friendly copy of those values. This is what lets a vitals form become real observations, or an allergy form become allergy records, rather than leaving the data locked inside a form&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
Questionnaire responses have no permission slug of their own. The read-only-plus-update viewset gates each action through the &amp;#039;&amp;#039;&amp;#039;patient&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;encounter&amp;#039;&amp;#039;&amp;#039; permission sets, choosing which permission to check based on whether the response is tied to an encounter.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Permission&lt;br /&gt;
! Description&lt;br /&gt;
! System Roles&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;can_view_questionnaire_responses&amp;lt;/code&amp;gt;&lt;br /&gt;
| View the questionnaire responses on a patient when the response is not linked to an encounter&lt;br /&gt;
| Volunteer, Staff, Doctor, Nurse, Admin, Facility Admin, Administrator, Pharmacist&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;can_view_clinical_data&amp;lt;/code&amp;gt;&lt;br /&gt;
| View clinical data about a patient; satisfies viewing an encounter-linked response from the patient side&lt;br /&gt;
| Staff, Doctor, Nurse, Admin, Facility Admin&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;can_read_encounter_clinical_data&amp;lt;/code&amp;gt;&lt;br /&gt;
| Read an encounter&amp;#039;s clinical data; alternatively satisfies viewing an encounter-linked response from the encounter side&lt;br /&gt;
| Admin, Doctor, Nurse, Facility Admin&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;can_submit_patient_questionnaire&amp;lt;/code&amp;gt;&lt;br /&gt;
| Submit a questionnaire about a patient; required to update (correct) a response not linked to an encounter&lt;br /&gt;
| Volunteer, Staff, Doctor, Nurse, Admin, Facility Admin, Administrator&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;can_submit_encounter_questionnaire&amp;lt;/code&amp;gt;&lt;br /&gt;
| Submit a questionnaire about a patient encounter; required to update (correct) an encounter-linked response&lt;br /&gt;
| Staff, Doctor, Nurse, Admin, Facility Admin&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Reads on an encounter-linked response are allowed if &amp;#039;&amp;#039;&amp;#039;either&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;can_view_clinical_data&amp;lt;/code&amp;gt; (patient) or &amp;lt;code&amp;gt;can_read_encounter_clinical_data&amp;lt;/code&amp;gt; (encounter) is held; responses without an encounter fall back to &amp;lt;code&amp;gt;can_view_questionnaire_responses&amp;lt;/code&amp;gt;. Updates are limited to marking a response &amp;lt;code&amp;gt;entered_in_error&amp;lt;/code&amp;gt; within a short edit window and require the matching submit permission. Roles are granted through a user&amp;#039;s organization, facility, or patient memberships, and permissions cascade down the organization tree — so access to a patient&amp;#039;s responses follows from access to the patient.&lt;br /&gt;
&lt;br /&gt;
{{Related}}&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>