Eliminating a diagnosis from collection
When we eliminate a diagnosis from collection we need to accomodate any instances of it that are in our data.
CCMDB.mdb
Category:Pre-ICD10 Diagnosis
For CCMDB.mdb, this is done by setting s_AllDiagnoses table.collection_allowed to false for the eliminated diagnosis. Doing this will result in the following:
- dx no longer available in dropdown
- any previously entered instances turn "blank"
- record can not be set to "complete", ie can't be sent
- tmpChecker runs a test to ensure any record that is already set to complete is also caught
ICD10
Dxs in ICD10 are active only if the current date is after the " active_start" and before the " active_end" in s_ICD10 table is
Cross Checks
The process uses the query Check eliminated dx.