09.02.2013 Views

3+4+Supplementum/2012 - Společnost pro pojivové tkáně

3+4+Supplementum/2012 - Společnost pro pojivové tkáně

3+4+Supplementum/2012 - Společnost pro pojivové tkáně

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

lock1 patient arrival to hospital bed or patient queue<br />

Patient is moved<br />

from queue to<br />

bed, pointer<br />

correction<br />

patient …<br />

queue …<br />

Input: department number, name, cure time<br />

Patient record definition (pointer pacp):<br />

name, tcure, start time<br />

S<br />

Is the bed<br />

free?<br />

i < n<br />

no therecord is placed to queue end<br />

The record is placed at yes<br />

„queue“<br />

0<br />

list end of patienton<br />

bed „pacient“ 0<br />

daverage=daverage +d(time-tqueue)<br />

utilizing =utilizing + i(time-tbed)/n<br />

tbed= time<br />

schedule (time+tcure, block2, pacp,….)<br />

Input: T … time of next patient coming<br />

schedule(T,blok1,…)<br />

block2 – bed release<br />

E<br />

Z<br />

Is the queue<br />

empty?<br />

End<br />

no<br />

0<br />

yes bed release, pointer correction<br />

patient …<br />

... 0<br />

appendix 1. Program blocks „Model of hospital bed occupation“<br />

POHYBOVÉ ÚSTROJÍ, ročník 19, <strong>2012</strong>, č. 3+4 229

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!