Package | hl7.eu.fhir.flute |
Type | TestScript |
Id | Id |
FHIR Version | R4 |
Source | http://hl7.eu/fhir/ig/flute/https://build.fhir.org/ig/hl7-eu/flute/TestScript-TS-Flute-03.html |
Url | http://hl7.eu/fhir/ig/flute/TestScript/TS-Flute-03 |
Version | 0.1.0 |
Status | draft |
Date | 2024-05-31 |
Name | TestScriptPopulateQuestionnaire |
Title | This TestScript is designed to validate the populate of a questionnaire |
Experimental | True |
Realm | eu |
Authority | hl7 |
Description | This TestScript is designed to validate the populate of a questionnaire |
Purpose | This TestScript is designed to validate the populate of a questionnaire |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: TestScript
ResourceTestScript "TS-Flute-03"
url: http://hl7.eu/fhir/ig/flute/TestScript/TS-Flute-03
version: 0.1.0
name: TestScriptPopulateQuestionnaire
title: This TestScript is designed to validate the populate of a questionnaire
status: draft
experimental: true
date: 2024-05-31
publisher: Flute Project
contact: Flute Project: https://www.fluteproject.eu/, Flute Project: https://www.fluteproject.eu/
description: This TestScript is designed to validate the populate of a questionnaire
purpose: This TestScript is designed to validate the populate of a questionnaire
Index | Profile |
1 | FHIR Client (Details: Test script profile origin type code FHIR-Client = ' FHIR Client ', stated as ' null ') |
Index | Profile |
1 | FHIR Server (Details: Test script profile destination type code FHIR-Server = ' FHIR Server ', stated as ' null ') |
fixture
id
fixture-questionnaire-createautocreate: false
autodelete: false
resource: DocumentReference/EXP-DR-Questionnaire-StudyVariable
test
id
01-PopulateQuestionnairename: Populate questionnaire
description: Populate questionnaire Study Variable
action
operation
id
TES-01type: operation (Details: FHIR Restful Interactions code operation = ' operation ', stated as ' null ')
resource: Questionnaire
description: Populate of questionnaire
destination: 1
encodeRequestUrl: false
method: post
origin: 1
params: $populate
sourceId: fixture-questionnaire-create
action
assert
id
TES-01-ASS-01label: HTTPStatus
description: Confirm that the returned HTTP status is 200.
direction: response
responseCode: 200
warningOnly: false
action
assert
id
TES-01-ASS-02label: Resource
description: Confirm that the returned resource type is QuestionnaireResponse.
direction: response
resource: QuestionnaireResponse
warningOnly: false
{
"resourceType" : "TestScript",
"id" : "TS-Flute-03",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: TestScript </b><a name=\"TS-Flute-03\"> </a><a name=\"hcTS-Flute-03\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">ResourceTestScript "TS-Flute-03" </p></div><p><b>url</b>: <code>http://hl7.eu/fhir/ig/flute/TestScript/TS-Flute-03</code></p><p><b>version</b>: 0.1.0</p><p><b>name</b>: TestScriptPopulateQuestionnaire</p><p><b>title</b>: This TestScript is designed to validate the populate of a questionnaire</p><p><b>status</b>: draft</p><p><b>experimental</b>: true</p><p><b>date</b>: 2024-05-31</p><p><b>publisher</b>: Flute Project</p><p><b>contact</b>: Flute Project: <a href=\"https://www.fluteproject.eu/\">https://www.fluteproject.eu/</a>, Flute Project: <a href=\"https://www.fluteproject.eu/\">https://www.fluteproject.eu/</a></p><p><b>description</b>: This TestScript is designed to validate the populate of a questionnaire</p><p><b>purpose</b>: This TestScript is designed to validate the populate of a questionnaire</p><h3>Origins</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Index</b></td><td><b>Profile</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td>FHIR Client (Details: Test script profile origin type code FHIR-Client = ' FHIR Client ', stated as ' null ')</td></tr></table><h3>Destinations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Index</b></td><td><b>Profile</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td>FHIR Server (Details: Test script profile destination type code FHIR-Server = ' FHIR Server ', stated as ' null ')</td></tr></table><blockquote><p><b>fixture</b></p><blockquote><p><b>id</b></p>fixture-questionnaire-create</blockquote><p><b>autocreate</b>: false</p><p><b>autodelete</b>: false</p><p><b>resource</b>: <a href=\"DocumentReference/EXP-DR-Questionnaire-StudyVariable\">DocumentReference/EXP-DR-Questionnaire-StudyVariable</a></p></blockquote><blockquote><p><b>test</b></p><blockquote><p><b>id</b></p>01-PopulateQuestionnaire</blockquote><p><b>name</b>: Populate questionnaire</p><p><b>description</b>: Populate questionnaire Study Variable</p><blockquote><p><b>action</b></p><blockquote><p><b>operation</b></p><blockquote><p><b>id</b></p>TES-01</blockquote><p><b>type</b>: operation (Details: FHIR Restful Interactions code operation = ' operation ', stated as ' null ')</p><p><b>resource</b>: Questionnaire</p><p><b>description</b>: Populate of questionnaire</p><p><b>destination</b>: 1</p><p><b>encodeRequestUrl</b>: false</p><p><b>method</b>: post</p><p><b>origin</b>: 1</p><p><b>params</b>: $populate</p><p><b>sourceId</b>: fixture-questionnaire-create</p></blockquote></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>assert</b></p><blockquote><p><b>id</b></p>TES-01-ASS-01</blockquote><p><b>label</b>: HTTPStatus</p><p><b>description</b>: Confirm that the returned HTTP status is 200.</p><p><b>direction</b>: response</p><p><b>responseCode</b>: 200</p><p><b>warningOnly</b>: false</p></blockquote></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>assert</b></p><blockquote><p><b>id</b></p>TES-01-ASS-02</blockquote><p><b>label</b>: Resource</p><p><b>description</b>: Confirm that the returned resource type is QuestionnaireResponse.</p><p><b>direction</b>: response</p><p><b>resource</b>: QuestionnaireResponse</p><p><b>warningOnly</b>: false</p></blockquote></blockquote></blockquote></div>"
},
"url" : "http://hl7.eu/fhir/ig/flute/TestScript/TS-Flute-03",
"version" : "0.1.0",
"name" : "TestScriptPopulateQuestionnaire",
"title" : "This TestScript is designed to validate the populate of a questionnaire",
"status" : "draft",
"experimental" : true,
"date" : "2024-05-31",
"publisher" : "Flute Project",
"contact" : [
{
"name" : "Flute Project",
"telecom" : [
{
"system" : "url",
"value" : "https://www.fluteproject.eu/"
}
]
},
{
"name" : "Flute Project",
"telecom" : [
{
"system" : "url",
"value" : "https://www.fluteproject.eu/"
}
]
}
],
"description" : "This TestScript is designed to validate the populate of a questionnaire",
"purpose" : "This TestScript is designed to validate the populate of a questionnaire",
"origin" : [
{
"index" : 1,
"profile" : {
"system" : "http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types",
"code" : "FHIR-Client"
}
}
],
"destination" : [
{
"index" : 1,
"profile" : {
"system" : "http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types",
"code" : "FHIR-Server"
}
}
],
"fixture" : [
{
"id" : "fixture-questionnaire-create",
"autocreate" : false,
"autodelete" : false,
"resource" : {
"reference" : "DocumentReference/EXP-DR-Questionnaire-StudyVariable"
}
}
],
"test" : [
{
"id" : "01-PopulateQuestionnaire",
"name" : "Populate questionnaire",
"description" : "Populate questionnaire Study Variable",
"action" : [
{
"operation" : {
"id" : "TES-01",
"extension" : [
{
"url" : "http://fyrstain.com/pdt/returnResourceType",
"valueString" : "QuestionnaireResponse"
}
],
"type" : {
"system" : "http://hl7.org/fhir/restful-interaction",
"code" : "operation"
},
"resource" : "Questionnaire",
"description" : "Populate of questionnaire",
"destination" : 1,
"encodeRequestUrl" : false,
"method" : "post",
"origin" : 1,
"params" : "$populate",
"sourceId" : "fixture-questionnaire-create"
}
},
{
"assert" : {
"id" : "TES-01-ASS-01",
"label" : "HTTPStatus",
"description" : "Confirm that the returned HTTP status is 200.",
"direction" : "response",
"responseCode" : "200",
"warningOnly" : false
}
},
{
"assert" : {
"id" : "TES-01-ASS-02",
"label" : "Resource",
"description" : "Confirm that the returned resource type is QuestionnaireResponse.",
"direction" : "response",
"resource" : "QuestionnaireResponse",
"warningOnly" : false
}
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.