SDESGETCLINAPPT ;ALB/LAB - VISTA SCHEDULING READ CLINIC APPOINTMENT ;FEB 21,2023@15:01
Source file <SDESGETCLINAPPT.m>
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 | 4 | SDES SDESGETAPPTWRAP SDESGETAPPTWRAP3 SDESGETAPPTWRAP5 |
Name | Comments | DBIA/ICR reference |
---|---|---|
GETAPPOINTMENTS(SDECY,SDCLIN,SDSTDTTM,SDENDDTTM) | ;get all appointments for a given clinic for a given datetime range
; ALERT! This tag should NOT be called directly from outside source. This RPC will be called via an EAS wrapper/layer. ; INPUT: ; SDCLIN - Pointer to HOSPITAL LOCATION (#44) FILE ; SDDTTM - start appointment date time in ISO8601 Time format ; SDENDDTTM - end appoitnment date time in ISO8601 Time fomat |
|
VALIDATE | ;Validate required fields are sent
|
|
CONVERTINPDTS | ;Convert INPUT dates from ISO8601 to Fileman
|
|
BUILDER | ;
|
|
BLDREC | ; build an appointment record
|
Name | Field # of Occurrence |
---|---|
GETS^DIQ | GETAPPOINTMENTS+19 |
$$FMTISO^SDAMUTDT | BLDREC+4, BLDREC+12, BLDREC+19, BLDREC+24, BLDREC+25, BLDREC+26, BLDREC+30, BLDREC+32, BLDREC+33, BLDREC+34 |
$$ISOTFM^SDAMUTDT | CONVERTINPDTS+1, CONVERTINPDTS+6 |
ERRLOG^SDESJSON | GETAPPOINTMENTS+10, GETAPPOINTMENTS+23 |
ENCODE^XLFJSON | BUILDER+1 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^SC - [#44] | GETAPPOINTMENTS+14, GETAPPOINTMENTS+16, CONVERTINPDTS+5 |
Name | Line Occurrences |
---|---|
BLDREC | GETAPPOINTMENTS+20 |
BUILDER | GETAPPOINTMENTS+25 |
CONVERTINPDTS | GETAPPOINTMENTS+12 |
VALIDATE | GETAPPOINTMENTS+9 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
APPTREC | GETAPPOINTMENTS+6~, GETAPPOINTMENTS+23 |
APPTREC("ClinicApptDate" | GETAPPOINTMENTS+24*, BLDREC+4*, BLDREC+5*, BLDREC+6*, BLDREC+7*, BLDREC+8*, BLDREC+9*, BLDREC+10*, BLDREC+11*, BLDREC+12* , BLDREC+13*, BLDREC+14*, BLDREC+15*, BLDREC+16*, BLDREC+17*, BLDREC+18*, BLDREC+19*, BLDREC+20*, BLDREC+21*, BLDREC+22* , BLDREC+23*, BLDREC+24*, BLDREC+25*, BLDREC+26*, BLDREC+27*, BLDREC+28*, BLDREC+29*, BLDREC+30*, BLDREC+31*, BLDREC+32* , BLDREC+33*, BLDREC+34*, BLDREC+35*, BLDREC+36*, BLDREC+37*, BLDREC+38* |
DFN | BLDREC+1~, BLDREC+3*, BLDREC+5, BLDREC+6, BLDREC+7, BLDREC+8, BLDREC+9, BLDREC+11, BLDREC+12, BLDREC+22 , BLDREC+27 |
ERR | GETAPPOINTMENTS+6~ |
FOUND | GETAPPOINTMENTS+6~, GETAPPOINTMENTS+8*, GETAPPOINTMENTS+22*, GETAPPOINTMENTS+24, BLDREC+2* |
NUM | GETAPPOINTMENTS+6~, GETAPPOINTMENTS+8*, GETAPPOINTMENTS+10, GETAPPOINTMENTS+11, GETAPPOINTMENTS+13, GETAPPOINTMENTS+21, GETAPPOINTMENTS+23, VALIDATE+1*, VALIDATE+2*, VALIDATE+3* , CONVERTINPDTS+2*, CONVERTINPDTS+3, CONVERTINPDTS+7*, CONVERTINPDTS+8 |
SDAPPT | GETAPPOINTMENTS+6~, GETAPPOINTMENTS+17! |
SDAPPT( | BLDREC+3, BLDREC+6, BLDREC+7, BLDREC+8, BLDREC+9, BLDREC+10, BLDREC+11, BLDREC+12, BLDREC+13, BLDREC+14 , BLDREC+15, BLDREC+16, BLDREC+17, BLDREC+18, BLDREC+19, BLDREC+20, BLDREC+21, BLDREC+22, BLDREC+23, BLDREC+24 , BLDREC+25, BLDREC+26, BLDREC+27, BLDREC+28, BLDREC+29, BLDREC+30, BLDREC+31, BLDREC+32, BLDREC+33, BLDREC+34 , BLDREC+35, BLDREC+36, BLDREC+37, BLDREC+38 |
SDAPPTNO | GETAPPOINTMENTS+6~, GETAPPOINTMENTS+15*, GETAPPOINTMENTS+16*, GETAPPOINTMENTS+18, BLDREC+4, BLDREC+5, BLDREC+6, BLDREC+7, BLDREC+8, BLDREC+9 , BLDREC+10, BLDREC+11, BLDREC+12, BLDREC+13, BLDREC+14, BLDREC+15, BLDREC+16, BLDREC+17, BLDREC+18, BLDREC+19 , BLDREC+20, BLDREC+21, BLDREC+22, BLDREC+23, BLDREC+24, BLDREC+25, BLDREC+26, BLDREC+27, BLDREC+28, BLDREC+29 , BLDREC+30, BLDREC+31, BLDREC+32, BLDREC+33, BLDREC+34, BLDREC+35, BLDREC+36, BLDREC+37, BLDREC+38 |
SDCLIN | GETAPPOINTMENTS~, GETAPPOINTMENTS+14, GETAPPOINTMENTS+16, GETAPPOINTMENTS+18, VALIDATE+1, CONVERTINPDTS+1, CONVERTINPDTS+5, CONVERTINPDTS+6, BLDREC+4, BLDREC+30 , BLDREC+34 |
SDECY | GETAPPOINTMENTS~, GETAPPOINTMENTS+7!, GETAPPOINTMENTS+10 |
SDENDDT | GETAPPOINTMENTS+6~, GETAPPOINTMENTS+14, CONVERTINPDTS+6*, CONVERTINPDTS+7, CONVERTINPDTS+9* |
SDENDDTTM | GETAPPOINTMENTS~, VALIDATE+3, CONVERTINPDTS+6 |
SDIEN | GETAPPOINTMENTS+6~, GETAPPOINTMENTS+18*, GETAPPOINTMENTS+19, BLDREC+3, BLDREC+6, BLDREC+7, BLDREC+8, BLDREC+9, BLDREC+10, BLDREC+11 , BLDREC+12, BLDREC+13, BLDREC+14, BLDREC+15, BLDREC+16, BLDREC+17, BLDREC+18, BLDREC+19, BLDREC+20, BLDREC+21 , BLDREC+22, BLDREC+23, BLDREC+24, BLDREC+25, BLDREC+26, BLDREC+27, BLDREC+28, BLDREC+29, BLDREC+30, BLDREC+31 , BLDREC+32, BLDREC+33, BLDREC+34, BLDREC+35, BLDREC+36, BLDREC+37, BLDREC+38 |
SDMSG | GETAPPOINTMENTS+6~, GETAPPOINTMENTS+17! |
SDSTDT | GETAPPOINTMENTS+6~, GETAPPOINTMENTS+14*, GETAPPOINTMENTS+16, GETAPPOINTMENTS+18, CONVERTINPDTS+1*, CONVERTINPDTS+2, CONVERTINPDTS+4*, CONVERTINPDTS+5*, BLDREC+4, BLDREC+5 , BLDREC+6, BLDREC+7, BLDREC+8, BLDREC+9, BLDREC+10, BLDREC+11, BLDREC+12, BLDREC+13, BLDREC+14, BLDREC+15 , BLDREC+16, BLDREC+17, BLDREC+18, BLDREC+19, BLDREC+20, BLDREC+21, BLDREC+22, BLDREC+23, BLDREC+24, BLDREC+25 , BLDREC+26, BLDREC+27, BLDREC+28, BLDREC+29, BLDREC+30, BLDREC+31, BLDREC+32, BLDREC+33, BLDREC+34, BLDREC+35 , BLDREC+36, BLDREC+37, BLDREC+38 |
SDSTDTTM | GETAPPOINTMENTS~, VALIDATE+2, CONVERTINPDTS+1 |