SDESCANCELAPPT44 ;ALB/MGD,KML - CANCEL APPOINTMENT REQUEST IN FILE 44 ;Feb 14,2022
Source file <SDESCANCELAPPT44.m>
Package | Total | Call Graph |
---|---|---|
Scheduling | 2 | $$ISOTFM^SDAMUTDT (ENCODE,ERRLOG)^SDESJSON |
VA FileMan | 1 | UPDATE^DIE |
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Scheduling | 1 | SDES |
Name | Comments | DBIA/ICR reference |
---|---|---|
ARCANCEL44(RETURN,SDDFN,SDCLNIEN,SDARDTTM) | ; Cancel Appointment Request in #44 (VSE-1944)
; INP - Input parameters array ; SDDFN = (Req) DFN Pointer to the PATIENT file #2 ; SDCLNIEN = (Req) IEN of Clinic in HOSPITAL LOCATION #44 ; SDARDTTM = (Req) Date/Time of Appointment in ISO 8601 extended format (e.g. 2022-01-19T20:15:44) |
|
VALIDATE | ;
|
|
SCIEN(SDDFN,CLINIC,DATE) | ;get the ien for the appointment
; Input - ; SDDFN = PATIENT ien (DFN) ; CLINIC = CLINIC ien ; DATE = Date/time of appointment ; Output - returns ien of appt at 44.003 |
|
UPDATE | ;Update Appointment for Cancellation
|
|
BUILDER | ;Convert data to JSON
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | VALIDATE+6 |
^SC - [#44] | VALIDATE+11, SCIEN+8, SCIEN+9 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
APPTSTRING | SCIEN+6~, SCIEN+9*, SCIEN+10, SCIEN+11 |
CLINIC | SCIEN~, SCIEN+8, SCIEN+9 |
DATE | SCIEN~, SCIEN+8, SCIEN+9 |
JSONERR | BUILDER+1~, BUILDER+2*, BUILDER+3 |
POP | ARCANCEL44+6~, ARCANCEL44+7*, ARCANCEL44+10, VALIDATE+1*, VALIDATE+5*, VALIDATE+6*, VALIDATE+10*, VALIDATE+11*, VALIDATE+15*, VALIDATE+17* , VALIDATE+19*, VALIDATE+20* |
RESULTS | SCIEN+6~, SCIEN+7*, SCIEN+10*, SCIEN+11*, SCIEN+12 |
RETURN | ARCANCEL44~, BUILDER+3 |
SDAPTREQ | ARCANCEL44+6~, VALIDATE+5, VALIDATE+6, VALIDATE+10, VALIDATE+11, VALIDATE+15, VALIDATE+17, VALIDATE+19, VALIDATE+20, BUILDER+3 |
SDAPTREQ("Error" | UPDATE+4* |
SDAPTREQ("Success" | UPDATE+5* |
SDARDTTM | ARCANCEL44~, VALIDATE+14*, VALIDATE+15, VALIDATE+16*, VALIDATE+17, VALIDATE+18, UPDATE+2 |
SDCLNIEN | ARCANCEL44~, VALIDATE+9*, VALIDATE+10, VALIDATE+11, VALIDATE+16, VALIDATE+18, UPDATE+2 |
SDDFN | ARCANCEL44~, VALIDATE+4*, VALIDATE+5, VALIDATE+6, VALIDATE+18, SCIEN~, SCIEN+10, SCIEN+11 |
SDERR | UPDATE+1~, UPDATE+3!, UPDATE+4 |
SDFDA | UPDATE+1~ |
SDFDA( | UPDATE+2* |
SDIEN | ARCANCEL44+6~, VALIDATE+18*, VALIDATE+19, VALIDATE+20, VALIDATE+21*, UPDATE+2 |
U | VALIDATE+19, SCIEN+10, SCIEN+11 |
X | SCIEN+6~, SCIEN+7*, SCIEN+8*, SCIEN+9, SCIEN+10, SCIEN+11 |