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
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
a fhir:Bundle ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "testbundle1"] ; #
fhir:type [ fhir:v "transaction"] ; #
fhir:entry ( [
fhir:fullUrl [ fhir:v "urn:uuid:05350493-265e-4f8d-87b3-549b19bd5c9d"^^xsd:anyURI ] ;
( fhir:resource <urn:uuid:05350493-265e-4f8d-87b3-549b19bd5c9d> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "TestPlan"^^xsd:anyURI ] ]
] [
fhir:fullUrl [ fhir:v "urn:uuid:05350493-265e-4f8d-87b3-549b19bd5c9e"^^xsd:anyURI ] ;
( fhir:resource <urn:uuid:05350493-265e-4f8d-87b3-549b19bd5c9e> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "Binary"^^xsd:anyURI ] ]
] [
fhir:fullUrl [ fhir:v "urn:uuid:05350493-265e-4f8d-87b3-549b19bd5c9f"^^xsd:anyURI ] ;
( fhir:resource <urn:uuid:05350493-265e-4f8d-87b3-549b19bd5c9f> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "Binary"^^xsd:anyURI ] ]
] ) . #
<urn:uuid:05350493-265e-4f8d-87b3-549b19bd5c9d> a fhir:TestPlan ;
fhir:id [ fhir:v "testplan1"] ; #
fhir:text [
fhir:status [ fhir:v "empty" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">No text</div>"
] ; #
fhir:title [ fhir:v "Gherkin test plan"] ; #
fhir:status [ fhir:v "active"] ; #
fhir:description [ fhir:v "Test Plan - Measure evaluation and Summary composition"] ; #
fhir:testCase ( [
fhir:sequence [ fhir:v "1"^^xsd:integer ] ;
( fhir:testRun [
fhir:narrative [ fhir:v "**Test Measure**\n * Populate the server with some data and a Measure\n * call the $eval operation\n * Use JSONpath to check that the measure evaluates correctly" ] ;
fhir:script [
fhir:language [
( fhir:coding [
fhir:code [ fhir:v "gherkin" ] ] ) ] ;
fhir:source [
a fhir:Reference ;
fhir:reference [ fhir:v "Binary/ghript-measure" ] ] ] ] )
] [
fhir:sequence [ fhir:v "2"^^xsd:integer ] ;
( fhir:testRun [
fhir:narrative [ fhir:v "**Test Summary**\n * Populate the server with some data\n * call the $summary operation\n * check that the summary is generated\n * check that the summary was not persisted" ] ;
fhir:script [
fhir:language [
( fhir:coding [
fhir:code [ fhir:v "gherkin" ] ] ) ] ;
fhir:source [
a fhir:Reference ;
fhir:reference [ fhir:v "Binary/ghript-summary" ] ] ] ] )
] ) . #
<urn:uuid:05350493-265e-4f8d-87b3-549b19bd5c9e> a fhir:Binary ;
fhir:id [ fhir:v "ghript-measure"] ; #
fhir:contentType [ fhir:v "text/x-gherkin"] ; #
fhir:data [ fhir:v "RmVhdHVyZTogVGVzdCBGSElSIEludGVyZmFjZQ0KDQpCYWNrZ3JvdW5kOg0KICAgICogdXJsICdodHRwOi8vbG9jYWxob3N0OjgwODAvZmhpcicNCiAgICAqIGhlYWRlciBBY2NlcHQgPSAnYXBwbGljYXRpb24vZmhpcitqc29uO2ZoaXJWZXJzaW9uPTQuMCcNCiAgICAqIGhlYWRlciBDb250ZW50LVR5cGUgPSAnYXBwbGljYXRpb24vZmhpcitqc29uO2ZoaXJWZXJzaW9uPTQuMCcNCg0KDQpTY2VuYXJpbzogU2VuZCBUcmFuc2FjdGlvbiB3aXRoIHRoZSBNZWFzdXJlIGRhdGENCiAgICBHaXZlbiBwYXRoICcnDQogICA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A0KICAgIFRoZW4gc3RhdHVzIDIwMA0KICAgIEFuZCBtYXRjaCByZXNwb25zZS5lbnRyeVswXS5yZXNvdXJjZS5uYW1lWzBdLmZhbWlseSA9PSAnRGVMYXJvc2EnDQoNClNjZW5hcmlvOiBDaGVjayB0aGF0IHRoZXJlIGFyZSBubyBCdW5kbGVzIHBlcnNpc3RlZA0KICAgIEdpdmVuIHBhdGggJ0J1bmRsZScNCiAgICBXaGVuIG1ldGhvZCBnZXQNCiAgICBUaGVuIHN0YXR1cyAyMDANCiAgICBBbmQgbWF0Y2ggcmVzcG9uc2UudG90YWwgPT0gMA0KDQoNCg=="^^xsd:base64Binary] . #
IG © 2023+ NHO. Package fhirtesting#0.1.0 based on FHIR 5.0.0. Generated 2024-08-13
Links: Table of Contents |
QA Report