VPR DEL PTF 601 (230)    ENTITY (1.5)

Name Value
NAME VPR DEL PTF 601
DEFAULT FILE NUMBER 45.05
DATA MODEL SDA
DISPLAY NAME Procedure
ITEM
  • ExternalId
    SEQUENCE:   14
    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)
  • Procedure
    SEQUENCE:   6
    ITEM TYPE:   ENTITY
    FILE NUMBER:   45
    ENTITY:   VPR ICD OP
    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