Query check minimal data set incomplete: Difference between revisions
Jump to navigation
Jump to search
Ttenbergen (talk | contribs) mNo edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
* There was talk about adding [[Previous Location]] to this, but we now know that is not always available and leads people to enter bad data, so maybe we should not. | * There was talk about adding [[Previous Location]] to this, but we now know that is not always available and leads people to enter bad data, so maybe we should not. | ||
* There was talk about removing [[Arrive DtTm]] so pts can be entered even while still in ER. | * There was talk about removing [[Arrive DtTm]] so pts can be entered even while still in ER and avoid erroneous entries. | ||
}} | }} |
Revision as of 14:06, 26 November 2020
Data Integrity Checks | |
Summary: | makes sure the Minimal Data Set is collected before records can be sent. |
Related: | Minimal Data Set, Serial number, Service/Location, First Name, Last Name, PHIN field, Chart number, Arrive DtTm |
Firmness: | hard check |
Timing: | |
App: | CCMDB.accdb |
Coding: | query check_minimal_data_set_incomplete |
Uses L Problem table: | not relevant for this app |
Status: | implemented |
Implementation Date: | 2009-08-18 |
Backlogged: | true |
The implementation date is approximate based on Minimal Data Set.
![]() |
|
Trying to send or clicking the "Pre-send checker" button triggers data integrity checks for the minimal data set. If there are errors you get a message "You have patients with an incomplete or wrong minimal data set." Click OK and the query listing the actual errors will open. For any line in the query at least one column other than Patient_ID would have "Problem" and the current content of the column in it; that column is the one where you have an error. The heading of the columns should be self-explanatory.
some problems being checked
- Locn_bad - missing location
- FirstName_bad - missing first name
- LastName_bad - missing last name
- PHIN_bad - PHIN is present but not an acceptable PHIN
- chart_bad - chart is blank or has spaces or other non-numerical things in it
- admdate_bad - Arrive DtTm missing or after today
- disdate_bad - if Dispo DtTm is present it can't be after today or before Arrive DtTm
- Transfer_before_adm - Transfer Ready DtTm is present and is before Arrive DtTm
- Transfer_after_disch - Transfer Ready DtTm and Dispo DtTm are present, and Transfer Ready DtTm is after Dispo DtTm
- adm_after_disch - Dispo DtTm is present and Arrive DtTm is after Dispo DtTm
implementation
Check is done as part of module "tmp_checker" calling query "minimal_data_set_incomplete".
Log
- 2019-10-27 - will only check for recordstatus complete or incomplete now
- 2019-04-28 - tweaked check for Chart to not give overflow error for very long chart numbers.