Repository navigation
Rule CG0067/FDAB006: Check all disposition events for DEATH presence or final disposition only? #52
|
Rule Description: When SS.SSSTRESC = "DEAD", the final disposition record must have DSDECOD ^= "DEATH". Question: Should we change it to check the DSDECOD value with the max DSSEQ? |
Replies: 1 comment 1 reply
|
Hi @PolinaVyniavska I don't think that the current rule is checking everything. I would divide it to check: if SSSTRESC = DEAD, then there 1) must be a record in DS 2) that record should have DSDECOD = DEATH |
Hi @PolinaVyniavska
The rule description is something that has been created by a volunteer and is currently referring to a final disposition date even though the rule + description don't mention this (the cited guidance does but the rule is created based on that cited guidance, not vice versa). I would thus program the rule explicitly according to the condition + rule: Raise an error when SSSTRESC = 'DEAD' but a record where DSDECOD = 'DEATH' is not present in the DS dataset.
There is another rule that is checking whether the DS record with DSDECOD = DEATH has a date = DTHDTC in DM (CG0069). So this already covers that. The fact that is explicitly the final disposition record seems to be …