VPR DEL PTF (211)    ENTITY (1.5)

Name Value
NAME VPR DEL PTF
DEFAULT FILE NUMBER 45
DATA MODEL SDA
DISPLAY NAME Diagnosis
ITEM
  • ExternalId
    SEQUENCE:   19
    ITEM TYPE:   ID
    OUTPUT TRANSFORM:   S VALUE=VALUE_";PTF"
  • EncounterNumber
    SEQUENCE:   4
    ITEM TYPE:   FIXED STRING
    GET ACTION:   S VALUE=$P($G(VPR0),U,3)
  • Diagnosis
    SEQUENCE:   7
    ITEM TYPE:   ENTITY
    FILE NUMBER:   45
    ENTITY:   VPR ICD
    GET ACTION:   S VALUE=$P($G(VPR0),U) ;S DATA("DATE")=+$G(VPRVST0)
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 PTF 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^VPRSDA