Versions Compared

Key

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

WIP

Description

...

NameTypeM/ODescription and constraints
id
string
m
id of approval
patient_id
string
m
mpi_id hash
granted_resources
Referencemlist of resources that are allowed by approval
granted_to
Referencemtype and identifier of entity to whom access has been granted (employee or legal_entity)
expires_at
timestampmexpiration date-time timestamp
granted_by
Referencemtype and identifier of entity who has granted access - user. It can be MPI_id, duarantee or MOZ/NSZU in future.
reason
Referenceotype and identifier of entity based on which approval has been created
status
stringmnew, active
access_level
stringmonly `read` is supported
urgent
Objectmauthentication_type and phone number
inserted_at
datetimem
inserted_by
guidm
updated_at
datetimem
updated_by
guidm

...