Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The response contains a success status code and as many OoO elements as there are OoO in the considered
eHealthBox. Each element contains all OoO data when it was inserted.

InsertOoO

Method

The InsertOoO method is used to insert an OoO for the considered eHealthBox. In order to insert an OoO for
another eHealthBox, BoxId can be used. There are a number of rules and limitations to respect as described in
Restrictions. If these rules are not respected a business error is returned as detailed in section 8.2.

Request

x

Response

x


Basic flow

FlowSpecifications


IDAP-UC04-BF
NameSet an out-of-office with 1 substitute
Description/
Actor(s)

Two healthcare professionals:

  • One who will be OoO.
  • One who will be the substitute.
Requirements

/

TriggerA user wants to set an out-of-office.
Precondition(s)
  • The user is logged in.
  • The user wants to set an out-of-office.
Flow
  1. see Use case: login.
  2. When opening the OoO section, the application should automatically
    request a list of already inserted OoO periods.
  3. The inserted OoO period should be, for example,
    from the next monday until friday of the same week.
  4. Add the substitute (Example_Test_Actor). There are two ways to do this:
Postcondition(s)
  • The OoO is successfully added.
  • There is one more OoO period than there was before the insert.
Test Data
Endpoint(s)


...