DX Delete Bug: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
(Created page with " ensure that deleting a DX from allDiagnoses will not break anything. Either make deletes logical, or else allow code to cope with discrepancy. Caused problems when we tried t...")
 
mNo edit summary
Line 1: Line 1:
Deleting a line from s_alldiagnoses will leave blank lines in the dx form, and I am not sure how it copes with this when sending.
This problem was discovered when I tried to delete the dx [[Panelling or Discharge Planning]].


ensure that deleting a DX from allDiagnoses will not break anything. Either make deletes logical, or else allow code to cope with discrepancy. Caused problems when we tried to delete 906 panelling and discharge planning, make sure it doesn't happen again. Ttenbergen 11:46, 2012 November 1 (EDT)
Need to ensure that
* deleted codes can still be edited
* deleted codes can not be sent
* any checks related to deleted codes work or fail gracefully
* if the dx that was deleted was the only dx listed for a patient, something predictable needs to happen


Possible approaches:
* logical deletes (i.e. keep in S_alldiagnoses but add "deleted" column and modify all places that use this to work accordingly.
* change forms and checks to be able to deal with deleted entries


No dx codes are inherently prioritized, so I am not sure what you mean by the first part.
Trish said:  
 
When you send, the program takes all DXs it finds, and sorts them by the priority. This means it should never send blanks. It’s one of the things I will need to confirm, and this applies to us ever deleting _any_ diagnoses.
 
Example:
Admit 1 is 906  No other admit codes.  (this happens when pt goes from a teaching to a non teaching). How will you handle. Admit 1 will just be blank?
• Good point, I will need to address what happens if there is only one DX.
 
From: Trish Ostryzniuk
Sent: Thursday, November 01, 2012 11:03
To: Tina Tenbergen
Subject: RE: Panelling and Discharge Planning
 
DX code if as follows
DX code if as follows
Admit 1 is 906 priority 1
Admit 1 is 906 priority 1
Line 24: Line 21:
Example:
Example:
Admit 1 is 906  No other admit codes.  (this happens when pt goes from a teaching to a non teaching). How will you handle. Admit 1 will just be blank?
Admit 1 is 906  No other admit codes.  (this happens when pt goes from a teaching to a non teaching). How will you handle. Admit 1 will just be blank?
 
* that is a good point. Collectors would '''have''' to add a different diagnosis to be able to send. I can make sure that they can't send without adding that additional dx. However, they would need to be able to determine one. Should there be cases where they can't? I would be whatever it was that made a person incapably of doing things; are there cases where this is not codable? We should likely not be deleting codes where we don't have an alternative for collectors on how to code something. Thoughts? Ttenbergen 12:28, 2012 November 1 (EDT)
I just want to be clear on who is analyzing this allied health consult data.  Julie get upset if she is not “in the loop” from the start if she is to be involved in any analysis.
 


{{Bug}}
{{Bug}}

Revision as of 11:28, 2012 November 1

Deleting a line from s_alldiagnoses will leave blank lines in the dx form, and I am not sure how it copes with this when sending. This problem was discovered when I tried to delete the dx Panelling or Discharge Planning.

Need to ensure that

  • deleted codes can still be edited
  • deleted codes can not be sent
  • any checks related to deleted codes work or fail gracefully
  • if the dx that was deleted was the only dx listed for a patient, something predictable needs to happen

Possible approaches:

  • logical deletes (i.e. keep in S_alldiagnoses but add "deleted" column and modify all places that use this to work accordingly.
  • change forms and checks to be able to deal with deleted entries

Trish said: DX code if as follows Admit 1 is 906 priority 1 Admit 2 is 907 priority 2

How will you handle. When sent will admit 1 be blank and admit 2 only be include in DX 2 slot.

Example: Admit 1 is 906 No other admit codes. (this happens when pt goes from a teaching to a non teaching). How will you handle. Admit 1 will just be blank?

  • that is a good point. Collectors would have to add a different diagnosis to be able to send. I can make sure that they can't send without adding that additional dx. However, they would need to be able to determine one. Should there be cases where they can't? I would be whatever it was that made a person incapably of doing things; are there cases where this is not codable? We should likely not be deleting codes where we don't have an alternative for collectors on how to code something. Thoughts? Ttenbergen 12:28, 2012 November 1 (EDT)