Description Usage Arguments Details
Add observations to the CRC cell
1 | add_observations(observations, project, host = "", admin = "", pass = "")
|
observations |
A dataframe of observation facts |
project |
The name of the project |
host |
The host to connect to |
admin |
The admin account for the PostgreSQL database |
pass |
The password for the admin account |
The observations dataframe must contain the following columns: - encounter_ide: the original encounter ID - patient_ide: the original patient ID - start_date: the start date of the encounter, as Date object - concept_cd: the concept to insert - provider_id: the provider - modifier_cd: optionnal modifier for the concept Other observation fact columns can optionnaly be included, such as end_date, valtype_cd, tval_char, nval_num, valueflag_cd, units_cd, etc.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.