Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: GMV6PST

GMV6PST.m

Go to the documentation of this file.
  1. GMV6PST ;HIOFO/FT-Create Clinical Reminders Index ;10/14/04 11:35
  1. ;;5.0;GEN. MED. REC. - VITALS;**6**;Oct 31, 2002;Build 1
  1. ;
  1. ; This routine uses the following IAs:
  1. ; #3736 - ^PXRMP12I calls (private)
  1. ; #10141 - ^XPDUTL calls (supported)
  1. ;
  1. CGMRVVM ; Create cross-reference for GMRV Vital Measurement file (#120.5)
  1. N MSG,RESULT,XREF
  1. D BMES^XPDUTL("Creating GMRV Vital Measurement cross-reference.")
  1. S XREF("FILE")=120.5
  1. S XREF("ROOT FILE")=120.5
  1. S XREF("TYPE")="MU"
  1. S XREF("SHORT DESCR")="Clinical Reminders cross-reference."
  1. S XREF("DESCR",1)="This cross-reference builds two indexes, one for finding"
  1. S XREF("DESCR",2)="all patients with a particular vital measurement and one for finding all"
  1. S XREF("DESCR",3)="the vital measurements a patient has."
  1. S XREF("DESCR",4)="The index is stored in the Clinical Reminders index global as:"
  1. S XREF("DESCR",5)=" ^PXRMINDX(120.5,""IP"",MEASUREMENT,DFN,DATE/TIME TAKEN,DAS)"
  1. S XREF("DESCR",6)=" ^PXRMINDX(120.5,""PI"",DFN,MEASUREMENT,DATE/TIME TAKEN,DAS)"
  1. S XREF("DESCR",7)="Entries that are marked as entered-in-error are not indexed."
  1. S XREF("DESCR",8)="Permission to use the PXRM namespace is documented in IAs 3736 and 4114."
  1. S XREF("DESCR",9)="For all the details, see the Clinical Reminders Index Technical Guide/Programmer's Manual."
  1. S XREF("USE")="ACTION"
  1. S XREF("EXECUTION")="R"
  1. S XREF("ACTIVITY")="IR"
  1. S XREF("WHOLE KILL")="K ^PXRMINDX(120.5)"
  1. S XREF("VAL",1)=.01
  1. S XREF("VAL",1,"SUBSCRIPT")=1
  1. S XREF("VAL",2)=.02
  1. S XREF("VAL",2,"SUBSCRIPT")=2
  1. S XREF("VAL",3)=.03
  1. S XREF("VAL",3,"SUBSCRIPT")=3
  1. S XREF("VAL",4)=2
  1. S XREF("NAME")="ACR"
  1. S XREF("SET")="D SVITAL^GMVPXRM(.X,.DA)"
  1. S XREF("KILL")="D KVITAL^GMVPXRM(.X,.DA)"
  1. D CREIXN^DDMOD(.XREF,"k",.RESULT,"","MSG")
  1. I RESULT="" D DCERRMSG^PXRMP12I(.MSG,.XREF)
  1. Q