Skip to content

Commit

Permalink
Update CPRD_Clinical_STEM.md
Browse files Browse the repository at this point in the history
Changed type_concept_id from 32827 to 32817 (EHR)
  • Loading branch information
adelmestri authored Nov 13, 2023
1 parent 1441139 commit 4964192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/CPRD/CPRD_Clinical_STEM.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ Any record with one of the SARS-COV-2 read codes listed below should be mapped t
| concept_id | medcode | Use the medcode to link to the medical table to find the read code. Use the [SOURCE_TO_STANDARD](https://github.com/OHDSI/ETL-LambdaBuilder/blob/master/docs/Standard%20Queries/SOURCE_TO_STANDARD.sql) query to map the read code to standard concept(s) with the following filters: <br> <br> Where source_vocabulary_id = 'Read' and Target_standard_concept = 'S' and target_invalid_reason is NULL<br><br>*BE CAREFUL - READ CODES ARE CASE SENSITIVE*. If there is no mapping available, set concept_id to zero. | See the query [CPRD_Clinical_Medcodes.sql](https://github.com/OHDSI/ETL-LambdaBuilder/blob/master/docs/CPRD/Queries/CPRD_Clinical_Medcodes.sql) as a high-level look at the domains covered by this table and how the link to the medical table should be made. |
| source_value | medical.read_code | Use the medcode to link to the medical table to find the read code. Store read code as source_value. | |
| source_concept_id | medcode | Use the medcode to link to the medical table to find the read code. Use the [SOURCE_TO_SOURCE](https://github.com/OHDSI/ETL-LambdaBuilder/blob/master/docs/Standard%20Queries/SOURCE_TO_SOURCE.sql) query to map the read code to a source concept id with the following filters:<br><br> Where source_vocabulary_id = 'Read' <br><br>*BE CAREFUL - READ CODES ARE CASE SENSITIVE*. If there is no mapping available set source_concept_id to zero. | |
| type_concept_id | | Use **32827** - EHR encounter record | |
| type_concept_id | | Use **32817** - EHR | |

0 comments on commit 4964192

Please sign in to comment.