PXHFMEASREPAIR ;SLC/PKR - Repair V Health Factor entries that have corrupted measurements. ;05/03/2023
Source file <PXHFMEASREPAIR.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
PCE Patient Care Encounter | 1 | PXP234I |
Name | Comments | DBIA/ICR reference |
---|---|---|
EDITMEASUREMENT | ;Let the user select V HF entries and edit the measurement.
|
|
LCSHF(HFIEN,VHFIEN,MEASDEF,NUMREPAIRED) | ;Special handling for the LCS HFs, if what is stored
|
|
NUMCHECK(COMMENTS) | ;Verify all the characters in COMMENTS are numbers or ".".
|
|
REPAIR | ;Repair V Health Factor entries that have corrupted measurements.
|
|
SENDHFMESSAGE | ;Send a MailMan message to the PCE Management Repair mail group
|
|
SENDVHFMESSAGE(NUMREPAIRED,NUMNOTREPAIRED) | ;Send a MailMan message to the PCE Management Repair mail group
|
|
TASKREPAIR | ;Run REPAIR^PXHFMEASREPAIR as a TaskMan job.
|
|
VALIDMEASDEF(MEASDEF) | ;Make sure a measurement is completely defined.
|
Name | Field # of Occurrence |
---|---|
^%ZTLOAD | TASKREPAIR+6 |
EN^DDIOL | EDITMEASUREMENT+62 |
^DIC | EDITMEASUREMENT+10 |
^DIE | EDITMEASUREMENT+38 |
$$GET1^DIQ | SENDHFMESSAGE+6, SENDVHFMESSAGE+8 |
SEND^PXMSG | SENDHFMESSAGE+37, SENDVHFMESSAGE+15, SENDVHFMESSAGE+49 |
$$UCUMFIELDS^PXUCUM | EDITMEASUREMENT+20, SENDHFMESSAGE+29, SENDVHFMESSAGE+31, SENDVHFMESSAGE+45 |
$$FMTE^XLFDT | SENDVHFMESSAGE+12, SENDVHFMESSAGE+39 |
$$NOW^XLFDT | SENDVHFMESSAGE+11 |
BMES^XPDUTL | TASKREPAIR+9, TASKREPAIR+12 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^XMB(3.8 - [#3.8] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNVHF - [#9000010.23] | EDITMEASUREMENT+14, EDITMEASUREMENT+15, EDITMEASUREMENT+43, LCSHF+3, LCSHF+8, LCSHF+18!, LCSHF+27*, REPAIR+25, REPAIR+31*, REPAIR+37 , REPAIR+47!, REPAIR+55*, SENDVHFMESSAGE+34, SENDVHFMESSAGE+41, SENDVHFMESSAGE+48 |
^AUPNVHF("B" | REPAIR+8, REPAIR+23 |
^AUPNVSIT - [#9000010] | SENDVHFMESSAGE+38 |
^AUTTHF - [#9999999.64] | EDITMEASUREMENT+16, EDITMEASUREMENT+17, REPAIR+11, SENDHFMESSAGE+15, SENDHFMESSAGE+18, SENDVHFMESSAGE+21, SENDVHFMESSAGE+24 |
^AUTTHF("B" | REPAIR+5, REPAIR+6 |
^DPT - [#2] | SENDVHFMESSAGE+37 |
^PX(815 - [#815] | SENDHFMESSAGE+4, SENDVHFMESSAGE+6 |
^TMP("PXHFMSG" | SENDHFMESSAGE+9!, SENDHFMESSAGE+10*, SENDHFMESSAGE+11*, SENDHFMESSAGE+16*, SENDHFMESSAGE+17*, SENDHFMESSAGE+21*, SENDHFMESSAGE+24*, SENDHFMESSAGE+27*, SENDHFMESSAGE+30*, SENDHFMESSAGE+33* , SENDHFMESSAGE+36*, SENDHFMESSAGE+38! |
^TMP("PXMEASDEF" | REPAIR+3!, REPAIR+19*, REPAIR+58, REPAIR+59!, SENDHFMESSAGE+14 |
^TMP("PXNOREPAIR" | LCSHF+19*, LCSHF+21*, REPAIR+3!, REPAIR+34*, REPAIR+48*, REPAIR+50*, REPAIR+59!, SENDVHFMESSAGE+14, SENDVHFMESSAGE+20, SENDVHFMESSAGE+33 |
^TMP("PXVHFMSG" | SENDVHFMESSAGE+4!, SENDVHFMESSAGE+12*, SENDVHFMESSAGE+13*, SENDVHFMESSAGE+16!, SENDVHFMESSAGE+17*, SENDVHFMESSAGE+18*, SENDVHFMESSAGE+22*, SENDVHFMESSAGE+23*, SENDVHFMESSAGE+29*, SENDVHFMESSAGE+30* , SENDVHFMESSAGE+31*, SENDVHFMESSAGE+35*, SENDVHFMESSAGE+36*, SENDVHFMESSAGE+39*, SENDVHFMESSAGE+40*, SENDVHFMESSAGE+47*, SENDVHFMESSAGE+48*, SENDVHFMESSAGE+50! |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ASCII | NUMCHECK+1~, NUMCHECK+7*, NUMCHECK+8, NUMCHECK+9 |
CHAR | NUMCHECK+1~, NUMCHECK+6*, NUMCHECK+7 |
COMMENTS | EDITMEASUREMENT+1~, EDITMEASUREMENT+15*, EDITMEASUREMENT+34, LCSHF+2~, LCSHF+8*, LCSHF+9, LCSHF+10, LCSHF+11, LCSHF+12, NUMCHECK~ , NUMCHECK+2, NUMCHECK+6, REPAIR+1~, REPAIR+37*, REPAIR+38, REPAIR+39, REPAIR+40, REPAIR+41 |
DA | EDITMEASUREMENT+1~, EDITMEASUREMENT+12*, EDITMEASUREMENT+14, EDITMEASUREMENT+15, EDITMEASUREMENT+43 |
DEC | LCSHF+2~, LCSHF+23*, REPAIR+1~, REPAIR+52* |
DECLEN | LCSHF+2~, LCSHF+23*, LCSHF+24, REPAIR+1~, REPAIR+52*, REPAIR+53 |
DFN | SENDVHFMESSAGE+2~, SENDVHFMESSAGE+37* |
DIC | EDITMEASUREMENT+1~, EDITMEASUREMENT+3* |
DIC("A" | EDITMEASUREMENT+4* |
DIC(0 | EDITMEASUREMENT+9* |
DIE | EDITMEASUREMENT+1~, EDITMEASUREMENT+3* |
DONE | EDITMEASUREMENT+1~, EDITMEASUREMENT+7*, EDITMEASUREMENT+8, EDITMEASUREMENT+11*, NUMCHECK+1~, NUMCHECK+3*, NUMCHECK+4, NUMCHECK+9* |
DR | EDITMEASUREMENT+1~, EDITMEASUREMENT+5* |
DUZ | SENDHFMESSAGE+8, SENDVHFMESSAGE+10 |
HF | SENDVHFMESSAGE+2~, SENDVHFMESSAGE+21*, SENDVHFMESSAGE+23 |
HFIEN | EDITMEASUREMENT+1~, EDITMEASUREMENT+14*, EDITMEASUREMENT+16, EDITMEASUREMENT+17, LCSHF~, LCSHF+19, LCSHF+21, REPAIR+1~, REPAIR+7*, REPAIR+8* , REPAIR+9, REPAIR+11, REPAIR+19, REPAIR+23, REPAIR+24, REPAIR+34, REPAIR+48, REPAIR+50, SENDHFMESSAGE+2~, SENDHFMESSAGE+13* , SENDHFMESSAGE+14*, SENDHFMESSAGE+15, SENDHFMESSAGE+18, SENDVHFMESSAGE+2~, SENDVHFMESSAGE+19*, SENDVHFMESSAGE+20*, SENDVHFMESSAGE+21, SENDVHFMESSAGE+24, SENDVHFMESSAGE+33 |
HFNAME | EDITMEASUREMENT+1~, EDITMEASUREMENT+16*, EDITMEASUREMENT+26 |
HFTEMP220 | EDITMEASUREMENT+1~, EDITMEASUREMENT+17*, EDITMEASUREMENT+18, EDITMEASUREMENT+19, REPAIR+1~, REPAIR+11*, REPAIR+12, REPAIR+13, REPAIR+14, REPAIR+15 , REPAIR+16, REPAIR+17, REPAIR+18, REPAIR+20, SENDHFMESSAGE+18*, SENDHFMESSAGE+19, SENDHFMESSAGE+22, SENDHFMESSAGE+25, SENDHFMESSAGE+28, SENDHFMESSAGE+31 , SENDHFMESSAGE+34, SENDVHFMESSAGE+2~, SENDVHFMESSAGE+24*, SENDVHFMESSAGE+25, SENDVHFMESSAGE+26, SENDVHFMESSAGE+27, SENDVHFMESSAGE+28 |
IND | NUMCHECK+1~, NUMCHECK+3*, NUMCHECK+4, NUMCHECK+5*, NUMCHECK+6 |
LCSHF | REPAIR+1~, REPAIR+9*, REPAIR+10*, REPAIR+24 |
LCSPACKDAY | REPAIR+1~, REPAIR+5*, REPAIR+9 |
LCSYEARSSMOKED | REPAIR+1~, REPAIR+6*, REPAIR+9 |
LEN | NUMCHECK+1~, NUMCHECK+2*, NUMCHECK+4 |
MAGNITUDE | EDITMEASUREMENT+1~, EDITMEASUREMENT+44*, EDITMEASUREMENT+46, EDITMEASUREMENT+47, EDITMEASUREMENT+50, EDITMEASUREMENT+53, EDITMEASUREMENT+54, LCSHF+2~, LCSHF+4*, LCSHF+7 , LCSHF+15*, LCSHF+17, LCSHF+20, LCSHF+23, LCSHF+24*, LCSHF+26, LCSHF+27, REPAIR+1~, REPAIR+26*, REPAIR+30 , REPAIR+32, REPAIR+36, REPAIR+44*, REPAIR+46, REPAIR+49, REPAIR+52, REPAIR+53*, REPAIR+54, REPAIR+55, SENDVHFMESSAGE+2~ , SENDVHFMESSAGE+42*, SENDVHFMESSAGE+43*, SENDVHFMESSAGE+47 |
MAX | EDITMEASUREMENT+1~, EDITMEASUREMENT+18*, EDITMEASUREMENT+23, EDITMEASUREMENT+31, EDITMEASUREMENT+53, EDITMEASUREMENT+54, SENDVHFMESSAGE+2~, SENDVHFMESSAGE+26*, SENDVHFMESSAGE+29 |
MAXDEC | EDITMEASUREMENT+1~, EDITMEASUREMENT+19*, EDITMEASUREMENT+24, EDITMEASUREMENT+32, EDITMEASUREMENT+56, SENDVHFMESSAGE+2~, SENDVHFMESSAGE+27*, SENDVHFMESSAGE+30 |
MEASDEF | LCSHF~, REPAIR+1~, REPAIR+19, REPAIR+21*, REPAIR+24, REPAIR+30, VALIDMEASDEF~ |
MEASDEF("MAX" | LCSHF+14, LCSHF+20, REPAIR+14*, REPAIR+20*, REPAIR+21, REPAIR+43, REPAIR+49, VALIDMEASDEF+4 |
MEASDEF("MAXDEC" | LCSHF+24, REPAIR+15*, REPAIR+20*, REPAIR+53, VALIDMEASDEF+5 |
MEASDEF("MIN" | LCSHF+14, LCSHF+20, REPAIR+13*, REPAIR+20*, REPAIR+21, REPAIR+43, REPAIR+49, VALIDMEASDEF+3 |
MEASDEF("PROM | PT CAPTION" , REPAIR+17*, REPAIR+20*, VALIDMEASDEF+7 |
MEASDEF("UCUM | DISPLAY" , REPAIR+18*, REPAIR+20*, VALIDMEASDEF+8 |
MEASDEF("UCUMIEN" | LCSHF+26, LCSHF+27, REPAIR+16*, REPAIR+20*, REPAIR+34, REPAIR+55, VALIDMEASDEF+6 |
MGIEN | SENDHFMESSAGE+2~, SENDHFMESSAGE+4*, SENDHFMESSAGE+5, SENDHFMESSAGE+6, SENDVHFMESSAGE+2~, SENDVHFMESSAGE+6*, SENDVHFMESSAGE+7, SENDVHFMESSAGE+8 |
MGROUP | SENDHFMESSAGE+2~, SENDHFMESSAGE+6*, SENDHFMESSAGE+7, SENDVHFMESSAGE+2~, SENDVHFMESSAGE+8*, SENDVHFMESSAGE+9 |
MIN | EDITMEASUREMENT+1~, EDITMEASUREMENT+18*, EDITMEASUREMENT+22, EDITMEASUREMENT+30, EDITMEASUREMENT+53, EDITMEASUREMENT+54, SENDVHFMESSAGE+2~, SENDVHFMESSAGE+25*, SENDVHFMESSAGE+29 |
NAME | SENDHFMESSAGE+2~, SENDHFMESSAGE+15*, SENDHFMESSAGE+17 |
NL | EDITMEASUREMENT+2~, EDITMEASUREMENT+40*, EDITMEASUREMENT+48*, EDITMEASUREMENT+51*, EDITMEASUREMENT+54*, EDITMEASUREMENT+57*, EDITMEASUREMENT+60*, SENDHFMESSAGE+2~, SENDHFMESSAGE+12*, SENDHFMESSAGE+16* , SENDHFMESSAGE+17*, SENDHFMESSAGE+21*, SENDHFMESSAGE+24*, SENDHFMESSAGE+27*, SENDHFMESSAGE+30*, SENDHFMESSAGE+33*, SENDHFMESSAGE+36*, SENDVHFMESSAGE+2~, SENDVHFMESSAGE+19*, SENDVHFMESSAGE+22* , SENDVHFMESSAGE+23*, SENDVHFMESSAGE+29*, SENDVHFMESSAGE+30*, SENDVHFMESSAGE+31*, SENDVHFMESSAGE+35*, SENDVHFMESSAGE+36*, SENDVHFMESSAGE+39*, SENDVHFMESSAGE+40*, SENDVHFMESSAGE+47*, SENDVHFMESSAGE+48* |
NOW | SENDVHFMESSAGE+2~, SENDVHFMESSAGE+11*, SENDVHFMESSAGE+12 |
NUMBER | LCSHF+2~, LCSHF+10*, LCSHF+11, LCSHF+14, LCSHF+15, REPAIR+2~, REPAIR+39*, REPAIR+40, REPAIR+43, REPAIR+44 |
NUMNOTREPAIRED | LCSHF+19*, LCSHF+21*, REPAIR+2~, REPAIR+7*, REPAIR+34*, REPAIR+48*, REPAIR+50*, REPAIR+57, SENDVHFMESSAGE~, SENDVHFMESSAGE+17 |
NUMNULL | EDITMEASUREMENT+2~, EDITMEASUREMENT+21*, EDITMEASUREMENT+22*, EDITMEASUREMENT+23*, EDITMEASUREMENT+24*, EDITMEASUREMENT+25*, EDITMEASUREMENT+27, EDITMEASUREMENT+28, EDITMEASUREMENT+29, VALIDMEASDEF+1~ , VALIDMEASDEF+2*, VALIDMEASDEF+3*, VALIDMEASDEF+4*, VALIDMEASDEF+5*, VALIDMEASDEF+6*, VALIDMEASDEF+7*, VALIDMEASDEF+8*, VALIDMEASDEF+9 |
NUMREPAIRED | LCSHF~, LCSHF+28*, REPAIR+2~, REPAIR+7*, REPAIR+24, REPAIR+31*, REPAIR+56*, REPAIR+57, SENDVHFMESSAGE~, SENDVHFMESSAGE+13 |
NUMVHFDEC | EDITMEASUREMENT+2~, EDITMEASUREMENT+46*, EDITMEASUREMENT+56 |
ORGMAG | LCSHF+2~, LCSHF+4*, LCSHF+26, REPAIR+2~, REPAIR+26*, REPAIR+54 |
PATIENT | SENDVHFMESSAGE+2~, SENDVHFMESSAGE+37*, SENDVHFMESSAGE+40 |
SUBJECT | SENDHFMESSAGE+2~, SENDHFMESSAGE+3*, SENDHFMESSAGE+37, SENDVHFMESSAGE+3~, SENDVHFMESSAGE+5*, SENDVHFMESSAGE+15, SENDVHFMESSAGE+49 |
TEMP | SENDVHFMESSAGE+3~, SENDVHFMESSAGE+34*, SENDVHFMESSAGE+37, SENDVHFMESSAGE+38 |
TEMP220 | LCSHF+2~ |
TEXT | EDITMEASUREMENT+2~, EDITMEASUREMENT+41!, EDITMEASUREMENT+62, TASKREPAIR+1~, TASKREPAIR+8*, TASKREPAIR+9, TASKREPAIR+11*, TASKREPAIR+12 |
TEXT( | EDITMEASUREMENT+40*, EDITMEASUREMENT+48*, EDITMEASUREMENT+51*, EDITMEASUREMENT+54*, EDITMEASUREMENT+57*, EDITMEASUREMENT+60* |
TO | SENDHFMESSAGE+2~, SENDHFMESSAGE+37, SENDVHFMESSAGE+3~, SENDVHFMESSAGE+15, SENDVHFMESSAGE+49 |
TO( | SENDHFMESSAGE+7*, SENDHFMESSAGE+8*, SENDVHFMESSAGE+9*, SENDVHFMESSAGE+10* |
U | EDITMEASUREMENT+12, EDITMEASUREMENT+14, EDITMEASUREMENT+16, EDITMEASUREMENT+18, EDITMEASUREMENT+19, EDITMEASUREMENT+44, EDITMEASUREMENT+45, LCSHF+4, LCSHF+5, LCSHF+27 , REPAIR+13, REPAIR+14, REPAIR+15, REPAIR+16, REPAIR+17, REPAIR+18, REPAIR+26, REPAIR+27, REPAIR+55, SENDHFMESSAGE+15 , SENDHFMESSAGE+19, SENDHFMESSAGE+22, SENDHFMESSAGE+25, SENDHFMESSAGE+28, SENDHFMESSAGE+31, SENDHFMESSAGE+34, SENDVHFMESSAGE+21, SENDVHFMESSAGE+25, SENDVHFMESSAGE+26, SENDVHFMESSAGE+27 , SENDVHFMESSAGE+28, SENDVHFMESSAGE+37, SENDVHFMESSAGE+38, SENDVHFMESSAGE+42, SENDVHFMESSAGE+44 |
UCUMCODE | EDITMEASUREMENT+2~, EDITMEASUREMENT+20*, EDITMEASUREMENT+33, SENDVHFMESSAGE+3~, SENDVHFMESSAGE+45*, SENDVHFMESSAGE+46*, SENDVHFMESSAGE+47 |
UCUMIEN | EDITMEASUREMENT+2~, EDITMEASUREMENT+19*, EDITMEASUREMENT+20, EDITMEASUREMENT+25, EDITMEASUREMENT+59, LCSHF+2~, LCSHF+5*, LCSHF+26, REPAIR+2~, REPAIR+27* , REPAIR+30, REPAIR+32, REPAIR+34, SENDVHFMESSAGE+3~, SENDVHFMESSAGE+28*, SENDVHFMESSAGE+31, SENDVHFMESSAGE+44*, SENDVHFMESSAGE+45 |
VALID | EDITMEASUREMENT+2~, EDITMEASUREMENT+36*, EDITMEASUREMENT+37, EDITMEASUREMENT+42*, EDITMEASUREMENT+49*, EDITMEASUREMENT+52*, EDITMEASUREMENT+55*, EDITMEASUREMENT+58*, EDITMEASUREMENT+61*, EDITMEASUREMENT+62 , NUMCHECK+1~, NUMCHECK+3*, NUMCHECK+9*, NUMCHECK+10 |
VALIDNUM | LCSHF+2~, LCSHF+11*, LCSHF+12*, LCSHF+13, REPAIR+2~, REPAIR+40*, REPAIR+41*, REPAIR+42 |
VALUE | SENDHFMESSAGE+2~, SENDHFMESSAGE+19*, SENDHFMESSAGE+20*, SENDHFMESSAGE+21, SENDHFMESSAGE+22*, SENDHFMESSAGE+23*, SENDHFMESSAGE+24, SENDHFMESSAGE+25*, SENDHFMESSAGE+26*, SENDHFMESSAGE+27 , SENDHFMESSAGE+28*, SENDHFMESSAGE+29*, SENDHFMESSAGE+30, SENDHFMESSAGE+31*, SENDHFMESSAGE+32*, SENDHFMESSAGE+33, SENDHFMESSAGE+34*, SENDHFMESSAGE+35*, SENDHFMESSAGE+36 |
VHFDEC | EDITMEASUREMENT+2~ |
VHFIEN | LCSHF~, LCSHF+3, LCSHF+8, LCSHF+18, LCSHF+19, LCSHF+21, LCSHF+27, REPAIR+2~, REPAIR+22*, REPAIR+23* , REPAIR+24, REPAIR+25, REPAIR+31, REPAIR+34, REPAIR+37, REPAIR+47, REPAIR+48, REPAIR+50, REPAIR+55, SENDVHFMESSAGE+3~ , SENDVHFMESSAGE+32*, SENDVHFMESSAGE+33*, SENDVHFMESSAGE+34, SENDVHFMESSAGE+36, SENDVHFMESSAGE+41, SENDVHFMESSAGE+48 |
VHFTEMP220 | EDITMEASUREMENT+2~, EDITMEASUREMENT+43*, EDITMEASUREMENT+44, EDITMEASUREMENT+45, LCSHF+2~, LCSHF+3*, LCSHF+4, LCSHF+5, REPAIR+2~, REPAIR+25* , REPAIR+26, REPAIR+27, SENDVHFMESSAGE+3~, SENDVHFMESSAGE+41*, SENDVHFMESSAGE+42, SENDVHFMESSAGE+44 |
VHFUCUMIEN | EDITMEASUREMENT+2~, EDITMEASUREMENT+45*, EDITMEASUREMENT+47, EDITMEASUREMENT+50, EDITMEASUREMENT+59 |
VISITDT | SENDVHFMESSAGE+3~, SENDVHFMESSAGE+38*, SENDVHFMESSAGE+39 |
VISITIEN | SENDVHFMESSAGE+3~, SENDVHFMESSAGE+38* |
Y | EDITMEASUREMENT+2~, EDITMEASUREMENT+11, EDITMEASUREMENT+12 |
ZTCPU | TASKREPAIR+1~ |
ZTDESC | TASKREPAIR+1~, TASKREPAIR+3* |
ZTDTH | TASKREPAIR+1~, TASKREPAIR+5* |
ZTIO | TASKREPAIR+1~, TASKREPAIR+4* |
ZTKIL | TASKREPAIR+1~ |
ZTRTN | TASKREPAIR+1~, TASKREPAIR+2* |
ZTSAVE | TASKREPAIR+1~ |
ZTSK | TASKREPAIR+1~, TASKREPAIR+7, TASKREPAIR+8, TASKREPAIR+10 |
ZTSYNC | TASKREPAIR+1~ |
ZTUCI | TASKREPAIR+1~ |