...
Insert record to IL.declaration_request in status 'NEW'
Search MPI
Search patient in MPI using personal information
...
first_name
...
last_name
...
If found only one person - save mpi.person.id to il.declaration_request.
...
mpi_id
- in case error (found 0 or more then one) set il.declaration_request.
...
- if declaration_request has tax_id
- search using tax_id + birth_date
- if declaration_request doesn't have tax_id
- search using first_name+last_name+birth_date
- if patient age in declaration_request < 16
- search using birth_certificate+birth_date
...
language | xml |
---|---|
title | Sample request |
...
- mpi_id=null
Determine default auth method for new MPI
...