SDESRECCLINSRCH ;ALB/MGD - VISTA SCHEDULING RECALL CLINIC SEARCH RPC; Aug 24, 2022@15:04
Source file <SDESRECCLINSRCH.m>
Package | Total | Call Graph |
---|---|---|
Scheduling | 2 | BUILDJSON^SDESBUILDJSON ERRLOG^SDESJSON |
VA FileMan | 1 | ($$FIND1,FIND)^DIC |
Name | Comments | DBIA/ICR reference |
---|---|---|
SEARCHRECALLCLIN(JSONRETURN,SEARCHSTRING) | ;Search for Recall clinics and provide return of matches in JSON STRING
; INPUT - SEARCHSTRING = free text string that represents the recall clinic name that will be searched ; OUTPUT - JSONRETURN ; List of Recall Clinics from the RECALL REMINDERS (#403.5) file with the following data. ; Field List: ; (1) Recall Clinic IEN ; (2) Recall Clinic Name ; (3) Recall Reminder IEN |
|
VALIDATEINPUT(ERRORLIST,SEARCHSTRING) | ; validate incoming parameters
; input - ERRORLIST = passed in by reference, represents the errors that could be generated when validating the searchstring ; SEARCHSTRING = represents the name or partial name of the Recall Clinic ; returns 0 or 1 ; 0 = no validation errors ; 1 = validation errors |
|
GETPROVLIST(SEARCHSTRING,CLINICLIST) | ; pull matching recall clinics using the first input parameter passed in by the RPC
; Input - SEARCHSTRING = string that represents the name of the recall clinic ; CLINICLIST = passed in by reference; represents the array that will be returned as output ; Output - CLINICLIST = list of recall clinic names, clinic IENs and the associated recall reminder IENs. |
|
BUILDRETURN(CLINICLIST,CLINICRETURN) | ;Build return array with recall reminder clinic data
; input - CLINICLIST = array of recall clinics ; CLINICRETURN = passed by reference, represents the array of recall clinics and associated data that will be returned to the client ; output - CLINICRETURN = recall clinic array and their associated data to be sent back to the client |
FileNo | Call Tags |
---|---|
^SD(403.5 - [#403.5] | FIND^DIC |
^SC - [#44] | FIND1^DIC |
Name | Line Occurrences |
---|---|
$$VALIDATEINPUT | SEARCHRECALLCLIN+13 |
BUILDRETURN | SEARCHRECALLCLIN+16 |
GETPROVLIST | SEARCHRECALLCLIN+15 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CLINICLIST | SEARCHRECALLCLIN+9~, SEARCHRECALLCLIN+15, SEARCHRECALLCLIN+16, GETPROVLIST~, GETPROVLIST+5!, BUILDRETURN~ |
CLINICLIST( | GETPROVLIST+10*, BUILDRETURN+7, BUILDRETURN+11 |
CLINICRETURN | SEARCHRECALLCLIN+9~, SEARCHRECALLCLIN+16, SEARCHRECALLCLIN+17, BUILDRETURN~ |
CLINICRETURN( | "Recall Clinic" , BUILDRETURN+12*, BUILDRETURN+13*, BUILDRETURN+14*, BUILDRETURN+16* |
CLINIEN | BUILDRETURN+5~, BUILDRETURN+8*, BUILDRETURN+9, BUILDRETURN+12 |
CLINNAME | GETPROVLIST+9*, GETPROVLIST+10, BUILDRETURN+5~, BUILDRETURN+6*, BUILDRETURN+7*, BUILDRETURN+8, BUILDRETURN+11, BUILDRETURN+12, BUILDRETURN+13, BUILDRETURN+14 |
ERROREXISTS | SEARCHRECALLCLIN+9~, SEARCHRECALLCLIN+12*, SEARCHRECALLCLIN+13*, SEARCHRECALLCLIN+14 |
ERRORLIST | SEARCHRECALLCLIN+9~, SEARCHRECALLCLIN+13, SEARCHRECALLCLIN+14, VALIDATEINPUT~, VALIDATEINPUT+8 |
ERRORLIST("Re | call Clinic" , VALIDATEINPUT+9* |
JSONRETURN | SEARCHRECALLCLIN~, SEARCHRECALLCLIN+10!, SEARCHRECALLCLIN+14, SEARCHRECALLCLIN+17 |
RECCNT | BUILDRETURN+5~, BUILDRETURN+6*, BUILDRETURN+15*, BUILDRETURN+16 |
RECIEN | BUILDRETURN+5~, BUILDRETURN+10*, BUILDRETURN+11*, BUILDRETURN+12, BUILDRETURN+13, BUILDRETURN+14 |
RESULTS | GETPROVLIST+4~ |
RESULTS("DILIST" | GETPROVLIST+8, GETPROVLIST+9, GETPROVLIST+10 |
SEARCHSTRING | SEARCHRECALLCLIN~, SEARCHRECALLCLIN+11*, SEARCHRECALLCLIN+13, SEARCHRECALLCLIN+15, VALIDATEINPUT~, VALIDATEINPUT+6*, VALIDATEINPUT+7, GETPROVLIST~, GETPROVLIST+7 |
SUB3 | GETPROVLIST+4~, GETPROVLIST+6*, GETPROVLIST+8*, GETPROVLIST+9, GETPROVLIST+10 |