VistA Analysis » VistA Reference » RPCs » ORWPCE GETSVC

ORWPCE GETSVC

Calculates the correct service category.

Properties

Property Value
Label GETSVC
MUMPS Implementation ORWPCE
Return Type SINGLE VALUE

Input Parameters

Name Type Maximum Data Length Required Description
SVC LITERAL     Initial Service Connection Category.
LOC LITERAL     Pointer to the hospital location.
INP LITERAL     Patient Status0 = Outpatient1 = Inpatient

MUMPS Method Description

Property Value
Method GETSVC^ORWPCE
Method Comment Returns the correct Service Connected Category
Input Parameters SVC, LOC, INP
Code
 N DSS,ORWSVC
S DSS=$P($G(^SC(+LOC,0)),U,7)
Q:'+DSS
M ORWSVC=SVC
S NEWSVC=$$SVC^PXKCO(.ORWSVC,DSS,INP,LOC) ; DBIA #3225

CPRS

File Type Description
Pascal File Encounter/rPCE.pas


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