procDetail

Query to specify procedure parameters for data around procedural descriptions, context, categories and code ties.

Get Started with procDetail

If you have already setup CareQuery, run the below code to get started with your first procDetail query.

Example:

🔍

Request procedure categories and code descriptions for all procedures related to cardio surgery or immunization.

# import package
from care_query.care_query import CareQuery

# instantiate and connect
cq = CareQuery(email = "your-email", 
               token = "your-api-token")

# construct query
query = cq.procDetail(proc_subcategory = ["Medicine - Immunization Administration for Vaccines/Toxoids",
                                          "surgery - cardiovascular system")

# estimate query size (optional)
estimate = query.estimate() 

# return query sample data (optional)
sample = query.sample() 

# execute query to return results
data = query.execute() 

Query Parameters

The following a parameters are available within the procDetail query, including details on the parameter values.

parameter

description

options

proc_code

CPT or HCPCS procedural code

values available

proc_category

Category of the CPT or HCPCS procedure

values available

proc_subcategory

Sub-category of the CPT or HCPCS procedure

values available

limit

Number of rows returned in the data request

Integer or False

show

Binary indicator as to whether you'd like
query to be printed for review upon it's creation

True or False

Query Return Data

The procDetail query returns the PROC_TABLE for all procedures that meet the criterion specified within the query.

The PROC_DETAIL_TABLE offers comprehensive procedure detail and categorical mappings.

featuredescriptionexample
proc_codeHCPCS or CPT procedural codeA9520
proc_subcategoryName of the procedure sub-categoryTransportation, Medical & Surgical Supplies, Miscellaneous & Experimental
proc_categoryName of the procedure categoryTransportation Medical & Surgical Supplies Miscellaneous & Experimental
proc_descDescription procedure codeTc99 Tilmanocept diag 0.5mci

Advanced Query Logic & Recipes

procDetail gives users categorical groupings for ease of use, as well as SQL-like capabilities to tactfully specify AND and OR logic, right within the CareQuery API!

🚧

procDetail does not allow for nested lists within the query parameters

Please reference the following resources to better understand how to create rockstar queries!