FHIR Testing IG, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0-SNAPSHOT built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-testing-ig/ and changes regularly. See the Directory of published versions
| Page standards status: Informative |
<TestPlan xmlns="http://hl7.org/fhir">
<id value="example"/>
<language value="en"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><p class="res-header-id"><b>Generated Narrative: TestPlan example</b></p><a name="example"> </a><a name="hcexample"> </a><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">Language: en</p></div><p><b>url</b>: <a href="http://hl7.org/fhir/TestPlan/example">http://hl7.org/fhir/TestPlan/example</a></p><p><b>identifier</b>: <code>urn:oid:0.1.2.3.4.5.6.7</code>/1234</p><p><b>title</b>: Example Test Plan</p><p><b>status</b>: Draft</p><p><b>publisher</b>: HL7 International / FHIR Infrastructure</p><p><b>description</b>: </p><div><p>This test plan describes a manual test that a given observation can be read from the server using POSTMan. The user is instructed in the documentation to perform a POSTMan get with the $id in the URL and the Accept header, and compare with the expected output.</p>
</div><h3>Scopes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><a href="http://hl7.org/fhir/R5/observation.html">Observation</a></td></tr></table><p><b>runner</b>: <a href="http://example.org/testing/my-manual-runner">http://example.org/testing/my-manual-runner</a></p><blockquote><p><b>suite</b></p><p><b>name</b>: Basic Observation Handling</p><blockquote><p><b>test</b></p><p><b>name</b>: obs-read</p><p><b>description</b>: Read a JSON formatted Observation</p><p><b>operation</b>: postman/GET</p></blockquote></blockquote><p><b style="color: maroon">Exception Generating Narrative: Unable to resolve content reference http://hl7.org/fhir/StructureDefinition/TestPlan#TestPlan.parameter trying to resolve TestPlan.suite.test.parameter </b></p></div>
</text>
<url value="http://hl7.org/fhir/TestPlan/example"/>
<identifier>
<system value="urn:oid:0.1.2.3.4.5.6.7"/>
<value value="1234"/>
</identifier>
<title value="Example Test Plan"/>
<status value="draft"/>
<publisher value="HL7 International / FHIR Infrastructure"/>
<description
value="This test plan describes a manual test that a given observation can be read from the server using POSTMan. The user is instructed in the documentation to perform a POSTMan get with the $id in the URL and the Accept header, and compare with the expected output."/>
<scope>
<reference value="http://hl7.org/fhir/StructureDefinition/Observation"/>
</scope>
<runner value="http://example.org/testing/my-manual-runner"/>
<suite>
<name value="Basic Observation Handling"/>
<test>
<name value="obs-read"/>
<description value="Read a JSON formatted Observation"/>
<operation value="postman/GET"/>
<parameter>
<name value="$id"/>
<valueString value="123124"/>
</parameter>
<parameter>
<name value="Accept"/>
<valueString value="application/fhir+json"/>
</parameter>
<expected>
<name value="response"/>
<file value="response1.json"/>
</expected>
</test>
</suite>
</TestPlan>