Check Sub PharmCheck: Difference between revisions
Jump to navigation
Jump to search
Ttenbergen (talk | contribs) mNo edit summary |
Ttenbergen (talk | contribs) m (updated documentation, the check was already doing this right since it uses LOS) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Data Integrity Check | {{Data Integrity Check | ||
| DIC_summary = | | DIC_summary = Every CC record has to have at least one pharmacy record (possibly all zeros), and the number of drug days can't be GT LOS, | ||
| DIC_related_concepts = Pharmacy collection | | DIC_related_concepts = Pharmacy collection; LOS | ||
| DIC_firmness = hard check | | DIC_firmness = hard check | ||
| DIC_timing = complete | | DIC_timing = complete | ||
Line 12: | Line 12: | ||
* each patient has to have at least one line of no entries (implemented) | * each patient has to have at least one line of no entries (implemented) | ||
uses function LOS() to calculate the LOS | |||
PharmCheck used to be used to do internal consistency checks on Pharmacy data. No longer used since change in Pharmacy data structure 2012-01-01. See [[Pharmacy_collection#Data_Integrity_Rules]] for data consistency checking in new paradigm. | PharmCheck used to be used to do internal consistency checks on Pharmacy data. No longer used since change in Pharmacy data structure 2012-01-01. See [[Pharmacy_collection#Data_Integrity_Rules]] for data consistency checking in new paradigm. | ||
Line 36: | Line 35: | ||
* if three are duplicate priorities, an error is generated | * if three are duplicate priorities, an error is generated | ||
* if one of the entries is "No Pharm" and there are other entries, an error is generated}} | * if one of the entries is "No Pharm" and there are other entries, an error is generated}} | ||
== Log == | |||
* 2022-03-31 - updated no longer check for starting time since that is now checked from minimal data set query | |||
== Related articles == | == Related articles == | ||
{{Related Articles}} | {{Related Articles}} | ||
[[Category:Length of stay]] | [[Category:Length of stay]] |
Latest revision as of 15:38, 2022 April 19
Data Integrity Checks | |
Summary: | Every CC record has to have at least one pharmacy record (possibly all zeros), and the number of drug days can't be GT LOS, |
Related: | Pharmacy collection, LOS |
Firmness: | hard check |
Timing: | complete |
App: | CCMDB.accdb |
Coding: | Sub PharmCheck |
Uses L Problem table: | not relevant for this app |
Status: | implemented |
Implementation Date: | 2012-01-01 |
Backlogged: | true |
- each patient has to have at least one line of no entries (implemented)
uses function LOS() to calculate the LOS
PharmCheck used to be used to do internal consistency checks on Pharmacy data. No longer used since change in Pharmacy data structure 2012-01-01. See Pharmacy_collection#Data_Integrity_Rules for data consistency checking in new paradigm.
Legacy data |
Public Sub PharmCheck provides for the consistency checks for pharmacy collection.
|
Log
- 2022-03-31 - updated no longer check for starting time since that is now checked from minimal data set query
Related articles
Related articles: |