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

:

Page standards status: Informative

Raw xml | Download


<TestReport xmlns="http://hl7.org/fhir">
  <id value="testreport-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: TestReport testreport-example</b></p><a name="testreport-example"> </a><a name="hctestreport-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>identifier</b>: <a href="http://terminology.hl7.org/6.5.0/NamingSystem-uri.html" title="As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt 

This oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: 

Note that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.

This OID may also be used in CD.codeSystem.">Uniform Resource Identifier (URI)</a>/urn:oid:1.3.6.1.4.1.21367.2005.3.7.9878</p><p><b>status</b>: Completed</p><p><b>testScript</b>: <code>http://example.com/TestScript/testscript-example</code></p><p><b>result</b>: Pass</p><p><b>score</b>: 100.0</p><p><b>tester</b>: HL7 Execution Engine</p><p><b>issued</b>: 2016-10-07 08:25:34-0500</p><blockquote><p><b>participant</b></p><p><b>type</b>: Test Engine</p><p><b>uri</b>: <a href="http://projectcrucible.org">http://projectcrucible.org</a></p><p><b>display</b>: Crucible</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: Server</p><p><b>uri</b>: <a href="http://fhir3.healthintersections.com.au/open">http://fhir3.healthintersections.com.au/open</a></p><p><b>display</b>: HealthIntersections STU3</p></blockquote><blockquote><p><b>setup</b></p><blockquote><p><b>action</b></p><h3>Operations</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td style="display: none">*</td><td>Pass</td><td><div><p>DELETE Patient</p>
</div></td><td><a href="http://projectcrucible.org/permalink/1">http://projectcrucible.org/permalink/1</a></td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td style="display: none">*</td><td>Pass</td><td><div><p>HTTP 204</p>
</div></td><td>http://projectcrucible.org/permalink/1</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Operations</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td style="display: none">*</td><td>Pass</td><td><div><p>POST Patient/fixture-patient-create</p>
</div></td><td><a href="http://projectcrucible.org/permalink/1">http://projectcrucible.org/permalink/1</a></td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Result</b></td><td><b>Message</b></td><td><b>Detail</b></td></tr><tr><td style="display: none">*</td><td>Pass</td><td><div><p>HTTP 201</p>
</div></td><td>http://projectcrucible.org/permalink/1</td></tr></table></blockquote></blockquote><blockquote><p><b>test</b></p><blockquote><p><b>id</b></p>01-ReadPatient</blockquote><p><b>name</b>: Read Patient</p><p><b>description</b>: Read a Patient and validate response.</p><blockquote><p><b>action</b></p></blockquote></blockquote><p><b style="color: maroon">Exception Generating Narrative: Unable to resolve content reference http://hl7.org/fhir/StructureDefinition/TestReport#TestReport.setup.action.operation trying to resolve TestReport.test.action.operation </b></p></div>
  </text>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:1.3.6.1.4.1.21367.2005.3.7.9878"/>
  </identifier>
  <status value="completed"/>
  <testScript value="http://example.com/TestScript/testscript-example"/>
  <result value="pass"/>
  <score value="100.0"/>
  <tester value="HL7 Execution Engine"/>
  <issued value="2016-10-07T08:25:34-05:00"/>
  <participant>
    <type value="test-engine"/>
    <uri value="http://projectcrucible.org"/>
    <display value="Crucible"/>
  </participant>
  <participant>
    <type value="server"/>
    <uri value="http://fhir3.healthintersections.com.au/open"/>
    <display value="HealthIntersections STU3"/>
  </participant>
  <setup>
    <action>
      <operation>
        <result value="pass"/>
        <message value="DELETE Patient"/>
        <detail value="http://projectcrucible.org/permalink/1"/>
      </operation>
    </action>
    <action>
      <assert>
        <result value="pass"/>
        <message value="HTTP 204"/>
        <detail value="http://projectcrucible.org/permalink/1"/>
      </assert>
    </action>
    <action>
      <operation>
        <result value="pass"/>
        <message value="POST Patient/fixture-patient-create"/>
        <detail value="http://projectcrucible.org/permalink/1"/>
      </operation>
    </action>
    <action>
      <assert>
        <result value="pass"/>
        <message value="HTTP 201"/>
        <detail value="http://projectcrucible.org/permalink/1"/>
      </assert>
    </action>
  </setup>
  <test id="01-ReadPatient">
    <name value="Read Patient"/>
    <description value="Read a Patient and validate response."/>
    <action>
      <operation>
        <result value="pass"/>
        <message value="GET Patient/fixture-patient-create"/>
        <detail value="http://projectcrucible.org/permalink/2"/>
      </operation>
    </action>
    <action>
      <assert>
        <result value="pass"/>
        <message value="HTTP 200"/>
        <detail value="http://projectcrucible.org/permalink/2"/>
      </assert>
    </action>
    <action>
      <assert>
        <result value="pass"/>
        <message value="Last-Modified Present"/>
        <detail value="http://projectcrucible.org/permalink/2"/>
      </assert>
    </action>
    <action>
      <assert>
        <result value="pass"/>
        <message value="Response is Patient"/>
        <detail value="http://projectcrucible.org/permalink/2"/>
      </assert>
    </action>
    <action>
      <assert>
        <result value="pass"/>
        <message value="Response validates"/>
        <detail value="http://projectcrucible.org/permalink/2"/>
      </assert>
    </action>
    <action>
      <assert>
        <result value="pass"/>
        <message value="Patient.name.family 'Chalmers'"/>
        <detail value="http://projectcrucible.org/permalink/2"/>
      </assert>
    </action>
    <action>
      <assert>
        <result value="pass"/>
        <message value="Patient.name.given 'Peter'"/>
        <detail value="http://projectcrucible.org/permalink/2"/>
      </assert>
    </action>
    <action>
      <assert>
        <result value="pass"/>
        <message value="Patient.name.family 'Chalmers'"/>
        <detail value="http://projectcrucible.org/permalink/2"/>
      </assert>
    </action>
    <action>
      <assert>
        <result value="pass"/>
        <message value="Patient.name.family 'Chalmers'"/>
        <detail value="http://projectcrucible.org/permalink/2"/>
      </assert>
    </action>
    <action>
      <assert>
        <result value="pass"/>
        <message value="Patient expected values."/>
        <detail value="http://projectcrucible.org/permalink/2"/>
      </assert>
    </action>
  </test>
  <teardown>
    <action>
      <operation>
        <result value="pass"/>
        <message value="DELETE Patient/fixture-patient-create."/>
        <detail value="http://projectcrucible.org/permalink/3"/>
      </operation>
    </action>
  </teardown>
</TestReport>