Print Page as PDF
VISIT DETAIL ICR (7650)

VISIT DETAIL    ICR (7650)

Name Value
NUMBER 7650
IA # 7650
DATE CREATED 2026/03/25
CUSTODIAL PACKAGE PCE PATIENT CARE ENCOUNTER
USAGE Controlled Subscription
TYPE Routine
ROUTINE PXAPI
NAME VISIT DETAIL
GENERAL DESCRIPTION
This ICR allows for a calling application to retrieve
information from the visit file that can be used to determine if the visit is
billable.
STATUS Pending
KEYWORDS
  • VISIT DETAIL
  • VISITDETAIL
  • PXAPI
  • SPECIAL AUTHORITIES
DURATION Till Otherwise Agreed
ID PXAPI
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
VISITDETAIL
This API accepts a visit IEN value. It returns
information from the visit file to help determine if this visit is billable.
VARIABLES TYPE VARIABLES DESCRIPTION
VISIT Input
This is the IEN of the visit from the VISIT file,
#9000010.
RESULT Output
The result array returns information from the Visit
file in internal format : RESULT("DATE/TIME") = VISIT/ADMIT DATE&TIME, field #
.01 RESULT("PATIENT") = PATIENT NAME, field #.05 RESULT("LOCATION") = LOC. OF
ENCOUNTER, field #.06 RESULT("SERVICE CATEGORY") = SERVICE CATEGORY, field
#.07 RESULT("CLINIC STOP") = DSS ID, field #.08 RESULT("SPECIAL AUTHORITIES")
= The special authorities assigned to the visit. This will contains the
special authorities assigned on the 800 node or in the 900 multiple released
with patch PX*1.0*244. The format for the SPECIAL AUTHORITIES for individual
values is this format.

RESULT("SPECIAL AUTHORITIES",X,0)=IEN^VALUE X is increment counter, this will
be a positive value.  IEN is the internal number from file #820 for the
Special Authorities.  VALUE can be set to 1 for Yes, the Special Authority
applies to the visit; 0, the Special Authority does not apply to the visit;
-1, the user has not answer if the Special Authority applies to the visit.

Example: CPRS33BDEV>D VISITDETAIL^PXAPI(.RESULT,7910)

CPRS33BDEV>ZW RESULT RESULT("CLINIC STOP")=141
RESULT("DATE/TIME")=3260325.105301 RESULT("LOCATION")=500
RESULT("PATIENT")=100840 RESULT("SERVICE CATEGORY")="A" RESULT("SPECIAL
AUTHORITIES")=7 RESULT("SPECIAL AUTHORITIES",1,0)="2^0" RESULT("SPECIAL
AUTHORITIES",2,0)="8^1" RESULT("SPECIAL AUTHORITIES",3,0)="4^0"
RESULT("SPECIAL AUTHORITIES",4,0)="7^1" RESULT("SPECIAL
AUTHORITIES",5,0)="3^0" RESULT("SPECIAL AUTHORITIES",6,0)="6^-1"
RESULT("SPECIAL AUTHORITIES",7,0)="1^1"