Bed borrow: Difference between revisions

Agarland (talk | contribs)
No edit summary
Agarland (talk | contribs)
Line 6: Line 6:
**For ‘1’ the patient is just borrowing a bed
**For ‘1’ the patient is just borrowing a bed
**For ‘2’ the patient is borrowing a bed AND the service, i.e. TeamB
**For ‘2’ the patient is borrowing a bed AND the service, i.e. TeamB
*To capture all of this, we need to create 2 PAIRS of parameters -- that can be coded for each and every day.  The pairs are a Flag + a FlaggedUnitcode
*To capture all of this, we need to create 2 PAIRS of parameters -- that should be coded separately for each day, if applicableEach pair comprises a binary Flag combined with FlaggedUnitcode
**(a) Flag1 indicates that on the given day the patient is borrowing a bed -- the Unit code indicates WHERE that bed is.   
**(a) Flag1 indicates that on the given day the patient is borrowing a bed -- the FlaggedUnitCode indicates WHERE that bed is.   
**(b) Flag2 indicates that on the given day the patient is borrowing a bed & service -- the Unit code indicates WHERE that patient would otherwise be located  
**(b) Flag2 indicates that on the given day the patient is borrowing a bed & service -- the FlaggedUnitCode code indicates WHERE that patient would otherwise be located  
*Example:  A=ACCU  B=ICMS
*Example:  A=ACCU  B=ICMS
**In situation#1, set Flag1=1 and FlaggedUnitCode=ICMS
**In situation#1, set Flag1=1 and FlaggedUnitCode=ICMS
**In situation#2, set Flag2=1 and FlaggedUnitCode=ACCU
**In situation#2, set Flag2=1 and FlaggedUnitCode=ACCU
*THUS, here is how the 2 kinds of pieces of data sought by administrators related to bed borrows would be calculated:
*THUS, here is how the 2 kinds of pieces of data sought by administrators related to bed borrows would each be calculated:
**Administrators for UnitA want to know how many bed-days in a given interval that they had TypeA patients boarding elsewhere.  This number is the sum of the following 2 things:
**Administrators for UnitA want to know how many bed-days in a given interval that they had TypeA patients boarding elsewhere.  This number is the sum of the following 2 things:
***#Bed-days in the given interval that patients assigned to UnitA had Flag1=1 PLUS
***#Bed-days in the given interval that patients assigned to UnitA had Flag1=1 +
***#Bed-days in the given interval that patients assigned to any other unit had Flag2=1 AND the FlaggedUnitCode for Flag2 was UnitA
***#Bed-days in the given interval that patients assigned to any other unit had Flag2=1 AND the FlaggedUnitCode for Flag2 was UnitA
**Administrators for UnitB want to know how many bed-days in a given interval were taken up by boarders from elsewhere.  This number is the sum of the 2 following things:
**Administrators for UnitB want to know how many bed-days in a given interval were taken up by boarders from elsewhere.  This number is the sum of the 2 following things:
***#Bed-days in the given interval that patients assigned to UnitB had Flag2=1 PLUS
***#Bed-days in the given interval that patients assigned to UnitB had Flag2=1 +
***#Bed-days in the given interval that patients assigned to any other unit had Flag1=1 AND the FlaggedUnitCode for Flag2 was UnitB
***#Bed-days in the given interval that patients assigned to any other unit had Flag1=1 AND the FlaggedUnitCode for Flag2 was UnitB


Line 38: Line 38:


=== [[ICUotherService]] ===
=== [[ICUotherService]] ===
For patient should have been in other ICU.
For patient should have been in other ICU.


== Background ==
== Background ==