VPR DEL SOCIAL HX (207)    ENTITY (1.5)

Name Value
NAME VPR DEL SOCIAL HX
DEFAULT FILE NUMBER 9000010.23
DATA MODEL SDA
DISPLAY NAME SocialHistory
ITEM
  • EncounterNumber
    SEQUENCE:   2
    ITEM TYPE:   FIXED STRING
    GET ACTION:   S VALUE=$P($G(VPR0),U,3)
  • SocialHabit
    SEQUENCE:   5
    ITEM TYPE:   ENTITY
    FILE NUMBER:   9000010.23
    ENTITY:   VPR CODE TABLE
    GET ACTION:   S:$G(VPR0) VALUE=$P($G(^AUTTHF(+VPR0,0)),U)_"^^VHAT"
DESCRIPTION
This entity is called from inside GET^VPRHS when Health Connect requests
a record by its sequence number in the AVPR upload list, and that update
is a delete. The PCE-VPR listener will save the deleted record's info in
^XTMP("VPR-seq#") for this entity, to send the data elements needed by HC
to find the record and remove it.
GET EXIT ACTION K VPR0
GET ID ACTION D DEL1^VPRSDAV