FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example TestPlan/example (XML)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

Raw XML (canonical form + also see XML Format Specification)

Example of testplan (id = "example")

<?xml version="1.0" encoding="UTF-8"?>

<TestPlan xmlns="http://hl7.org/fhir">
  <id value="example"/> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/> 
  </extension> 
  <url value="http://hl7.org/fhir/TestPlan/testplan-example"/> 
  <identifier> 
    <system value="urn:oid:0.1.2.3.4.5.6.7"/> 
    <value value="1234"/> 
  </identifier> 
  <status value="draft"/> 
  <publisher value="HL7 International / FHIR Infrastructure"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://www.hl7.org/Special/committees/fiwg"/> 
    </telecom> 
  </contact> 
  <scope> 
    <artifactCanonical value="http://hl7.org/fhir/StructureDefinition/Observation"/> 
  </scope> 
  <testCase> 
    <key value="obs-read"/> 
    <testRun> 
      <narrative value="Read a JSON formatted Observation"/> 
      <script> 
        <language> 
          <coding> 
            <system value="http://hl7.org/fhir/testplan-script-language"/> 
            <code value="postman"/> 
            <display value="Postman"/> 
          </coding> 
        </language> 
        <sourceString value="Postman test script contents"/> 
      </script> 
    </testRun> 
    <testData> 
      <type/>  
      <sourceString value="Description of observation test data"/> 
    </testData> 
  </testCase> 
</TestPlan> 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.