Skip to Content
CognitoLabs.AIDocs
Tools

Your data

The data_* tools - the Data Sources index, owners, rate tables and CDMs, datasets, payers, fee-schedule imports, contracts, files, connectors and monitors.

These tools read and edit your team's Data Sources. Start with data_sections. Tools that delete, merge or switch a CDM's Latest version need confirm=true.

data_sections

ParameterTypeDefaultWhat it does

data_providers

ParameterTypeDefaultWhat it does

data_add_provider

ParameterTypeDefaultWhat it does
ccnstringnoneCMS Certification Number: the 6-digit id of a Medicare-certified hospital.
citystringnone
msastringnoneThe metro area (CBSA code) from find_metro: the market the chargemaster is benchmarked against.
msa_namestringnoneThe metro area name, for display.
namestringnoneThe study name.
npistringnone
statestringnoneTwo-letter US state, for example FL. A state on its own is not enough: add codes, apc, q or hospital_ids.

data_update_provider

ParameterTypeDefaultWhat it does
citystringnone
health_system_idstringnone
msastringnoneThe metro area (CBSA code) from find_metro: the market the chargemaster is benchmarked against.
msa_namestringnoneThe metro area name, for display.
namestringnoneThe study name.
npistringnone
provider_idstringrequired
statestringnoneTwo-letter US state, for example FL. A state on its own is not enough: add codes, apc, q or hospital_ids.

data_remove_provider

ParameterTypeDefaultWhat it does
confirmbooleanfalse
provider_idstringrequired

data_create_health_system

ParameterTypeDefaultWhat it does
msastringnoneThe metro area (CBSA code) from find_metro: the market the chargemaster is benchmarked against.
msa_namestringnoneThe metro area name, for display.
namestringrequiredThe study name.
net_patient_revenuenumbernone

data_update_health_system

ParameterTypeDefaultWhat it does
health_system_idstringrequired
msastringnoneThe metro area (CBSA code) from find_metro: the market the chargemaster is benchmarked against.
msa_namestringnoneThe metro area name, for display.
namestringnoneThe study name.
net_patient_revenuenumbernone

data_delete_health_system

ParameterTypeDefaultWhat it does
confirmbooleanfalse
health_system_idstringrequired

data_provider

ParameterTypeDefaultWhat it does
provider_idstringrequired

data_tables

ParameterTypeDefaultWhat it does
kindrate | cdmrateset_strategic_pricing_goal: max_revenue_within_market or revenue_neutral_optics. set_study_dataset: volume or cost. update_strategic_pricing_settings: the goal kind to switch to.
ownerstringnoneThe provider the rates belong to: a provider id or name in your account. A new name becomes a custom provider.

data_table_versions

ParameterTypeDefaultWhat it does
kindrate | cdmrequiredset_strategic_pricing_goal: max_revenue_within_market or revenue_neutral_optics. set_study_dataset: volume or cost. update_strategic_pricing_settings: the goal kind to switch to.
table_idstringrequired

data_effective_table

ParameterTypeDefaultWhat it does
kindrate | cdmrequiredset_strategic_pricing_goal: max_revenue_within_market or revenue_neutral_optics. set_study_dataset: volume or cost. update_strategic_pricing_settings: the goal kind to switch to.
providerstringrequired

data_set_latest

ParameterTypeDefaultWhat it does
confirmbooleanfalse
table_idstringrequired
version_idstringrequired

data_export_table

ParameterTypeDefaultWhat it does
kindrate | cdmrequiredset_strategic_pricing_goal: max_revenue_within_market or revenue_neutral_optics. set_study_dataset: volume or cost. update_strategic_pricing_settings: the goal kind to switch to.
version_idstringrequired

data_rate_rows

ParameterTypeDefaultWhat it does
cptstringnone
limitinteger25Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.
offsetinteger0Rows to skip, for paging.
payerstringnoneOnly this insurer, as named in the data.
qstringnoneSearch the service description, up to 200 characters.
version_idstringrequired

data_cdm_rows

ParameterTypeDefaultWhat it does
cptstringnone
departmentstringnone
limitinteger25Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.
offsetinteger0Rows to skip, for paging.
qstringnoneSearch the service description, up to 200 characters.
rev_codestringnone
version_idstringrequired

data_fee_imports

ParameterTypeDefaultWhat it does
ownerstringnoneThe provider the rates belong to: a provider id or name in your account. A new name becomes a custom provider.

data_fee_import

ParameterTypeDefaultWhat it does
import_idstringrequired

data_fee_import_crosscheck

ParameterTypeDefaultWhat it does
import_idstringrequired
limitinteger25Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.
offsetinteger0Rows to skip, for paging.

data_fee_import_audit

ParameterTypeDefaultWhat it does
import_idstringrequired

data_fee_import_uplift

ParameterTypeDefaultWhat it does
import_idstringrequired

data_fee_import_events

ParameterTypeDefaultWhat it does
cursorstringnone
import_idstringrequired
limitinteger25Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.

data_fee_import_binder

