SCCOND |
Format of call:
D SCCOND^PXUTLSCC(DFN,ENCDT,HOSPLOC,VISIT,.RETURN)
Input Parameters:
DFN pointer to PATIENT file (#2)
ENCDT date and time of the encounter
HOSPLOC pointer to HOSPITAL LOCATION file (#44) for the encounter
VISIT (optional) pointer to VISIT file (#9000010) for the encounter
if know
Output Parameters:
RETURN this is an array subscripted by "SC","CV","AO","IR","EC",
"SHAD","MST", "HNC", and "CLV" that contains two pieces each
first piece: 1 if the condition can be answered
0 if it should be null
second piece: the answer that Scheduling has if it has one
1 ::= yes, 0 ::= no
example:
>ZW RETURN
RETURN("AO") = "1^1"
RETURN("EC") = "0^"
RETURN("IR") = "0^"
RETURN("SC") = "1^0"
RETURN("CV") = "0^"
RETURN("MST") = "0^"
RETURN("HNC") = "0^"
RETURN("SHAD") = "0^"
RETURN("CLV") = "1^0"
Can ask SC and if it is no then can ask AO but do not ask EC or IR.
The current answers stored in Scheduling are NO for SC and
YES for AO.
|