Table 81Procedures

ProcedureDetails
Proc_LOSSet length of stay for patient for current area. If ED, based on next destination. If CDU, based on admitted or discharged. If wards, based on age, NEWs and next destination. Set LOS as mean LOS if there is no SD. If there is SD, sample from distribution.
Proc_NEWSChange NEWS score based on current location and next destination. Updates lbl_NEWS and lbl_casemix.
Proc_PreAdmRouteDecide if admitted patients go to CDU or ward and if discharged go to ambulatory AMU or discharge locations. Decides what ward or discharge location as necessary. Counts number of admissions and gives patient an admitted patient number.
Proc_quarter of yearSets quarter of the year based on day of year in simulation. Changes number of arrival per week distribution based on quarter of year, which is in turn sampled from to generate the number of attendances at the start of each week.
Proc_routeSets next destination based on case mix, current location and direct/subsequent admission sets lbl_direct to show next wards are subsequent stays. Used by inpatient wards.
Proc_set_indexSets index number of work stations and queues from ssActivityInformation (spreadsheet of each workstation and queue within the model and the desired index number to make them identifiable in code).
Proc_BedDropCalled when exiting bed. Calculates length of stay and applies cost for bed used.
Proc_BedPickUpCalled when entering bed. Records type of bed (e.g. AMU) and attaches to lbl_BedHeld
Proc_DecisionRulesCalled when wait time expires in queue/decision rule needs to be implemented. Carries out decision rules (outlined elsewhere)
Proc_DischargeCalled when patient being discharged. Records results relating to discharge: discharge location, ward discharged from, discharge case mix.
Proc_DischargeProfileCalled when patient being discharged. Recalculates what time the patient should be discharged to fit with the discharge distribution from data.
Proc_EndCalled as patient leaves model. Records all key variables into results spread sheet.
Proc_LongtermCalled as patient leaves model. Calculates post hospital mortality, QALYs and cost.

From: Chapter 41, Cost-effectiveness analyses

Cover of Emergency and acute medical care in over 16s: service delivery and organisation
Emergency and acute medical care in over 16s: service delivery and organisation.
NICE Guideline, No. 94.
National Guideline Centre (UK).
Copyright © NICE 2018.

NCBI Bookshelf. A service of the National Library of Medicine, National Institutes of Health.