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

update of Revenue Code (AVOF-3244) #524

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hardhouse
Copy link
Contributor

No description provided.

Copy link
Contributor

@mik-ohdsi mik-ohdsi left a comment

Choose a reason for hiding this comment

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

Looks already very good. Question about the replacements: will the existing concepts for codes 0891 and 0892 be retired with an end date just before the start date of the new concepts?
For process reasons, I recommend to include either @Alexdavv or @dimshitc as an additional reviewer.

@hardhouse
Copy link
Contributor Author

Question about the replacements: will the existing concepts for codes 0891 and 0892 be retired with an end date just before the start date of the new concepts?

no, OMOP can't store duplicates concept_code+vocabulary_id, regardless of the invalid_reason field. so R=U (update)

@mik-ohdsi
Copy link
Contributor

So, @Alexdavv and @dimshitc , this sentence summarizes the complete absence of versioning:
"OMOP can't store duplicates concept_code+vocabulary_id, regardless of the invalid_reason field."
I thought we do have something like a "replacement" algorithm? Only between different vocabulary_id's? Do we really treat concept_code and vocabulary_id as a secondary key?

@cgreich
Copy link
Contributor

cgreich commented Aug 27, 2021

Isn't Revenue Codes the exception? Can we discuss this in one of our sessions?

@Alexdavv
Copy link
Member

Alexdavv commented Sep 8, 2021

@hardhouse Why do we use the _manual tables? If we have the actual source let's put it into the _stage tables from there. The _manual tables would be used for manual changes only.

@Alexdavv
Copy link
Member

Alexdavv commented Sep 8, 2021

Isn't Revenue Codes the exception?

I don't think so:
image

@hardhouse
Copy link
Contributor Author

because it's not just an "insert" and not the "source", these are the same manual changes

@Alexdavv
Copy link
Member

Alexdavv commented Sep 9, 2021

  1. I've found 2 suspicious name changes:
concept_code vocabulary_id old_name new_name
892 Revenue Code Other Donor Bank - Organ (other than Kidney) Special Processed Drugs - FDA Approved Gene Therapy
891 Revenue Code Other Donor Bank - Bone Special Processed Drugs - FDA Approved Cell Therapy

Is it code reuse or the mistaken name corrected?

Also, some sources say that 23 were redefined with new names. Did we check the semantics didn't change?

  1. We destandardize one outdated guy (0175 Nursey - Neonatal ICU).
    But at least 4 are outdated in this source.
    Isn't it a case where we want outdated to be a Standard?

Thoughts?

@mik-ohdsi mik-ohdsi linked an issue May 10, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Updated Revenue Codes
5 participants