Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls
Print Page as PDF
Routine: PSJHLERR

Package: Inpatient Medications

Routine: PSJHLERR


Information

PSJHLERR ;BIR/LDT-PATIENT ID AND VISIT SEGMENTS FOR ERRORS ; 20 Apr 98 / 9:58 AM

Source Information

Source file <PSJHLERR.m>

Entry Points

Name Comments DBIA/ICR reference
EN1(PSJHLDFN,PSOC,RXORDER,PSREASON) ; start here
; passed in are PSJHLDFN (patient ien)
; RXORDER (order number from OE/RR)
; PSOC (order control code)
; PSREASON (text reason)
START ;
INIT ; initialize HL7 variables, set master file identification segment
; PSJHLMTN = message type - ORR for messages sent as a response to
; an OE/RR event; ORM for "unsolicited" messages.
PID ; get patient data, format PID SEGMENT
PV1 ; get patient visit information, format PV1 segment
ORC ; order control segment - modified for use with error messages.
DISPLAY ; just for testing

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: FIELD(NEXT)_"|"
  • Line Location: DISPLAY+1
Info |  Source |  Entry Points |  Interaction Calls