Skip to content

Commit

Permalink
Update CPRD_Referral_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 4964192 commit c64a058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/CPRD/CPRD_Referral_STEM.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ 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 [CPRD_Referral_Medcodes.sql](https://github.com/OHDSI/ETL-LambdaBuilder/blob/master/docs/CPRD/Queries/CPRD_Referral_Medcodes.sql) for an idea of how the codes in the referral table map to the vocabulary and how the link between the referral table and 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 **32842** - EHR referral record | |
| type_concept_id | | Use **32817** - EHR | |

0 comments on commit c64a058

Please sign in to comment.