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
<Bundle xmlns="http://hl7.org/fhir">
<id value="testbundle0"/>
<type value="transaction"/>
<entry>
<fullUrl value="urn:uuid:05350493-265e-4f8d-87b3-549b19bd5c9d"/>
<resource>
<TestPlan>
<id value="testplan1"/>
<text>
<status value="empty"/>
<div xmlns="http://www.w3.org/1999/xhtml">No text</div>
</text>
<title value="Gherkin test plan"/>
<status value="active"/>
<description value="Test Plan - Simple content testing"/>
<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>
</resource>
<request>
<method value="PUT"/>
<url value="TestPlan"/>
</request>
</entry>
<entry>
<fullUrl value="urn:uuid:05350493-265e-4f8d-87b3-549b19bd5c9e"/>
<resource>
<Binary>
<id value="ghript-measure"/>
<contentType value="text/x-gherkin"/>
<data
value="RmVhdHVyZTogVGVzdCBGSElSIEludGVyZmFjZQ0KDQpCYWNrZ3JvdW5kOg0KICAgICogdXJsICdodHRwOi8vbG9jYWxob3N0OjgwODAvZmhpcicNCiAgICAqIGhlYWRlciBBY2NlcHQgPSAnYXBwbGljYXRpb24vZmhpcitqc29uO2ZoaXJWZXJzaW9uPTQuMCcNCiAgIC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zb3VyY2VUeXBlDQogICAgKiBtYXRjaCByZXNvdXJjZVR5cGUgPT0gJ01lYXN1cmVSZXBvcnQnDQoNCg=="/>
</Binary>
</resource>
<request>
<method value="PUT"/>
<url value="Binary"/>
</request>
</entry>
<entry>
<fullUrl value="urn:uuid:05350493-265e-4f8d-87b3-549b19bd5c9f"/>
<resource>
<Binary>
<id value="ghript-summary"/>
<contentType value="text/x-gherkin"/>
<data
value="RmVhdHVyZTogVGVzdCBGSElSIEludGVyZmFjZQ0KDQpCYWNrZ3JvdW5kOg0KICAgICogdXJsICdodHRwOi8vbG9jYWxob3N0OjgwODAvZmhpcicNCiAgICAqIGhlYWRlciBBY2NlcHQgPSAnYXBwbGljYXRpb24vZmhpcitqc29uO2ZoaXJWZXJzaW9uPTQuMCcNCiAgICAqIGhlYWRlciBDb250ZW50LVR5cGUgPSAnYXBwbGljYXRpb24vZmhpcitqc29uO2ZoaXJWZXJzaW9uPTQuMCcNCg0KDQpTY2VuYXJpbzogU2VuZCBUcmFuc2FjdGlvbiB3aXRoIHRoZSByYXcgcGF0aWVudCBkYXRhIC0gUGF0aWVudCwgTWVkaWNhdGlvblN0YXRlbWVudHMuLi4NCiAgICBHaXZlbiBwYXRoICcnDQogICAgQW5kIHJlcXVlc3QgcmVhZCgnLi4vdGVzdGRhdGEvaXBzLWRhdGEuanNvbicpDQogICAgV2hlbiBtZXRob2QgcG9zdA0KICAgIFRoZW4gc3RhdHVzIDIwMA0KDQpTY2VuYXJpbzogQ3JlYXRlIGFuIElQUyBvbiB0aGUgZmx5IHVzaW5nIHRoZSAkc3VtbWFyeSBvcGVyYXRpb24NCiAgICBHaXZlbiBwYXRoICdQYXRpZW50LzJiOTBkZDJiLTJkYWItNGM3NS05YmI5LWEzNTVlMDc0MDFlOC8kc3VtbWFyeScNCiAgICBXaGVuIG1ldGhvZCBnZXQNCiAgICBUaGVuIHN0YXR1cyAyMDANCiAgICBBbmQgbWF0Y2ggcmVzcG9uc2UuZW50cnlbMF0ucmVzb3VyY2UucmVzb3VyY2VUeXBlID09ICdDb21wb3NpdGlvbicNCg0KU2NlbmFyaW86IENoZWNrIHRoYXQgdGhlIHBhdGllbnQgaXMgcGVyc2lzdGVkIGFuZCBoYXMgdGhlIHJpZ2h0IG5hbWUNCiAgICBHaXZlbiBwYXRoICdQYXRpZW50Jw0KICAgIFdoZW4gbWV0aG9kIGdldA0KICAgIFRoZW4gc3RhdHVzIDIwMA0KICAgIEFuZCBtYXRjaCByZXNwb25zZS5lbnRyeVswXS5yZXNvdXJjZS5uYW1lWzBdLmZhbWlseSA9PSAnRGVMYXJvc2EnDQoNClNjZW5hcmlvOiBDaGVjayB0aGF0IHRoZXJlIGFyZSBubyBCdW5kbGVzIHBlcnNpc3RlZA0KICAgIEdpdmVuIHBhdGggJ0J1bmRsZScNCiAgICBXaGVuIG1ldGhvZCBnZXQNCiAgICBUaGVuIHN0YXR1cyAyMDANCiAgICBBbmQgbWF0Y2ggcmVzcG9uc2UudG90YWwgPT0gMA0KDQoNCg=="/>
</Binary>
</resource>
<request>
<method value="PUT"/>
<url value="Binary"/>
</request>
</entry>
</Bundle>