FLUTE Cross-border Prostate Cancer Data Standard Guide
0.1.0 - ci-build
FLUTE Cross-border Prostate Cancer Data Standard Guide, published by Flute Project. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-eu/flute/ and changes regularly. See the Directory of published versions
| Official URL: http://hl7.eu/fhir/ig/flute/TestScript/TS-Flute-04 | Version: 0.1.0 | |||
| Draft as of 2024-05-31 | Computable Name: TestScriptExtractQuestionnaireResponse | |||
url: TestScript This TestScript is designed to validate the extract of a questionnaire response
version: 0.1.0
name: TestScriptExtractQuestionnaireResponse
title: This TestScript is designed to validate the extract of a questionnaire response
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 extract of a questionnaire response
purpose:
This TestScript is designed to validate the extract of a questionnaire response
| Index | Profile |
| 1 | Test script profile origin type: FHIR-Client (FHIR Client) |
| Index | Profile |
| 1 | Test script profile destination type: FHIR-Server (FHIR Server) |
fixture
id
fixture-patient-createautocreate: false
autodelete: false
resource: Peter Dubois (official) Male, DoB: 1974-12-25 ( http://hospital.example.org/patients#EXP-S1-Patient)
fixture
id
fixture-questionnaireResponse-createautocreate: false
autodelete: false
variable
id
Questionnaire-StudyVariable-S1name: Questionnaire-StudyVariable-S1
defaultValue: Questionnaire-StudyVariable-S1
path: id
test
id
01-ExtractQuestionnaireResponsename: Extract questionnaire response to FHIR
description: Extract questionnaire response to FHIR
action
operation
id
TES-01com/test/StructureDefinition/EXT-ReturnResourceType: Bundle
type: Custom Operations: extract (Extract Data)
resource: QuestionnaireResponse
description: Extract questionnaire response to FHIR
destination: 1
encodeRequestUrl: false
method: POST
origin: 1
targetId: Questionnaire-StudyVariable-S1
action
assert
id
TES-01-ASS-01label: HTTPStatus
description: Confirmer que le statut HTTP renvoyé est 200.
direction: response
responseCode: 200
warningOnly: false
action
assert
id
TES-01-ASS-02label: Resource
description: Confirmer que le type de ressource renvoyé est Bundle.
direction: response
resource: Bundle
warningOnly: false
action
assert
id
TES-01-ASS-03label: FHIRPath
description: Confirm that the returned Bundle contains the resource Procedure.
direction: response
expression: Bundle.entry[0].resource.is(Procedure)
warningOnly: false
action
assert
id
TES-01-ASS-04label: FHIRPath
description: Confirm that the returned Bundle contains the resource FamilyMemberHistory.
direction: response
expression: Bundle.entry[1].resource.is(FamilyMemberHistory)
warningOnly: false
action
assert
id
TES-01-ASS-05label: FHIRPath
description: Confirm that the returned Bundle contains the resource Observation.
direction: response
expression: Bundle.entry[2].resource.is(Observation)
warningOnly: false
action
assert
id
TES-01-ASS-06label: FHIRPath
description: Confirm that the returned Bundle contains the resource Procedure.
direction: response
expression: Bundle.entry[3].resource.is(Procedure)
warningOnly: false
action
assert
id
TES-01-ASS-07label: FHIRPath
description: Confirm that the returned Bundle contains the resource Observation.
direction: response
expression: Bundle.entry[4].resource.is(Observation)
warningOnly: false
action
assert
id
TES-01-ASS-08label: FHIRPath
description: Confirm that the returned Bundle contains the resource Observation.
direction: response
expression: Bundle.entry[5].resource.is(Observation)
warningOnly: false
action
assert
id
TES-01-ASS-09label: FHIRPath
description: Confirm that the returned Bundle contains 6 entries.
direction: response
expression: Bundle.entry.count() = 6
warningOnly: false