Questionnaire
Semantical type
The “code” field of the resource is used to determine the semantical type of the resource. If the field is not present the resource type will be used. Look at the List of registered codes for a complete list of codes registered in MIDATA. Include the required codes into your applications access filter if you need to use this resource.
Resource owner
The creator of the resource is always the owner of the resource.
Read
Read a single Questionnaire by id.
Request:
[GET] /fhir/Questionnaire/<id>
Read specific version
Read a specific version of a single Questionnaire by id.
Request:
[GET] /fhir/Questionnaire/<id>/_history/<version>
Retrieve history
Retrieve all versions of a single resource.
Request:
[GET] /fhir/Questionnaire/<id>/_history
Search
Search for resources of type Questionnaire
Request:
[GET] /fhir/Questionnaire?searchParams
List of supported search parameters:
Supported query parameters:
Name | Type | Description |
---|---|---|
_id | string | The resource identity |
_lastUpdated | date | Only return resources which were last updated as specified by the given range |
_page | string | |
code | token | A code that corresponds to one of its items in the questionnaire |
context | token | A use context assigned to the questionnaire |
context-quantity | quantity | A quantity- or range-valued use context assigned to the questionnaire |
context-type | token | A type of use context assigned to the questionnaire |
context-type-quantity | composite | A use context type and quantity- or range-based value assigned to the questionnaire |
context-type-value | composite | A use context type and value assigned to the questionnaire |
date | date | The questionnaire publication date |
definition | uri | ElementDefinition - details for the item |
description | string | The description of the questionnaire |
effective | date | The time during which the questionnaire is intended to be in use |
identifier | token | External identifier for the questionnaire |
jurisdiction | token | Intended jurisdiction for the questionnaire |
name | string | Computationally friendly name of the questionnaire |
publisher | string | Name of the publisher of the questionnaire |
status | token | The current status of the questionnaire |
subject-type | token | Resource that can be subject of QuestionnaireResponse |
title | string | The human-friendly name of the questionnaire |
url | uri | The uri that identifies the questionnaire |
version | token | The business version of the questionnaire |
Create
Create a new resource of type Questionnaire.
Request:
[POST] /fhir/Questionnaire
Update
Updates a resource of type Questionnaire.
Request:
[PUT] /fhir/Questionnaire/<id>