Admit Source
Column | Data Type | Description | Terminology |
---|
Maintenance Instructions
- Navigate to the ResDac Inpatient website
- Click "View Data Documentation" under the page title
- Locate and select the Variable Name "Claim Source Inpatient Admission Code"
- Open the .txt file at the bottom of the webpage
Follow steps 5-11 if there are any changes to the admit source codes. Otherwise, skip to step 12
- Copy and paste the code list into any text editor
- Format the codes as a CSV file and save
- Find and replace "—" with a hyphen (-)
- Import the CSV file into any data warehouse
- Upload the CSV file from the data warehouse to S3 (credentials with write permissions to the S3 bucket are required)
-- example code for Snowflake
copy into s3://tuva-public-resources/terminology/admit_source.csv
from [table_created_in_step_7]
file_format = (type = csv field_optionally_enclosed_by = '"')
storage_integration = [integration_with_s3_write_permissions]
OVERWRITE = TRUE;
- Create a branch in docs. Update the
last_updated
column in the table above with the current date. - Submit a pull request
The below steps are only required if the headers of the file need to be changed. The Tuva Project does not store the contents of the terminology file in GitHub.
- Create a branch in The Tuva Project
- Copy and paste the updated header into the admit source file
- Submit a pull request