-
Notifications
You must be signed in to change notification settings - Fork 0
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
core: add some missing Encounter.class codes #334
Conversation
These codes were not handled, but now are: - OBSENC (v3) - I (v2 -> IMP) - P (v2 -> PRENC) Additionally, we verify the code system too now.
('AMB', 'AMB', 'http://terminology.hl7.org/CodeSystem/v3-ActCode'), | ||
('EMER', 'EMER', 'http://terminology.hl7.org/CodeSystem/v3-ActCode'), | ||
('FLD', 'FLD', 'http://terminology.hl7.org/CodeSystem/v3-ActCode'), | ||
('HH', 'HH', 'http://terminology.hl7.org/CodeSystem/v3-ActCode'), | ||
('IMP', 'IMP', 'http://terminology.hl7.org/CodeSystem/v3-ActCode'), | ||
('ACUTE', 'ACUTE', 'http://terminology.hl7.org/CodeSystem/v3-ActCode'), | ||
('NONAC', 'NONAC', 'http://terminology.hl7.org/CodeSystem/v3-ActCode'), | ||
('OBSENC', 'OBSENC', 'http://terminology.hl7.org/CodeSystem/v3-ActCode'), | ||
('PRENC', 'PRENC', 'http://terminology.hl7.org/CodeSystem/v3-ActCode'), | ||
('SS', 'SS', 'http://terminology.hl7.org/CodeSystem/v3-ActCode'), | ||
('VR', 'VR', 'http://terminology.hl7.org/CodeSystem/v3-ActCode'), | ||
-- http://terminology.hl7.org/CodeSystem/v2-0004 | ||
-- This is an older class system, still in active use apparently (at BCH Cerner). | ||
-- Unmapped codes: B (obstetrics), C (commercial), N (not applicable), U (unknown) | ||
('EMER', 'E', 'http://terminology.hl7.org/CodeSystem/v2-0004'), | ||
('IMP', 'I', 'http://terminology.hl7.org/CodeSystem/v2-0004'), | ||
('AMB', 'O', 'http://terminology.hl7.org/CodeSystem/v2-0004'), | ||
('PRENC', 'P', 'http://terminology.hl7.org/CodeSystem/v2-0004'), | ||
('AMB', 'R', 'http://terminology.hl7.org/CodeSystem/v2-0004') -- recurring patient |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have we checked this against a recent-ish epic? just to make sure these codes are actually present in the form we'd expect as opposed to the proprietary format?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the export I have from the Epic sandbox, it's always urn:oid:1.2.840.114350.1.72.1.7.7.10.696784.13260
and codes like 13
or 17
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this field is just a raw coding - so only room for one code & system pair 😦
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use multiple entries in this table? like core/fhir_mapping_tables.sql?
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified FilesNo covered modified files...
|
These codes were not handled, but now are:
Additionally, we verify the code system too now.
Fixes: #333
Checklist
docs/
needs to be updatedgenerate-md
core
study fields that not in US Core, update our list of those incore-study-details.md
manifest.toml