Query check CCI from OR no CCI

From CCMDB Wiki
Jump to navigation Jump to search
Data Integrity Checks
Summary: If from OR or PACU, must have at least 1 CCI Procedure other than No procedure performed
Related: CCI Procedure, Previous Location, No procedure performed, No codable procedure done in OR
Firmness: hard check (not allowed) or soft check (allowed, but give error; in CFE this means it has to go into the ... table, and cross checks have to consider that table)
Timing:
App: CCMDB.accdb
Coding: query check_CCI_from_OR_no_CCI
Uses L Problem table: not relevant for this app
Status: implemented
Implementation Date: 2018-11-18
Backlogged: true
  • Cargo


  • SMW


  • Categories: 
  • form:

While Query check CCI must have entry makes sure every pt has at least 1 CCI entry, this check makes sure that each patient who comes from a surgical location has at least one CCI other than No procedure performed.

Surgical Location

Patient is considered coming from a surgical location if Previous Location is one of the following:

  • loc_type = RR
  • loc_type = OR

Aborted procedure

Since we code Aborted Procedures this check should not produce false errors for those.

Log

Related articles

Related articles: