---
title: "Obtaining Additional Information Using Advanced Questionnaires"
canonical: "https://wiki.patientsknowbest.com/space/api/4734189595/Obtaining%20Additional%20Information%20Using%20Advanced%20Questionnaires"
format: markdown
---
> Macro (toc)

# Advance Questionnaires

PKB’s advanced questionnaires are used to capture additional information from patients that you need to determine if the patient is suitable for a particular research study.  For example, a patient’s family history isn’t captured in PKB but could be required to determine suitability for a study.

The diagram below shows the entire Advanced questionnaire workflow:

- Getting a list of Questionnaires – required so you know which questionnaire to send at the appropriate time in your workflow.
- Triggering a questionnaire – you tell PKB to send a questionnaire to a patient to complete.
- Patient completes questionnaire - PKB notifies the patient by email to complete the questionnaire.  Once submitted, the status is ‘completed’.
- Retrieving a questionnaire response – you poll PKB for responses.

> Macro (excerpt-include)



# Get a List Of Questionnaires

You’ll use the same access token obtained above for the Aggregated FHIR store.

> Macro (excerpt-include)



## Example

> Macro (excerpt-include)




# Triggering An Advanced Questionnaire

You’ll use the same access token obtained above for the Aggregated FHIR store.

> Macro (excerpt-include)



> Macro (excerpt-include)



## Example

> Macro (excerpt-include)




# Extracting Advanced Questionnaire Responses

You’ll use the same access token obtained above for the Aggregated FHIR store.

response overview

### QuestionnaireResponse search parameters

> Macro (excerpt-include)



#### Subject

##### Searching for a QuestionnaireResponse based on subject

> Macro (excerpt-include)



> Macro (excerpt-include)



#### Authored

##### Searching for a QuestionnaireResponse based on completed date

> Macro (excerpt-include)



##### Searching for a QuestionnaireResponse between two dates based on completed date

> Macro (excerpt-include)



#### Based-on

##### Searching for a QuestionnaireResponse based on questionnaire

> Macro (excerpt-include)



##### Searching for a QuestionnaireResponse based on ServiceRequest

> Macro (excerpt-include)



### Including a Patient or ServiceRequest resource in the response

> Macro (excerpt-include)



#### Including the patient that the questionnaire was sent to

> Macro (excerpt-include)



#### Including the patient that completed the questionnaire

> Macro (excerpt-include)



#### Including the ServiceRequest that was generated when the questionnaire was sent

> Macro (excerpt-include)



#### Including a Patient and a ServiceRequest resource

> Macro (excerpt-include)