Table of Contents |
---|
...
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_d | Request: external_id | Identifier from external system. Can be used as comment ? |
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 |
...