@prefix fhir: . @prefix owl: . @prefix rdfs: . @prefix xsd: . # - resource ------------------------------------------------------------------- a fhir:TestScript ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "DEVSATObservationgetsatjson"] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "

Generated Narrative: TestScript

Resource TestScript "DEVSATObservationgetsatjson"

Testing Scope Canonical Value: Get Satisfaction Operation

url: http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/TestScript/DEVSATObservationgetsatjson

version: 0.1.0

name: DEVSATObservationgetsatjson

title: HL7 FHIR R4 TestScript Observation $get-satisfaction JSON

status: active

date: 2024-04-10

publisher: AEGIS.net, Inc.

contact: AEGIS.net, Inc.: https://www.aegis.net, Richard Ettema: mailto:richard.ettema@aegis.net

description: Example TestScript to test the Developer Satisfaction Observation $get-satisfaction operation

jurisdiction: World (m49.htm#001)

copyright: (c) Health Level 7 (HL7) International 2023

Origins

-IndexProfile
*1FHIR Client (Details: http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types code FHIR-Client = 'FHIR Client', stated as 'null')

Destinations

-IndexProfile
*1FHIR Server (Details: http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types code FHIR-Server = 'FHIR Server', stated as 'null')

test

id

GetSatisfactionNoArgs

name: GetSatisfactionNoArgs

description: Test Developer Satisfaction $get-satisfaction operation with no args on destination server and assert successful returned satisfaction value

action

Operations

-TypeDescriptionAcceptContentTypeDestinationEncodeRequestUrlOriginParams
*$process-message (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code process-message = '$process-message', stated as 'null')$get-satisfaction operation with no argsjsonjson1true1/$get-satisfaction

action

Asserts

-DescriptionDirectionResponseCodeWarningOnly
*Confirm that the returned response code is 200 OK.response200false

action

Asserts

-DescriptionDirectionResourceWarningOnly
*Confirm that the returned response payload is a Parameters resource.responseParametersfalse

action

Asserts

-DescriptionDirectionExpressionWarningOnly
*Confirm that the returned Parameters contains a measurement parameter.responseParameters.parameter.where(name = 'measurement').exists()false

action

Asserts

-DescriptionDirectionExpressionWarningOnly
*Confirm that the returned Parameters contains an interpretation parameter.responseParameters.parameter.where(name = 'interpretation').exists()false
" ] ; # fhir:extension ( [ fhir:url [ fhir:v "http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/StructureDefinition/testing-scope"^^xsd:anyURI ] ; fhir:value [ fhir:v "http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/OperationDefinition/dev-satisfaction-get-satisfaction"^^xsd:anyURI ; fhir:link ] ] ) ; # fhir:url [ fhir:v "http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/TestScript/DEVSATObservationgetsatjson"^^xsd:anyURI] ; # fhir:version [ fhir:v "0.1.0"] ; # fhir:name [ fhir:v "DEVSATObservationgetsatjson"] ; # fhir:title [ fhir:v "HL7 FHIR R4 TestScript Observation $get-satisfaction JSON"] ; # fhir:status [ fhir:v "active"] ; # fhir:date [ fhir:v "2024-04-10"^^xsd:date] ; # fhir:publisher [ fhir:v "AEGIS.net, Inc."] ; # fhir:contact ( [ fhir:name [ fhir:v "AEGIS.net, Inc." ] ; fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "https://www.aegis.net" ] ] ) ] [ fhir:name [ fhir:v "Richard Ettema" ] ; fhir:telecom ( [ fhir:system [ fhir:v "email" ] ; fhir:value [ fhir:v "mailto:richard.ettema@aegis.net" ] ] ) ] ) ; # fhir:description [ fhir:v "Example TestScript to test the Developer Satisfaction Observation $get-satisfaction operation"] ; # fhir:jurisdiction ( [ fhir:coding ( [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ; fhir:code [ fhir:v "001" ] ; fhir:display [ fhir:v "World" ] ] ) ] ) ; # fhir:copyright [ fhir:v "(c) Health Level 7 (HL7) International 2023"] ; # fhir:origin ( [ fhir:index [ fhir:v "1"^^xsd:integer ] ; fhir:profile [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types"^^xsd:anyURI ] ; fhir:code [ fhir:v "FHIR-Client" ] ] ] ) ; # fhir:destination ( [ fhir:index [ fhir:v "1"^^xsd:integer ] ; fhir:profile [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types"^^xsd:anyURI ] ; fhir:code [ fhir:v "FHIR-Server" ] ] ] ) ; # fhir:test ( [ fhir:id [ fhir:v "GetSatisfactionNoArgs" ] ; fhir:name [ fhir:v "GetSatisfactionNoArgs" ] ; fhir:description [ fhir:v "Test Developer Satisfaction $get-satisfaction operation with no args on destination server and assert successful returned satisfaction value" ] ; fhir:action ( [ fhir:operation [ fhir:type [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-operation-codes"^^xsd:anyURI ] ; fhir:code [ fhir:v "process-message" ] ] ; fhir:description [ fhir:v "$get-satisfaction operation with no args" ] ; fhir:accept [ fhir:v "json" ] ; fhir:contentType [ fhir:v "json" ] ; fhir:destination [ fhir:v "1"^^xsd:integer ] ; fhir:encodeRequestUrl [ fhir:v "true"^^xsd:boolean ] ; fhir:origin [ fhir:v "1"^^xsd:integer ] ; fhir:params [ fhir:v "/$get-satisfaction" ] ] ] [ fhir:assert [ fhir:description [ fhir:v "Confirm that the returned response code is 200 OK." ] ; fhir:direction [ fhir:v "response" ] ; fhir:responseCode [ fhir:v "200" ] ; fhir:warningOnly [ fhir:v "false"^^xsd:boolean ] ] ] [ fhir:assert [ fhir:description [ fhir:v "Confirm that the returned response payload is a Parameters resource." ] ; fhir:direction [ fhir:v "response" ] ; fhir:resource [ fhir:v "Parameters" ] ; fhir:warningOnly [ fhir:v "false"^^xsd:boolean ] ] ] [ fhir:assert [ fhir:description [ fhir:v "Confirm that the returned Parameters contains a measurement parameter." ] ; fhir:direction [ fhir:v "response" ] ; fhir:expression [ fhir:v "Parameters.parameter.where(name = 'measurement').exists()" ] ; fhir:warningOnly [ fhir:v "false"^^xsd:boolean ] ] ] [ fhir:assert [ fhir:description [ fhir:v "Confirm that the returned Parameters contains an interpretation parameter." ] ; fhir:direction [ fhir:v "response" ] ; fhir:expression [ fhir:v "Parameters.parameter.where(name = 'interpretation').exists()" ] ; fhir:warningOnly [ fhir:v "false"^^xsd:boolean ] ] ] ) ] ) . # # -------------------------------------------------------------------------------------