VPR MED ADMINISTRATION (83)    ENTITY (1.5)

Name Value
NAME VPR MED ADMINISTRATION
DEFAULT FILE NUMBER 53.79
SORT BY AORDX
DATA MODEL SDA
DISPLAY NAME Administration
ITEM
  • EnteredBy
    SEQUENCE:   1
    ITEM TYPE:   ENTITY
    FILE NUMBER:   53.79
    FIELD NUMBER:   .05
    RETURN INTERNAL VALUE:   YES
    ENTITY:   VPR USER
    GET ACTION:   S VALUE=$P(PSB0,U,5)
  • EnteredAt
    SEQUENCE:   2
    ITEM TYPE:   ENTITY
    FILE NUMBER:   53.79
    FIELD NUMBER:   .03
    RETURN INTERNAL VALUE:   YES
    ENTITY:   VPR FACILITY
    GET ACTION:   S VALUE=$P(PSB0,U,3)
  • AdministeringProvider
    SEQUENCE:   5
    ITEM TYPE:   ENTITY
    FILE NUMBER:   53.79
    FIELD NUMBER:   .07
    RETURN INTERNAL VALUE:   YES
    ENTITY:   VPR PROVIDER
    GET ACTION:   S VALUE=$P(PSB0,U,7)
  • AdministrationStatus
    SEQUENCE:   7
    ITEM TYPE:   ENTITY
    FILE NUMBER:   53.79
    FIELD NUMBER:   .09
    RETURN INTERNAL VALUE:   YES
    ENTITY:   VPR CODE TABLE
    GET ACTION:   S VALUE=$$ADMSTS^VPRSDAP(DIEN)
  • EnteredOn
    SEQUENCE:   15
    ITEM TYPE:   SIMPLE FIELD
    FILE NUMBER:   53.79
    FIELD NUMBER:   .04
    RETURN INTERNAL VALUE:   YES
    OUTPUT TRANSFORM:   S VALUE=$$DATE^VPRSDA(VALUE)
    GET ACTION:   S VALUE=$P(PSB0,U,4)
  • FromTime
    SEQUENCE:   16
    ITEM TYPE:   SIMPLE FIELD
    FILE NUMBER:   53.79
    FIELD NUMBER:   .06
    RETURN INTERNAL VALUE:   YES
    OUTPUT TRANSFORM:   S VALUE=$$DATE^VPRSDA(VALUE)
    GET ACTION:   S VALUE=$P(PSB0,U,6)
DESCRIPTION
This entity returns the most recent administrations of this order, from 
the Bar Code Medication Administration (BCMA) log file #53.79; it is 
intended to support the VPR MEDICATION entity.
GET EXIT ACTION K PSB0
GET ID ACTION S PSB0=$G(^PSB(53.79,+$G(DIEN),0)) S:PSB0="" DDEOUT=1