HMPSTMP ;ASMR/JD,BL,ASF,CK,CPC - MetaStamp ;Aug 30, 2016 06:54:52
Source file <HMPSTMP.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 |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN(A) | ; extrinsic function, used to create "stampTime" or "lastUpdateTime" subscript in arrays
|
|
NOW | ;
; Set stamp time in YYYYMMDDHHMMSS format |
|
ADM | ; Admissions (these are visits whose ID starts with an "H"). JD - January 26, 2015
|
|
ALL | ; Allergy ; rhl 20141231
|
|
AUX | ; Auxiliary
|
|
APP | ; Appointment
|
|
DIA | ; Diagnosis
|
|
DOC | ; Document
|
|
FAC | ; Factor
|
|
IMM | ; Immunization
|
|
LAB | ; Lab
|
|
MED | ; Med
|
|
OBS | ; Obs ; rhl 20141231
|
|
ORD | ; Order ; RHL 20141231
|
|
PRO | ; Problem
|
|
PRC | ; Procedure
|
|
CON | ; Consult
|
|
IMA | ; Image ; RHL 20150102
|
|
SUR | ; Surgery ; RHL 20150102
|
|
TAS | ; Task
|
|
VIS | ; Visit
|
|
VIT | ; Vital
|
|
PTF | ; Ptf ; RHL 20150102
|
|
EXA | ; Exam
|
|
CPT | ; CPT
|
|
EDU | ; Education
|
|
POV | ; Pov
|
|
SKI | ; Skin
|
|
TRE | ; Treatment ; RHL 20150102
|
|
MH | ; Mh ; RHL 20150103
|
|
FINDNEW(DATE) | ||
FMTHL7(HMPFMDTM) | ; function, return HL7 date/time from FileMan date/time, strip time zone offset
; DE6591 - 8/30/16 CK - translate plus or minus sign to '^', return 14 characters if time passed, return 8 otherwise |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^GMPL(125.8 - [#125.8] | PRO+15 |
^HMP(800000 - [#800000] | ORD+5, ORD+6 |
^TIU(8925.5 - [#8925.5] | DOC+8, DOC+10 |
Name | Line Occurrences |
---|---|
$$FINDNEW | ADM+5, ALL+17, AUX+5, APP+8, DIA+5, DOC+24, FAC+4, IMM+8, LAB+5, MED+21 , OBS+7, ORD+17, PRO+18, PRC+5, CON+7, IMA+4, SUR+4, TAS+5, VIS+7, VIT+6 , PTF+5, EXA+4, CPT+4, EDU+4, POV+4, SKI+5, TRE+13, MH+4 |
$$FMTHL7 | NOW+2, FINDNEW+4, FINDNEW+11 |
ADM | EN+7 |
ALL | EN+8 |
APP | EN+10 |
AUX | EN+9 |
CON | EN+21 |
CPT | EN+29 |
DIA | EN+11 |
DOC | EN+12 |
EDU | EN+30 |
EXA | EN+28 |
FAC | EN+13 |
IMA | EN+22 |
IMM | EN+14 |
LAB | EN+15 |
MED | EN+16 |
MH | EN+34 |
NOW | EN+6 |
OBS | EN+17 |
ORD | EN+18 |
POV | EN+31 |
PRC | EN+20 |
PRO | EN+19 |
PTF | EN+27 |
SKI | EN+32 |
SUR | EN+23 |
TAS | EN+24 |
TRE | EN+33 |
VIS | EN+25 |
VIT | EN+26 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
A | EN~, EN+5 |
>> ACT("dateTime" | CON+5 |
>> ACT("entered" | CON+4 |
ADATE | FINDNEW+2~, FINDNEW+7*, FINDNEW+8, FINDNEW+9 |
>> ADM("dateTime" | ADM+2 |
>> ADM("stay" | ADM+3 |
>> APPT("checkIn" | APP+3 |
>> APPT("checkOut" | APP+4 |
>> APPT("dateTime" | APP+2 |
AUDDT | DOC+1~, DOC+2*, DOC+8*, DOC+10*, DOC+11 |
B | EN+1!, NOW+2*, NOW+3*, NOW+4 |
C | EN+2~, EN+5*, EN+6, EN+7, EN+8, EN+9, EN+10, EN+11, EN+12, EN+13 , EN+14, EN+15, EN+16, EN+17, EN+18, EN+19, EN+20, EN+21, EN+22, EN+23 , EN+24, EN+25, EN+26, EN+27, EN+28, EN+29, EN+30, EN+31, EN+32, EN+33 , EN+34 |
>> CLIO("entered" | OBS+2 |
>> CLIO("observed" | OBS+3 |
>> CLIO("setStart" | OBS+4 |
>> CLIO("setStop" | OBS+5 |
COMDATE | FINDNEW+2~, FINDNEW+5*, FINDNEW+9*, FINDNEW+11*, FINDNEW+12 |
>> CONS("dateTime" | CON+2 |
>> CONS("earliestDate" | CON+3 |
D | ORD+1~, ORD+8*, ORD+9 |
DATA | ADM+1! |
DATE | ADM+5, ALL+1!, ALL+17, AUX+2!, AUX+5, APP+1!, APP+8, DIA+2!, DIA+5, DOC+3! , DOC+24, FAC+1!, FAC+4, IMM+1!, IMM+8, LAB+1!, LAB+5, MED+1!, MED+21, OBS+1! , OBS+7, ORD+1~, ORD+17, PRO+1!, PRO+18, PRC+1!, PRC+5, CON+1!, CON+7, IMA+1! , IMA+4, SUR+1!, SUR+4, TAS+2!, TAS+5, VIS+1!, VIS+7, VIT+1!, VIT+6, PTF+1! , PTF+5, EXA+1!, EXA+4, CPT+1!, CPT+4, EDU+1!, EDU+4, POV+1!, POV+4, SKI+1! , SKI+5, TRE+1!, TRE+13, MH+1!, MH+4, FINDNEW~ |
DATE( | ALL+6, ALL+9*, ALL+12, ALL+15*, DOC+15, DOC+18*, DOC+20*, DOC+22*, MED+10, MED+13* , MED+14*, MED+15, MED+18*, MED+19*, ORD+14*, ORD+16*, PRO+8*, PRO+13*, PRO+16*, TRE+8 , TRE+11*, FINDNEW+6, FINDNEW+7 |
DATE(1 | ADM+2*, ALL+2*, APP+2*, DOC+4*, FAC+2*, IMM+3*, LAB+2*, MED+2*, OBS+2*, ORD+2* , ORD+9*, PRO+2*, PRC+2*, CON+2*, IMA+2*, SUR+2*, VIS+2*, VIT+2*, PTF+2*, EXA+2* , CPT+2*, EDU+2*, POV+2*, SKI+2*, TRE+2*, MH+2* |
DATE(2 | ADM+3*, ALL+3*, APP+3*, DOC+5*, IMM+6*, LAB+3*, MED+3*, OBS+3*, PRO+3*, PRC+3* , CON+3*, VIS+3*, VIT+3*, PTF+3*, SKI+3*, TRE+3* |
DATE(3 | APP+4*, DOC+11*, MED+4*, OBS+4*, PRO+4*, CON+4*, VIS+5*, VIT+4*, TRE+4* |
DATE(4 | APP+6*, MED+5*, OBS+5*, PRO+5*, CON+5* |
DATE(5 | MED+6* |
DATE(6 | MED+7* |
>> DFN | ORD+2, ORD+5, ORD+6 |
>> DOC("entered" | DOC+5 |
>> DOC("localId" | DOC+8 |
>> DOC("referenceDateTime" | DOC+4 |
>> DOC("text" | DOC+17, DOC+18, DOC+19, DOC+20 |
>> EXAM("dateTime" | IMA+2 |
>> FILTER("freshnessDateTime" | APP+6, DOC+22, IMM+5, PRO+12, VIS+5 |
HMPFMDTM | FMTHL7~, FMTHL7+2 |
I | ALL+5~, ALL+7*, ALL+8*, ALL+9, ALL+11~, ALL+13*, ALL+14*, ALL+15, DOC+13~, DOC+16* , DOC+17*, DOC+18, DOC+19, DOC+20, MED+9~, MED+11*, MED+12*, MED+13, MED+14, MED+16* , MED+17*, MED+18, MED+19, ORD+1~, ORD+12*, ORD+13*, ORD+14, PRO+1~, PRO+7*, PRO+8* , TRE+7~, TRE+9*, TRE+10*, TRE+11 |
>> ID | ORD+5, ORD+6, PRO+15 |
II | DOC+13~, DOC+19*, DOC+20 |
J | ALL+5~, ALL+6*, ALL+9*, ALL+11~, ALL+12*, ALL+15*, DOC+13~, DOC+14*, DOC+15*, DOC+18* , DOC+20*, DOC+22*, MED+9~, MED+10*, MED+13*, MED+14*, MED+15*, MED+18*, MED+19*, ORD+1~ , ORD+12*, ORD+14*, ORD+16*, PRO+1~, PRO+7*, PRO+8*, PRO+13*, PRO+16*, TRE+7~, TRE+8* , TRE+11* |
>> LAB("observed" | LAB+2 |
>> LAB("resulted" | LAB+3 |
>> MED("dosages" | MED+12, MED+13, MED+14 |
>> MED("fills" | MED+17, MED+18, MED+19 |
>> MED("lastFilled" | MED+6 |
>> MED("orders" | MED+2 |
>> MED("overallStart" | MED+3 |
>> MED("overallStop" | MED+4 |
>> MED("prescriptionFinished" | MED+7 |
>> MED("stopped" | MED+5 |
>> MH("administeredDateTime" | MH+2 |
ND | ORD+1~, ORD+6*, ORD+7 |
NDATE | FINDNEW+2~, FINDNEW+4*, FINDNEW+8 |
>> NTX("clinicians" | TRE+6, TRE+10, TRE+11 |
>> NTX("entered" | TRE+2 |
>> NTX("start" | TRE+3 |
>> NTX("stop" | TRE+4 |
>> ORDER("clinicians" | ORD+13, ORD+14 |
>> ORDER("entered" | ORD+2 |
>> ORDER("stop" | ORD+16 |
>> PCE("administeredDateTime" | IMM+3 |
>> PCE("dateRead" | SKI+3 |
>> PCE("entered" | FAC+2, EXA+2, CPT+2, EDU+2, POV+2, SKI+2 |
>> PROB("comments" | PRO+8 |
>> PROB("entered" | PRO+2 |
>> PROB("onset" | PRO+4 |
>> PROB("resolved" | PRO+5 |
>> PROB("updated" | PRO+3 |
>> PROC("dateTime" | PRC+2 |
>> PROC("requested" | PRC+3 |
>> PTF("arrivalDateTime" | PTF+2 |
>> PTF("dischargeDateTime" | PTF+3 |
>> REAC("comments" | ALL+14, ALL+15 |
>> REAC("entered" | ALL+2 |
>> REAC("observations" | ALL+8, ALL+9 |
>> REAC("verified" | ALL+3 |
SRVRNUM | ORD+1~, ORD+2*, ORD+5, ORD+6 |
>> SURG("dateTime" | SUR+2 |
T | IMM+2~, IMM+5*, IMM+6, PRO+1~, PRO+8*, PRO+12*, PRO+13, PRO+15*, PRO+16 |
U | ORD+7 |
>> VIT("dateEnteredInError" | VIT+4 |
>> VIT("observed" | VIT+2 |
>> VIT("resulted" | VIT+3 |
>> VST("checkOut" | VIS+3 |
>> VST("dateTime" | VIS+2 |
X | FINDNEW+2~, FINDNEW+5*, FINDNEW+6*, FINDNEW+7 |
XDT | ORD+1~ |
XDT(1 | ORD+7*, ORD+8 |
XDT(2 | ORD+7*, ORD+8 |