Project Number Date
EtherCIS-VEHR-features 0 14 Feb 2018, 19:01

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Provide Composition API access over REST 19 1 0 0 0 20 2 1 3 9s 105ms Failed
Feature Provide Composition API access over REST
As a clinical informatics actor In order to create, access and modify data based on openEHR compositions I want to use a REST API to perform operations on compositions.
2s 033ms
The server is ready, an EHR and a template is in place and the user is logged in.
Given The server is running 1s 872ms
And The client system is logged into a server session 041ms
And The openEHR template IDCR - Immunisation summary.v0.opt for the composition is available to the server 074ms
And An EHR is created 045ms
1s 821ms
When Flat json file IDCR - Immunisation summary.v0.flat.json with template id IDCR - Immunisation summary.v0 is committed to service 1s 821ms
Then A composition id should be returned by the API 000ms
After CompositionAPISteps.cleanUp() 008ms
After QueryWithAqlSteps.cleanUp() 000ms
After AqlFeaturesSteps.cleanUp() 000ms
1s 871ms
The server is ready, an EHR and a template is in place and the user is logged in.
Given The server is running 1s 704ms
And The client system is logged into a server session 033ms
And The openEHR template IDCR - Immunisation summary.v0.opt for the composition is available to the server 088ms
And An EHR is created 045ms
727ms
Scenario Commit composition in flat json and retrieve raw format
Steps
When Flat json file IDCR - Immunisation summary.v0.flat.json with template id IDCR - Immunisation summary.v0 is committed to service 608ms
Then A composition id should be returned by the API 000ms
And Composition id should allow retrieval of composition in raw format 119ms
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at com.ethercis.vehr.CompositionAPISteps.getComposition(CompositionAPISteps.java:78)
	at com.ethercis.vehr.CompositionAPISteps.compositionIdShouldAllowRetrievalOfCompositionInRawFormat(CompositionAPISteps.java:61)
	at ✽.And Composition id should allow retrieval of composition in raw format(RestApiComposition.feature:21)
After CompositionAPISteps.cleanUp() 019ms
After QueryWithAqlSteps.cleanUp() 000ms
After AqlFeaturesSteps.cleanUp() 000ms
1s 869ms
The server is ready, an EHR and a template is in place and the user is logged in.
Given The server is running 1s 737ms
And The client system is logged into a server session 038ms
And The openEHR template IDCR - Immunisation summary.v0.opt for the composition is available to the server 046ms
And An EHR is created 047ms
780ms
When Flat json file IDCR - Immunisation summary.v0.flat.json with template id IDCR - Immunisation summary.v0 is committed to service 528ms
Then A composition id should be returned by the API 000ms
And Composition id should allow retrieval of composition in xml format 252ms
After CompositionAPISteps.cleanUp() 009ms
After QueryWithAqlSteps.cleanUp() 000ms
After AqlFeaturesSteps.cleanUp() 000ms