Eliminating a diagnosis from collection: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
Line 3: Line 3:
==[[CCMDB.mdb]]==
==[[CCMDB.mdb]]==
=== [[:Category:Pre-ICD10 Diagnosis]] ===
=== [[:Category:Pre-ICD10 Diagnosis]] ===
For CCMDB.mdb, this is done by setting [[s_AllDiagnoses table]].collection_allowed to false for the eliminated diagnosis.
A dx is active only if the field [[s_AllDiagnoses table]].collection_allowed is true. Setting it to false for the eliminated diagnosis will result in:  
Doing this will result in the following:
* dx no longer available in dropdown
* dx no longer available in dropdown
* any previously entered instances turn "blank"
* any previously entered instances turn "blank"
Line 11: Line 10:


=== ICD10 ===
=== ICD10 ===
Dxs in [[ICD10]] are active only if the current date is after the "[[Property:Has StartDate | active_start]]" and before the "[[Property:Has StopDate | active_end]]" in [[s_ICD10 table]] is  
Dxs in [[ICD10]] are active only if the '''current date''' is after the "[[Property:Has StartDate | active_start]]" and before the "[[Property:Has StopDate | active_end]]" in [[s_ICD10 table]] is
 
 
{{Discussion}}
Will need to confirm that all the checks from the old system will apply to the new one.


== Cross Checks ==
== Cross Checks ==

Revision as of 08:43, 2018 September 20

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

A dx is active only if the field s_AllDiagnoses table.collection_allowed is true. Setting it to false for the eliminated diagnosis will result in:

  • 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


Template:Discussion Will need to confirm that all the checks from the old system will apply to the new one.

Cross Checks

The process uses the query Check eliminated dx.