Table of Contents |
---|
Purpose
This WS give the opportunity to create unidentified person in eHealth. It means that person can be created w/o any information about it but requires a medical identification with set of medical events.
...
Check external_id is not empty.
Check external_id is unique ? (unique within le?)
Save object to Mongo DB
Insert patient and set of submitted medical events
...
Parameter | Source | Description |
---|---|---|
_id | string | Autogenerated hash. |
status | string | Status. By default is “active” |
external_id | Request: external_id | Identifier from external system. Can be used as comment ?Required |
note | Request: note | Used as comment to specify preperson in free way. Optional |
inserted_by | uuid | Extract user from token |
inserted_at | timestamp | Get current date-time |
updated_by | uuid | Extract user from token |
updated_at | timestamp | Get current date-time |
...