Issue: What to do when the quantity field for Procedures are set to null or 0 Decision: Default the quantity field in the procedure_occurrence table to 1, if the quantity from the source is 0 or null. A new rule will be added to Achilles Heels - Quantity in the Procedure_Occurrence table cannot be 0
Issue: Do we combine the quantity of multiple procedure records when the procedures are the same? Decision: Aggregate the quantity if the unique combination of the record is the same. The unique combination is Person_ID, Procedure_Concept_ID, Procedure_Date/Time, Provider_ID, and Visit_Occurrence_ID.
Regarding setting procedure_occurrence.quantity = 1, are you also recommending this for device_exposure and drug_exposure under the same situations (null or 0 in the source)?
Then we should also make quantity a required (not null field), with default value 1 - CDM change?
How about visit_detail? If we have datetime this may not be an issue, but if we only have procedure_date - then visit_detail (e.gā¦ same procedure done in ICU, and then in step down unit) on same day.
@Gowtham_Rao - Both of your suggestions makes sense. We will incorporate into the documentation of the THEMIS group. Any changes to the CDM will be proposed to the CDM working group.
We have established a reoccurring bi-weekly call starting from this Thursday (January 18th) at 1 PM EST. Please feel free to join us if you are interested in this sub-group.
@MNairn - Can you please provide the meeting information here. Thanks.
Just as an update (and we can discuss tomorrow), the new visit detail table allows us to link together procedures. So, one possible approach to modifiers is to drop the modifier column, and to treat modifiers as procedure records. These can all share the same visit id as the HCPCS code to which they are associated, and they can also share the same visit detail id. Hence, it should be easy to keep them together, regardless of whether there is 1 or 10 modifiers.
We will still have to map some of the modifiers to other domains, but the process will still work. That is, even if a modifier is a condition occurrence, it can have the same visit id and visit detail id as the original HCPCS code.
Today the WG1 discussed the implementation in Heel of the decisions made by Themis group. (see posts above)
For example, for a given new Themis convention (e.g., weight is measured in nonsensical units (e.g., g/dL)) - what kind of Heel error severity should be the result.
There are three Heel error levels: error, warning and notification (ordered by importance). (and a category tracking high quality data).
We discussed definitions for the three severity levels (no final definitions were approved). The proposal discussed was to put most of the new Heel rules into the warning category. (But allow users on the forum or Heel github issues to propose a revision of an implemented Themis-authored convention checking).
tentative boundaries:
error - severe error in data warning - issue with data that complicates analysis but is not a severe error notification - āgood to know aboutā least significant issues with data
high-quality - silent type of message. So that Heel does not only point to problems but also rewards ETL-ers. āAPGAR score for your databaseā
This is an important discussion, because it defines what deviations we tolerate, and which are unacceptable. Achilles has to know this, but of course the conversation is much larger.
How about this:
Deviation which will break a query = Error
Deviation which will potentially create wrong results in query = Warning
Deviation which is possible, but should be checked out just in case = Notification.
Would that work? Can we even decide on the category for each test?
This thread had a lot of conversation for Duplicate Records in Devices and Procedures. Just to let everyone know where we landed.
RECOMMENDATION
`When these fields are the same, the ETL must determine whether to sum them up into 1 record or keep them as multiple separate records. Things to consider are:
Same Device/Procedure
Same Modifier for Procedures
Same Day
Same Visit/Visit Detail
Same Provider
Same Time
Same Cost ID`
NEXT STEP
Updated the PROCEDURE_OCCURRENCE portion of the WIKI under conventions.