VistA Analysis » VistA Reference » RPCs » ORWSR CASELIST

ORWSR CASELIST

Returns a list of all surgery cases for a patient, without documents asreturned by ORWSR LIST.

Properties

Property Value
Label CASELIST
MUMPS Implementation ORWSR
Return Type GLOBAL ARRAY

Input Parameters

Name Type Maximum Data Length Required Description
dfn LITERAL 32 true Patient DFN

MUMPS Method Description

Property Value
Method CASELIST^ORWSR
Method Comment retrieve list of cases, but no documents
Input Parameters ORDFN
Code
 Q:'$$PATCH^XPDUTL("SR*3.0*100")
Q:'+ORDFN
N ORBDT,OREDT,ORMAX,I,SHOWDOCS S (ORBDT,OREDT,ORMAX)="",SHOWDOCS=0
S ORY=$NA(^TMP("ORLIST",$J))
D LIST^SROESTV(.ORY,ORDFN,ORBDT,OREDT,ORMAX,SHOWDOCS)
S I=0
F S I=$O(@ORY@(I)) Q:+I=0 D
. S $P(@ORY@(I),U,4)=$P($P(@ORY@(I),U,4),";",2)

CPRS

File Type Description
Pascal File rSurgery.pas


Document generated on August 31st 2022, 2:55:43 pm