Eliminating a diagnosis from collection: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
m (TMSX is almost gone, no need to document, deleting question)
m (Text replacement - "s_alldiagnoses" to "S_AllDiagnoses table")
Line 2: Line 2:


==[[CCMDB.mdb]]==
==[[CCMDB.mdb]]==
For CCMDB.mdb, this is done by setting [[s_alldiagnoses]].collection_allowed to false for the eliminated 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:
Doing this will result in the following:
* dx no longer available in dropdown
* dx no longer available in dropdown

Revision as of 13:34, 2018 March 5

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.