# 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 Authors *Wladislaw Wagner*, *Pablo Pazos* Metadata Created 2019.03.03 Documentation I_EHR_STATUS.set_ehr_queryable-bad_ehr: Set EHR queryable of non existing EHR ... Preconditions: ... The server should be empty (no EHRs, no commits, no OPTs). ... ... Postconditions: ... None ... ... Flow: ... 1. Invoke the set EHR queryable 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 *** Test Cases *** Set EHR queryable of non existing EHR prepare new request session JSON create fake EHR update ehr_status of fake EHR (with body)