SDES2SRCHCLNBYSC ;ALB/JAS - SDES2 SEARCH CLIN BY STOP CODE ;JUL 19, 2024
Source file <SDES2SRCHCLNBYSC.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
SEARCHCLIN(SDRETURN,SDCONTEXT,SDSEARCH) | ;Search for clinics
; The SDCONTEXT array is controlled by the Acheron application and its fields are ; needed for the storage of the required auditing information. |
|
VALSRCHFLDS(SDERRORS,SDSEARCH) | ; validate incoming search parameters
; Input - SDERRORS = passed in by reference, represents the errors that could be generated when validating the search string ; STATION = Station Number for Division ; STARTING STOP CODE = Stop Code to search against or beginning of a Stop Code range, if ENDING STOP CODE is defined ; ENDING STOP CODE = The last Stop Code in a range to search against |
|
GETCLINICLIST(CLINLIST,SDSEARCH) | ; pull matching clinics using the first input parameter passed in by the RPC
; Input - ; SDSEARCH = Search array values, including Station Number and/or Stop Code (Stop Code range) ; CLINLIST = passed in by reference; represents the temp global that will be returned as output ; Output - CLINLIST = Temp global with list of clinic names and clinic IENs. |
|
BUILDRETURN(SDCLINICIEN,SDCLINCNT,CLINLIST,SDDATETIME) | ;Build return array with clinic data
; input - SDCLINICIEN = IEN of clinic in #44 ; CLINLIST = passed by reference, represents the temp global of clinics and associated data that will be returned ; output - CLINLIST = clinic temp global and their associated data to be sent back to the client |
|
WRONGDIVISION(SDCLINICIEN,STATION) | ;
; Screen out Clinics that don't match passed in Station Number |
|
WRONGSTOPCODE(SDCLINICIEN,STOPCODESTART,STOPCODEEND) | ;
; Screen out Clinics that don't match the passed in Stop Codes |
RPC Name | Call Tags |
---|---|
SDES2 SEARCH CLIN BY STOP CODE | SEARCHCLIN |
FileNo | Call Tags |
---|---|
^VA(200 - [#200] | GET1^DIQ |
^DIC(40.7 - [#40.7] | GET1^DIQ |
^DG(40.8 - [#40.8] | GET1^DIQ |
^SC - [#44] | GET1^DIQ, GETS^DIQ |
44.03 | GET1^DIQ |
44.1 | GET1^DIQ |