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 xml | Download


<TestPlan xmlns="http://hl7.org/fhir">
  <id value="tx-example"/>
  <language value="en"/>
  <text>
    <status value="generated"/>
    <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>
</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>
  </text>
  <url value="http://hl7.org/fhir/TestPlan/tx-example"/>
  <title value="Terminology Ecosystem Test Plan"/>
  <status value="draft"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <description
               value="This is a subset of the full [terminology ecosystem tests](https://github.com/HL7/fhir-tx-ecosystem-ig/tree/main/tests)"/>
  <scope>
    <reference
               value="http://hl7.org/fhir/uv/tx-ecosystem/ImplementationGuide/hl7.fhir.uv.tx-ecosystem"/>
  </scope>
  <runner
          value="https://github.com/hapifhir/org.hl7.fhir.core/blob/master/documentation/tx-runner.md"/>
  <mode>
    <code value="general"/>
    <description
                 value="The tests a general purpose terminology server has to pass, but not codesystem specific terminology servers"/>
  </mode>
  <mode>
    <code value="tx.fhir.org"/>
    <description
                 value="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)"/>
  </mode>
  <suite>
    <name value="metadata"/>
    <description value="These tests apply to all servers"/>
    <test>
      <name value="metadata"/>
      <description
                   value="Check that the minimum expected things are found in the server CapabilityStatement"/>
      <operation value="metadata"/>
      <expected>
        <name value="response"/>
        <file value="capstmt.json"/>
      </expected>
    </test>
  </suite>
  <suite>
    <name value="simple-cases"/>
    <description
                 value="basic tests, setting up for the more complex API tests to come"/>
    <mode value="general"/>
    <input>
      <file value="simple/codesystem-simple.json"/>
    </input>
    <input>
      <file value="simple/valueset-all.json"/>
    </input>
    <test>
      <name value="simple-expand-all"/>
      <description value="Expansion containing all the code system"/>
      <operation value="expand"/>
      <input>
        <name value="request"/>
        <file value="simple/simple-expand-all-request-parameters.json"/>
      </input>
      <expected>
        <name value="response"/>
        <file value="simple/simple-expand-all-response-valueSet.json"/>
      </expected>
    </test>
    <test>
      <name value="simple-expand-isa-o2"/>
      <description
                   value="Expansion containing a filter on the code system using is-a relationship with paging (tx.fhir.org internal test)"/>
      <operation value="expand"/>
      <mode value="tx.fhir.org"/>
      <input>
        <name value="request"/>
        <file value="simple/simple-expand-isa-o2-request-parameters.json"/>
      </input>
      <expected>
        <name value="response"/>
        <file value="simple/simple-expand-isa-o2-response-valueSet.json"/>
      </expected>
    </test>
  </suite>
</TestPlan>