ParameterTypeDefaultWhat it does
binder_idstringrequired
import_idstringrequired

data_datasets

ParameterTypeDefaultWhat it does
kindvolume | costnoneset_strategic_pricing_goal: max_revenue_within_market or revenue_neutral_optics. set_study_dataset: volume or cost. update_strategic_pricing_settings: the goal kind to switch to.

data_dataset

ParameterTypeDefaultWhat it does
dataset_idstringrequiredAn existing volume or cost dataset in Data Sources; otherwise give upload_id and mapping.
limitinteger25Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.

data_dataset_rows

ParameterTypeDefaultWhat it does
dataset_idstringrequiredAn existing volume or cost dataset in Data Sources; otherwise give upload_id and mapping.
deptstringnoneA CDM department to narrow to.
limitinteger25Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.
offsetinteger0Rows to skip, for paging.
payerstringnoneOnly this insurer, as named in the data.
periodstringnone
qstringnoneSearch the service description, up to 200 characters.

data_add_dataset

ParameterTypeDefaultWhat it does
descriptionstringrequiredWhat the dataset holds and the study it is for; required for a new dataset.
kindvolume | costrequiredset_strategic_pricing_goal: max_revenue_within_market or revenue_neutral_optics. set_study_dataset: volume or cost. update_strategic_pricing_settings: the goal kind to switch to.
mappingobjectrequiredWhich columns hold the code, the rates (one per payer) and the volume, per sheet: the suggested_mapping from inspect_upload, confirmed with the user.
namestringrequiredThe study name.
ownerstringnoneThe provider the rates belong to: a provider id or name in your account. A new name becomes a custom provider.
upload_idstringrequiredThe id create_upload returned for the file.

data_update_dataset

ParameterTypeDefaultWhat it does
dataset_idstringrequiredAn existing volume or cost dataset in Data Sources; otherwise give upload_id and mapping.
descriptionstringnoneWhat the dataset holds and the study it is for; required for a new dataset.
namestringnoneThe study name.
ownerstringnoneThe provider the rates belong to: a provider id or name in your account. A new name becomes a custom provider.

data_delete_dataset

ParameterTypeDefaultWhat it does
confirmbooleanfalse
dataset_idstringrequiredAn existing volume or cost dataset in Data Sources; otherwise give upload_id and mapping.

data_dataset_template

ParameterTypeDefaultWhat it does
kindvolume | costvolumeset_strategic_pricing_goal: max_revenue_within_market or revenue_neutral_optics. set_study_dataset: volume or cost. update_strategic_pricing_settings: the goal kind to switch to.

data_contracts

ParameterTypeDefaultWhat it does
limitinteger25Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.
offsetinteger0Rows to skip, for paging.
ownerstringnoneThe provider the rates belong to: a provider id or name in your account. A new name becomes a custom provider.

data_contract

ParameterTypeDefaultWhat it does
contract_idstringrequired
limitinteger25Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.
offsetinteger0Rows to skip, for paging.

data_file_spaces

ParameterTypeDefaultWhat it does

data_file_space_file

ParameterTypeDefaultWhat it does
charsinteger8000
file_idstringrequired
offsetinteger0Rows to skip, for paging.
space_idstringrequired

data_payers

ParameterTypeDefaultWhat it does
limitinteger25Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.
offsetinteger0Rows to skip, for paging.
qstringnoneSearch the service description, up to 200 characters.

data_unmapped_payers

ParameterTypeDefaultWhat it does
limitinteger25Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.
offsetinteger0Rows to skip, for paging.

data_master_payers

ParameterTypeDefaultWhat it does
limitinteger25Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.
qstringnoneSearch the service description, up to 200 characters.

data_map_payer

ParameterTypeDefaultWhat it does
core_payer_idstringrequired
namestringrequiredThe study name.

data_auto_map_payers

ParameterTypeDefaultWhat it does
dry_runbooleantrue

data_create_payer

ParameterTypeDefaultWhat it does
aliaseslist of stringnone
core_payer_idstringnone
familystringnoneOnly this payer family.
namestringrequiredThe study name.
notesstring
payer_classstringnone

data_update_payer

ParameterTypeDefaultWhat it does
aliaseslist of stringnone
core_payer_idstringnone
familystringnoneOnly this payer family.
namestringnoneThe study name.
notesstringnone
payer_classstringnone
payer_idstringrequired

data_merge_payers

ParameterTypeDefaultWhat it does
confirmbooleanfalse
into_payer_idstringrequired
payer_idstringrequired

data_delete_payer

ParameterTypeDefaultWhat it does
confirmbooleanfalse
payer_idstringrequired

data_suggest_master_payer

ParameterTypeDefaultWhat it does
carrierstringnone
namestringrequiredThe study name.
notestring
raw_nameslist of stringnone

data_connectors

ParameterTypeDefaultWhat it does
connector_idstringnone
limitinteger25Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.
offsetinteger0Rows to skip, for paging.

data_monitors

ParameterTypeDefaultWhat it does

On this page