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 - TTL Representation

Active as of 2024-08-13

Raw ttl | Download


@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:TestPlan ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "testplan1"] ; # 
  fhir:url [ fhir:v "http://costateixeira.github.io/fhirtesting/TestPlan/testplan1"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:title [ fhir:v "Gherkin test plan"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:date [ fhir:v "2024-08-13T18:15:38+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "NHO"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "NHO" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://Nho.one" ]     ] )
  ] ) ; # 
  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" ]         ]       ]     ] )
  ] ) . #