|
|
| Line 74: |
Line 74: |
| this data may eventually replace: [[ACCU borrow]] and [[ICUotherService]] | | this data may eventually replace: [[ACCU borrow]] and [[ICUotherService]] |
|
| |
|
| =={{CCMDB Data Integrity Checks|not yet implemented}}==
| | {{Data Integrity Check List}} |
| === (start_dt, start_tm) outside of admission time ===
| |
| If
| |
| * (start_dt, start_tm) < [[Arrive_DtTm]]
| |
| or
| |
| * [[Dispo_DtTm]] <'''=''' (start_dt, start_tm)
| |
| then give a hard error. This can't be.
| |
| | |
| Implemented as query ''___not___yet___implemented___''.
| |
| | |
| === can't have two entries that are the same ===
| |
| Can't have two identical entries.
| |
| | |
| Implemented as query ''___not___yet___implemented___''.
| |
| | |
| === has to either have location and time or "no borrow" checked ===
| |
| all in header...
| |
| Implemented as query ''___not___yet___implemented___''.
| |
| | |
| === can't borrow on own unit ===
| |
| ''This is allowed because this is how we would code a patient moving back to home unit. No check! Just leaving it here in case.''
| |
| | |
| {{Discuss | who=Tina | question = There are more at the project this replaced, [[ACCU_borrow#CCDMB_Data_Integrity_Checks_.28implemented.29]]. Did all make it over here? }}
| |
|
| |
|
| == Data Use == | | == Data Use == |