Developer Satisfaction
0.2.0 - ci-build
Developer Satisfaction - Local Development build (v0.2.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Active as of 2024-04-10 |
<TestScript xmlns="http://hl7.org/fhir">
<id value="DEVSATObservationgetsatxml"/>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: TestScript</b><a name="DEVSATObservationgetsatxml"> </a><a name="hcDEVSATObservationgetsatxml"> </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">Resource TestScript "DEVSATObservationgetsatxml" </p></div><p><b>Testing Scope Canonical Value</b>: <a href="OperationDefinition-dev-satisfaction-get-satisfaction.html">Get Satisfaction Operation</a></p><p><b>url</b>: <code>http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/TestScript/DEVSATObservationgetsatxml</code></p><p><b>version</b>: 0.2.0</p><p><b>name</b>: DEVSATObservationgetsatxml</p><p><b>title</b>: HL7 FHIR R4 TestScript Observation $get-satisfaction XML</p><p><b>status</b>: active</p><p><b>date</b>: 2024-04-10</p><p><b>publisher</b>: AEGIS.net, Inc.</p><p><b>contact</b>: AEGIS.net, Inc.: <a href="https://www.aegis.net">https://www.aegis.net</a>, Richard Ettema: <a href="mailto:mailto:richard.ettema@aegis.net">mailto:richard.ettema@aegis.net</a></p><p><b>description</b>: Example TestScript to test the Developer Satisfaction Observation $get-satisfaction operation</p><p><b>jurisdiction</b>: World <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (m49.htm#001)</span></p><p><b>copyright</b>: (c) Health Level 7 (HL7) International 2023</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: http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types 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: http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types code FHIR-Server = 'FHIR Server', stated as 'null')</td></tr></table><blockquote><p><b>test</b></p><blockquote><p><b>id</b></p>GetSatisfactionNoArgs</blockquote><p><b>name</b>: GetSatisfactionNoArgs</p><p><b>description</b>: Test Developer Satisfaction $get-satisfaction operation with no args on destination server and assert successful returned satisfaction value</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Type</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>ContentType</b></td><td><b>Destination</b></td><td><b>EncodeRequestUrl</b></td><td><b>Origin</b></td><td><b>Params</b></td></tr><tr><td style="display: none">*</td><td>$process-message (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code process-message = '$process-message', stated as 'null')</td><td>$get-satisfaction operation with no args</td><td>xml</td><td>xml</td><td>1</td><td>true</td><td>1</td><td>/$get-satisfaction</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>ResponseCode</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</td><td>Confirm that the returned response code is 200 OK.</td><td>response</td><td>200</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>Resource</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</td><td>Confirm that the returned response payload is a Parameters resource.</td><td>response</td><td>Parameters</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>Expression</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</td><td>Confirm that the returned Parameters contains a measurement parameter.</td><td>response</td><td>Parameters.parameter.where(name = 'measurement').exists()</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>Expression</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</td><td>Confirm that the returned Parameters contains an interpretation parameter.</td><td>response</td><td>Parameters.parameter.where(name = 'interpretation').exists()</td><td>false</td></tr></table></blockquote></blockquote></div>
</text>
<extension
url="http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/StructureDefinition/testing-scope">
<valueCanonical
value="http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/OperationDefinition/dev-satisfaction-get-satisfaction"/>
</extension>
<url
value="http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/TestScript/DEVSATObservationgetsatxml"/>
<version value="0.2.0"/>
<name value="DEVSATObservationgetsatxml"/>
<title value="HL7 FHIR R4 TestScript Observation $get-satisfaction XML"/>
<status value="active"/>
<date value="2024-04-10"/>
<publisher value="AEGIS.net, Inc."/>
<contact>
<name value="AEGIS.net, Inc."/>
<telecom>
<system value="url"/>
<value value="https://www.aegis.net"/>
</telecom>
</contact>
<contact>
<name value="Richard Ettema"/>
<telecom>
<system value="email"/>
<value value="mailto:richard.ettema@aegis.net"/>
</telecom>
</contact>
<description
value="Example TestScript to test the Developer Satisfaction Observation $get-satisfaction operation"/>
<jurisdiction>
<coding>
<system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
<code value="001"/>
<display value="World"/>
</coding>
</jurisdiction>
<copyright value="(c) Health Level 7 (HL7) International 2023"/>
<origin>
<index value="1"/>
<profile>
<system
value="http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types"/>
<code value="FHIR-Client"/>
</profile>
</origin>
<destination>
<index value="1"/>
<profile>
<system
value="http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types"/>
<code value="FHIR-Server"/>
</profile>
</destination>
<test id="GetSatisfactionNoArgs">
<name value="GetSatisfactionNoArgs"/>
<description
value="Test Developer Satisfaction $get-satisfaction operation with no args on destination server and assert successful returned satisfaction value"/>
<action>
<operation>
<type>
<system
value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
<code value="process-message"/>
</type>
<description value="$get-satisfaction operation with no args"/>
<accept value="xml"/>
<contentType value="xml"/>
<destination value="1"/>
<encodeRequestUrl value="true"/>
<origin value="1"/>
<params value="/$get-satisfaction"/>
</operation>
</action>
<action>
<assert>
<description
value="Confirm that the returned response code is 200 OK."/>
<direction value="response"/>
<responseCode value="200"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<description
value="Confirm that the returned response payload is a Parameters resource."/>
<direction value="response"/>
<resource value="Parameters"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<description
value="Confirm that the returned Parameters contains a measurement parameter."/>
<direction value="response"/>
<expression
value="Parameters.parameter.where(name = 'measurement').exists()"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<description
value="Confirm that the returned Parameters contains an interpretation parameter."/>
<direction value="response"/>
<expression
value="Parameters.parameter.where(name = 'interpretation').exists()"/>
<warningOnly value="false"/>
</assert>
</action>
</test>
</TestScript>