Versions Compared

Key

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

Table of Contents

...

  1. Only authenticated and authorized HR, ADMIN, OWNER employees from MSP, OUTPATIENT, PRIMARY_CARE, EMERGENCY legal entities can deactivate equipments.
  2. Only ACTIVE equipment can be deactivated
  3. Legal entity can deactivate only its own equipments

...

PatameterSourceDescription
statusConst: INACTIVEBy default INACTIVE for deactivated records
updated_atTimestamp: now()Get current date-time
updated_byToken: user_idExtract user from token

Save object to DB

1. equipment_status_hstr table


Parameter
Source
Description
idUUIDAutogenerated
equipment_idUUIDReference to equipments.id
statusConst: INACTIVEBy default INACTIVE for deactivated records
inserted_byToken: user_idExtract user from token
inserted_atTimestamp: now()Get current date-time