VPR DEL HF VACC REFUSAL (206)    ENTITY (1.5)

Name Value
NAME VPR DEL HF VACC REFUSAL
DEFAULT FILE NUMBER 9000010.23
DATA MODEL SDA
DISPLAY NAME Vaccination
ITEM
  • ExternalId
    SEQUENCE:   19
    ITEM TYPE:   ID
    OUTPUT TRANSFORM:   S VALUE=VALUE_";HF"
  • FillerId
    SEQUENCE:   3
    ITEM TYPE:   ID
  • EncounterNumber
    SEQUENCE:   61
    ITEM TYPE:   FIXED STRING
    GET ACTION:   S VALUE=$P($G(VPR0),U,3)
  • OrderItem
    SEQUENCE:   35
    ITEM TYPE:   ENTITY
    FILE NUMBER:   9000010.23
    ENTITY:   VPR CODE TABLE
    GET ACTION:   N HF,NM,CVX S HF=$P($G(VPR0),U),NM=$P($G(^AUTTHF(+HF,0)),U),CVX=$P(NM," CVX ",2),VALUE=$S(CVX:CVX_U_NM_"^CVX",HF:HF_U_NM_"^VA9999999.64",1:"")
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