Table of Contents |
---|
...
Page Properties | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
|
Preconditions
Merge request must be approved.
Logic
Only authenticated and authorized SPECIALIST employees can use this WS.
Usage of this WS allowed in EMERGENCY or OUTPATIENT legal entities.
Employee should sign merge request to link person with preperson.
Only request APPROVED by person can be signed.
The request can be signed only by employee who made the request.
Create objects in DB should be done in one transaction.
Status change of the merge request and preperson should be logged in the Event manager.
Succesfull merge does not create record in MPI.persons table for preperson, but deactivates record in MPI.prepersons and linked document in patient collection (mongo)
Data from the field data_to_be_signed used as request data for sign method.
...