HMPACT ;ASMR/EJK/PB/JD - Patient Appointment Broker Call;May 15, 2016 14:15
Source file <HMPACT.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
ACT(ROOT,DFN,ID,ALPHA,OMEGA,DTRANGE,REMOTE,MAX,ORFHIE) | ;
|
|
FETCH | ;GET PENDING JSON MESSAGES AND UPDATE DATE RECORD RETRIEVED
|
|
CLEAN | ;CLEAN UP STRAY VARIABLES
|
|
SETITEM(ROOT,X) | ; -- set item in list - RRB US5872
|
|
APPT(HMPOUT,BEG,END,LOCIEN) | ; Lookup appointments by date and location
|
|
LOCLKUP | ; Gets all appointments for all clinics in the LOC(D1) array
|
|
SCHED(LOCIEN,BEG,END) | ;
; Get list of patients and appointment dates from the ; using $$SDAPI^SDAMA301 api. ; Inputs are SDARRAY(1)=BEG;END - Beginning and ending dates for the search. ; BEG must be defined. ; END ending date for the search. If END is undefined, the API returns all appointments starting with the BEG date. ; BEG and END are FileMan Date/Time. Both BEG and END are validated in the calling linetag APPT^HMPACT ; LOCIEN = IEN for the location in the Hospital Location file (#44). LOCIEN is validated in the calling linetag APPT^HMPACT ; ; Feb 24, 2016 - PB - DE2991 requested that all patients be returned. Prior to DE2991, if a patient was in the HMP Subscription file (#800000) ; they were excluded from the return data. |
|
ENDAPPT | ;
|
|
ADMIT(HMPOUT,LOCIEN) | ; Lookup admissions by location
|
|
ENDADMIT | ;
|
|
GETADMIT(DFN) | ;
|
RPC Name | Call Tags |
---|---|
HMP PATIENT ACTIVITY | ACT |
HMP PATIENT SCHED SYNC | APPT |
HMP PATIENT ADMIT SYNC | ADMIT |
FileNo | Call Tags |
---|---|
^DIC(42 - [#42] | FIND1^DIC |