US Core Testing Guide - Local Development build (v4.0.0-1). See the Directory of published versions
Active as of 2023-08-25 |
<TestPlan xmlns="http://hl7.org/fhir">
<id value="us-core-testplan-allergy-validate"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p><b>Contact:</b> (HL7 FHIR Infrastructure WG: <a href="https://hl7.org/Special/committees/fiwg">https://hl7.org/Special/commit...</a>, Richard Ettema: <a href="mailto:mailto:richard.ettema@aegis.net">mailto:richard.ettema@aegis.net</a>)</p><p><b>Category: </b><span title="Codes: {http://hl7.org/fhir/testscript-scope-phase-codes integration}">Integration</span></p><p><b>Test Plan Scope: </b><a href="http://hl7.org/fhir/us/core/STU4/StructureDefinition-us-core-allergyintolerance.html">http://hl7.org/fhir/us/core/STU4/StructureDefinition-us-core-allergyintolerance.html</a></p><p><b>Test Tools: </b></p><div><p><a href="https://touchstone.com">Touchstone FHIR Testing Platform</a></p>
</div><p><b>Test Plan Dependency:</b></p><ul><li><div><p><strong>Requirements traceability:</strong> <a href="Requirements-us-core-req-allergy-responder.html">Requirements-us-core-req-allergy-responder</a></p>
</div></li></ul><h2>Test Case - Sequence1</h2><h3>Test Case Dependency</h3><ul><li><div><p><strong>Requirements traceability:</strong> <a href="Requirements-us-core-req-allergy-responder.html#us-core-req-allergy-responder-01">us-core-req-allergy-responder-01</a></p>
</div></li></ul><h3>Test Run 1</h3><div><p>Read JSON formatted AllergyIntolerance and validate against the US Core 4.0.0 AllergyIntolerance profile.</p>
</div><table class="grid"><tr><td><b>Language</b></td><td><b>Source[x]</b></td></tr><tr><td><span title="Codes: {http://example.org/fhir/testplan/language testscript}">testscript</span></td><td><a href="TestScript-Allergydynamicreadvalidatejson.html">TestScript/Allergydynamicreadvalidatejson</a> "Allergydynamicreadvalidatejson"</td></tr></table><h3>Test Run 2</h3><div><p>Read XML formatted AllergyIntolerance and validate against the US Core 4.0.0 AllergyIntolerance profile.</p>
</div><table class="grid"><tr><td><b>Language</b></td><td><b>Source[x]</b></td></tr><tr><td><span title="Codes: {http://example.org/fhir/testplan/language testscript}">testscript</span></td><td><a href="TestScript-Allergydynamicreadvalidatexml.html">TestScript/Allergydynamicreadvalidatexml</a> "Allergydynamicreadvalidatexml"</td></tr></table><h3>Test Data</h3><table class="grid"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Source[x]</b></td></tr><tr><td><span title="{http://example.org/fhir/testplan/testData-type example}">example</span></td><td><a href="AllergyIntolerance-example.html">AllergyIntolerance/example</a></td><td>Example AllergyIntolerance resource from the US Core 4.0.0 Implementation Guide</td></tr></table></div>
</text>
<url
value="http://hl7.org/fhir/us/core-tg/TestPlan/us-core-testplan-allergy-validate"/>
<version value="4.0.0-1"/>
<name value="USCoreTestPlanAllergyValidate"/>
<title value="HL7 FHIR R4 US Core AllergyIntolerance Validate"/>
<status value="active"/>
<date value="2023-08-25"/>
<publisher value="HL7 FHIR Infrastructure WG"/>
<contact>
<name value="HL7 FHIR Infrastructure WG"/>
<telecom>
<system value="url"/>
<value value="https://hl7.org/Special/committees/fiwg"/>
</telecom>
</contact>
<contact>
<name value="Richard Ettema"/>
<telecom>
<system value="email"/>
<value value="mailto:richard.ettema@aegis.net"/>
</telecom>
</contact>
<description
value="Example TestPlan for resource AllergyIntolerance read and profile validation"/>
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="US"/>
</coding>
</jurisdiction>
<category>
<coding>
<system value="http://hl7.org/fhir/testscript-scope-phase-codes"/>
<code value="integration"/>
</coding>
</category>
<scope>
<reference
value="http://hl7.org/fhir/us/core/STU4/StructureDefinition-us-core-allergyintolerance.html"/>
</scope>
<testTools
value="[Touchstone FHIR Testing Platform](https://touchstone.com)"/>
<dependency>
<description
value="**Requirements traceability:** [Requirements-us-core-req-allergy-responder](Requirements-us-core-req-allergy-responder.html)"/>
</dependency>
<testCase>
<sequence value="1"/>
<dependency>
<description
value="**Requirements traceability:** [us-core-req-allergy-responder-01](Requirements-us-core-req-allergy-responder.html#us-core-req-allergy-responder-01)"/>
</dependency>
<testRun>
<narrative
value="Read JSON formatted AllergyIntolerance and validate against the US Core 4.0.0 AllergyIntolerance profile."/>
<script>
<language>
<coding>
<system value="http://example.org/fhir/testplan/language"/>
<code value="testscript"/>
</coding>
</language>
<sourceReference>
<reference value="TestScript/Allergydynamicreadvalidatejson"/>
</sourceReference>
</script>
</testRun>
<testRun>
<narrative
value="Read XML formatted AllergyIntolerance and validate against the US Core 4.0.0 AllergyIntolerance profile."/>
<script>
<language>
<coding>
<system value="http://example.org/fhir/testplan/language"/>
<code value="testscript"/>
</coding>
</language>
<sourceReference>
<reference value="TestScript/Allergydynamicreadvalidatexml"/>
</sourceReference>
</script>
</testRun>
<testData>
<type>
<system value="http://example.org/fhir/testplan/testData-type"/>
<code value="example"/>
</type>
<content>
<reference value="AllergyIntolerance/example"/>
</content>
<sourceString
value="Example AllergyIntolerance resource from the US Core 4.0.0 Implementation Guide"/>
</testData>
</testCase>
</TestPlan>
IG © 2023+ HL7 FHIR Infrastructure WG. Package hl7.fhir.us.core-tg#4.0.0-1 based on FHIR 4.0.1. Generated 2023-09-06
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change