FLUTE Cross-border Prostate Cancer Data Standard Guide
0.1.0 - ci-build
Funded by the European Union

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

TestScript: This TestScript is designed to validate the extract of a questionnaire response (Experimental)

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

Origins

-IndexProfile
*1Test script profile origin type: FHIR-Client (FHIR Client)

Destinations

-IndexProfile
*1Test script profile destination type: FHIR-Server (FHIR Server)

fixture

id

fixture-patient-create

autocreate: false

autodelete: false

resource: Peter Dubois (official) Male, DoB: 1974-12-25 ( http://hospital.example.org/patients#EXP-S1-Patient)

fixture

id

fixture-questionnaireResponse-create

autocreate: false

autodelete: false

resource: Response to Questionnaire '->Study variable Extraction' about '->Jacque Dubois (official) Male, DoB: 1974-12-25'

variable

id

Questionnaire-StudyVariable-S1

name: Questionnaire-StudyVariable-S1

defaultValue: Questionnaire-StudyVariable-S1

path: id

test

id

01-ExtractQuestionnaireResponse

name: Extract questionnaire response to FHIR

description: Extract questionnaire response to FHIR

action

operation

id

TES-01

com/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-01

label: HTTPStatus

description: Confirmer que le statut HTTP renvoyé est 200.

direction: response

responseCode: 200

warningOnly: false

action

assert

id

TES-01-ASS-02

label: Resource

description: Confirmer que le type de ressource renvoyé est Bundle.

direction: response

resource: Bundle

warningOnly: false

action

assert

id

TES-01-ASS-03

label: 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-04

label: 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-05

label: 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-06

label: 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-07

label: 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-08

label: 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-09

label: FHIRPath

description: Confirm that the returned Bundle contains 6 entries.

direction: response

expression: Bundle.entry.count() = 6

warningOnly: false