Eliminating a diagnosis from collection

From CCMDB Wiki
Revision as of 13:34, 5 March 2018 by Ttenbergen (talk | contribs) (Text replacement - "s_alldiagnoses" to "S_AllDiagnoses table")
Jump to navigation Jump to search

When we eliminate a diagnosis from collection we need to accomodate any instances of it that are in our data.

CCMDB.mdb

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

The process uses the query Check eliminated dx.