# Copyright (c) 2019 Wladislaw Wagner (Vitasystems GmbH), Pablo Pazos (Hannover Medical School). # # This file is part of Project EHRbase # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. *** Settings *** Metadata Version 0.1.0 Metadata Authors *Wladislaw Wagner*, *Pablo Pazos* Metadata Created 2019.03.03 Documentation I_EHR_STATUS.get_ehr_status-bad_ehr: Get status of a non existing EHR ... ... Preconditions: ... The server should be empty (no EHRs, no commits, no OPTs). ... ... Postconditions: ... None ... ... Flow: ... 1. Invoke the get EHR_STATUS service by a random ehr_id ... 2. The result should be negative and the result should include an error ... related to "EHR with ehr_id doesn't exists". Metadata TOP_TEST_SUITE EHR_STATUS Resource ../../_resources/keywords/ehr_keywords.robot # Suite Setup startup SUT # Suite Teardown shutdown SUT Force Tags refactor *** Comments *** EHRBASE: endpoint not implemented yet, resulting in a false positive. *** Test Cases *** Get status of a non existing EHR prepare new request session JSON create fake EHR get ehr_status of fake EHR