; Should conversion event be processed for disposition
; Input -- SCCVEVT Conversion event
; DFN Patient IEN
; SCDTM Visit date/time
; SCCVDIS Array of disposition clinics
ENC(SCOE,SCCV)
; Convert additional disposition data for the encounter
; $$GETDISP^SDVIST2 creates the encounter and seeds it with disp data
; Input -- SCOE Outpatient encounter IEN
; SCCV Conversion array
; Output -- None
ENQ
ENCQ
EN(SCCVEVT,DFN,SCDTM,SCLOG)
; Entry point to convert a disposition
; Input -- SCCVEVT Conversion event
; 0=Estimate 1=Convert 2=Re-convert
; DFN Patient IEN
; SCDTM Visit date/time
; SCLOG Scheduling conversion log IEN [optional]
DONE(DFN,SCDTM,SCECSTAT)
; Update disposition encounter conversion status
; Input -- DFN Patient IEN
; SCDTM Visit date/time
; SCECSTAT Encounter conversion status
; Output -- None