ECXUTL4 ;ALB/ESD - Utilities for DSS Extracts ;4/24/19 09:44
Source file <ECXUTL4.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 |
---|---|---|
OBSPAT(ECXIO,ECXTS,DSSID) | ;
; Get observation patient indicator from DSS TREATING SPECIALTY ; TRANSLATION file (#727.831) or DSS Identifier |
|
INOUTP(ECXTS) | ;
; Get inpatient/outpatient indicator from DSS TREATING SPECIALTY ; TRANSLATION file (#727.831) |
|
ENCNUM(ECXIO,ECXSSN,ECXADT,ECXVDT,ECXTRT,ECXOBS,ECXEXT,ECXSTP,ECXSTP2) | ;
; Get encounter number |
|
ADMITDT(ECXINDT) | ; Returns date in YYMMDD format
|
|
ADMTDTQ | ||
JULDT(ECXINDT) | ; Returns Julian Date in MMDDD format
|
|
JULDTQ | ||
CNHSTAT(ECXDFN) | ; Get CNH (Contract Nursing Home) status
|
|
CANC(ECXNOR,ECXTMOR) | ; Get Surgery Cancelled/Aborted Status
|
|
HNCI(ECXDFN) | ; Get head & neck cancer indicator
|
|
TSMAP(ECXTS) | ;Determines DSS Identifier for the following observation
; treating specialty ; Input: ; ECXTS - Observation Treating Specialty |
|
OEFDATA | ;
|
|
SHAD(ECXDFN) | ; Get PROJ 112/SHAD indicator
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | CNHSTAT+10 |
^ECX(727.831 - [#727.831] | OBSPAT+17, INOUTP+14, ENCNUM+41 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DGNT | HNCI+8~ |
DGNT("HNC" | HNCI+11 |
DRUGCLAS | ENCNUM+62~, ENCNUM+63*, ENCNUM+66 |
DRUGSTCD | ENCNUM+62~, ENCNUM+64*, ENCNUM+66 |
DSSID | OBSPAT~, OBSPAT+13*, OBSPAT+22, OBSPAT+23 |
>> ECNO | ENCNUM+79 |
>> ECVACL | ENCNUM+66 |
ECXADT | ENCNUM~, ENCNUM+24*, ENCNUM+31, ENCNUM+32, ENCNUM+40 |
ECXCANC | CANC+11~, CANC+12*, CANC+17*, CANC+18*, CANC+19*, CANC+20 |
ECXCNH | CNHSTAT+8~, CNHSTAT+10*, CNHSTAT+11 |
ECXDATE | ENCNUM+18~, ENCNUM+32*, ENCNUM+33, ENCNUM+40*, ENCNUM+42, ENCNUM+43, ENCNUM+82*, ENCNUM+83 |
ECXDDD | JULDT+8~, JULDT+9*, JULDT+22*, JULDTQ |
ECXDFN | CNHSTAT~, CNHSTAT+9*, CNHSTAT+10, HNCI~, HNCI+10*, HNCI+11, SHAD~, SHAD+10*, SHAD+11 |
ECXDT | ADMITDT+8~, ADMITDT+9*, ADMITDT+16*, ADMTDTQ, JULDT+8~, JULDT+16*, JULDT+22 |
ECXEXT | ENCNUM~, ENCNUM+22*, ENCNUM+23, ENCNUM+49, ENCNUM+52, ENCNUM+55, ENCNUM+58, ENCNUM+59, ENCNUM+61, ENCNUM+67 , ENCNUM+68, ENCNUM+69, ENCNUM+70, ENCNUM+71, ENCNUM+72, ENCNUM+75, ENCNUM+79 |
ECXHNCI | HNCI+8~, HNCI+9*, HNCI+11*, HNCI+12 |
ECXINDT | ADMITDT~, ADMITDT+10*, ADMITDT+13, ADMITDT+16, JULDT~, JULDT+12*, JULDT+13, JULDT+16, JULDT+19 |
ECXIO | OBSPAT~, OBSPAT+13*, OBSPAT+22, INOUTP+11*, INOUTP+14*, INOUTP+15, ENCNUM~, ENCNUM+22*, ENCNUM+31, ENCNUM+36 |
ECXJUL | JULDT+8~ |
ECXMM | JULDT+8~, JULDT+9*, JULDT+19*, JULDTQ |
ECXNOR | CANC~, CANC+13*, CANC+17 |
ECXOBS | OBSPAT+14*, OBSPAT+17*, OBSPAT+18*, OBSPAT+22, OBSPAT+23*, OBSPAT+24*, OBSPAT+25, ENCNUM~, ENCNUM+22*, ENCNUM+38 , ENCNUM+46 |
>> ECXOEF | OEFDATA+2*, OEFDATA+3*, OEFDATA+4*, OEFDATA+5*, OEFDATA+6, OEFDATA+13 |
>> ECXOEFDT | OEFDATA+2*, OEFDATA+7*, OEFDATA+8*, OEFDATA+9*, OEFDATA+10*, OEFDATA+11*, OEFDATA+14 |
>> ECXPAT("ECXOEF" | OEFDATA+13* |
>> ECXPAT("ECXOEFDT" | OEFDATA+14* |
ECXSHAD | SHAD+9~, SHAD+11*, SHAD+12*, SHAD+13 |
ECXSSN | ENCNUM~, ENCNUM+27*, ENCNUM+31, ENCNUM+33, ENCNUM+38, ENCNUM+43, ENCNUM+46, ENCNUM+83 |
ECXSTCD | ENCNUM+18~, ENCNUM+19*, ENCNUM+41*, ENCNUM+42, ENCNUM+43, ENCNUM+52*, ENCNUM+55*, ENCNUM+58*, ENCNUM+59*, ENCNUM+66* , ENCNUM+67*, ENCNUM+68*, ENCNUM+69*, ENCNUM+70*, ENCNUM+71*, ENCNUM+72*, ENCNUM+75*, ENCNUM+79*, ENCNUM+83 |
ECXSTP | ENCNUM~, ENCNUM+23*, ENCNUM+41, ENCNUM+52, ENCNUM+55, ENCNUM+66, ENCNUM+75, ENCNUM+79 |
ECXSTP2 | ENCNUM~, ENCNUM+23* |
ECXTMOR | CANC~, CANC+18 |
ECXTRT | ENCNUM~, ENCNUM+22*, ENCNUM+41 |
ECXTS | OBSPAT~, OBSPAT+13*, OBSPAT+17, INOUTP~, INOUTP+10*, INOUTP+14, TSMAP~, TSMAP+10 |
ECXVDT | ENCNUM~, ENCNUM+24*, ENCNUM+40, ENCNUM+46, ENCNUM+82 |
ENCNUM | ENCNUM+18~, ENCNUM+19*, ENCNUM+33*, ENCNUM+43*, ENCNUM+83*, ENCNUM+84 |
I | TSMAP+8~, TSMAP+10*, TSMAP+11 |
SC | TSMAP+8~, TSMAP+9*, TSMAP+11 |
TS | TSMAP+8~, TSMAP+9*, TSMAP+10 |
U | ENCNUM+79, CNHSTAT+10, HNCI+11 |
>> VASV(11 | OEFDATA+3, OEFDATA+8 |
>> VASV(12 | OEFDATA+4, OEFDATA+9 |
>> VASV(13 | OEFDATA+5, OEFDATA+10 |