Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ATC_modification #545

Open
wants to merge 45 commits into
base: master
Choose a base branch
from
Open

ATC_modification #545

wants to merge 45 commits into from

Conversation

p-talapova
Copy link
Contributor

  • load_input.sql populates the following key tables: drug_concept_stage, internal_relationship_stage, relationship_to_concept, dev_combo
  • load_interim.sql populates the key table of class_to_drug_new and class_to_drug
  • load_stage.sql populates the following key tables: concept_stage, concept_relationship_stage, concept_synonym_stage

The ATC refresh process is formalized and documented here
The milestones of the refresh are mentioned in the readme file.

hardhouse
hardhouse previously approved these changes Oct 4, 2021
ATC/load_input.sql Outdated Show resolved Hide resolved
datatype FLOAT has changed to NUMERIC
manual tables added
manual work
'A' AS change_type
FROM atc_addendum_MMYY;
```
**Scenario B** - changes of the existing ATC codes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to add:
and issign the corresponing change_type to the existing concepts that has to be modified. See how to do this in chapter 2.1Types of ATC official updates of book of OHDSI and ATC

4. Using the **class_drugs_scraper** table, add new codes with _OMOPized names_ and their *original versions* to the **concept_manual** and **concept_synonym_manual** tables respectively
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a script for this? if yes, name it here. (so people will know how to do that)

SELECT devv5.genericupdate();
```
10. Perform **post-processing**:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add: which builds the ancestry

PERFORM VOCABULARY_PACK.pConceptAncestor(IS_SMALL=>TRUE);
END $_$;
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before we can enjoy the fresh new vocabulary, we need to look at various checks.
Let's see what both of us (Polina and Dima) have

@Alexdavv Alexdavv self-requested a review April 26, 2022 12:07
@Alexdavv Alexdavv requested a review from hardhouse April 10, 2023 09:08
@hardhouse hardhouse removed their request for review April 10, 2023 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants