Returns observation referenced by the given id from database.
The function returns the following error codes:
E_DB_BIND if value binding failed.E_DB_DONE if statement finished.E_DB_FINALIZE if statement finalisation failed.E_DB_PREPARE if statement preparation failed.E_DB_TYPE if returned columns are unexpected.E_INVALID if id is invalid.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_type), | intent(inout) | :: | db |
Database type. |
||
| type(observ_type), | intent(out) | :: | observ |
Selected observation. |
||
| character(len=*), | intent(in) | :: | observ_id |
Observation id (UUID). |