FHIR Testing
0.1.0 - ci-build

FHIR Testing, published by NHO. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/costateixeira/fhirtesting and changes regularly. See the Directory of published versions

: Gherkin test plan - XML Representation

Active as of 2024-08-13

Raw xml | Download



<TestPlan xmlns="http://hl7.org/fhir">
  <id value="testplan1"/>
  <url value="http://costateixeira.github.io/fhirtesting/TestPlan/testplan1"/>
  <version value="0.1.0"/>
  <title value="Gherkin test plan"/>
  <status value="active"/>
  <date value="2024-08-13T18:15:38+00:00"/>
  <publisher value="NHO"/>
  <contact>
    <name value="NHO"/>
    <telecom>
      <system value="url"/>
      <value value="http://Nho.one"/>
    </telecom>
  </contact>
  <testCase>
    <sequence value="1"/>
    <testRun>
      <narrative
                 value="**Test Measure**
   * Populate the server with some data and a Measure
   * call the $eval operation
   * Use JSONpath to check that the measure evaluates correctly"/>
      <script>
        <language>
          <coding>
            <code value="gherkin"/>
          </coding>
        </language>
        <sourceReference>🔗 
          <reference value="Binary/ghript-measure"/>
        </sourceReference>
      </script>
    </testRun>
  </testCase>
  <testCase>
    <sequence value="2"/>
    <testRun>
      <narrative
                 value="**Test Summary**
   * Populate the server with some data
   * call the $summary operation
   * check that the summary is generated
   * check that the summary was not persisted"/>
      <script>
        <language>
          <coding>
            <code value="gherkin"/>
          </coding>
        </language>
        <sourceReference>🔗 
          <reference value="Binary/ghript-summary"/>
        </sourceReference>
      </script>
    </testRun>
  </testCase>
</TestPlan>