SCMSVPV1 ;ALB/ESD HL7 PV1 Segment Validation ; 23 Oct 98 3:45 PM
Source file <SCMSVPV1.m>
Package | Total | Call Graph |
---|---|---|
Health Level Seven | 1 | $$FMDATE^HLFNC |
Scheduling | 1 | ($$CONVERT,VALIDATE)^SCMSVUT0 |
Name | Comments | DBIA/ICR reference |
---|---|---|
15 | ;;4070;LOCATION OF VISIT
|
|
ERR | ;;Invalid or missing patient visit data for encounter (HL7 PV1 segment)
|
|
EN(PV1SEG,HLQ,HLFS,VALERR,NODE,EVNTHL7,ENCNDT) | ;
; Entry point to return the HL7 PV1 (Patient Visit) validation segment |
|
45 | ;;4200;VISIT (ENCOUNTER) DATE/TIME
|
|
51 | ;;4100;UNIQUE IDENTIFIER (PCE)
|
|
40 | ;;4150;FACILITY NUMBER/SUFFIX
|
|
1 | ;;0035;HL7 SEGMENT NAME
|
|
ENQ | ||
3 | ;;4000;PATIENT CLASS
|
|
5 | ;;4050;PURPOSE OF VISIT/APPT TYPE
|
|
401 | ;;4160;INACTIVE FACILITY
|
|
510 | ;;Z000;Invalid Appointment Type (Computer Generated)
|
Name | Line Occurrences |
---|---|
ENQ | EN+28 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CNT | EN+19~, EN+25*, EN+27, EN+38, EN+43 |
DATA | EN+19~, EN+35*, EN+38 |
DIV | EN+36~* |
ENCNDT | EN~, EN+43 |
EVNTHL7 | EN~, EN+23 |
HLFS | EN~, EN+31, EN+35, EN+37, EN+41 |
HLQ | EN~, EN+31 |
I | EN+19~, EN+22*, EN+23*, EN+34*, EN+35, EN+36, EN+37, EN+38 |
MSG | EN+19~, EN+25*, ENQ |
NODE | EN~, EN+36 |
PV1SEG | EN~, EN+26*, EN+27, EN+31*, EN+35, EN+37, EN+41 |
SD | EN+19~, EN+23! |
SD( | EN+22*, EN+23*, EN+38 |
SEG | EN+19~, EN+26*, EN+27, EN+28, EN+38, EN+43, ENQ |
U | EN+36 |
VALERR | EN~, EN+27, EN+28, EN+38, EN+43, ENQ |
X | EN+19~ |
XMTFLG | EN+19~, EN+37*, EN+42* |
Name | Field # of Occurrence |
---|---|
$T(@(1) | EN+38 |