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="DEVSATGoaldynamicreadvalidatejson"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: TestScript</b><a name="DEVSATGoaldynamicreadvalidatejson"> </a><a name="hcDEVSATGoaldynamicreadvalidatejson"> </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 "DEVSATGoaldynamicreadvalidatejson" </p></div><p><b>url</b>: <code>http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/TestScript/DEVSATGoaldynamicreadvalidatejson</code></p><p><b>version</b>: 0.2.0</p><p><b>name</b>: DEVSATGoaldynamicreadvalidatejson</p><p><b>title</b>: HL7 FHIR R4 TestScript Dynamic Read Validate DEVSAT-Goal JSON</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 DEVSAT-Goal resource read and profile validation using #json format</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><p><b>profile</b>: <a href="http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/StructureDefinition/dev-satisfaction-goal">http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/StructureDefinition/dev-satisfaction-goal</a> "DEVSATGoal"</p><h3>Variables</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Name</b></td><td><b>DefaultValue</b></td><td><b>Description</b></td><td><b>Hint</b></td></tr><tr><td style="display: none">*</td><td>resource_id</td><td>example</td><td>Enter a known resource id on the destination system.</td><td>[resource.id]</td></tr></table><blockquote><p><b>test</b></p><blockquote><p><b>id</b></p>PatientReadValidate</blockquote><p><b>name</b>: PatientReadValidate</p><p><b>description</b>: Test DEVSAT-Goal resource read on destination server and assert returned resource passes validation</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>Resource</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>Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')</td><td>Goal</td><td>ResourceRead</td><td>json</td><td>json</td><td>1</td><td>true</td><td>1</td><td>/${resource_id}</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 the specified resource.</td><td>response</td><td>Goal</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>ValidateProfileId</b></td><td><b>WarningOnly</b></td></tr><tr><td style="display: none">*</td><td>Confirm that the returned resource conforms to the specified profile.</td><td>response</td><td>DEVSATGoalProfile</td><td>false</td></tr></table></blockquote></blockquote></div>
</text>
<url
value="http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/TestScript/DEVSATGoaldynamicreadvalidatejson"/>
<version value="0.2.0"/>
<name value="DEVSATGoaldynamicreadvalidatejson"/>
<title
value="HL7 FHIR R4 TestScript Dynamic Read Validate DEVSAT-Goal JSON"/>
<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 DEVSAT-Goal resource read and profile validation using #json format"/>
<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>
<profile id="DEVSATGoalProfile">🔗
<reference
value="http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/StructureDefinition/dev-satisfaction-goal"/>
</profile>
<variable>
<name value="resource_id"/>
<defaultValue value="example"/>
<description
value="Enter a known resource id on the destination system."/>
<hint value="[resource.id]"/>
</variable>
<test id="PatientReadValidate">
<name value="PatientReadValidate"/>
<description
value="Test DEVSAT-Goal resource read on destination server and assert returned resource passes validation"/>
<action>
<operation>
<type>
<system
value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
<code value="read"/>
</type>
<resource value="Goal"/>
<description value="ResourceRead"/>
<accept value="json"/>
<contentType value="json"/>
<destination value="1"/>
<encodeRequestUrl value="true"/>
<origin value="1"/>
<params value="/${resource_id}"/>
</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 the specified resource."/>
<direction value="response"/>
<resource value="Goal"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<description
value="Confirm that the returned resource conforms to the specified profile."/>
<direction value="response"/>
<validateProfileId value="DEVSATGoalProfile"/>
<warningOnly value="false"/>
</assert>
</action>
</test>
</TestScript>