Function Dispo Chronological(): Difference between revisions
Jump to navigation
Jump to search
Ttenbergen (talk | contribs) m m |
Ttenbergen (talk | contribs) ER check same for Med and ICU |
||
| Line 3: | Line 3: | ||
The check will run each time one of the times is edited, and will generate an error if: | The check will run each time one of the times is edited, and will generate an error if: | ||
* [[Visit Admit DtTm field]] - no checks since taken direct from [[EPR]] | * [[Visit Admit DtTm field]] - no checks since taken direct from [[EPR]] | ||
* | * [[Arrive DtTm]] has to be before or equal to [[Accept DtTm]] | ||
* [[Arrive DtTm]] has to be before or equal [[Transfer Ready DtTm]] | * [[Arrive DtTm]] has to be before or equal [[Transfer Ready DtTm]] | ||
* [[Arrive DtTm]] has to be before [[Dispo DtTm ]] | * [[Arrive DtTm]] has to be before [[Dispo DtTm ]] | ||
Revision as of 09:26, 5 July 2016
Function Dispo_Chronological checks that the times in Category:2016 Time and Place changes are in a sensible chronological order.
The check will run each time one of the times is edited, and will generate an error if:
- Visit Admit DtTm field - no checks since taken direct from EPR
- Arrive DtTm has to be before or equal to Accept DtTm
- Arrive DtTm has to be before or equal Transfer Ready DtTm
- Arrive DtTm has to be before Dispo DtTm
- Transfer Ready DtTm has to be before Dispo DtTm
- Dispo DtTm has to be before Now() / today
- Panelling or Discharge Planning - if Primary Admit Diagnosis is panelling then Arrive DtTm and Transfer Ready DtTm must be same
Transfer time rule
Will want to reconcile Transfer time rule