Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

  1. Extract client_id from token

  2. Check legal entity status (status = ACTIVE)

    1. In case of error - return 409 (Legal entity must be ACTIVE)

  3. Check legal entity has at least one healthcare service with status = ACTIVE and providing_condition = INPATIENT and speciality_type in ALLOWEDPREPERSON_SPECIALITYHEALTHCARE_TYPESERVICES_FOR_PREPERSONS_HCS global SPECIALITY_TYPES variable (value should exist in SPECIALITY_TYPE dict)

    1. if no such healthcare services - return 409 (Legal entity does not have appropriate healthcare services)

Validate request

Validate request using schema (TBD)

...