{
"description": "This is a subset of the full [terminology ecosystem tests](https://github.com/HL7/fhir-tx-ecosystem-ig/tree/main/tests)",
"_filename": "example/TestPlan-tx-example.json",
"package_name": "hl7.fhir.uv.testing",
"date": null,
"publisher": "HL7 International / FHIR Infrastructure",
"resourceDefinition": "http://hl7.org/fhir/StructureDefinition/TestPlan|0.1.0-snapshot1",
"name": null,
"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)"
} ],
"type": null,
"experimental": null,
"resourceType": "TestPlan",
"scope": [ {
"reference": "http://hl7.org/fhir/StructureDefinition/CodeSystem"
}, {
"reference": "http://hl7.org/fhir/StructureDefinition/ValueSet"
} ],
"title": "Terminology Ecosystem Test Plan",
"package_version": "0.1.0-snapshot1",
"status": "draft",
"id": "cfb395e7-b9bc-404a-bad6-5b02084d1b92",
"kind": null,
"url": "http://hl7.org/fhir/TestPlan/tx-example",
"suite": [ {
"name": "metadata",
"test": [ {
"name": "metadata",
"expected": [ {
"file": "capstmt.json",
"name": "response"
} ],
"operation": "metadata",
"description": "Check that the minimum expected things are found in the server CapabilityStatement"
} ],
"description": "These tests apply to all servers"
}, {
"mode": "general",
"name": "simple-cases",
"test": [ {
"name": "simple-expand-all",
"input": [ {
"file": "simple/simple-expand-all-request-parameters.json",
"name": "request"
} ],
"expected": [ {
"file": "simple/simple-expand-all-response-valueSet.json",
"name": "response"
} ],
"operation": "expand",
"description": "Expansion containing all the code system"
}, {
"mode": "tx.fhir.org",
"name": "simple-expand-isa-o2",
"input": [ {
"file": "simple/simple-expand-isa-o2-request-parameters.json",
"name": "request"
} ],
"expected": [ {
"file": "simple/simple-expand-isa-o2-response-valueSet.json",
"name": "response"
} ],
"operation": "expand",
"description": "Expansion containing a filter on the code system using is-a relationship with paging (tx.fhir.org internal test)"
} ],
"input": [ {
"file": "simple/codesystem-simple.json"
}, {
"file": "simple/valueset-all.json"
} ],
"description": "basic tests, setting up for the more complex API tests to come"
} ],
"runner": "https://example.org/hapifhir/org.hl7.fhir.core/blob/master/documentation/tx-runner.md",
"version": null
}