VPR VITAL MEASUREMENT (41)    ENTITY (1.5)

Name Value
NAME VPR VITAL MEASUREMENT
DEFAULT FILE NUMBER 120.5
DATA MODEL SDA
DISPLAY NAME Observation
ITEM
  • EnteredAt
    SEQUENCE:   19
    ITEM TYPE:   ENTITY
    FILE NUMBER:   120.5
    FIELD NUMBER:   .05
    EXTENDED POINTER LKUP:   3
    RETURN INTERNAL VALUE:   YES
    ENTITY:   VPR FACILITY
    GET ACTION:   N HLOC S HLOC=+$P($G(VPRGMV),U,5),VALUE=$$GET1^DIQ(44,HLOC,3,"I") S:'VALUE VALUE=$G(VASITE)
  • EnteredOn
    SEQUENCE:   20
    ITEM TYPE:   SIMPLE FIELD
    FILE NUMBER:   120.5
    FIELD NUMBER:   .04
    RETURN INTERNAL VALUE:   YES
    OUTPUT TRANSFORM:   S VALUE=$$DATE^VPRSDA(VALUE)
    GET ACTION:   S VALUE=$P($G(VPRGMV),U,4)
  • ExternalId
    SEQUENCE:   4
    ITEM TYPE:   ID
  • Extension
    SEQUENCE:   6
    ITEM TYPE:   ENTITY
    FILE NUMBER:   120.5
    ENTITY:   VPR VITAL EXTENSION
    GET ACTION:   S VALUE=DIEN
  • ObservationTime
    SEQUENCE:   7
    ITEM TYPE:   SIMPLE FIELD
    FILE NUMBER:   120.5
    FIELD NUMBER:   .01
    RETURN INTERNAL VALUE:   YES
    OUTPUT TRANSFORM:   S VALUE=$$DATE^VPRSDA(VALUE)
    GET ACTION:   S VALUE=$P($G(VPRGMV),U)
  • ObservationCode
    SEQUENCE:   8
    ITEM TYPE:   ENTITY
    FILE NUMBER:   120.5
    FIELD NUMBER:   .03
    RETURN INTERNAL VALUE:   YES
    ENTITY:   VPR VITAL TYPE
    GET ACTION:   S VALUE=$P($G(VPRGMV),U,3)
  • ObservationValue
    SEQUENCE:   9
    ITEM TYPE:   SIMPLE FIELD
    FILE NUMBER:   120.5
    FIELD NUMBER:   1.2
    GET ACTION:   S VALUE=$P($G(VPRGMV),U,8)
  • GroupId
    SEQUENCE:   15
    ITEM TYPE:   SIMPLE FIELD
    FILE NUMBER:   120.5
    FIELD NUMBER:   .01
    RETURN INTERNAL VALUE:   YES
    GET ACTION:   S VALUE=$P($G(VPRGMV),U)
  • ObservationMethods
    SEQUENCE:   16
    ITEM TYPE:   LIST
    FILE NUMBER:   120.505
    ENTITY:   VPR VITAL QUALIFIER
    LIST TYPE:   ARRAY
    XML NAME:   ObservationMethod
    GET ACTION:   D VITQUAL^VPRSDA
  • EnteredBy
    SEQUENCE:   18
    ITEM TYPE:   ENTITY
    FILE NUMBER:   120.5
    FIELD NUMBER:   .06
    RETURN INTERNAL VALUE:   YES
    ENTITY:   VPR USER
    GET ACTION:   S VALUE=$P($G(VPRGMV),U,6)
DESCRIPTION
This entity populates the Observation container in HealthShare.
GET ENTRY ACTION S VASITE=+$$SITE^VASITE S:VASITE'>0 VASITE=$$KSP^XUPARAM("INST")
GET EXIT ACTION K VPRV,VPRGMV,^TMP("VPRGMV",$J),VPRANGE,VPRTYPE,VPRPARAM,VASITE
GET ID ACTION D VIT1^VPRSDA(DIEN)
GET QUERY ROUTINE VITALS^VPRSDAQ