FHIR IG analytics| Package | hl7.fhir.uv.testing |
| Resource Type | TestPlan |
| Id | TestPlan-tx-example.json |
| FHIR Version | R6 |
| Source | https://build.fhir.org/ig/HL7/fhir-testing-ig/TestPlan-tx-example.html |
| URL | http://hl7.org/fhir/TestPlan/tx-example |
| Status | draft |
| Title | Terminology Ecosystem Test Plan |
| Realm | uv |
| Authority | hl7 |
| Description | This is a subset of the full [terminology ecosystem tests](https://github.com/HL7/fhir-tx-ecosystem-ig/tree/main/tests) |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: TestPlan tx-example
Language: en
url: http://hl7.org/fhir/TestPlan/tx-example
title: Terminology Ecosystem Test Plan
status: Draft
publisher: HL7 International / FHIR Infrastructure
description:
This is a subset of the full terminology ecosystem tests
scope
reference: CodeSystem
scope
reference: ValueSet
runner: https://example.org/hapifhir/org.hl7.fhir.core/blob/master/documentation/tx-runner.md
mode
code: general
description: The tests a general purpose terminology server has to pass, but not codesystem specific terminology servers
mode
code: tx.fhir.org
description: Tests that are only applicable for tx.fhir.org. Generally these are internal QA tests that haven't been made interopable (and don't need to be)
suite
name: metadata
description: These tests apply to all servers
test
name: metadata
description: Check that the minimum expected things are found in the server CapabilityStatement
operation: metadata
Expecteds
Name File response capstmt.json
suite
name: simple-cases
description: basic tests, setting up for the more complex API tests to come
mode: general
input
file: simple/codesystem-simple.json
input
file: simple/valueset-all.json
test
name: simple-expand-all
description: Expansion containing all the code system
operation: expand
Inputs
Name File request simple/simple-expand-all-request-parameters.json Expecteds
Name File response simple/simple-expand-all-response-valueSet.json test
name: simple-expand-isa-o2
description: Expansion containing a filter on the code system using is-a relationship with paging (tx.fhir.org internal test)
operation: expand
mode: tx.fhir.org
Inputs
Name File request simple/simple-expand-isa-o2-request-parameters.json Expecteds
Name File response simple/simple-expand-isa-o2-response-valueSet.json
{
"resourceType": "TestPlan",
"resourceDefinition": "http://hl7.org/fhir/StructureDefinition/TestPlan|0.1.0-SNAPSHOT",
"id": "tx-example",
"language": "en",
"text": {
"status": "generated",
"div": "<!-- snip (see above) -->"
},
"url": "http://hl7.org/fhir/TestPlan/tx-example",
"title": "Terminology Ecosystem Test Plan",
"status": "draft",
"publisher": "HL7 International / FHIR Infrastructure",
"description": "This is a subset of the full [terminology ecosystem tests](https://github.com/HL7/fhir-tx-ecosystem-ig/tree/main/tests)",
"scope": [
{
"reference": "http://hl7.org/fhir/StructureDefinition/CodeSystem"
},
{
"reference": "http://hl7.org/fhir/StructureDefinition/ValueSet"
}
],
"runner": "https://example.org/hapifhir/org.hl7.fhir.core/blob/master/documentation/tx-runner.md",
"mode": [
{
"code": "general",
"description": "The tests a general purpose terminology server has to pass, but not codesystem specific terminology servers"
},
{
"code": "tx.fhir.org",
"description": "Tests that are only applicable for tx.fhir.org. Generally these are internal QA tests that haven't been made interopable (and don't need to be)"
}
],
"suite": [
{
"name": "metadata",
"description": "These tests apply to all servers",
"test": [
{
"name": "metadata",
"description": "Check that the minimum expected things are found in the server CapabilityStatement",
"operation": "metadata",
"expected": [
{
"name": "response",
"file": "capstmt.json"
}
]
}
]
},
{
"name": "simple-cases",
"description": "basic tests, setting up for the more complex API tests to come",
"mode": "general",
"input": [
{
"file": "simple/codesystem-simple.json"
},
{
"file": "simple/valueset-all.json"
}
],
"test": [
{
"name": "simple-expand-all",
"description": "Expansion containing all the code system",
"operation": "expand",
"input": [
{
"name": "request",
"file": "simple/simple-expand-all-request-parameters.json"
}
],
"expected": [
{
"name": "response",
"file": "simple/simple-expand-all-response-valueSet.json"
}
]
},
{
"name": "simple-expand-isa-o2",
"description": "Expansion containing a filter on the code system using is-a relationship with paging (tx.fhir.org internal test)",
"operation": "expand",
"mode": "tx.fhir.org",
"input": [
{
"name": "request",
"file": "simple/simple-expand-isa-o2-request-parameters.json"
}
],
"expected": [
{
"name": "response",
"file": "simple/simple-expand-isa-o2-response-valueSet.json"
}
]
}
]
}
]
}