ORRCVIT ;SLC/MKB - Vitals utilities ; 25 Jul 2003 9:31 AM
Source file <ORRCVIT.m>
Package | Total | Call Graph |
---|---|---|
General Medical Record - Vitals | 1 | EN1^GMRVUT0 |
Kernel | 1 | $$HL7TFM^XLFDT |
Name | Comments | DBIA/ICR reference |
---|---|---|
WT | ; -- Weight = Wt.^value^lb^metric^kg^BodyMassIndex^^[*]^Q1;..;Qn
|
|
IDS(ORY,DFN,SDATE,EDATE) | ; --Return recent measurement IDs for DFN
; in @ORY@(DFN) = #sets ^ 1 if any are critical ; @ORY@(DFN,ID) = * if critical, else null ; [from ORRCDPT1] |
|
ABN(IDT) | ; -- Return * if any value from measurement set is critical, else null
|
|
P | ; -- Pulse = Pulse^value^^^^^^[*]^Q1;..;Qn
|
|
PO2 | ; -- PulseOx = Pulse Ox^value^^^^^l/min of supplemental O2^[*]^Q1;..;Qn
|
|
CG | ; -- Circm/Girth = C/G^value^in^metric^cm^^^[*]^Q1;..;Qn
|
|
HT | ; -- Height = Ht.^value^in^metric^cm^^^[*]^Q1;..;Qn
|
|
LIST(ORY,DFN,SDATE,EDATE,VALS) | ; -- Return MAX sets of measurements for DFN
; in @ORY@(#) = Item=ID^^MeasurementDate in HL7 format, and if VALS ; = Data=Vital^Value^Unit^MetricValue^Unit^BMI^SuppO2^CriticalFlag^Qualifiers ; RPC = ORRC VITALS BY PATIENT |
|
RANGE | ; -- Get STRT,STOP,DFN from VITALs
|
|
DETAIL(ORY,VITAL) | ; -- Return details of VITALs
; where VITAL(#) = ID ; in @ORY@(#) = Item=ID^^MeasurementDate in HL7 format ; = Data=Vital^Value^Unit^MetricValue^Unit^BMI^SuppO2^CriticalFlag^Qualifiers ; RPC = ORRC VITALS BY ID |
|
BP | ; -- Blood Pressure = B/P^value^^^^^^[*]^Q1;..;Qn
|
|
T | ; -- Temperature = Temp.^value^F^metric^C^^^[*]^Q1;..;Qn
|
|
CVP | ; -- CenVenPress = CVP^value^cmH2O^^^^^[*]^Q1;..;Qn
|
|
R | ; -- Respiration = Resp.^value^^^^^^[*]^Q1;..;Qn
|
|
PN | ; -- Pain = Pain^value^^^^^^[*]^Q1;..;Qn
|
RPC Name | Call Tags |
---|---|
ORRC VITALS BY PATIENT | LIST |
ORRC VITALS BY ID | DETAIL |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^TMP($J | LIST+9, DETAIL+8, IDS+5 |
^UTILITY($J | LIST+4!, LIST+10, LIST+13, LIST+14, LIST+17!, DETAIL+6!, DETAIL+12, DETAIL+13, DETAIL+16!, IDS+5! , IDS+10, IDS+14!, ABN+2, ABN+3 |
Name | Line Occurrences |
---|---|
$$ABN | IDS+11 |
@( | LIST+15, DETAIL+14 |
RANGE | DETAIL+6 |
Name | Field # of Occurrence |
---|---|
^( | LIST+14, DETAIL+13, ABN+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ABN | IDS+4~, IDS+9*, IDS+12*, IDS+13 |
CNT | LIST+4~, LIST+9*, LIST+10, LIST+11*, IDS+4~, IDS+9*, IDS+10, IDS+11*, IDS+13 |
DATA | LIST+4~, LIST+16, DETAIL+5~, DETAIL+15, BP+1*, T+1*, R+1*, P+1*, HT+1*, WT+1* , CVP+1*, CG+1*, PO2+1*, PN+1* |
DFN | LIST~, LIST+6*, LIST+12, DETAIL+5~, RANGE+3*, IDS~, IDS+6*, IDS+12, IDS+13 |
EDATE | LIST~, LIST+5*, LIST+6, LIST+7*, LIST+8, IDS~, IDS+6, IDS+7*, IDS+8 |
GMRVSTR | LIST+4~, LIST+8*, DETAIL+5~, DETAIL+7*, IDS+4~, IDS+8* |
GMRVSTR(0 | LIST+8*, DETAIL+7*, IDS+8* |
ID | DETAIL+5~, DETAIL+9*, DETAIL+10, DETAIL+11, RANGE+1~, RANGE+2*, RANGE+3 |
IDT | LIST+4~, LIST+10*, LIST+11, LIST+13, LIST+14, DETAIL+5~, DETAIL+10*, DETAIL+12, DETAIL+13, IDS+4~ , IDS+10*, IDS+11, ABN~, ABN+2, ABN+3 |
IFN | LIST+4~, LIST+14*, DETAIL+5~, DETAIL+13*, ABN+1~, ABN+3* |
MAX | LIST+6*, LIST+8, LIST+10, IDS+4~, IDS+6*, IDS+8, IDS+10 |
ORI | DETAIL+5~, DETAIL+9*, RANGE+1~, RANGE+2* |
ORN | LIST+4~, LIST+9*, LIST+12*, LIST+16*, DETAIL+5~, DETAIL+8*, DETAIL+11*, DETAIL+15* |
ORY | LIST~, LIST+9*, LIST+12, LIST+16, DETAIL~, DETAIL+8*, DETAIL+11, DETAIL+15, IDS~, IDS+5* , IDS+12, IDS+13 |
SDATE | LIST~, LIST+5*, LIST+6, LIST+8, IDS~, IDS+6, IDS+8 |
STOP | DETAIL+5~, DETAIL+7, RANGE+1*, RANGE+5* |
STRT | DETAIL+5~, DETAIL+7, RANGE+1*, RANGE+4* |
TYPE | LIST+4~, LIST+13*, LIST+14, LIST+15, DETAIL+5~, DETAIL+12*, DETAIL+13, DETAIL+14, ABN+1~, ABN+2* , ABN+3 |
U | LIST+8, LIST+12, DETAIL+7, DETAIL+11, BP+1, T+1, R+1, P+1, HT+1, WT+1 , CVP+1, CG+1, PO2+1, PN+1, IDS+8, IDS+13 |
VALS | LIST~, LIST+12 |
VDT | LIST+4~, LIST+11*, LIST+12, DETAIL+5~, DETAIL+10*, DETAIL+11, RANGE+1~, RANGE+3*, RANGE+4, RANGE+5 , IDS+4~, IDS+11*, IDS+12 |
VITAL | DETAIL~ |
VITAL( | DETAIL+9, RANGE+2 |
X | LIST+4~, LIST+14*, DETAIL+5~, DETAIL+13*, BP+1, T+1, R+1, P+1, HT+1, WT+1 , CVP+1, CG+1, PO2+1, PN+1, IDS+4~, IDS+11*, IDS+12 |
Y | ABN+1~*, ABN+3*, ABN+4 |