Get a list of questionnaire reponses
get
/QuestionnaireResponse/
Retrives a list of questionnaire responses that meet supplied query parameters.
Authorization Types
This resource supports the following authorization types:
Request
Query Parameters
-
_id: array[string]
Minimum Number of Items:
1
The logical resource ID.
Example:
_id=12345
-
patient: array[string]
Minimum Number of Items:
1
The logical resource ID of the patient the questionnaire response is for. This parameter is required if the
_id
parameter is not used.Example:
patient=12724066
Header Parameters
-
Authorization(required): string
Contains the credentials to authenticate a consumer to the service. The credentials should be the OAuth2 Bearer Token.
Response
Supported Media Types
- application/fhir+json
200 Response
OK
Headers
-
X-Request-Id: string
Oracle troubleshooting identifier.
-
opc-request-id: string
Oracle troubleshooting identifier.
Example Response (application/fhir+json)
{
"resourceType":"Bundle",
"id":"902e1b49-b9c4-4786-b90b-c9612d478f2a",
"type":"searchset",
"link":[
{
"relation":"self",
"url":"https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/QuestionnaireResponse?_id=SH-12508041"
}
],
"entry":[
{
"fullUrl":"https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/QuestionnaireResponse/SH-12508041",
"resource":{
"resourceType":"QuestionnaireResponse",
"id":"SH-12508041",
"questionnaire":"https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Questionnaire/SH-12508041",
"status":"in-progress",
"subject":{
"reference":"Patient/12508041"
},
"authored":"2019-10-25T14:57:43Z",
"item":[
{
"id":"111",
"linkId":"93",
"text":"Tobacco",
"extension":[
{
"url":"https://fhir-ehr.cerner.com/r4/StructureDefinition/note",
"valueAnnotation":{
"authorReference":{
"reference":"Practitioner/109413936",
"display":"Lombardi, Falco Shine"
},
"time":"2021-06-15T22:15:26.000Z",
"text":"category/group comment"
}
}
],
"item":[
{
"linkId":"93-123",
"text":"Number of years:",
"answer":[
{
"valueQuantity":{
"value":"20",
"unit":"year (iso1000)",
"system":"http://unitsofmeasure.org",
"code":"a"
}
}
]
},
{
"linkId":"93-456",
"text":"Tobacco use per day:",
"answer":[
{
"valueString":"Answer text"
}
]
},
{
"linkId":"93-789",
"text":"Ready to change:",
"extension":[
{
"url":"https://fhir-ehr.cerner.com/r4/StructureDefinition/choice-answer",
"valueBoolean":true
}
],
"answer":[
{
"valueCoding":{
"system":"https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/nomenclature",
"code":"960439",
"display":"Yes"
}
},
{
"valueString":"Other answer text"
}
]
}
]
}
]
}
}
]
}
Default Response
An OperationOutcome describing any error that occurred.
Headers
-
Etag: string
For Update or Patch versioning controls. Related to
If-Match
. When a resource performs an operation that creates or updates a record, anEtag
value is returned as a header. This same value should be included in request headers as anIf-Match
for any subsequent update to that record. -
X-Request-Id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
X-Request-Id
, if present. -
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
opc-Request-Id
, if present.
Root Schema : schema
Type:
Show Source
object
-
issue(required):
array issue
-
resourceType(required):
string
Allowed Values:
[ "OperationOutcome" ]