Event is emitted when the incomplete questionnaire response data is updated.
Static
Readonly
channelCheck if incomplete questionnaires exists.
The type of the incomplete response collection.
Optional
since: DateNot older than this date.
Checks whether a questionnaire exists.
Name of the questionnaire
Optional
language: stringLanguage of questionnaire. If empty, just check in any language.
Checks whether a questionnaire exists.
Url of the questionnaire
Getting the latest incomplete questionnaire.
type of incomplete response collection
Optional
since: Datenot older than this date.
the incomplete data, or null if there isn't such data.
Initialize this instance
This must be done after the one instance was initialized.
Marks an incomplete response as complete.
Note: This simply posts an empty responses object to the incomplete channel.
The type of the incomplete response collection.
Saving incomplete questionnaires.
The incomplete response.
The type of the response. This is later used to find incomplete responses.
Optional
name: stringThe name of the response
Save incomplete questionnaire collection.
The response list. If this list is empty then it works exactly as markIncompleteResponseAsComplete.
The type of the response. This is later used to find incomplete responses.
Optional
name: stringThe name of the response
Create a new response to a questionnaire
The questionnaire response to post
Optional
name: stringThe name for this collection. This could be something the user specifies in order to be identified easily.
Optional
type: stringAn application specific type. It is up to the application what to do with it.
Optional
owner: SHA256IdHash<Person>Change the owner of the channel to post to. Defaults to the default channel person that is set in the channel manager.
Post multiple responses as a single collection.
This means that later when querying the questionnaires, this collection will appear as single entry. This is useful if you dynamically compose a big questionnaires from several partial questionnaires.
The list of questionnaire responses to post
Optional
name: stringThe name for this collection. This could be something the user specifies in order to be identified easily.
Optional
type: stringAn application specific type. It is up to the application what to do with it.
Optional
owner: SHA256IdHash<Person>Change the owner of the channel to post to. Defaults to the default channel person that is set in the channel manager.
Get a specific questionnaire
The name of the questionnaire
Optional
language: stringLanguage of questionnaire. If empty, just return the first in any language.
Get a specific questionnaire
Note that this does not connect to the server behind the url. The url is simply the id used by questionnaires. FHIR uses urls for identifying resources such as questionnaires.
The url of the questionnaire
Get a list of available questionnaires
Get a questionnaire url by name and language.
Optional
language: stringAdding questionnaires to the available questionnaires list.
Note: In the future questionnaires will be served by one as one objects. This function will then change or be removed.
The list of the questionnaires that will be added
Get a list of responses.
Get a specific questionnaire response
the id of the questionnaire response. It is the id field of the ObjectData.
returns iterator for QuestionnaireResponses
Optional
queryOptions: QueryOptionsShutdown module
This model represents everything related to Questionnaires.
At the moment this model is just managing questionnaire responses. In the future this will most probably also manage questionnaires.