{"aaData": [["VPR PATIENT ID", "
2
\n", "", "", "", "
SDA
\n", "
PatientID
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the Patient file #2 ien\nas the ID. It builds an abbreviated version of VPR PATIENT that includes\nonly the patient numbers.\n
\n
\n", "", "", "", "", "
N X S X=$$SITE^VASITE S:X>0 VASITE=+X,VASTN=$P(X,U,3) I X'>0 S VASITE=$$KSP^XUPARAM(\"INST\"),VASTN=$$STA^XUAF4(VASITE)
\n", "
K VASITE,VASTN
\n", "
S DNAME=\"Patient\"
\n", "", "", "", "", ""], ["VPR ICD", "
80
\n", "", "", "", "
SDA
\n", "
DiagnosisCode
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "
S VPRSYS=$G(DATA(\"SYS\")),VPRDT=$G(DATA(\"DATE\"),DT)
\n", "
K VPRSYS,VPRDT,VPRCODE
\n", "
S:VPRSYS=\"\" VPRSYS=$$SAB^ICDEX($$CSI^ICDEX(80,DIEN),VPRDT) S VPRCODE=$$ICDDATA^ICDXCODE(VPRSYS,DIEN,VPRDT,\"I\")
\n", "", "", "", "", ""], ["VPR COMMENT", "", "", "", "", "
SDA
\n", "
Comment
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports comments in multiple SDA containers, such as \nAllergies and Problems; it returns a single comment, and is intended to \nbe used with a List property. A string in the following format is \nexpected as the ID:\n  id ^ date ^ user ^ type ^ facility ^ text\n
\n
\n", "", "", "", "", "", "
K VPRCMT
\n", "
S VPRCMT=$G(DIEN),DIEN=$P(DIEN,U)
\n", "", "", "", "", ""], ["VPR ALLERGY EXTENSION", "
120.8
\n", "", "", "", "
SDA
\n", "
AllergyExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR ALLERGY. It expects the GMRAY variable and array\nto be defined, from the GET ID ACTION call to GMRAOR2.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR DRUG INGREDIENT", "
50.416
\n", "", "", "", "
SDA
\n", "
DrugProduct
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "
K VPRCODE
\n", "
D INGRD^VPRSDAP(.DIEN)
\n", "", "", "", "", ""], ["VPR VISIT EXTENSION", "
9000010
\n", "", "", "", "
SDA
\n", "
EncounterExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR VISIT; it is intended to only be used within \nthat Entity. It expects ^TMP("PXKENC",$J) to be defined.\n
\n
\n", "", "", "", "", "", "
K VPRDT,VPRVAL,VPRVSC
\n", "", "", "", "", "", ""], ["VPR ADMISSION EXTENSION", "
405
\n", "", "", "", "
SDA
\n", "
EncounterExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR ADMISSION; it expects the VAIP array from VADPT\nto be defined, and is intended to be called within VPR ADMISSION.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR APPOINTMENT EXTENSION", "
2.98
\n", "", "", "", "
SDA
\n", "
AppointmentExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR APPOINTMENT; it expects the local variable VPRAPPT\nto be defined, as the ^TMP($J,"SDAMA301") node for this appointment.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR PRF EXTENSION", "
26.13
\n", "", "", "", "
SDA
\n", "
AlertExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR PATIENT RECORD FLAG; it expects the VPRF array\nto be defined.\n
\n
\n", "", "", "", "", "", "
K VPRDBRS,VPRDBRS1
\n", "", "", "", "", "", ""], ["VPR PROBLEM EXTENSION", "
9000011
\n", "", "", "", "
SDA
\n", "
ProblemExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR PROBLEM. It expects the GMPFLD array to be defined.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR PTF EXTENSION", "
45
\n", "", "", "", "
SDA
\n", "
DiagnosisExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR PTF; it expects the VPRPOA variable set in the\nVPR PTF ID action for this record.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR DOCUMENT EXTENSION", "
8925
\n", "", "", "", "
SDA
\n", "
DocumentExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR DOCUMENT; it expects the VPRTIU array to be defined.\n
\n
\n", "", "", "", "", "", "
K VPRNATL
\n", "", "", "", "", "", ""], ["VPR PROBLEM", "
9000011
\n", "", "", "", "
SDA
\n", "
Problem
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Problem container in HealthShare from the\nPROBLEM (#9000011) file; it expects the record IEN as the ID (DIEN).\n \nA problem will be removed from SDA if it is removed or hidden in VistA.\n \nThis entity is supported by code in routine VPRSDAG, which uses the\nGMPLUTL2 and GMPLEDT3 routines to extract problems. Data in SDA is\nmaintained by monitoring the GMPL EVENT protocol event.\n
\n
\n", "", "", "", "", "", "
K GMPFLD,GMPORIG
\n", "
D PROB1^VPRSDAG(DIEN)
\n", "
PROBLEMS^VPRSDAG
\n", "", "", "", ""], ["VPR DOCUMENT ROLE", "
8926.3
\n", "", "", "", "
SDA
\n", "
NationalTitleRole
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR DOCUMENT EXTENSION.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR DOCUMENT SERVICE", "
8926.5
\n", "", "", "", "
SDA
\n", "
NationalTitleService
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity support VPR DOCUMENT EXTENSION.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR DOCUMENT SETTING", "
8926.4
\n", "", "", "", "
SDA
\n", "
NationalTitleSetting
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR DOCUMENT EXTENSION.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR DOCUMENT SUBJECT", "
8926.2
\n", "", "", "", "
SDA
\n", "
NationalTitleSubject
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR DOCUMENT EXTENSION.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR DOCUMENT TYPE", "
8926.6
\n", "", "", "", "
SDA
\n", "
NationalTitleType
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR DOCUMENT EXTENSION.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ORDER EXTENSION", "
100
\n", "", "", "", "
SDA
\n", "
OrderExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends the VPR * ORDER entities: VPR LAB ORDER, VPR RAD ORDER,\nand VPR OTHER ORDER. It expects the ORDER (#100) ien as the ID, as well as\nthe other context variables defined in their ID Actions.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR LRCH RESULT EXTENSION", "
63.04
\n", "", "", "", "
SDA
\n", "
ResultExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR LRCH RESULT.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR RAD RESULT EXTENSION", "
74
\n", "", "", "", "
SDA
\n", "
ResultExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR RAD RESULT; it expects the Radiology Report #74 ien.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR PROCEDURE EXTENSION", "
702
\n", "", "", "", "
SDA
\n", "
ProcedureExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PROCEDURE. It expects ^TMP("MDHSP",$J) to be\ndefined, from the main entity query.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR SURGERY EXTENSION", "
130
\n", "", "", "", "
SDA
\n", "
ProcedureExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR SURGERY; it expects the VPRSR array. CPT codes \nare extracted from the SURGERY PROCEDURE/DIAGNOSIS CODES (#136) file, \nwhich is DINUM'd to the SURGERY (#130) file.\n
\n
\n", "", "", "", "", "
S VPRDT=$P(VPRSR(DIEN),U,3)
\n", "
K VPRDT
\n", "", "", "", "", "", ""], ["VPR LOINC", "
95.3
\n", "", "", "", "
SDA
\n", "
ObservationValueCode
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR REFERRAL EXTENSION", "
123
\n", "", "", "", "
SDA
\n", "
ReferralExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR REFERRAL; it expects the VPRCONS and VPRCACT\narrays as defined by GMRCAPI in the main entity GET ID ACTION.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR HF EXTENSION", "
9000010.23
\n", "", "", "", "
SDA
\n", "
HealthConcernExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR FAMILY HISTORY and VPR SOCIAL HISTORY.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR MED EXTENSION", "
100
\n", "", "", "", "
SDA
\n", "
MedicationExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR MEDICATION. It expects the ORDER (#100) ien as \nthe ID, as well as the VPRPS array defined in the ID Action.\n
\n
\n", "", "", "", "", "", "
K:$D(VPRX52) @VPRX52 K:$D(VPRX52P) @VPRX52P K VPRX52,VPRX52P,VPRFLAG
\n", "
D PSRX^VPRSDAP($G(ORPK))
\n", "", "", "", "", ""], ["VPR MED FILL", "
52
\n", "", "", "", "
SDA
\n", "
Fill
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity returns a refill of a medication; it is intended to be used\nwith VPR MEDICATION, and the VPRPS array from OEL^PSOORRL. It expects:\n  ID = fill date ^ days supply ^ qty ^ release date ^ routing\nto support the original fill, refills, and partial fills.\n
\n
\n", "", "", "", "", "", "
K VPREF
\n", "
S VPREF=$P(DIEN,U,2,99),DIEN=$P(DIEN,U)
\n", "", "", "", "", ""], ["VPR IMM EXTENSION", "
9000010.11
\n", "", "", "", "
SDA
\n", "
VaccinationExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR VACCINATION; it expects the VPRM array defined by\nVIMM^PXPXRM, called by the GET ID ACTION for each immunization.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR IMM VIS", "
920
\n", "", "", "", "
SDA
\n", "
VIS
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity returns a Vaccine Information Sheet (VIS) for an immunization,\nwithin VPR IMM EXTENSION as part of the VPR VACCINATION entity.\n
\n
\n", "", "", "", "", "", "
K VPRVIS
\n", "
S VPRVIS=DIEN,DIEN=+DIEN
\n", "", "", "", "", ""], ["VPR VITAL EXTENSION", "
120.5
\n", "", "", "", "
SDA
\n", "
ObservationExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR VITAL MEASUREMENT; it expects VPRGMV and the VPRV\narray, defined by the main GET ID ACTION.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR CPT MODIFIER", "
81.3
\n", "", "", "", "
SDA
\n", "
CPTModifier
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity expects a pointer to the CPT Modifiers file #81.3 as the ID, \nand optionally a FM date.time in local variable VPRDT, and returns the \nformatted code, date-versioned description, and coding system using\n$$MOD^ICPTMOD. \n
\n
\n", "", "", "", "", "", "
K VPRMOD
\n", "
S VPRMOD=$$MOD^ICPTMOD(DIEN,\"I\",$G(VPRDT)) S:VPRMOD<0 DDEOUT=1
\n", "", "", "", "", ""], ["VPR ALLERGY ASSESSMENT", "
120.86
\n", "", "", "", "
SDA
\n", "
Allergy
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Allergy container in HealthShare from the\nmaintained by monitoring the GMRA ASSESSMENT CHANGE protocol event.\nADVERSE REACTION ASSESSMENT (#120.86) file; it expects the record IEN\nas the ID (DIEN).\n \nThis entity is used instead of VPR ALLERGY if the patient has not been\nassessed or was determined to have No Known Allergies (NKA).\n \nThis entity is supported by code in routine VPRSDAL, which uses the\nGMRADPT and GMRAOR2 routines to extract allergies. Data in SDA is\n
\n
\n", "", "", "", "", "", "
K GMRAL
\n", "
S:'$G(DFN) DFN=DIEN S GMRAL=$P($G(^GMR(120.86,+DFN,0)),U,2)
\n", "
ASSESS^VPRSDAL
\n", "", "", "", ""], ["VPR RAD RPT EXTENSION", "
74
\n", "", "", "", "
SDA
\n", "
DocumentExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR RAD REPORT; it expects the VPRAE2 variable\nand ^TMP array to be defined.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR LAB ORDER", "
100
\n", "", "", "", "
SDA
\n", "
LabOrder
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the LabOrder container in HealthShare from the\nORDER (#100) file; it expects the record ien as its ID (DIEN). Result\ndata is pulled from the LAB DATA (#63) file.\n \nThis entity is supported by code in routines VPRSDAOR and VPRSDAB, \nwhich uses various LR7O* calls to extract lab data. Data in SDA\nis maintained by monitoring the OR EVSEND LR* and LR* EVSEND OR\nprotocol events.\n
\n
\n", "", "", "", "", "
S:'DFN&ID DFN=+$P($G(^OR(100,ID,0)),U,2) S LRDFN=+$G(^DPT(DFN,\"LR\"))
\n", "
K LRDFN,LRSUB,ORDAD,ORIT,ORPK,VPRCDT,OR0,OR3,OR6,OR8,ORSIG
\n", "
D OR1^VPRSDAOR(DIEN)
\n", "
ORDERS^VPRSDAOR(\"LAB\")
\n", "", "", "", ""], ["VPR LRAP EXTENSION", "
63.08
\n", "", "", "", "
SDA
\n", "
DocumentExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR LRAP REPORT; it expects the LR0 and LRSUB local\nvariables to be defined.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR LRMI EXTENSION", "
63.05
\n", "", "", "", "
SDA
\n", "
DocumentExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR LRMI REPORT; it expects the LR0 variable to be\ndefined.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR SIGNER", "
200
\n", "", "", "", "
SDA
\n", "
CareProvider
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity returns a coded element for a New Person file #200 entry,\nvery similar to VPR PROVIDER except for the CareProviderType property\nwhich here reflects the signature role of the user. ID should be a \ntwo-piece string, consisting of the IEN^[type] where type is S (signer) \nor C (cosigner) or V (verifier).\n
\n
\n", "", "", "", "", "", "
K VPROLE
\n", "
S VPROLE=$P(DIEN,U,2),DIEN=+DIEN S:'DIEN DDEOUT=1
\n", "", "", "", "", ""], ["VPR FIM", "
783
\n", "", "", "", "
SDA
\n", "
Problem
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Problem container in HealthShare from the\nFUNCTIONAL INDEPENDENCE MEASUREMENT RECORD (#783) file; it expects the\nSite Case Number (#.02) field value as the ID (DIEN).\n \nThis entity is supported by code in routine VPRSDAG, which uses the\nRMIMRP routine to extract measurements. Data in SDA is maintained by\nmonitoring the RMIM DRIVER protocol event.\n
\n
\n", "", "", "", "", "", "
K VPRM,VPRSITE,VPRFIMS
\n", "
D FIM1^VPRSDAG(DIEN)
\n", "
FIMQ^VPRSDAG
\n", "", "", "", ""], ["VPR CUSTOM PAIR", "", "", "", "", "
SDA
\n", "
NVPair
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "
K VPRITM
\n", "
S VPRITM=$G(DIEN)
\n", "", "", "", "", ""], ["VPR HEALTH CONCERN", "
9000010.23
\n", "", "", "", "
SDA
\n", "
HealthConcern
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Health Concern container in HealthShare from \nthe V HEALTH FACTORS (#9000010.23) file; it expects the record IEN as\nthe ID (DIEN).\n \nThis entity is supported by code in routine VPRSDAVF, which uses the\n^PXRMINDX reminder index and VHF^PXPXRM call to extract V POV data. \nData in SDA is maintained by monitoring the PXK VISIT DATA EVENT\nprotocol event.\n
\n
\n", "", "", "", "", "", "
K VPRHF,VPRVST,VPRVST0
\n", "
D HF1^VPRSDAVF
\n", "
HFACTORS^VPRSDAVF
\n", "", "", "", ""], ["VPR FIM EXTENSION", "
783
\n", "", "", "", "
SDA
\n", "
ProblemExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR FIM, matching the relevant properties in VPR\nPROBLEM EXTENSION for the Problem container.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ORDER STATUS", "
100.01
\n", "", "", "", "
SDA
\n", "
OrderStatus
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR AMIS", "
40.7
\n", "", "", "", "
SDA
\n", "
StopCode
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "
K VPRCODE
\n", "
S VPRCODE=$$AMIS^VPRDVSIT(DIEN) S:VPRCODE=\"\" DDEOUT=1
\n", "", "", "", "", ""], ["VPR TEAM MEMBER", "
200
\n", "", "", "", "
SDA
\n", "
CareProvider
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "
K VPROLE
\n", "
S VPROLE=$P(DIEN,U,2),DIEN=+DIEN S:'DIEN DDEOUT=1
\n", "", "", "", "", ""], ["VPR DISPLAY GROUP", "
100.98
\n", "", "", "", "
SDA
\n", "
OrderCategory
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR FACILITY ADDRESS", "
4
\n", "", "", "", "
SDA
\n", "
Address
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR FAMILY DOCTOR, and expects the Institution file #4\nien as the ID.\n
\n
\n", "", "", "", "", "", "
K VAPA
\n", "
S VAPA=$$PADD^XUAF4(DIEN)
\n", "", "", "", "", ""], ["VPR FAMILY DOCTOR", "
200
\n", "", "", "", "
SDA
\n", "
CareProvider
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR PROVIDER EXTENSION", "
200
\n", "", "", "", "
SDA
\n", "
CareProviderExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PROVIDER, and expects the New Person file #200\nien as the ID. It will also optionally include the name of the Role the\nprovider is playing in the context used, if set into local variable\nVPROLE.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR PATIENT LANGUAGE", "
2.07
\n", "", "", "", "
SDA
\n", "
PatientLanguage
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, returning the patient's preferred\nlanguage from the Language Date/Time sub-file. It expects VPRLNG and the\nVADM array to be defined.\n
\n
\n", "", "", "", "", "", "
K VPRLNG
\n", "
S:'$G(VPRLNG) DDEOUT=1
\n", "", "", "", "", ""], ["VPR SOURCE FACILITY", "
2
\n", "", "", "", "
SDA
\n", "
LastTreated
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity is included in VPR PATIENT EXTENSION to pass the date the\npatient was last treated at this facility to the Patient Registry in\nthe HealthConnect Edge Cache Repository.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR LRSP RESULT", "
63.08
\n", "", "", "", "
SDA
\n", "
Result
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR LAB ORDER, providing Surgical Pathology results.\n
\n
\n", "", "", "", "", "", "
K LR0
\n", "
S:'$G(LRDFN) LRDFN=+$P(DIEN,\",\",2) S LR0=$G(^LR(LRDFN,\"SP\",+DIEN,0)) I '$L(LR0) S DDEOUT=1
\n", "", "", "", "", ""], ["VPR LRCY RESULT", "
63.09
\n", "", "", "", "
SDA
\n", "
Result
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR LAB ORDER, providing Cytopathology results.\n
\n
\n", "", "", "", "", "", "
K LR0
\n", "
S:'$G(LRDFN) LRDFN=+$P(DIEN,\",\",2) S LR0=$G(^LR(LRDFN,\"CY\",+DIEN,0)) I '$L(LR0) S DDEOUT=1
\n", "", "", "", "", ""], ["VPR LREM RESULT", "
63.02
\n", "", "", "", "
SDA
\n", "
Result
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR LAB ORDER, providing Electron Microscopy results.\n
\n
\n", "", "", "", "", "", "
K LR0
\n", "
S:'$G(LRDFN) LRDFN=+$P(DIEN,\",\",2) S LR0=$G(^LR(LRDFN,\"EM\",+DIEN,0)) I '$L(LR0) S DDEOUT=1
\n", "", "", "", "", ""], ["VPR LRMI RESULT", "
63.05
\n", "", "", "", "
SDA
\n", "
Result
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR LAB ORDER, providing Microbiology results.\n
\n
\n", "", "", "", "", "", "
K LR0,LR1
\n", "
S:'$G(LRDFN) LRDFN=+$P(DIEN,\",\",2) S LR0=$G(^LR(LRDFN,\"MI\",+DIEN,0)),LR1=$$MI1^VPRSDAB(LRDFN,+DIEN) I '$L(LR0) S DDEOUT=1
\n", "", "", "", "", ""], ["VPR LR RESULT EXTENSION", "
63
\n", "", "", "", "
SDA
\n", "
ResultExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports the VPR LRxx RESULT entities. It expects the local\nvariable LR0, set to the appropriate Lab Data specimen zero node.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ORDERABLE ITEM", "
101.43
\n", "", "", "", "
SDA
\n", "
Order
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity returns an Orderable Item #101.43 entry as a coded element.\n
\n
\n", "", "", "", "", "", "", "
I +$G(DIEN)<1 S DDEOUT=1
\n", "", "", "", "", ""], ["VPR PRF DBRS RECORD", "
26.131
\n", "", "", "", "
SDA
\n", "
DBRSRecord
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nContainer for DBRS multiple of file 26.13\n
\n
\n", "", "", "", "", "", "
K VPRDBRS2
\n", "
S VPRDBRS2=$G(DIEN) S:VPRDBRS2=\"\" DDEOUT=1
\n", "", "", "", "", ""], ["VPR PRF HISTORY", "
26.14
\n", "", "", "", "
SDA
\n", "
Assignment
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT RECORD FLAG, to return each entry in the\nPRF Assignment History file #26.14 for the flag. It is intended to be \nused within the VPR PRF EXTENSION entity.\n
\n
\n", "", "", "", "", "", "
K VPRH
\n", "
K VPRH S:'$$GETHIST^DGPFAAH(DIEN,.VPRH,1) DDEOUT=1
\n", "", "", "", "", ""], ["VPR LRCH RESULT ITEM EXTENSION", "
63.04
\n", "", "", "", "
SDA
\n", "
LabResultItemExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR LRCH RESULT ITEM. It expects the LR data node \nstring as the input ID, and parses additional data into properties.\n
\n
\n", "", "", "", "", "", "
K VPRLR
\n", "
S VPRLR=$G(DIEN)
\n", "", "", "", "", ""], ["VPR PATIENT ADDRESS EXTENSION", "
2
\n", "", "", "", "
SDA
\n", "
AddressExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT ADDRESS; it expects the patient DFN as \nthe ID.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ORDERABLE ITEM CODE", "
101.43
\n", "", "", "", "
SDA
\n", "
NationalItem
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR ORDERABLE ITEM, returning the national code and\ncoding system provided by the application in the Orderable Item file \n#101.43 when available.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ORDERABLE ITEM EXTENSION", "
101.43
\n", "", "", "", "
SDA
\n", "
OrderExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR ORDERABLE ITEM.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR SIGNER EXTENSION", "
200
\n", "", "", "", "
SDA
\n", "
CareProviderExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR SIGNER, and expects the New Person file #200\nien as the ID.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR VISIT STUB", "
9000010
\n", "", "", "", "
SDA
\n", "
Encounter
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports the removal of an entry from the Encounter\ncontainer in HealthShare when a VISIT (#900010) record has been\ndeleted in VistA; it returns only the EncounterNumber property.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR LAB URGENCY", "
62.05
\n", "", "", "", "
SDA
\n", "
Priority
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR VFILE DELETE", "", "", "", "", "
SDA
\n", "
VFile
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity is called from the Entry Action of the V File entities when a\nrecord ien and visit number for matching in HS to remove the record.\nrecord has been deleted. It CANNOT be called independently.\n \nIf the ID requested is in the form "IEN~VISIT", VDEL^VPRSDAV is called to\nset the following variables:\n   VPRVST = visit# (second ~-piece of ID)\n   VPRFN  = default file# of Entity\n   ID     = record IEN (first ~-piece of ID)\nControl then passes to this Entity, to return a stub containing only the\n
\n
\n", "", "", "", "", "", "
K VPRVST,VPRVFN,VPRVT
\n", "
S DNAME=$G(^DDE(VPRVT,.1))
\n", "", "", "", "", ""], ["VPR LAB FACILITY", "
4
\n", "", "", "", "
SDA
\n", "
Organization
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR LAB ORDER, to return detailed information about\nthe performing and reporting labs. It expects an Institution file #4 ien\nand returns the facility address in addition to the name and station\nnumber.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ADMISSION MOVEMENT", "
405
\n", "", "", "", "
SDA
\n", "
Movement
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR ADMISSION EXTENSION, providing a single patient \nmovement.\n
\n
\n", "", "", "", "", "", "
K VPRDGPM,VPRDGTS
\n", "
S VPRDGTS=$P($G(DIEN),\";\",2),DIEN=+$G(DIEN),VPRDGPM=$G(^DGPM(DIEN,0))
\n", "", "", "", "", ""], ["VPR EDP CODE", "
233.1
\n", "", "", "", "
SDA
\n", "
CodeTable
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR EDP LOG that populates the Encounter container.\nIt returns an item from the TRACKING CODE (#233.1) file as a coded \nelement. Names of entries here are stored in the format of:\n  edp.type.value\n  stn.type.value\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR EDP EXTENSION", "
230
\n", "", "", "", "
SDA
\n", "
EncounterExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR EDP LOG. It uses VPRVST and the ^TMP("PXKENC",$J) \narray, as defined in VPR EDP LOG.\n
\n
\n", "", "", "", "", "", "
K VPRDT,VPRVAL
\n", "", "", "", "", "", ""], ["VPR EDP LOG", "
230
\n", "", "", "", "
SDA
\n", "
Encounter
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Encounter container in HealthShare with\nENCEVENT^PXAPI call and VA FileMan to extract Visit and ED Log data. \nData in SDA is maintained by monitoring the PXK VISIT DATA EVENT\nprotocol event and the AVPR index on file #230.\nemergency visits from the EDP LOG (#230) file; it expects the record\nIEN as the ID (DIEN).\n \nControl is passed to this entity from the GET ID ACTION of VPR VISIT,\nwhich resets DIEN to the #230 IEN of the Visit's corresponding EDP Log\nfile entry. It is not intended to be called independently.\n \nThis entity is supported by code in routine VPRSDAVF, which uses the\n
\n
\n", "", "", "", "", "", "
K:$D(VPRVST) @VPRVST K EDP0,EDP1,EDP3,VPRV,VPRVST
\n", "
D EDP1^VPRSDAV
\n", "
EDPQ^VPRSDAV
\n", "", "", "", ""], ["VPR MAS MOVEMENT TYPE", "
405.1
\n", "", "", "", "
SDA
\n", "
MovementType
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity returns a FACILITY MOVEMENT TYPE (#405.1) as a coded element;\nit expects the record ien as the ID.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR MAS TRANSACTION TYPE", "
405.3
\n", "", "", "", "
SDA
\n", "
TransactionType
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity returns a MAS MOVEMENT TRANSACTION TYPE (#405.3) as a coded\nelement; it expects the record ien as the ID.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR WARD LOCATION", "
42
\n", "", "", "", "
SDA
\n", "
WardLocation
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity returns a WARD LOCATION (#42) as a coded element; it expects\nthe record ien as the ID.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR SCH ADM EXTENSION", "
41.1
\n", "", "", "", "
SDA
\n", "
AppointmentExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR SCHEDULED ADMISSION.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR LRCH RESULT", "
63.04
\n", "", "", "", "
SDA
\n", "
Result
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity expects ID = IENS string of the desired accession in the Chem\nsub-file #63.04 ('IDT,LRDFN'), and DATA = #60 ien of the ordered test or \npanel. It is intended to be used with VPR LAB ORDER.\n
\n
\n", "", "", "", "", "", "
K LR0,LRVER,LRFAC
\n", "
S LR0=$G(^LR(LRDFN,\"CH\",+DIEN,0)) I '$L(LR0) S DDEOUT=1
\n", "", "", "", "", ""], ["VPR VCPT EXTENSION", "
9000010.18
\n", "", "", "", "
SDA
\n", "
ProcedureExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR V CPT; it expects VPRVST, VPRVST0, and the VPRCPT\narray to be defined.\n
\n
\n", "", "", "", "", "", "
K VPRSK
\n", "", "", "", "", "", ""], ["VPR VACC HF REFUSAL", "
9000010.23
\n", "", "", "", "
SDA
\n", "
Vaccination
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports the temporary placement of vaccination refusals in\nthe V HEALTH FACTOR (#9000010.23) file, with the record IEN as the ID.\n \nThis entity is supported by code in routine VPRSDAVF, which uses the\n^PXRMINDX reminder index and VHF^PXPXRM call to extract V HEALTH FACTOR\ndata. Data in SDA is maintained by monitoring the PXK VISIT DATA EVENT\nprotocol event.\n
\n
\n", "", "", "", "", "", "
K VPRHF,VPRVST,VPRVST0
\n", "
D HF1^VPRSDAVF
\n", "
HFCVR^VPRSDAVF
\n", "", "", "", ""], ["VPR VACC HF ADMIN", "
9000010.23
\n", "", "", "", "
SDA
\n", "
Administration
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR VACC HF REFUSAL, populating the Administrations\nproperty.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR PACKAGE", "
9.4
\n", "", "", "", "
SDA
\n", "
Package
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity returns a reference to the VistA PACKAGE (#9.4) file as a\ncoded element. It expects the record IEN as the ID, but returns the \nPrefix (name-space) as the Code for HealthShare.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR VACC HF EXT", "
9000010.23
\n", "", "", "", "
SDA
\n", "
VaccinationExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR VACC HF REFUSAL.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ALLERGY SIGN EXTENSION", "
120.8
\n", "", "", "", "
SDA
\n", "
ReactionExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR ALLERGY SIGN/SYMPTOM. It expects the Reaction Date\nas the input string, to return just that one additional data element. \n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ALLERGY OBSERVATION", "
120.85
\n", "", "", "", "
SDA
\n", "
AllergyObservation
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR ALLERGY, adding a list of observation dates and \nseverities to VPR ALLERGY EXTENSION. It expects a string in the form \nID=date^severity, both in internal format.\n
\n
\n", "", "", "", "", "", "
K VPRDT,VPRSEV
\n", "
S VPRDT=+$G(DIEN),VPRSEV=$P($G(DIEN),U,2)
\n", "", "", "", "", ""], ["VPR REFERRAL ACTIVITY", "
123.02
\n", "", "", "", "
SDA
\n", "
RequestAction
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR REFERRAL EXTENSION, returning an entry in the \nRequest Processing Activity multiple of the Request/Consultation file \n#123. It expects the VPRCACT array, defined in the GET ACTION field \nof the Extension property RequestActions.\n
\n
\n", "", "", "", "", "", "
K VPRACT
\n", "
S VPRACT=$G(VPRCACT(+DIEN,0))
\n", "", "", "", "", ""], ["VPR PATIENT TEMP ADDRESS", "
2
\n", "", "", "", "
SDA
\n", "
Address
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the Patient file #2 ien\nas the ID.\n
\n
\n", "", "", "", "", "
S DFN=ID,VATEMP=$G(^DPT(DFN,.121))
\n", "
K VATEMP,VPR(\"ForeignCountryFlag\")
\n", "
D TEMP^VPRSDAD(DFN) I '$L($P($G(VATEMP),U)) S DDEOUT=1 ;no temp address
\n", "", "", "", "", ""], ["VPR PAT TEMP ADD EXTENSION", "
2
\n", "", "", "", "
SDA
\n", "
AddressExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT TEMP ADDRESS; it expects the patient DFN \nas the ID.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR LRCH RESULT ITEM", "
63.04
\n", "", "", "", "
SDA
\n", "
ResultItem
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity expects ID = IENS string of the desired test result in the \nChem sub-file #63.04 ('DN,IDT,LRDFN'). It is intended to be used with VPR \nLRCH RESULT.\n
\n
\n", "", "", "", "", "", "
K LRNODE
\n", "
D LRVALUE^LRPXAPI(.LRNODE,+$P(DIEN,\",\",3),+$P(DIEN,\",\",2),+DIEN) S LRVER=$P(LRNODE,\"|\",4) S:LRNODE=\"\" DDEOUT=1
\n", "", "", "", "", ""], ["VPR PATIENT ECON2 ADDRESS", "
2
\n", "", "", "", "
SDA
\n", "
Address
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the Patient file #2 ien\nas the ID. It returns the address of the patient's secondary Emergency\nContact.\n
\n
\n", "", "", "", "", "", "
K VPR(\"ForeignCountryFlag\")
\n", "
D ECON2^VPRSDAD(DFN)
\n", "", "", "", "", ""], ["VPR PATIENT ECON2", "
2
\n", "", "", "", "
SDA
\n", "
SupportContact
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the Patient file #2 ien\nas the ID. It returns the patient's secondary Emergency Contact.\n
\n
\n", "", "", "", "", "
S VAOA(\"A\")=4,DFN=ID D OAD^VADPT
\n", "
K VAOA
\n", "
S:$G(VAOA(9))=\"\" DDEOUT=1
\n", "", "", "", "", ""], ["VPR PATIENT NOK2", "
2
\n", "", "", "", "
SDA
\n", "
SupportContact
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the Patient file #2 ien\nas the ID. It returns the patient's secondary Next of Kin.\n
\n
\n", "", "", "", "", "
S VAOA(\"A\")=3,DFN=ID D OAD^VADPT
\n", "
K VAOA
\n", "
S:$G(VAOA(9))=\"\" DDEOUT=1
\n", "", "", "", "", ""], ["VPR PATIENT NOK2 ADDRESS", "
2
\n", "", "", "", "
SDA
\n", "
Address
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the Patient file #2 ien\nas the ID. It returns the address of the patient's secondary Next of Kin.\n
\n
\n", "", "", "", "", "", "
K VPR(\"ForeignCountryFlag\")
\n", "
D NOK2^VPRSDAD(DFN)
\n", "", "", "", "", ""], ["VPR VIETNAM SERVICE", "
2
\n", "", "", "", "
SDA
\n", "
Conflict
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT EXTENSION, adding information about the \npatient's service in the Vietnam conflict. It expects the VASV array.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR LEBANON SERVICE", "
2
\n", "", "", "", "
SDA
\n", "
Conflict
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT EXTENSION, adding information about the \npatient's service in the Lebanon conflict.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR GRENADA SERVICE", "
2
\n", "", "", "", "
SDA
\n", "
Conflict
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT EXTENSION, adding information about the \npatient's service in the Grenada conflict.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR PANAMA SERVICE", "
2
\n", "", "", "", "
SDA
\n", "
Conflict
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT EXTENSION, adding information about the \npatient's service in the Panama conflict.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR PERSIAN GULF SERVICE", "
2
\n", "", "", "", "
SDA
\n", "
Conflict
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT EXTENSION, adding information about the \npatient's service in the Persian Gulf conflict.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR SOMALIA SERVICE", "
2
\n", "", "", "", "
SDA
\n", "
Conflict
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT EXTENSION, adding information about the \npatient's service in the Somalia conflict.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR LAB TEST", "
60
\n", "", "", "", "
SDA
\n", "
LabTestItem
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR YUGOSLAVIA SERVICE", "
2
\n", "", "", "", "
SDA
\n", "
Conflict
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT EXTENSION, adding information about the \npatient's service in the Yugoslavia conflict.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR POW STATUS", "
2
\n", "", "", "", "
SDA
\n", "
Conflict
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT EXTENSION, adding information about the \npatient's status as a POW.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR COMBAT SERVICE", "
2
\n", "", "", "", "
SDA
\n", "
Conflict
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT EXTENSION, adding information about the \npatient's service in combat.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR PATIENT AO", "
2
\n", "", "", "", "
SDA
\n", "
Exposure
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT EXTENSION, adding information about the \npatient's exposure to Agent Orange. It expects the VASV array.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR PATIENT IR", "
2
\n", "", "", "", "
SDA
\n", "
Exposure
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT EXTENSION, adding information about the \npatient's exposure to radiation. It expects the VASV array.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR PATIENT SWA", "
2
\n", "", "", "", "
SDA
\n", "
Exposure
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT EXTENSION, adding information about the \npatient's exposure to conditions in SW Asia.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR COMBAT PERIOD", "
22
\n", "", "", "", "
SDA
\n", "
Period
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity returns an entry in the POW Period file #22 as a coded \nelement.\n
\n
\n", "", "", "", "", "", "
K VPRPRD
\n", "
S VPRPRD=$G(DIEN) S:VPRPRD=\"\" DDEOUT=1
\n", "", "", "", "", ""], ["VPR PATIENT MILITARY SERVICE", "
2
\n", "", "", "", "
SDA
\n", "
ServiceEpisode
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nServiceEpisodes list all episodes from the MILITARY SERVICE EPISODE \nSUB-FILE (#2.3216) of the PATIENT (#2) FILE using the API call \nGETMSE^DGMSEUTL. Listing them in last SERVICE ENTRY DATE \nentered (2.3216,.01) to first order.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR PATIENT ENROLLMENT", "
2.001
\n", "", "", "", "
SDA
\n", "
Enrollment
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity returns a clinic from the Enrollment Clinic sub-file, to \nsupport the VPR PATIENT EXTENSION.\n
\n
\n", "", "", "", "", "", "
K VAEN
\n", "
S VAEN=$G(DIEN),DIEN=+$O(^DPT(DFN,\"DE\",\"B\",+VAEN,0))_\",\"_DFN
\n", "", "", "", "", ""], ["VPR CDC EXTENSION", "
10.3
\n", "", "", "", "
SDA
\n", "
CDCExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends the Race and EthnicGroup properties of VPR PATIENT; \nsource is expected to come from VADM(11,#,1) or VADM(12,#,1) via VADPT.\n
\n
\n", "", "", "", "", "", "
K VPRCM
\n", "
S VPRCM=$G(DIEN),DIEN=+$G(DIEN)
\n", "", "", "", "", ""], ["VPR INSURANCE", "
2.312
\n", "", "", "", "
SDA
\n", "
MemberEnrollment
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Member Enrollment container in HealthShare from\nthe PATIENT INSURANCE TYPE (#2.312) sub-file. It expects the record IENS\nstring as the ID (DIEN).\n \nThis entity is supported by code in routine VPRSDAIB, which uses the\nsupported IBBAPI call to extract insurance information. Data is maintained\nby monitoring the IBCN NEW INSURANCE EVENTS protocol event.\n
\n
\n", "", "", "", "", "
S VASITE=+$$SITE^VASITE S:VASITE'>0 VASITE=$$KSP^XUPARAM(\"INST\")
\n", "
K VPRINS,VPRP,VASITE,VPRPIEN
\n", "
D INS1^VPRSDAIB(DIEN)
\n", "
INQ^VPRSDAIB
\n", "", "", "", ""], ["VPR PATIENT", "
2
\n", "", "", "", "
SDA
\n", "
Patient
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Patient container in HealthShare. Data is pulled\nfrom the Registration package using supported calls to VADPT.\n
\n
\n", "", "", "", "", "
N X S X=$$SITE^VASITE S:X>0 VASITE=+X,VASTN=$P(X,U,3) I X'>0 S VASITE=$$KSP^XUPARAM(\"INST\"),VASTN=$$STA^XUAF4(VASITE)
\n", "
K VA,VADM,VAPD,DDESC,VASITE,VASTN,VPRPHONE
\n", "
S DFN=DIEN D DEM^VADPT,OPD^VADPT
\n", "", "", "", "", ""], ["VPR DRUG PRODUCT EXTENSION", "
50
\n", "", "", "", "
SDA
\n", "
DrugProductExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR DRUG PRODUCT.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR DOSE EXTENSION", "
100
\n", "", "", "", "", "
DosageStepExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR DOSAGE STEP, part of the Medication container.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR MDD PROCEDURE", "
702.01
\n", "", "", "", "
SDA
\n", "
ClinicalProcedure
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity returns a reference to the CP DEFINITION (#702.01) file as\na basic SDA coded element.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR REFERRING PROVIDER", "
123
\n", "", "", "", "
SDA
\n", "
CareProvider
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR REFERRAL, to return the name and phone numbers\nof the remote requesting provider. It expects the variable VPRIFC from\nthe main entity.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR DEL V POV", "
9000010.07
\n", "", "", "", "
SDA
\n", "
Diagnosis
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity is called from inside GET^VPRHS when Health Connect requests\na record by its sequence number in the AVPR upload list, and that update\nis a delete. The PCE-VPR listener will save the deleted record's info in\n^XTMP("VPR-seq#") for this entity, to send the data elements needed by HC\nto find the record and remove it.\n
\n
\n", "", "", "", "", "", "
K VPR0
\n", "
D DEL1^VPRSDAV
\n", "", "", "", "", ""], ["VPR DEL VACCINATION", "
9000010.11
\n", "", "", "", "
SDA
\n", "
Vaccination
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity is called from inside GET^VPRHS when Health Connect requests\na record by its sequence number in the AVPR upload list, and that update\nis a delete. The PCE-VPR listener will save the deleted record's info in\n^XTMP("VPR-seq#") for this entity, to send the data elements needed by HC\nto find the record and remove it.\n
\n
\n", "", "", "", "", "", "
K VPR0
\n", "
D DEL1^VPRSDAV
\n", "", "", "", "", ""], ["VPR DEL HF VACC REFUSAL", "
9000010.23
\n", "", "", "", "
SDA
\n", "
Vaccination
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity is called from inside GET^VPRHS when Health Connect requests\na record by its sequence number in the AVPR upload list, and that update\nis a delete. The PCE-VPR listener will save the deleted record's info in\n^XTMP("VPR-seq#") for this entity, to send the data elements needed by HC\nto find the record and remove it.\n
\n
\n", "", "", "", "", "", "
K VPR0
\n", "
D DEL1^VPRSDAV
\n", "", "", "", "", ""], ["VPR DEL SOCIAL HX", "
9000010.23
\n", "", "", "", "
SDA
\n", "
SocialHistory
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity is called from inside GET^VPRHS when Health Connect requests\na record by its sequence number in the AVPR upload list, and that update\nis a delete. The PCE-VPR listener will save the deleted record's info in\n^XTMP("VPR-seq#") for this entity, to send the data elements needed by HC\nto find the record and remove it.\n
\n
\n", "", "", "", "", "", "
K VPR0
\n", "
D DEL1^VPRSDAV
\n", "", "", "", "", ""], ["VPR DEL FAMILY HX", "
9000010.23
\n", "", "", "", "
SDA
\n", "
FamilyHistory
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity is called from inside GET^VPRHS when Health Connect requests\na record by its sequence number in the AVPR upload list, and that update\nis a delete. The PCE-VPR listener will save the deleted record's info in\n^XTMP("VPR-seq#") for this entity, to send the data elements needed by HC\nto find the record and remove it.\n
\n
\n", "", "", "", "", "", "
K VPR0
\n", "
D DEL1^VPRSDAV
\n", "", "", "", "", ""], ["VPR DEL V EXAM", "
9000010.13
\n", "", "", "", "
SDA
\n", "
PhysicalExam
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity is called from inside GET^VPRHS when Health Connect requests\na record by its sequence number in the AVPR upload list, and that update\nis a delete. The PCE-VPR listener will save the deleted record's info in\n^XTMP("VPR-seq#") for this entity, to send the data elements needed by HC\nto find the record and remove it.\n
\n
\n", "", "", "", "", "", "
K VPR0
\n", "
D DEL1^VPRSDAV
\n", "", "", "", "", ""], ["VPR PATIENT ALIAS", "
2.01
\n", "", "", "", "
SDA
\n", "
Alias
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the FileMan IENS string as \nthe ID for each entry in the Alias sub-file.\n
\n
\n", "", "", "", "", "", "
K DPTNM
\n", "
K DPTNM S DPTNM=$$GET1^DIQ(2.01,DIEN_\",\",.01),DPTNM=$$NAMECOMP^VPRSDA(DPTNM)
\n", "", "", "", "", ""], ["VPR DEL V CPT", "
9000010.18
\n", "", "", "", "
SDA
\n", "
Procedure
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity is called from inside GET^VPRHS when Health Connect requests\na record by its sequence number in the AVPR upload list, and that update\nis a delete. The PCE-VPR listener will save the deleted record's info in\n^XTMP("VPR-seq#") for this entity, to send the data elements needed by HC\nto find the record and remove it.\n
\n
\n", "", "", "", "", "", "
K VPR0
\n", "
D DEL1^VPRSDAV
\n", "", "", "", "", ""], ["VPR DEL PTF", "
45
\n", "", "", "", "
SDA
\n", "
Diagnosis
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity is called from inside GET^VPRHS when Health Connect requests\na record by its sequence number in the AVPR upload list, and that update\nis a delete. The PTF VPR listener will save the deleted record's info in\n^XTMP("VPR-seq#") for this entity, to send the data elements needed by HC\nto find the record and remove it.\n
\n
\n", "", "", "", "", "", "
K VPR0
\n", "
D DEL1^VPRSDA
\n", "", "", "", "", ""], ["VPR DEL TIU DOCUMENT", "
8925
\n", "", "", "", "
SDA
\n", "
Document
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity is called from inside GET^VPRHS when Health Connect requests\na record by its sequence number in the AVPR upload list, and that update\nis a delete. The TIU-VPR listener will save the deleted record's info in\n^XTMP("VPR-seq#") for this entity, to send the data elements needed by HC\nto find the record and remove it.\n
\n
\n", "", "", "", "", "", "
K VPR0
\n", "
D DEL1^VPRSDAV
\n", "", "", "", "", ""], ["VPR TEXT ONLY", "", "", "", "", "
SDA
\n", "
CodeTable
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity creates a basic Code Table property for SDA that sets only \nthe Description sub-property, for use with VistA text fields that are \ncoded elements in SDA.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ELIGIBILITY", "
8
\n", "", "", "", "
SDA
\n", "
Eligibility
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity expands an ELIGIBILITY (#8) pointer into a coded element.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ORDER EVENT", "
100.2
\n", "", "", "", "
SDA
\n", "
OrderEvent
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity expands an OE/RR PATIENT EVENT (#100.2) pointer into a coded\nelement.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR RELEASE EVENT", "
100.5
\n", "", "", "", "
SDA
\n", "
ReleaseEvent
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity returns an SDA coded element given an OE/RR RELEASE EVENTS\n(#100.5) file pointer.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ICR EVENT", "
9000010.707
\n", "", "", "", "
SDA
\n", "
Vaccination
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Vaccination container in HealthShare. it \nexpects the V IMM CONTRA/REFUSAL EVENT (#9000010.707) ien as the record\nID (DIEN).\n \nThis entity is supported by code in routine VPRSDAVF, which uses the\n^PXRMINDX reminder index and VICR^PXPXRM call to extract V IMM refusal\ndata. Data in SDA is maintained by monitoring the PXK VISIT DATA EVENT\nprotocol event.\n
\n
\n", "", "", "", "", "", "
K VPRM,VPRDT,VPRVST,VPRVST0
\n", "
K VPRM D:$D(^AUPNVICR(+DIEN)) VICR^PXPXRM(+DIEN,.VPRM) S VPRVST=$G(VPRM(\"VISIT\")),VPRVST0=$G(^AUPNVSIT(+VPRVST,0))
\n", "
ICR^VPRSDAVF
\n", "", "", "", ""], ["VPR ICR EXTENSION", "
9000010.707
\n", "", "", "", "
SDA
\n", "
VaccinationExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR ICR EVENT; it expects the VPRM array defined by\nVICR^PXPXRM, called by the GET ID ACTION for each immunization event.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ICR ADMINISTRATION", "
9000010.707
\n", "", "", "", "
SDA
\n", "
Administration
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR ICR EVENT, populating the Administrations\nproperty. It expects the VPRM array defined by VICR^PXPXRM, called\nby the GET ID ACTION for each immunization event.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR LANGUAGE", "
.85
\n", "", "", "", "
SDA
\n", "
Language
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the Language file #.85 ien\nas the ID. \n \nIf the local variable DATA is defined, it will be used as the value for \nthe Description.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ICR OBSERVATION", "
9000010.707
\n", "", "", "", "
SDA
\n", "
Observation
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR ICR EVENT, populating the VXUObservations\nproperty. It expects VPRICR and the VPRM array defined by VICR^PXPXRM,\ncalled by the GET ID ACTION for each immunization event.\n
\n
\n", "", "", "", "", "", "
K VPRICR
\n", "
S VPRICR=$P($G(VPRM(\"CONTRA/REFUSAL\")),U)
\n", "", "", "", "", ""], ["VPR ICR CONTRAINDICATION", "
920.4
\n", "", "", "", "
SDA
\n", "
ObservationValueCode
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ICR REFUSAL", "
920.5
\n", "", "", "", "
SDA
\n", "
ObservationValueCode
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR DEL ICR", "
9000010.707
\n", "", "", "", "
SDA
\n", "
Vaccination
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity is called from inside GET^VPRHS when Health Connect requests\na record by its sequence number in the AVPR upload list, and that update\nis a delete. The PCE-VPR listener will save the deleted record's info in\n^XTMP("VPR-seq#") for this entity, to send the data elements needed by HC\nto find the record and remove it.\n
\n
\n", "", "", "", "", "", "
K VPR0
\n", "
D DEL1^VPRSDAV
\n", "", "", "", "", ""], ["VPR IMM MANUFACTURER", "
9999999.04
\n", "", "", "", "
SDA
\n", "
Manufacturer
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity returns information from the IMM MANFACTURER (#9999999.04)\nfile, expecting an ien as its ID. It is used by the Vaccination Extension.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR SERVICE", "
49
\n", "", "", "", "", "
Service
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity returns a coded element for a pointer to the SERVICE/SECTION file\nfile #49.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR DOCUMENT CLASS", "
8925.1
\n", "", "", "", "
SDA
\n", "
DocumentClass
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity accepts a pointer to the TIU DOCUMENT TYPE (#8925.1) file and\nreturns a standard coded element. It is used in the Document Extension to\nreturn a document's immediate parent class.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR PATIENT TYPE", "
391
\n", "", "", "", "
SDA
\n", "
PatientType
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity accepts a pointer to the PATIENT TYPE (#391) file and returns\na coded element.\n
\n
\n", "", "", "", "", "", "
K VPRTYPE
\n", "
S VPRTYPE=$G(DIEN),DIEN=+$G(DIEN)
\n", "", "", "", "", ""], ["VPR PTF 601", "
45.05
\n", "", "", "", "
SDA
\n", "
Procedure
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Procedure container in HealthShare with ICD OP\nevent.\ncodes from the 601 sub-file of the PTF (#45) file; it expects an ID in \nthe form IENS-nn where:\n IENS = ien string for the sub-file record\n   nn = the number from the code's field name, i.e. PROCEDURE CODE nn\n \nThis entity is supported by code in routine VPRSDADG, which uses the\nPTFIEN^DGPTFUT call to extract PTF procedure data. Data in SDA is\nmaintained by monitoring the DG PTF ICD PROCEDURE NOTIFIER protocol\n
\n
\n", "", "", "", "", "", "
K VPRPTF,VPRVST
\n", "
D OP1^VPRSDADG
\n", "
OPQ^VPRSDADG
\n", "", "", "", ""], ["VPR FAM HX EXTENSION", "
9000010.23
\n", "", "", "", "
SDA
\n", "
FamilyHistoryExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR FAMILY HISTORY and expects the VPRHF array to be\ndefined.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR RACE", "
10.99
\n", "", "", "", "
SDA
\n", "
Race
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the VADM(12,#) array from \nVADPT where ID is the subscript. The GET ID ACTION logic will get the \nRace file #10 ien from the current VADM(12) entry and convert it to Race \nMaster file #10.99 ien; the #10 ien^name will be available in DATA, and \nthe method of collection in DATA1.\n
\n
\n", "", "", "", "", "", "
K DATA,DATA1
\n", "
S DATA=$G(VADM(12,DIEN)),DATA1=$G(VADM(12,DIEN,1)),DIEN=+$G(^DIC(10,+DATA,\"MASTER\")) ;convert #10 ien^name to #10.99 ien
\n", "", "", "", "", ""], ["VPR DEL PTF 601", "
45.05
\n", "", "", "", "
SDA
\n", "
Procedure
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity is called from inside GET^VPRHS when Health Connect requests\na record by its sequence number in the AVPR upload list, and that update\nis a delete. The PTF VPR listener will save the deleted record's info in\n^XTMP("VPR-seq#") for this entity, to send the data elements needed by HC\nto find the record and remove it.\n
\n
\n", "", "", "", "", "", "
K VPR0
\n", "
D DEL1^VPRSDA
\n", "", "", "", "", ""], ["VPR SURG SPECIALTY", "
45.3
\n", "", "", "", "
SDA
\n", "
Specialty
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nReturns a coded element for the SURGICAL SPECIALTY (#45.3) file.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR MED SPECIALTY", "
723
\n", "", "", "", "
SDA
\n", "
Specialty
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nReturns a coded element for the MEDICAL SPECIALTY (#723) file.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR MAS SPECIALTY", "
42.4
\n", "", "", "", "
SDA
\n", "
Specialty
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nReturns a coded element for the SPECIALTY (#42.4) file.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR PTF 601 EXTENSION", "
45.05
\n", "", "", "", "
SDA
\n", "
ProcedureExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR PTF 601.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ORDER DC EVENT", "
100.2
\n", "", "", "", "
SDA
\n", "
OrderEvent
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity expands an OE/RR PATIENT EVENT (#100.2) pointer into a coded\nelement.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR VPOV EXTENSION", "
9000010.07
\n", "", "", "", "
SDA
\n", "
DiagnosisExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR V POV; it expects the VPRPOV array.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR VXAM EXTENSION", "
9000010.13
\n", "", "", "", "
SDA
\n", "
PhysicalExamExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR V EXAM; it expects VPRVST, VPRVST0, and the\nVPRXM array.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR UNITS", "
757.5
\n", "", "", "", "
SDA
\n", "
UoM
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nReturns a coded element for the UCUM CODES (#757.5) file.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ICD OP", "
80.1
\n", "", "", "", "
SDA
\n", "
ProcedureCode
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "
S VPRDT=$G(DATA(\"DATE\"),DT)
\n", "
K VPRDT,VPRCODE
\n", "
S VPRCODE=$$ICDOP^ICDEX(DIEN,VPRDT,,\"I\")
\n", "", "", "", "", ""], ["VPR PATIENT ADDRESS", "
2
\n", "", "", "", "
SDA
\n", "
Address
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the Patient file #2 ien\nas the ID.\n
\n
\n", "", "", "", "", "
S DFN=DIEN,VAPA(\"P\")=\"\" D ADD^VADPT
\n", "
K VAPA,VPR(\"ForeignCountryFlag\")
\n", "
D ADD^VPRSDAD(DFN)
\n", "", "", "", "", ""], ["VPR ORDER DIALOG", "
101.41
\n", "", "", "", "
SDA
\n", "
OrderItem
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity returns the Order Dialog of an order as a coded element. It can\nbe used as the Order Item for text-only orders.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR INSURANCE EXTENSION", "", "", "", "", "
SDA
\n", "
MemberEnrollementExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR INSURANCE, and expects the VPRINS array to be\ndefined.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR DEL INSURANCE", "
2.312
\n", "", "", "", "
SDA
\n", "
MemberEnrollment
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity is called from inside GET^VPRHS when Health Connect requests\na record by its sequence number in the AVPR upload list, and that update\nis a delete. The IBCN-VPR listener will save the deleted record's info in\n^XTMP("VPR-seq#") for this entity, to send the data elements needed by HC\nto find the record and remove it.\n
\n
\n", "", "", "", "", "", "
K VPRIB,VPRINS
\n", "
D DEL^VPRSDAIB
\n", "", "", "", "", ""], ["VPR SOCIAL HX EXTENSION", "
9000010.23
\n", "", "", "", "
SDA
\n", "
SocialHistoryExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR SOCIAL HISTORY and expects the VPRHF array to be \ndefined.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["PSO ACTIVITY LIST", "
52.3
\n", "", "", "", "", "
ACTIVITY LOG
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nFile of fields from Activity log (#52.3) in the PRESCRIPTION (#52) file.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["PSO ACTIVITY LOG", "
52
\n", "", "", "", "", "
ACTIVITY LOG
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nFile of fields from Activity log (#52.3) in the PRESCRIPTION (#52) file.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["PSO ACTIVITY OTHER COMMENTS", "
52.34
\n", "", "", "", "", "
ACTIVITY LOG OTHER COMMENTS
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity pulles the OTHER COMMENTS (#4) field from the ACTIVITY LOG\n(#52.3) subfile inside the PRECRIPTION (#52) fiel for a given \nprescription.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["PSO CMOP LOG", "
52.01
\n", "", "", "", "", "
CMOP Log
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["PSO CMOP M", "
52
\n", "", "", "", "", "
PSO CMOP M
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["PSO COPAY LIST", "
52.0107
\n", "
B
\n", "", "", "", "
COPAY LOG
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nList of entries from COPAY Transaction Log in PRESCRIPTION (#52) file.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR STATE", "
5
\n", "", "", "", "
SDA
\n", "
State
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "
D SID^VPRSDAD
\n", "", "", "", "", ""], ["PSO COPAY LOG", "
52
\n", "
B
\n", "", "", "", "
COPAY LOG
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nList of entries from COPAY Transaction Log in PRESCRIPTION (#52) file.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["PSO DIVISION", "
59
\n", "", "", "", "", "
DIVISION
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["PSO DIVISION NAME", "
59
\n", "", "", "", "", "
DIVISION NAME
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["PSO ECME LOG", "
52
\n", "", "", "", "", "
ECME LOG
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nFile of fields from Activity log (#52.3) in the PRESCRIPTION (#52) file.\n
\n
\n", "", "", "", "", "", "", "
S C=\",\" I $$GET1^DIQ(FILE,DIEN_C,.02)'=\"ECME\" S DDEOUT=1
\n", "", "", "", "", ""], ["PSO ECME M", "
52
\n", "", "", "", "", "
PSO ECME M
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["PSO ERX LOG", "
52
\n", "", "", "", "", "
eRx LOG
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\n \nXFile of fields from Activity log (#52.3) in the PRESCRIPTION (#52) file.\n
\n
\n", "", "", "", "", "", "", "
S C=\",\" I $$GET1^DIQ(FILE,DIEN_C,.02)'=\"IERX\" S DDEOUT=1
\n", "", "", "", "", ""], ["PSO ERX M", "
52
\n", "", "", "", "", "
PSO ERX M
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["PSO LABEL LOG", "
52
\n", "", "", "", "", "
LABEL LOG
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nRetrieval of LABEL LOG (#52.032) subfile entries.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["PSO LABELS LIST", "
52.032
\n", "", "", "", "", "
LABEL LOG
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nRetrieval of LABEL LOG (#52.032) subfile entries.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["PSO LOT EXP", "
52.0401
\n", "", "", "", "", "
LOT/EXPIRATION LOG FILE
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ETHNICITY", "
10.2
\n", "", "", "", "
SDA
\n", "
EthnicGroup
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the Ethnicity file #10.2\nien as the ID as well as the VADM(11) array from VADPT.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["PSO LOT EXP M", "
52
\n", "", "", "", "", "
PSO LOT EXP M
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["PSO PARTIALS LIST", "
52.2
\n", "
B
\n", "", "", "", "
PARTIALS LOG
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nList of entries from the Partials log inside the PRESCRIPTION (#52) file.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["PSO PARTIALS LOG", "
52
\n", "", "", "", "", "
PARTIALS LOG
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nA list of Partials log entries for a given external PRESCRIPTION number.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["PSO REFILL LIST", "
52.1
\n", "", "", "", "", "", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nEntity file extract of Refil Log (#52.1) file of PRESCRIPTION (#52) file.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["PSO REFILL LOG", "
52.1
\n", "
B
\n", "", "", "", "
REFILL LOG
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nEntity file extract of Refil Log (#52.1) file of PRESCRIPTION (#52) file.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["PSO TEMPORARY ADDRESS", "
2
\n", "", "", "", "
SDA
\n", "
TEMPORARY ADDRESS
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ORDER FLAG", "
100.008
\n", "", "", "", "
SDA
\n", "
Flag
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity returns flag data for an order action. It is intended to be\ncalled from VPR MED EXTENSION.\n
\n
\n", "", "", "", "", "", "
K ORFLAG
\n", "
S ORFLAG=$G(^OR(100,+$P($G(DIEN),\",\",2),8,+$G(DIEN),3)) S:ORFLAG=\"\" DDEOUT=1
\n", "", "", "", "", ""], ["PSO MAILING ADDRESS", "", "", "", "", "", "
MAILING ADDRESS
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR RELIGION", "
13
\n", "", "", "", "
SDA
\n", "
Religion
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the Religion file #13 ien \nas the ID.\n \nIf the local variable DATA is defined, it will be used as the value for \nthe Description.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR MARITAL STATUS", "
11.99
\n", "", "", "", "
SDA
\n", "
MaritalStatus
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the Master Marital Status\nfile #11.99 ien as the ID. If the local variable DATA is defined (i.e.,\nthe Master Marital Status record cannot be identified), it will contain \nthe #11 ien^name and be converted manually to HL7 table values.\n
\n
\n", "", "", "", "", "", "", "
I DIEN'>0,'$G(DATA) S DDEOUT=1
\n", "", "", "", "", ""], ["VPR VISIT", "
9000010
\n", "", "", "", "
SDA
\n", "
Encounter
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Encounter container in HealthShare from the \nVISIT (#9000010) file; it expects the record IEN as the ID.\n \nIf the requested visit does not exist, control will pass to the VPR VISIT \nSTUB entity to return a stub to HealthShare containing only the Encounter \nNumber, so the HS matching logic and find and remove the record there.\n
\n
\n", "", "", "", "", "", "
K ^TMP(\"PXKENC\",$J),VPRVST,VADMVT,VAIP
\n", "
D VST^VPRSDAV
\n", "
QRY^VPRSDAV
\n", "", "", "", ""], ["VPR INSURANCE PLAN", "
355.3
\n", "", "", "", "
SDA
\n", "
HealthFund
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity returns information about an insurance plan from the GROUP\nINSURANCE PLAN (#355.3) file. It supports the VPR INSURANCE entity and\nexpects the VPRINS array to be defined.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR LOCATION", "
44
\n", "", "", "", "
SDA
\n", "
HealthCareFacility
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ALLERGY", "
120.8
\n", "", "", "", "
SDA
\n", "
Allergy
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Allergy container in HealthShare from the\nPATIENT ALLERGIES (#120.8) file; it expects the record IEN as the ID (DIEN).\n \nThis entity is supported by code in routine VPRSDAL, which uses the\nGMRADPT and GMRAOR2 routines to extract allergies. Data in SDA is\nmaintained by monitoring the following protocol events:\n  GMRA ENTERED IN ERROR\n  GMRA SIGN-OFF ON DATA\n  GMRA VERIFY DATA\n
\n
\n", "", "", "", "", "
S VASITE=+$$SITE^VASITE S:VASITE'>0 VASITE=$$KSP^XUPARAM(\"INST\")
\n", "
K GMRAL,GMRAY,VPRALG,VASITE
\n", "
D ALG1^VPRSDAL(DIEN)
\n", "
QRY^VPRSDAL
\n", "", "", "", ""], ["VPR DOCUMENT", "
8925
\n", "", "", "", "
SDA
\n", "
Document
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Document container in HealthShare from the\nthe TIU DOCUMENT ACTION EVENT protocol event.\nTIU DOCUMENT (#8925) file; it expects the record IEN as the ID (DIEN).\n \nDocuments will be saved in SDA when they reach a status of Complete. A\ndocument will be removed from SDA if it is retracted.\n \nThis entity is supported by code in routine VPRSDAT, which uses the\nTIUVPR and TIULQ routines to extract documents. Data in SDA is\nmaintained by monitoring the AEVT cross reference on file #8925 and\n
\n
\n", "", "", "", "", "", "
K VPRTIU
\n", "
D DOC1^VPRSDAT(DIEN)
\n", "
DOCQRY^VPRSDAT
\n", "", "", "", ""], ["VPR ALLERGY SIGN/SYMPTOM", "
120.83
\n", "", "", "", "
SDA
\n", "
Reaction
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR ALLERGY, returning a coded element representation\nof a single Reaction. It expects either a #120.83 ien, or a string in the\nform ien^name^date.\n \nIf a SNOMED CT code is available, that code and name will be returned \ninstead of the #120.83 ien; the #120.83 name will be returned in the \nOriginalText property. An extension may also contain the date this\nreaction was entered if included in the ID string. \n
\n
\n", "", "", "", "", "", "
K VPREACTN,VPRDT,VPRNAME
\n", "
D REACTN^VPRSDAL(.DIEN) ;convert to national code
\n", "", "", "", "", ""], ["VPR RAD ORDER", "
100
\n", "", "", "", "
SDA
\n", "
RadOrder
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the RadOrder container in HealthShare from the\nORDER (#100) file; it expects the record ien as its ID (DIEN). Result\ndata is pulled from the RAD/NUC MED PATIENT (#70) file.\n \nThis entity is supported by code in routines VPRSDAOR and VPRSDAR, \nwhich uses the RAO7PC* calls to extract radiology data. Data in SDA\nis maintained by monitoring the OR EVSEND RA and RA EVSEND OR\nprotocol events.\n
\n
\n", "", "", "", "", "
D PRE^VPRSDAR
\n", "
D POST^VPRSDAR K OR0,OR3,OR6,OR8,ORDAD,ORSIG
\n", "
D OR1^VPRSDAOR(DIEN)
\n", "
ORDERS^VPRSDAOR(\"XRAY\")
\n", "", "", "", ""], ["VPR OTHER ORDER", "
100
\n", "", "", "", "
SDA
\n", "
OtherOrder
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the OtherOrder container in HealthShare from the\nORDER (#100) file; it expects the record ien as its ID (DIEN).\n \nThis entity is supported by code in routine VPRSDAOR, which uses the\nORQ1 and ORX8 calls to extract order data. Data in SDA is maintained\nby monitoring the OR EVSEND * protocol events.\n
\n
\n", "", "", "", "", "", "
K OR0,OR3,OR6,OR8,ORDAD,ORSIG,ORIT
\n", "
D OR1^VPRSDAOR(DIEN)
\n", "
NONORD^VPRSDAOR
\n", "", "", "", ""], ["VPR ORDER URGENCY", "
101.42
\n", "", "", "", "
SDA
\n", "
Priority
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR RAD RESULT", "
70.03
\n", "", "", "", "
SDA
\n", "
Result
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR RAD ORDER, supplying result information.\n
\n
\n", "", "", "", "", "", "
K VPRAE1,VPRAE2,RARPT,RAPROC
\n", "
D ONE^VPRSDAR(.DIEN) ;RA order# -> case,exam,DFN IENS
\n", "", "", "", "", ""], ["VPR ADVANCE DIRECTIVE", "
8925
\n", "", "", "", "
SDA
\n", "
AdvanceDirective
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Advance Directive container in HealthShare\nmaintained by the AEVT cross reference on file #8925.\nfrom the TIU DOCUMENT (#8925) file, with documents that belong to the\nAdvance Directive class. It expects the record IEN as the ID (DIEN).\n \nDocuments will be saved in SDA when they reach a status of Complete. A\ndocument will be removed from SDA if it is retracted.\n \nThis entity is supported by code in routine VPRSDAF, which uses the\nTIUPP3 and TIULQ routines to extract the documents. Data in SDA is\n
\n
\n", "", "", "", "", "", "
K VPRTIU,^TMP(\"TIUPPCV\",$J)
\n", "
D AD1^VPRSDAF(.DIEN)
\n", "
ADQ^VPRSDAF
\n", "", "", "", ""], ["VPR DOCUMENT TITLE", "
8926.1
\n", "", "", "", "
SDA
\n", "
NationalTitle
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR ADVANCE DIRECTIVE, VPR CW NOTES, and VPR DOCUMENT\nEXTENSION. It expects a TIU Document Type #8925.1 ien, and converts that\nto a National Title #8926.1 ien to extract a record.\n
\n
\n", "", "", "", "", "
D NATL^VPRSDAT(.ID) ;ID=#8925.1 ien
\n", "
K TIUTTL
\n", "", "", "", "", "", ""], ["VPR INSURANCE COMPANY", "
36
\n", "", "", "", "
SDA
\n", "
HealthFundCode
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR INSURANCE by returning data from the INSURANCE\nCOMPANY (#36) file. It expects the company IEN as the ID (DIEN), and the\nVPRINS array that contains the results of the IBBAPI call.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR APPOINTMENT", "
2.98
\n", "", "", "", "
SDA
\n", "
Appointment
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Appointment container in HealthShare from the\nAPPOINTMENT (#2.98) sub-file of the PATIENT (#2) file; it expects the\nrecord IENS string as the ID (DIEN). Data is also pulled from the related\nAPPOINTMENT (#44.001) sub-file of the HOSPITAL LOCATION (#44) file.\n \nThis entity is supported by code in routine VPRSDAM, which uses the\n$$SDAPI^SDAMA301 and GETPRV^SDOE calls to extract appointment data. \nData in SDA is maintained by monitoring the SDAM APPOINTMENT EVENTS\nprotocol event.\n
\n
\n", "", "", "", "", "", "
K ^TMP($J,\"SDAMA301\"),VPRAPPT
\n", "
D APPT1^VPRSDAM(DIEN)
\n", "
APPTS^VPRSDAM
\n", "", "", "", ""], ["VPR VITAL MEASUREMENT", "
120.5
\n", "", "", "", "
SDA
\n", "
Observation
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Observation container in HealthShare. It is \nsupported by routine VPRSDAOB, which uses the GMRVUT0 utility to pull\nvitals from both the GMRV VITAL MEASUREMENT (#120.5) and OBS (#704.117)\nfiles. Any OBS entries are converted to GMRV values except for the\nExternalId, which will hold the OBS ID (#.01) string instead of the #120.5\ninternal entry number.\n  \nData in SDA is maintained by monitoring the AVPR index on file #120.5 and\nthe MDC OBSERVATION UPDATE protocol event.\n
\n
\n", "", "", "", "", "", "
K VPRV,VPRGMV,^TMP(\"VPRGMV\",$J),VPRANGE,VPRTYPE,VPRPARAM
\n", "
D VIT1^VPRSDAOB(DIEN)
\n", "
VITALS^VPRSDAOB
\n", "", "", "", ""], ["VPR VITAL TYPE", "
120.51
\n", "", "", "", "
SDA
\n", "
ObservationCode
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR VITAL MEASUREMENT. It expects a pointer to the\nGMRV VITAL TYPE (#120.51) file and returns a coded element. If a\nVUID has been assigned, it will be returned as the Code with a coding\nsystem of VHAT. This entity also expects the variable VPRTYPE, defined by\nthe main GET ID ACTION.\n
\n
\n", "", "", "", "", "", "
K VPRVUID
\n", "
S VPRVUID=$$VUID^VPRD(+DIEN,120.51)
\n", "", "", "", "", ""], ["VPR V EXAM", "
9000010.13
\n", "", "", "", "
SDA
\n", "
PhysicalExam
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Physical Exam container in HealthShare from \nthe V EXAM (#9000010.13) file; it expects the record IEN as the ID (DIEN).\n \nThis entity is supported by code in routine VPRSDAVF, which uses the\n^PXRMINDX reminder index and VXAM^PXPXRM call to extract V POV data. \nData in SDA is maintained by monitoring the PXK VISIT DATA EVENT\nprotocol event.\n
\n
\n", "", "", "", "", "", "
K VPRXM,VPRVST,VPRVST0
\n", "
D XAM1^VPRSDAVF
\n", "
EXAMS^VPRSDAVF
\n", "", "", "", ""], ["VPR EXAM", "
9999999.15
\n", "", "", "", "
SDA
\n", "
PhysExamCode
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR FAMILY HISTORY", "
9000010.23
\n", "", "", "", "
SDA
\n", "
FamilyHistory
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Family History container in HealthShare from \nthe V HEALTH FACTORS (#9000010.23) file with factors that contain "Family\nHistory" or "Family Hx". It expects the record IEN as the ID (DIEN).\n \nThis entity is supported by code in routine VPRSDAVF, which uses the\n^PXRMINDX reminder index and VHF^PXPXRM call to extract V POV data. \nData in SDA is maintained by monitoring the PXK VISIT DATA EVENT\nprotocol event.\n
\n
\n", "", "", "", "", "", "
K VPRHF,VPRVST,VPRVST0
\n", "
D HF1^VPRSDAHX
\n", "
HFM^VPRSDAHX
\n", "", "", "", ""], ["VPR HEALTH FACTOR", "
9999999.64
\n", "", "", "", "
SDA
\n", "
DiagnosisCode
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR SOCIAL HISTORY", "
9000010.23
\n", "", "", "", "
SDA
\n", "
SocialHistory
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Social History container in HealthShare from \nthe V HEALTH FACTORS (#9000010.23) file with factors related to smoking \nor tobacco use. It expects the record IEN as the ID (DIEN).\n \nThis entity is supported by code in routine VPRSDAHX, which uses the\n^PXRMINDX reminder index and VHF^PXPXRM call to extract V HEALTH FACTOR\ndata. Data in SDA is maintained by monitoring the PXK VISIT DATA EVENT\nprotocol event.\n
\n
\n", "", "", "", "", "", "
K VPRHF,VPRVST,VPRVST0
\n", "
D HF1^VPRSDAHX
\n", "
HFS^VPRSDAHX
\n", "", "", "", ""], ["VPR REFERRAL", "
123
\n", "", "", "", "
SDA
\n", "
Referral
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Referral container in HealthShare from the\nREQUEST/CONSULTATION (#123) file; it expects the record IEN as the\nID (DIEN).\n \nThis entity is supported by code in routine VPRSDAC, which uses the\nGMRCAPI routine to extract consults. Data in SDA is maintained by\nmonitoring the GMRC EVSEND OR and OR EVSEND GMRC protocol events.\n
\n
\n", "", "", "", "", "
S VASITE=$$SITE^VPRSDA
\n", "
K VPRCONS,VPRCACT,VPRIFC,VASITE
\n", "
D GMRC1^VPRSDAC(DIEN)
\n", "
QRY^VPRSDAC
\n", "", "", "", ""], ["VPR CONSULT SERVICE", "
123.5
\n", "", "", "", "
SDA
\n", "
HealthCareFacility
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR INS GROUP NAME", "
355.3
\n", "", "", "", "
SDA
\n", "
HealthFundPlan
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR SURGERY", "
130
\n", "", "", "", "
SDA
\n", "
Procedure
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Procedure container in HealthShare from the\nSURGERY (#130) file; it expects the record IEN as the ID (DIEN).\n \nThis entity is supported by code in routine VPRSDASR, which uses the\nSROESTV calls to extract surgery data. Data in SDA is populated when\nthe related Operative Summary report is completed in TIU; only completed\nprocedures are saved in SDA.\n
\n
\n", "", "", "", "", "", "
K VPRSR,VPRNONOR,SREXT,SRPROV,SRSDATE
\n", "
D ONE^SROESTV(\"VPRSR\",DIEN) S:$G(VPRSR(DIEN))=\"\" DDEOUT=1 S:'$G(DDEOUT) VPRNONOR=$$NON^SROESTV(DIEN)
\n", "
QRY^VPRSDASR
\n", "", "", "", ""], ["VPR PROCEDURE", "
702
\n", "", "", "", "
SDA
\n", "
Procedure
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populated the Procedure container in HealthShare from the CP \nTRANSACTION (#702) file but is no longer in use. Clinical Procedures are\nhandled via the Consult/Request package and as such are available in the \nReferral container; clients may filter referrals by extension properties \nType and ClinicalProcedure to find them.\n
\n
\n", "", "", "", "", "", "
K ^TMP(\"MDHSP\",$J),VPRCP,VPRCN,VPRTIU
\n", "
D CP1^VPRSDAC(DIEN)
\n", "
CPQRY^VPRSDAC
\n", "", "", "", ""], ["VPR V PROVIDER", "
9000010.06
\n", "
AD
\n", "", "", "", "
CareProvider
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR VITAL QUALIFIER", "
120.52
\n", "", "", "", "
SDA
\n", "
ObservationMethods
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR VITAL MEASUREMENT. It expects a pointer to the\nGMRV VITAL QUALIFIER (#120.52) file and returns a coded element. If a\nVUID has been assigned, it will be returned as the Code with a coding\nsystem of VHAT.\n
\n
\n", "", "", "", "", "", "
K VPRVUID
\n", "
S VPRVUID=$$VUID^VPRD(+DIEN,120.52)
\n", "", "", "", "", ""], ["VPR PATIENT RECORD FLAG", "
26.13
\n", "", "", "", "
SDA
\n", "
Alert
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Alert container in HealthShare with active\nnational Patient Record Flags for a patient DFN.\n
\n
\n", "", "", "", "", "
S VASITE=+$$SITE^VASITE S:VASITE'>0 VASITE=$$KSP^XUPARAM(\"INST\")
\n", "
K VPRF,VPRF1H,VPRFLH,VASITE
\n", "
D PRF1^VPRSDAF(.DIEN)
\n", "
PRFQ^VPRSDAF
\n", "", "", "", ""], ["VPR PTF", "
45
\n", "", "", "", "
SDA
\n", "
Diagnosis
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Diagnosis container in HealthShare with ICD\ndischarge diagnosis codes from the PTF (#45) file ien; it expects the\nrecord IEN as the ID (DIEN).\n \nThis entity is supported by code in routine VPRSDADG, which uses the\nRPC^DGPTFAPI and PTF^DGPTPXRM calls to extract PTF data. Data in SDA\nis maintained by monitoring the DG PTF ICD DIAGNOSIS NOTIFIER protocol\nevent.\n
\n
\n", "", "", "", "", "
S VASTN=$P($$SITE^VASITE,U,3)
\n", "
K VPRDISDT,VPRPTF,VPRPOA,VASTN
\n", "
D DX1^VPRSDADG
\n", "
DXQ^VPRSDADG
\n", "", "", "", ""], ["VPR MEDICATION", "
100
\n", "", "", "", "
SDA
\n", "
Medication
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Medication container in HealthShare from the\nORDER (#100) file; it expects the record ien as its ID (DIEN).\nAdditional data is pulled from the PHARMACY PATIENT (#55) and\nPRESCRIPTION (#52) files.\n \nThis entity is supported by code in routines VPRSDAOR and VPRSDAP,\nwhich uses various PS* calls to extract medication data. Data in SDA\nis maintained by monitoring the OR EVSEND PS, PS EVSEND OR, and\nPSB EVSEND VPR protocol events.\n
\n
\n", "", "", "", "", "", "
K:$D(VPRPS) @VPRPS K ORIFN,ORPK,PSTYPE,VPRATE,VPRPS,^TMP(\"VPRX\",$J),PSOI,VPRPI,OR0,OR3,OR6,OR8,ORDAD,ORSIG
\n", "
D PS1^VPRSDAP(DIEN),OR1^VPRSDAOR(DIEN)
\n", "
ORDERS^VPRSDAOR(\"RX\")
\n", "", "", "", ""], ["VPR DOSAGE STEP", "
100
\n", "", "", "", "
SDA
\n", "
DosageStep
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity looks in the Responses multiple of the Orders file #100\nand returns the list of instance numbers for each set of dosage\ninstructions ordered. Related data elements per instance will be\nretrieved via the $$VALUE^ORX8 api. It is intended for use with\nVPR MEDICATION.\n
\n
\n", "", "", "", "", "", "
K VPRSCH
\n", "", "", "", "", "", ""], ["VPR DRUG PRODUCT", "
50
\n", "", "", "", "
SDA
\n", "
DrugProduct
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity expects a Drug file #50 ien and returns a coded element,\nincluding national VA Product information and RxNorm codes if available.\nIt is intended for use with VPR MEDICATION.\n
\n
\n", "", "", "", "", "
D NDF^VPRSDAP(.ID) ;ID=#50ien
\n", "
I $D(VPRVAP) K @VPRVAP,VPRVAP
\n", "
S:'DIEN DDEOUT=1
\n", "", "", "", "", ""], ["VPR VACCINATION", "
9000010.11
\n", "", "", "", "
SDA
\n", "
Vaccination
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Vaccination container in HealthShare from the V \nIMMUNIZATION (#9000010.11) file; it expects the record IEN as the ID \n(DIEN).\n \nThis entity is supported by code in routine VPRSDAVF, which uses the\n^PXRMINDX reminder index and VIMM^PXPXRM call to extract V IMMUNIZATION\ndata. Data in SDA is maintained by monitoring the PXK VISIT DATA EVENT\nprotocol event.\n
\n
\n", "", "", "", "", "", "
K VPRM,VPRDT
\n", "
K VPRM D:$D(^AUPNVIMM(+DIEN)) VIMM^PXPXRM(+DIEN,.VPRM)
\n", "
IMMS^VPRSDAVF
\n", "", "", "", ""], ["VPR NAME", "", "", "", "", "
SDA
\n", "
Name
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity accepts a standard formatted name string (LNAME,FNAME MI)\nas the ID and parses the components using Kernel's XLFNAME utilities.\n
\n
\n", "", "", "", "", "", "
K VPRNAME
\n", "
K VPRNAME S VPRNAME=$G(DIEN) D NAMECOMP^XLFNAME(.VPRNAME)
\n", "", "", "", "", ""], ["VPR MED ROUTE", "
51.2
\n", "", "", "", "
SDA
\n", "
Route
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR MEDICATION and expects a #51.2 ien. Results of \ncalls to ALL^PSS51P2 are kept in ^TMP("VPRX",$J,"RTE") for the session, \nwhich will be killed by the Get Post Processing of VPR MEDICATION when \nall requested med orders have been extracted.\n
\n
\n", "", "", "", "", "", "", "
I '$D(^TMP(\"VPRX\",$J,\"RTE\",DIEN)) D ALL^PSS51P2(DIEN,,,,\"RTE\") M ^TMP(\"VPRX\",$J,\"RTE\",DIEN)=^TMP($J,\"RTE\",DIEN) K ^TMP($J,\"RTE\")
\n", "", "", "", "", ""], ["VPR IMMUNIZATION", "
9999999.14
\n", "", "", "", "
SDA
\n", "
OrderItem
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR IMM ROUTE", "
920.2
\n", "", "", "", "
SDA
\n", "
Route
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR IMM ADMINISTRATION", "
9000010.11
\n", "", "", "", "
SDA
\n", "
Administration
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR VACCINATION, populating the Administrations \nproperty. VPRM array VPRDT will be defined by VPR VACCINATION.\n
\n
\n", "", "", "", "", "
S VPRVST=+$G(VPRM(\"VISIT\"))
\n", "
K VPRVST
\n", "", "", "", "", "", ""], ["VPR IMM SITE", "
920.3
\n", "", "", "", "
SDA
\n", "
AdministrationSite
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR INSURED ADDRESS", "
2.312
\n", "", "", "", "
SDA
\n", "
Address
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR INSURANCE by returning the Insured's address\ncomponents from the PATIENT INSURANCE TYPE (#2.312) sub-file. It expects\nthe record IENS string as the ID (DIEN), as well as the VPRINS array.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR COUNTRY", "
779.004
\n", "", "", "", "
SDA
\n", "
Country
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR INS COMPANY ADDRESS", "
36
\n", "", "", "", "
SDA
\n", "
Address
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity support VPR INSURANCE and VPR INSURANCE COMPANY by returning\nthe address components from an entry in the INSURANCE COMPANY (#36) file.\nIt expects the company IEN as the ID (DIEN), and the VPRINS array that\ncontains the results of the IBBAPI call.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR PERSON CLASS", "
8932.1
\n", "", "", "", "
SDA
\n", "
CareProviderType
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR CODE TABLE", "", "", "", "", "
SDA
\n", "
CodeTable
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "
D CODED^VPRSDA
\n", "
K VPRCODE
\n", "
S VPRCODE=$G(DIEN) S:VPRCODE=\"\" DDEOUT=1
\n", "", "", "", "", ""], ["VPR FACILITY", "
4
\n", "", "", "", "
SDA
\n", "
Organization
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR PATIENT NUMBER", "", "", "", "", "
SDA
\n", "
PatientNumber
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the Patient file #2 ien\nas the ID. It expects a string as the ID in the form:\n  number ^ type ^ organization ^ ISO assigning authority\n
\n
\n", "", "", "", "", "", "
K VPRNMBR
\n", "
S VPRNMBR=$G(DIEN) S:VPRNMBR=\"\" DDEOUT=1
\n", "", "", "", "", ""], ["VPR PATIENT BIRTHPLACE", "
2
\n", "", "", "", "
SDA
\n", "
Address
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the Patient file #2 ien\nas the ID.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR PATIENT NOK", "
2
\n", "", "", "", "
SDA
\n", "
SupportContact
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the Patient file #2 ien\nas the ID. It returns the patient's Next of Kin.\n
\n
\n", "", "", "", "", "
S VAOA(\"A\")=\"\",DFN=DIEN D OAD^VADPT
\n", "
K VAOA
\n", "
S:$G(VAOA(9))=\"\" DDEOUT=1
\n", "", "", "", "", ""], ["VPR PATIENT NOK ADDRESS", "
2
\n", "", "", "", "
SDA
\n", "
Address
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the Patient file #2 ien\nas the ID. It returns the address of the patient's Next of Kin.\n
\n
\n", "", "", "", "", "", "
K VPR(\"ForeignCountryFlag\")
\n", "
D NOK^VPRSDAD(DFN)
\n", "", "", "", "", ""], ["VPR PATIENT ECON", "
2
\n", "", "", "", "
SDA
\n", "
SupportContact
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the Patient file #2 ien\nas the ID. It returns the patient's Emergency Contact.\n
\n
\n", "", "", "", "", "
S VAOA(\"A\")=1,DFN=DIEN D OAD^VADPT
\n", "
K VAOA
\n", "
S:$G(VAOA(9))=\"\" DDEOUT=1
\n", "", "", "", "", ""], ["VPR PATIENT ECON ADDRESS", "
2
\n", "", "", "", "
SDA
\n", "
Address
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the Patient file #2 ien\nas the ID. It returns the address of the patient's Emergency Contact.\n
\n
\n", "", "", "", "", "", "
K VPR(\"ForeignCountryFlag\")
\n", "
D ECON^VPRSDAD(DFN)
\n", "", "", "", "", ""], ["VPR PATIENT EMPLOYER", "
2
\n", "", "", "", "
SDA
\n", "
SupportContact
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the Patient file #2 ien\nas the ID. It returns the patient's employer.\n
\n
\n", "", "", "", "", "
S VAOA(\"A\")=5,DFN=DIEN D OAD^VADPT
\n", "
K VAOA
\n", "", "", "", "", "", ""], ["VPR PATIENT EMPLOYER ADDRESS", "
2
\n", "", "", "", "
SDA
\n", "
Address
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, and expects the Patient file #2 ien\nas the ID. It returns the address of the patient's employer.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR SPECIALTY", "
45.7
\n", "", "", "", "
SDA
\n", "
CareProviderType
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR ADMISSION", "
405
\n", "", "", "", "
SDA
\n", "
Encounter
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Encounter container in HealthShare with\nIN5^VADPT call to extract movement data. Data in SDA is maintained by\nmonitoring the DGPM MOVEMENT EVENTS protocol event.\ninpatient admissions from the PATIENT MOVEMENT (#405) file; it expects\nthe record IEN as the ID (DIEN).\n \nAn admission must have a corresponding entry in the VISIT (#9000010)\nfile to be included in SDA. The ID may optionally include the visit\nnumber, in the form: #405 ien ~ #9000010 ien.\n \nThis entity is supported by code in routine VPRSDAV, which uses the\n
\n
\n", "", "", "", "", "", "
K VAIP,VPRVST,VPRCA
\n", "
D VAIP^VPRSDAV
\n", "
ADMQ^VPRSDAV
\n", "", "", "", ""], ["VPR USER", "
200
\n", "", "", "", "
SDA
\n", "
User
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR DOCUMENT STATUS", "
8925.6
\n", "", "", "", "
SDA
\n", "
DocumentCompletionStatus
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR CODE ONLY", "", "", "", "", "
SDA
\n", "
CodeTable
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR CW NOTES", "
8925
\n", "", "", "", "
SDA
\n", "
Alert
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Alert container in HealthShare.\n
\n
\n", "", "", "", "", "
S VASITE=+$$SITE^VASITE S:VASITE'>0 VASITE=$$KSP^XUPARAM(\"INST\")
\n", "
K VPRTIU,VPRTYP,VASITE
\n", "
D CW1^VPRSDAF
\n", "
CWQ^VPRSDAF
\n", "", "", "", ""], ["VPR MED ADMINISTRATION", "
53.79
\n", "
AORDX
\n", "", "", "
SDA
\n", "
Administration
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity returns the most recent administrations of this order, from \nthe Bar Code Medication Administration (BCMA) log file #53.79; it is \nintended to support the VPR MEDICATION entity.\n
\n
\n", "", "", "", "", "", "
K PSB0
\n", "
S PSB0=$G(^PSB(53.79,+$G(DIEN),0)) S:PSB0=\"\" DDEOUT=1
\n", "", "", "", "", ""], ["VPR LRAP REPORT", "
63.08
\n", "", "", "", "
SDA
\n", "
Document
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Document container in HealthShare with \nPathology reports that are not stored in TIU. Because these can come from \nthe Surgical Pathology, Cytopathology, or Electron Microscropy sub-files \nin the Lab Data file #63, the GET ID ACTION code will set the Default \nFile# for the appropriate sub-file based on the value of the IENS string \nin ID = IDT,LRDFN~SUB.\nID = IDT,LRDFN~SUB\n
\n
\n", "", "", "", "", "
S:DFN LRDFN=+$$LRDFN^LRPXAPIU(DFN) S:'DFN&ID LRDFN=+$P(ID,\",\",2),DFN=$$DFN^LRPXAPIU(LRDFN) S VASITE=+$$SITE^VASITE S:VASITE'>0 VASITE=$$KSP^XUPARAM(\"INST\")
\n", "
K LRDFN,LR0,LRSUB,VASITE
\n", "
D AP1^VPRSDAB(.DIEN)
\n", "
APRPTS^VPRSDAB
\n", "", "", "", ""], ["VPR PREGNANCY", "
790.05
\n", "", "", "", "
SDA
\n", "
SocialHistory
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Social History container in HealthShare from \nthe PREGNANCY STATUSES (#790.05) sub-file of the WV PATIENT (#790) file. \nIt creates or updates a single record containing the current preganancy \nstatus for female patients; it expects the patient DFN as the ID (DIEN).\n \nThis entity is supported by code in routine VPRSDAHX, which uses the \nBASELINE^WVRPCVPR api to extract data. Data is maintained by monitoring \nthe WV PREGNANCY STATUS CHANGE EVENT protocol event.\n
\n
\n", "", "", "", "", "", "
K VPRPREG,^TMP(\"WVPREGST\",$J)
\n", "
D WVPL1^VPRSDAHX(.DIEN)
\n", "
WVPLQ^VPRSDAHX
\n", "", "", "", ""], ["VPR CPT", "
81
\n", "", "", "", "
SDA
\n", "
ProcedureCode
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity expects a pointer to the CPT file #81 as the ID, and \noptionally a FM date.time in local variable VPRDT, and returns the\nformatted code, date-versioned description, and coding system using\n$$CPT^ICPTCOD.\n
\n
\n", "", "", "", "", "", "
K VPRCPT
\n", "
S VPRCPT=$$CPT^VPRSDA(DIEN,$G(VPRDT)) S:VPRCPT<0 DDEOUT=1
\n", "", "", "", "", ""], ["VPR V CPT", "
9000010.18
\n", "", "", "", "
SDA
\n", "
Procedure
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Procedure container in HealthShare from the\n \nThis entity is supported by code in routine VPRSDAVF, which uses the\n^PXRMINDX reminder index and VCPT^PXPXRM call to extract V CPT data. \nData in SDA is maintained by monitoring the PXK VISIT DATA EVENT\nprotocol event.\nV CPT (#9000010.18) file; it expects the record IEN as the ID (DIEN).\n \nDuplicate entries are screened out:\n * Surgeries from the SURGERY (#130) file\n * Immunizations from V IMMUNIZATION (#9000010.11) file, also stored in\n   the Vaccination container\n * Evaluation & Management codes (99200 - 99399) are returned as the type\n   of visit in the Encounter container\n
\n
\n", "", "", "", "", "", "
K VPRCPT,VPRVST,VPRVST0,VPRDT
\n", "
D CPT1^VPRSDAVF
\n", "
CPT^VPRSDAVF
\n", "", "", "", ""], ["VPR V POV", "
9000010.07
\n", "", "", "", "
SDA
\n", "
Diagnosis
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Diagnosis container in HealthShare from the\nprotocol event.\nV POV (#9000010.07) file; it expects the record IEN as the ID (DIEN).\n \nIf the record was created from an EDP Log (#230) file entry, some\nvalues not saved in V POV may be retrieved from the EDP Log entry.\n \nThis entity is supported by code in routine VPRSDAVF, which uses the\n^PXRMINDX reminder index and VPOV^PXPXRM call to extract V POV data. \nData in SDA is maintained by monitoring the PXK VISIT DATA EVENT\n
\n
\n", "", "", "", "", "", "
K VPRPOV,VPRVST,VPRVST0,VPREDP
\n", "
D POV1^VPRSDAVF
\n", "
POV^VPRSDAVF
\n", "", "", "", ""], ["VPR RAD REPORT", "
74
\n", "", "", "", "
SDA
\n", "
Document
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Document container in HealthShare.\n
\n
\n", "", "", "", "", "
S VASITE=$$SITE^VPRSDA
\n", "
K ^TMP($J,\"RAE2\"),^TMP($J,\"RAE3\"),VPRXID,VPRAE2,VPRAE3,RAPROC,VASITE
\n", "
D RPT1^VPRSDAR
\n", "
RPTS^VPRSDAR
\n", "", "", "", ""], ["VPR PROVIDER", "
200
\n", "", "", "", "
SDA
\n", "
CareProvider
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "
K VPROLE
\n", "
S VPROLE=$P(DIEN,U,2),DIEN=+DIEN
\n", "", "", "", "", ""], ["VPR LRMI REPORT", "
63.05
\n", "", "", "", "
SDA
\n", "
Document
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Document container in HealthShare with \nMicrobiology reports built from the MI subscript nodes in the LAB DATA \n(#63) file. It expects the MI sub-file IENS string and the subscript as \nID = IDT,LRDFN~SUB.\n
\n
\n", "", "", "", "", "
S:DFN LRDFN=+$$LRDFN^LRPXAPIU(DFN) S:'DFN&ID LRDFN=+$P(ID,\",\",2),DFN=$$DFN^LRPXAPIU(LRDFN) S VASITE=+$$SITE^VASITE S:VASITE'>0 VASITE=$$KSP^XUPARAM(\"INST\")
\n", "
K LRDFN,LR0,LR1,LRSUB,VASITE
\n", "
D AP1^VPRSDAB(.DIEN)
\n", "
MIRPTS^VPRSDAB
\n", "", "", "", ""], ["VPR SCHEDULED ADMISSION", "
41.1
\n", "", "", "", "
SDA
\n", "
Appointment
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity populates the Appointment container in HealthShare from the\nSCHEDULED ADMISSION (#41.1) file; it expects the record IEN as the\nID (DIEN).\n \nThis entity is supported by code in routine VPRSDAM, which uses VA\nFileMan calls to extract appointment data. Data in SDA is maintained by\nmonitoring the DG SA FILE ENTRY NOTIFIER protocol event.\n
\n
\n", "", "", "", "", "", "
K VPRADM
\n", "
S VPRADM=$G(^DGS(41.1,DIEN,0))
\n", "
SCHADMS^VPRSDAM
\n", "", "", "", ""], ["VPR DRUG CLASS", "
50.605
\n", "", "", "", "
SDA
\n", "
ATCCode
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "
K VPRDCLS
\n", "
S VPRDCLS=$G(DIEN),DIEN=$P(DIEN,U)
\n", "", "", "", "", ""], ["VPR DRUG GENERIC", "
50.6
\n", "", "", "", "
SDA
\n", "
Generic
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR IV PRODUCT", "
50
\n", "", "", "", "
SDA
\n", "
DrugProduct
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity expects a string of data from OEL^PSOORRL describing an IV\nsolution or additive, in the form ien^name^amount^type[^bottle]. It\nreturns a coded element, including national VA Product information and\nRxNorm codes if available. It is intended for use with VPR MEDICATION.\n
\n
\n", "", "", "", "", "", "
K VPRPSIV I $D(VPRVAP) K @VPRVAP,VPRVAP
\n", "
D IV1^VPRSDAP(.DIEN)
\n", "", "", "", "", ""], ["VPR PATIENT EXTENSION", "
2
\n", "", "", "", "
SDA
\n", "
PatientExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR PATIENT, using supported calls to VADPT to\nretrieve the data.\n
\n
\n", "", "", "", "", "
D 7^VADPT,SDE^VADPT,MSE^VPRSDADG
\n", "
K VPRSV,VAEL,VASV,VAERR,VPRTEAM,VPRPTP,^UTILITY(\"VAEN\",$J),VPR321,VPR322,VPR52
\n", "
S VPR321=$G(^DPT(DIEN,.321)),VPR322=$G(^(.322)),VPR52=$G(^(.52))
\n", "", "", "", "", ""], ["VPR PATIENT ELIGIBILITY", "
8
\n", "", "", "", "
SDA
\n", "
Eligibility
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT, returning an eligibility for which the \npatient is entitled to care. Since this data is usually extracted via \nVADPT, the string ien^name^primary may be passed in as the ID and the \nproperties will look for the existence of these pieces first.\n
\n
\n", "", "", "", "", "", "
K VPRELIG
\n", "
S VPRELIG=$P(DIEN,U,2,3),DIEN=+DIEN
\n", "", "", "", "", ""], ["VPR PATIENT DISABILITY", "
2.04
\n", "", "", "", "
SDA
\n", "
Disability
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity supports VPR PATIENT EXTENSION, returning a disability the\npatient has sustained. It expects to receive the results of RDIS^DGRPDB as\nits ID string, for every entry in the patient's sub-file.\n
\n
\n", "", "", "", "", "", "
K VPRDIS
\n", "
S VPRDIS=$G(DIEN) I DIEN=\"\" S DDEOUT=1
\n", "", "", "", "", ""], ["VPR PERSON CLASS EXTENSION", "
8932.1
\n", "", "", "", "
SDA
\n", "
CareProviderTypeExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR PERSON CLASS, to expose additional data elements.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""], ["VPR LOCATION EXTENSION", "
44
\n", "", "", "", "
SDA
\n", "
HealthCareFacilityExtension
\n", "
\n
\n\n
\n", "", "", "", "", "", "", "", "", "", "", "", "", "
\nThis entity extends VPR LOCATION, to expose additional data elements.\n
\n
\n", "", "", "", "", "", "", "", "", "", "", "", ""]]}