US Core Testing Guide - Local Development build (v3.1.1-1). See the Directory of published versions
Active as of 2023-08-25 |
{
"resourceType" : "TestPlan",
"id" : "us-core-testplan-allergy-validate",
"text" : {
"status" : "generated",
"div" : "<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/STU3.1.1/StructureDefinition-us-core-allergyintolerance.html\">http://hl7.org/fhir/us/core/STU3.1.1/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>\n</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>\n</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>\n</div></li></ul><h3>Test Run 1</h3><div><p>Read JSON formatted AllergyIntolerance and validate against the US Core 3.1.1 AllergyIntolerance profile.</p>\n</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 3.1.1 AllergyIntolerance profile.</p>\n</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 3.1.1 Implementation Guide</td></tr></table></div>"
},
"url" : "http://hl7.org/fhir/us/core-tg/TestPlan/us-core-testplan-allergy-validate",
"version" : "3.1.1-1",
"name" : "USCoreTestPlanAllergyValidate",
"title" : "HL7 FHIR R4 US Core AllergyIntolerance Validate",
"status" : "active",
"date" : "2023-08-25",
"publisher" : "HL7 FHIR Infrastructure WG",
"contact" : [
{
"name" : "HL7 FHIR Infrastructure WG",
"telecom" : [
{
"system" : "url",
"value" : "https://hl7.org/Special/committees/fiwg"
}
]
},
{
"name" : "Richard Ettema",
"telecom" : [
{
"system" : "email",
"value" : "mailto:richard.ettema@aegis.net"
}
]
}
],
"description" : "Example TestPlan for resource AllergyIntolerance read and profile validation",
"jurisdiction" : [
{
"coding" : [
{
"system" : "urn:iso:std:iso:3166",
"code" : "US"
}
]
}
],
"category" : [
{
"coding" : [
{
"system" : "http://hl7.org/fhir/testscript-scope-phase-codes",
"code" : "integration"
}
]
}
],
"scope" : [
{
"reference" : "http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-allergyintolerance.html"
}
],
"testTools" : "[Touchstone FHIR Testing Platform](https://touchstone.com)",
"dependency" : [
{
"description" : "**Requirements traceability:** [Requirements-us-core-req-allergy-responder](Requirements-us-core-req-allergy-responder.html)"
}
],
"testCase" : [
{
"sequence" : 1,
"dependency" : [
{
"description" : "**Requirements traceability:** [us-core-req-allergy-responder-01](Requirements-us-core-req-allergy-responder.html#us-core-req-allergy-responder-01)"
}
],
"testRun" : [
{
"narrative" : "Read JSON formatted AllergyIntolerance and validate against the US Core 3.1.1 AllergyIntolerance profile.",
"script" : {
"language" : {
"coding" : [
{
"system" : "http://example.org/fhir/testplan/language",
"code" : "testscript"
}
]
},
"sourceReference" : {
"reference" : "TestScript/Allergydynamicreadvalidatejson"
}
}
},
{
"narrative" : "Read XML formatted AllergyIntolerance and validate against the US Core 3.1.1 AllergyIntolerance profile.",
"script" : {
"language" : {
"coding" : [
{
"system" : "http://example.org/fhir/testplan/language",
"code" : "testscript"
}
]
},
"sourceReference" : {
"reference" : "TestScript/Allergydynamicreadvalidatexml"
}
}
}
],
"testData" : [
{
"type" : {
"system" : "http://example.org/fhir/testplan/testData-type",
"code" : "example"
},
"content" : {
"reference" : "AllergyIntolerance/example"
},
"sourceString" : "Example AllergyIntolerance resource from the US Core 3.1.1 Implementation Guide"
}
]
}
]
}
IG © 2023+ HL7 FHIR Infrastructure WG. Package hl7.fhir.us.core-tg#3.1.1-1 based on FHIR 4.0.1. Generated 2023-09-06
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change