FHIR Testing IG
0.1.0-SNAPSHOT - International flag

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

: Terminology Ecosystem Test Plan

Page standards status: Informative

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:TestPlan ;
  fhir:resourceDefinition http://hl7.org/fhir/StructureDefinition/TestPlan|0.1.0-SNAPSHOT ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "tx-example"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: TestPlan tx-example</b></p><a name=\"tx-example\"> </a><a name=\"hctx-example\"> </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/tx-example\">http://hl7.org/fhir/TestPlan/tx-example</a></p><p><b>title</b>: Terminology Ecosystem 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 is a subset of the full <a href=\"https://github.com/HL7/fhir-tx-ecosystem-ig/tree/main/tests\">terminology ecosystem tests</a></p>\n</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><code>http://hl7.org/fhir/uv/tx-ecosystem/ImplementationGuide/hl7.fhir.uv.tx-ecosystem</code></td></tr></table><p><b>runner</b>: <a href=\"https://github.com/hapifhir/org.hl7.fhir.core/blob/master/documentation/tx-runner.md\">https://github.com/hapifhir/org.hl7.fhir.core/blob/master/documentation/tx-runner.md</a></p><blockquote><p><b>mode</b></p><p><b>code</b>: general</p><p><b>description</b>: The tests a general purpose terminology server has to pass, but not codesystem specific terminology servers</p></blockquote><blockquote><p><b>mode</b></p><p><b>code</b>: tx.fhir.org</p><p><b>description</b>: 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)</p></blockquote><blockquote><p><b>suite</b></p><p><b>name</b>: metadata</p><p><b>description</b>: These tests apply to all servers</p><blockquote><p><b>test</b></p><p><b>name</b>: metadata</p><p><b>description</b>: Check that the minimum expected things are found in the server CapabilityStatement</p><p><b>operation</b>: metadata</p></blockquote></blockquote><p><b style=\"color: maroon\">Exception Generating Narrative: Unable to resolve content reference http://hl7.org/fhir/StructureDefinition/TestPlan#TestPlan.suite.input trying to resolve TestPlan.suite.test.expected </b></p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/TestPlan/tx-example"^^xsd:anyURI] ; # 
  fhir:title [ fhir:v "Terminology Ecosystem Test Plan"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # 
  fhir:description [ fhir:v "This is a subset of the full [terminology ecosystem tests](https://github.com/HL7/fhir-tx-ecosystem-ig/tree/main/tests)"] ; # 
  fhir:scope ( [
fhir:reference [
fhir:v "http://hl7.org/fhir/uv/tx-ecosystem/ImplementationGuide/hl7.fhir.uv.tx-ecosystem"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/tx-ecosystem/ImplementationGuide/hl7.fhir.uv.tx-ecosystem>     ]
  ] ) ; # 
  fhir:runner [ fhir:v "https://github.com/hapifhir/org.hl7.fhir.core/blob/master/documentation/tx-runner.md"^^xsd:anyURI] ; # 
  fhir:mode ( [
fhir:code [ fhir:v "general" ] ;
fhir:description [ fhir:v "The tests a general purpose terminology server has to pass, but not codesystem specific terminology servers" ]
  ] [
fhir:code [ fhir:v "tx.fhir.org" ] ;
fhir:description [ fhir:v "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)" ]
  ] ) ; # 
  fhir:suite ( [
fhir:name [ fhir:v "metadata" ] ;
fhir:description [ fhir:v "These tests apply to all servers" ] ;
    ( fhir:test [
fhir:name [ fhir:v "metadata" ] ;
fhir:description [ fhir:v "Check that the minimum expected things are found in the server CapabilityStatement" ] ;
fhir:operation [ fhir:v "metadata" ] ;
      ( fhir:expected [
fhir:name [ fhir:v "response" ] ;
fhir:file [ fhir:v "capstmt.json" ]       ] )     ] )
  ] [
fhir:name [ fhir:v "simple-cases" ] ;
fhir:description [ fhir:v "basic tests, setting up for the more complex API tests to come" ] ;
fhir:mode [ fhir:v "general" ] ;
    ( fhir:input [
fhir:file [ fhir:v "simple/codesystem-simple.json" ]     ] [
fhir:file [ fhir:v "simple/valueset-all.json" ]     ] ) ;
    ( fhir:test [
fhir:name [ fhir:v "simple-expand-all" ] ;
fhir:description [ fhir:v "Expansion containing all the code system" ] ;
fhir:operation [ fhir:v "expand" ] ;
      ( fhir:input [
fhir:name [ fhir:v "request" ] ;
fhir:file [ fhir:v "simple/simple-expand-all-request-parameters.json" ]       ] ) ;
      ( fhir:expected [
fhir:name [ fhir:v "response" ] ;
fhir:file [ fhir:v "simple/simple-expand-all-response-valueSet.json" ]       ] )     ] [
fhir:name [ fhir:v "simple-expand-isa-o2" ] ;
fhir:description [ fhir:v "Expansion containing a filter on the code system using is-a relationship with paging (tx.fhir.org internal test)" ] ;
fhir:operation [ fhir:v "expand" ] ;
fhir:mode [ fhir:v "tx.fhir.org" ] ;
      ( fhir:input [
fhir:name [ fhir:v "request" ] ;
fhir:file [ fhir:v "simple/simple-expand-isa-o2-request-parameters.json" ]       ] ) ;
      ( fhir:expected [
fhir:name [ fhir:v "response" ] ;
fhir:file [ fhir:v "simple/simple-expand-isa-o2-response-valueSet.json" ]       ] )     ] )
  ] ) . #