# rquest-omop-worker Executes BC|RQuest Availability queries via an open source implementation of BC|Link against a target PostgreSQL data source containing OMOP CDM 5.3 data. ## Inputs ### Body Sample input payload: ```json { "task_id": "job-2023-01-13-14: 20: 38-", "project": "", "owner": "", "cohort": { "groups": [ { "rules": [ { "varname": "OMOP", "varcat": "Person", "type": "TEXT", "oper": "=", "value": "8507" } ], "rules_oper": "AND" } ], "groups_oper": "OR" }, "collection": "", "protocol_version": "", "char_salt": "", "uuid": "" } ``` ### Database access Currently this workflow requires inputs for connecting to the database it will run queries against using SQL Alchemy compatible options: - `db_host` - the postgres db server hostname - `db_name` - the database name - `db_user` - the username for postgres - `db_password` the password for postgres It is not currently possible to use a port other than the postgres default (`5432`)