Query check LAU collection readmission data: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
| DIC_related_concepts = Admit date and time; Dispo_DtTm; LAU collection readmission data
| DIC_related_concepts = Admit date and time; Dispo_DtTm; LAU collection readmission data
| DIC_firmness = hard check
| DIC_firmness = hard check
| DIC_timing = complete
| DIC_timing = always
| DIC_app = CCMDB.accdb
| DIC_app = CCMDB.accdb
| DIC_coding =  query ''LAU_collection_readmission_data''
| DIC_coding =  query ''LAU_collection_readmission_data''
| DIC_status =   
| DIC_status =  implemented
| DIC_implementation_date = 2025-03
| DIC_implementation_date = implemented
}}
}}


Line 13: Line 13:


Check:
Check:
* ([[L_TmpV2 table]] date_var, time_var) must not be null
* for item = "has previous", ([[L_TmpV2 table]] date_var + time_var) must be before the [[Admit date and time]]
* for item = "has previous", ([[L_TmpV2 table]] date_var + time_var) must be before the [[Admit date and time]]
* for item = "has later", ([[L_TmpV2 table]] date_var + time_var) must be after [[Dispo DtTm field]]
* for item = "has later", ([[L_TmpV2 table]] date_var + time_var) must be after [[Dispo DtTm field]]
* don't need to limit this to only LAU collection records since no other records should have this; if a record has the entry it should meet these conditions.  
* don't need to limit this to only LAU collection records since no other records should have this; if a record has the entry it should meet these conditions.  
* check these always, if a record was added it should be complete


== Log ==
== Log ==
* 2025-03-06 - implemented
* 2025-03-05 - cross check defined
* 2025-03-05 - cross check defined



Revision as of 22:28, 6 March 2025

Data Integrity Checks
Summary: dates must make sense
Related: Admit date and time, Dispo_DtTm, LAU collection readmission data
Firmness: hard check
Timing: always
App: CCMDB.accdb
Coding: query LAU_collection_readmission_data
Uses L Problem table: not relevant for this app
Status: implemented
Implementation Date: implemented
Backlogged: true
  • Cargo


  • SMW


  • Categories:  
  • form:

This check is or a temporary entry collected for the LAU Collection Project.

Check:

  • (L_TmpV2 table date_var, time_var) must not be null
  • for item = "has previous", (L_TmpV2 table date_var + time_var) must be before the Admit date and time
  • for item = "has later", (L_TmpV2 table date_var + time_var) must be after Dispo DtTm field
  • don't need to limit this to only LAU collection records since no other records should have this; if a record has the entry it should meet these conditions.
  • check these always, if a record was added it should be complete

Log

  • 2025-03-06 - implemented
  • 2025-03-05 - cross check defined

Related Articles

Related articles: