Function Dispo Chronological(): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Ttenbergen (talk | contribs) m struct |
||
| Line 5: | Line 5: | ||
* [[Accept DtTm field]] - error if >Transfer Ready DtTm field or >Dispo DtTm field | * [[Accept DtTm field]] - error if >Transfer Ready DtTm field or >Dispo DtTm field | ||
* [[Arrive DtTm field]] - error if >Transfer Ready DtTm field or >Dispo DtTm | * [[Arrive DtTm field]] - error if >Transfer Ready DtTm field or >Dispo DtTm | ||
* [[Transfer Ready DtTm field]] - error if < arrive/accept (as above) or >Dispo DtTm | * [[Transfer Ready DtTm field]] - error if < arrive/accept (as above) or >Dispo DtTm | ||
* [[Dispo DtTm field]] - error if in future (don't need to check for others because they need to be before this) and all other errors are taken care off by other pair checks above. | * [[Dispo DtTm field]] - error if in future (don't need to check for others because they need to be before this) and all other errors are taken care off by other pair checks above. | ||
== Arrive vs Accept == | |||
* will arrive always be after accept? is this sensible to check? | |||
** Re: Arrive after Accept: Intuitively should be yes however docs will send patients direct to wards for admission from clinic/s and only get to ward after clinics are over to write their orders...timing their admission orders will then be later than arrival. We have been adjusting their admit times to be same or 5 min earlier in order to avoid errors in these cases.--[[User:Llemoine|Llemoine]] 07:47, 2016 May 26 (CDT) | |||
== Transfer time rule == | |||
Will want to reconcile [[Transfer time rule]] | Will want to reconcile [[Transfer time rule]] | ||
[[Category:2016 Time and Place changes]] | [[Category:2016 Time and Place changes]] | ||
Revision as of 08:37, 26 May 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 following is edited, and will generate an error if:
- Visit Admit DtTm field - error if > than any other time
- Accept DtTm field - error if >Transfer Ready DtTm field or >Dispo DtTm field
- Arrive DtTm field - error if >Transfer Ready DtTm field or >Dispo DtTm
- Transfer Ready DtTm field - error if < arrive/accept (as above) or >Dispo DtTm
- Dispo DtTm field - error if in future (don't need to check for others because they need to be before this) and all other errors are taken care off by other pair checks above.
Arrive vs Accept
- will arrive always be after accept? is this sensible to check?
- Re: Arrive after Accept: Intuitively should be yes however docs will send patients direct to wards for admission from clinic/s and only get to ward after clinics are over to write their orders...timing their admission orders will then be later than arrival. We have been adjusting their admit times to be same or 5 min earlier in order to avoid errors in these cases.--Llemoine 07:47, 2016 May 26 (CDT)
Transfer time rule
Will want to reconcile Transfer time rule