Query check LAU collection readmission data: Difference between revisions
Jump to navigation
Jump to search
Ttenbergen (talk | contribs) No edit summary |
Ttenbergen (talk | contribs) m Text replacement - "cross check " to "cross check " |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
| DIC_timing = complete | | DIC_timing = complete | ||
| DIC_app = CCMDB.accdb | | DIC_app = CCMDB.accdb | ||
| DIC_coding = query '' | | DIC_coding = query ''check_LAU_collection_readmission_data'' | ||
| DIC_status = | | DIC_status = implemented | ||
| DIC_implementation_date = | | DIC_implementation_date = implemented | ||
}} | }} | ||
| Line 13: | Line 13: | ||
Check: | Check: | ||
* check these only when RecordStatus = complete | |||
* Project = "LAU Readm" | |||
* if a readmission, ([[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. | ||
* if item indicates no admission then date_var and time_var must be null | |||
* there must not be a line with "later not entered"/"previous not entered" | |||
* there must be a line with "previous" and a line with "later" for each record in [[LAU Collection Project]] | |||
== Log == | == Log == | ||
* 2025-03-05 - cross check defined | * 2025-03-09 - updated check to account for "no readmission" items | ||
* 2025-03-06 - implemented | |||
* 2025-03-05 - [[cross check]] defined | |||
== Related Articles == | == Related Articles == | ||
Revision as of 13:25, 20 June 2025
| Data Integrity Checks | |
| Summary: | dates must make sense |
| Related: | Admit date and time, Dispo_DtTm, LAU collection readmission data |
| Firmness: | hard check |
| Timing: | complete |
| App: | CCMDB.accdb |
| Coding: | query check_LAU_collection_readmission_data |
| Uses L Problem table: | not relevant for this app |
| Status: | implemented |
| Implementation Date: | implemented |
| Backlogged: | true |
This check is or a temporary entry collected for the LAU Collection Project.
Check:
- check these only when RecordStatus = complete
- Project = "LAU Readm"
- if a readmission, (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.
- if item indicates no admission then date_var and time_var must be null
- there must not be a line with "later not entered"/"previous not entered"
- there must be a line with "previous" and a line with "later" for each record in LAU Collection Project
Log
- 2025-03-09 - updated check to account for "no readmission" items
- 2025-03-06 - implemented
- 2025-03-05 - cross check defined
Related Articles
| Related articles: |