VPR VFILE DELETE (160)    ENTITY (1.5)

Name Value
NAME VPR VFILE DELETE
DATA MODEL SDA
DISPLAY NAME VFile
ITEM
  • ExternalId
    SEQUENCE:   1
    ITEM TYPE:   ID
    OUTPUT TRANSFORM:   S VALUE=VALUE_$S(VPRVFN=9000010.07:";POV",VPRVFN=9000010.18:";PX",VPRVFN=9000010.23:";HF",1:"")
  • EncounterNumber
    SEQUENCE:   2
    ITEM TYPE:   FIXED STRING
    GET ACTION:   S VALUE=$G(VPRVST)
DESCRIPTION
This entity is called from the Entry Action of the V File entities when a
record ien and visit number for matching in HS to remove the record.
record has been deleted. It CANNOT be called independently.
 
If the ID requested is in the form "IEN~VISIT", VDEL^VPRSDAV is called to
set the following variables:
   VPRVST = visit# (second ~-piece of ID)
   VPRFN  = default file# of Entity
   ID     = record IEN (first ~-piece of ID)
Control then passes to this Entity, to return a stub containing only the
GET EXIT ACTION K VPRVST,VPRVFN,VPRVT
GET ID ACTION S DNAME=$G(^DDE(VPRVT,.1))