Project Number Date
EtherCIS-VEHR-features 0 15 Feb 2018, 20:23

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 8s 015ms 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.
1s 804ms
The server is ready, an EHR and a template is in place and the user is logged in.
Given The server is running 1s 663ms
And The client system is logged into a server session 039ms
And The openEHR template IDCR - Immunisation summary.v0.opt for the composition is available to the server 052ms
And An EHR is created 048ms
1s 807ms
When Flat json file IDCR - Immunisation summary.v0.flat.json with template id IDCR - Immunisation summary.v0 is committed to service 1s 807ms
Then A composition id should be returned by the API 000ms
After QueryWithAqlSteps.cleanUp() 010ms
After CompositionAPISteps.cleanUp() 000ms
After AqlFeaturesSteps.cleanUp() 000ms
1s 556ms
The server is ready, an EHR and a template is in place and the user is logged in.
Given The server is running 1s 430ms
And The client system is logged into a server session 040ms
And The openEHR template IDCR - Immunisation summary.v0.opt for the composition is available to the server 046ms
And An EHR is created 039ms
677ms
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 559ms
Then A composition id should be returned by the API 000ms
And Composition id should allow retrieval of composition in raw format 118ms
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 QueryWithAqlSteps.cleanUp() 010ms
After CompositionAPISteps.cleanUp() 000ms
After AqlFeaturesSteps.cleanUp() 000ms
1s 505ms
The server is ready, an EHR and a template is in place and the user is logged in.
Given The server is running 1s 394ms
And The client system is logged into a server session 040ms
And The openEHR template IDCR - Immunisation summary.v0.opt for the composition is available to the server 031ms
And An EHR is created 039ms
663ms
When Flat json file IDCR - Immunisation summary.v0.flat.json with template id IDCR - Immunisation summary.v0 is committed to service 434ms
Then A composition id should be returned by the API 000ms
And Composition id should allow retrieval of composition in xml format 228ms
After QueryWithAqlSteps.cleanUp() 007ms
After CompositionAPISteps.cleanUp() 000ms
After AqlFeaturesSteps.cleanUp() 000ms