SAP Program RNANARKO - Anesthesia List

Description
Report for the listing of anesthetic services and reserved emptyappointments of the ZRI AKh Linz for the plan object "ZRI Nark".
Processing steps:
1. Initially all times entered for the plan object "ZRI Nark", which isclassified under the org. unit "ZRI", are selected for the nextworkday or for another day entered in the initial screen.
2. If no data exists, the system will return to the initial screen andwill then display an error message.
3. If the case number and patient number for these entries is missing,then this will be an empty appointment. For these emptyappointments, the name and date of birth for the patient, themessage text and a comment ("Empty appt.") will be output.
4. If these entries occurring via a movement (case number andpatient nummer are maintained), then a selection will be displayedin table NLEI, where the anesthetic services for the entries will beselected. Also, all services which exist with the anestheticservices in a request will be selected.
5. The patient data, e.g. the name, date of birth and here also thecase number will be output for the entries occurring via a movement
6. These services are placed in the ouput table with their start date,their start time and their service text and are selected from thetable NTPT by service. If there is no reference to the org. unit"ZRI", then as a guide, the referring physician will be used for theoutput.
7. It will also be checked whether any data is available for the outputIf no data are available, then another error message will bedisplayed and the system will return to the initial screen. Ifdata exist, then initially the start of the report will be logged inthe NJOBSTART table.
8. The anesthesia list will be displayed on the screen at the end.
Precondition