MAGNVQ05 ;WOIFO/NST - List images for a patient ; OCT 18, Sep 2017 3:59 PM
Source file <MAGNVQ05.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 |
---|---|---|
QUERY34(IARRAY,DFN,IMGLESS,FROMDATE,TODATE,MAGDATA) | ; Query P34 database
|
|
PATIMG34(IARRAY,DFN,IMGLESS,FROMDATE,TODATE,MAGDATA) | ; Get images from P34 database by Patient
; IARRAY = Output array with patient images ; DFN = Patient DFN ; IMGLESS = 0|1 Include images ; FROMDATE,TODATE = Capture date range of images ; .MAGDATA = Filters |
|
CPTCODE(ACCNUM,PROCTYPE) | ; Get CPT by Accession number
|
|
FLTRSER(SERIX,MAGDATA) | ; Filter on Series level
|
|
FLTRSTUD(STYIX,MAGDATA) | ||
STUDYQRY(IARRAY,IMGLESS,FROMDATE,TODATE,MAGDATA) | ; Get images from P34 database by Study query
; IARRAY = Output array with patient images ; IMGLESS = 0|1 Include images ; FROMDATE,TODATE = Capture date range of images ; .MAGDATA = Filters |
FileNo | Call Tags |
---|---|
^MAGV(2005.62 - [#2005.62] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^MAGV(2005.6 - [#2005.6] | PATIMG34+11 |
^MAGV(2005.61 - [#2005.61] | PATIMG34+13, PATIMG34+14 |
^MAGV(2005.62 - [#2005.62] | PATIMG34+24, PATIMG34+25, PATIMG34+26, FLTRSTUD+2, STUDYQRY+8, STUDYQRY+10, STUDYQRY+11 |
^MAGV(2005.63 - [#2005.63] | PATIMG34+30, FLTRSER+3, FLTRSER+5, STUDYQRY+14 |
^MAGV(2005.64 - [#2005.64] | PATIMG34+35, PATIMG34+36, STUDYQRY+19, STUDYQRY+20 |
^MAGV(2005.65 - [#2005.65] | PATIMG34+38, PATIMG34+39, STUDYQRY+22, STUDYQRY+23 |
Name | Line Occurrences |
---|---|
$$CPTCODE | PATIMG34+20 |
$$FLTRSER | PATIMG34+31, STUDYQRY+15 |
$$FLTRSTUD | PATIMG34+28, STUDYQRY+12 |
PATIMG34 | QUERY34+1 |
STUDYQRY | QUERY34+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ACCNUM | PATIMG34+18*, PATIMG34+20, CPTCODE~, CPTCODE+4 |
ACTVIMG | PATIMG34+8~, PATIMG34+33*, PATIMG34+35, PATIMG34+40*, STUDYQRY+5~, STUDYQRY+17*, STUDYQRY+19, STUDYQRY+24* |
CLASS | PATIMG34+8~, FLTRSER+1~, FLTRSER+6* |
CPTCODE | PATIMG34+8~, PATIMG34+17*, PATIMG34+20*, PATIMG34+21, CPTCODE+1~, CPTCODE+6*, CPTCODE+9*, CPTCODE+12 |
DATEIX | STUDYQRY+5~, STUDYQRY+7*, STUDYQRY+8*, STUDYQRY+10 |
DFN | QUERY34~, QUERY34+1, PATIMG34~, PATIMG34+11 |
EVT | PATIMG34+8~ |
FOUND | PATIMG34+8~, PATIMG34+16, PATIMG34+21* |
FOUNDC | CPTCODE+1~, CPTCODE+5*, CPTCODE+8, CPTCODE+9* |
FOUNDT | CPTCODE+1~, CPTCODE+5*, CPTCODE+8, CPTCODE+10* |
FROMDATE | QUERY34~, QUERY34+1, QUERY34+3, PATIMG34~, PATIMG34+27, STUDYQRY~, STUDYQRY+7 |
I | CPTCODE+1~, CPTCODE+7*, CPTCODE+8*, CPTCODE+9, CPTCODE+10 |
IARRAY | QUERY34~, QUERY34+1, QUERY34+3, PATIMG34~, STUDYQRY~ |
IARRAY( | PATIMG34+40*, STUDYQRY+24* |
IMAGE | PATIMG34+7~, PATIMG34+37*, PATIMG34+38*, PATIMG34+39, PATIMG34+40, STUDYQRY+5~, STUDYQRY+21*, STUDYQRY+22*, STUDYQRY+23, STUDYQRY+24 |
IMGLESS | QUERY34~, QUERY34+1, QUERY34+3, PATIMG34~, PATIMG34+35, STUDYQRY~, STUDYQRY+19 |
ISEP | CPTCODE+1~, CPTCODE+3* |
MAGCAPDT | PATIMG34+7~, PATIMG34+26*, PATIMG34+27 |
MAGDATA | QUERY34~, QUERY34+1, QUERY34+3, PATIMG34~, PATIMG34+28, PATIMG34+31, FLTRSER~, FLTRSTUD~, STUDYQRY~, STUDYQRY+12 , STUDYQRY+15 |
MAGDATA("CLS" | FLTRSER+6 |
MAGDATA("CPTCODE" | PATIMG34+16, PATIMG34+21 |
MAGDATA("GDESC" | FLTRSTUD+3 |
MAGDATA("MODALITY" | FLTRSER+3 |
MAGDATA("ORIG" | FLTRSTUD+4 |
MAGDATA("PKG" | FLTRSTUD+5 |
MAGDATA("PROC" | FLTRSER+7 |
MAGDATA("SPEC" | FLTRSER+8 |
MAGDATA("TYPE" | PATIMG34+36, STUDYQRY+20 |
MODALITY | FLTRSER+1~, FLTRSER+3* |
ORIG | PATIMG34+8~, FLTRSTUD+1~, FLTRSTUD+4* |
OSEP | CPTCODE+1~, CPTCODE+3*, CPTCODE+9, CPTCODE+10 |
OUT | CPTCODE+1~, CPTCODE+4 |
OUT( | CPTCODE+8, CPTCODE+9, CPTCODE+10 |
PATIX | PATIMG34+7~, PATIMG34+10*, PATIMG34+11*, PATIMG34+13 |
PKG | PATIMG34+8~, FLTRSTUD+1~, FLTRSTUD+5* |
PROC | PATIMG34+8~, FLTRSER+1~, FLTRSER+7* |
PROCIX | PATIMG34+7~, PATIMG34+12*, PATIMG34+13*, PATIMG34+14, PATIMG34+24 |
PROCTYPE | PATIMG34+19*, PATIMG34+20, CPTCODE~, CPTCODE+2 |
SERIX | PATIMG34+7~, PATIMG34+29*, PATIMG34+30*, PATIMG34+31, PATIMG34+35, PATIMG34+40, FLTRSER~, FLTRSER+3, FLTRSER+5, STUDYQRY+5~ , STUDYQRY+13*, STUDYQRY+14*, STUDYQRY+15, STUDYQRY+19, STUDYQRY+24 |
SOPIX | PATIMG34+7~, PATIMG34+34*, PATIMG34+35*, PATIMG34+36, PATIMG34+38, PATIMG34+40, STUDYQRY+5~, STUDYQRY+18*, STUDYQRY+19*, STUDYQRY+20 , STUDYQRY+22, STUDYQRY+24 |
SPEC | PATIMG34+8~, FLTRSER+1~, FLTRSER+8* |
SSEP | CPTCODE+1~, CPTCODE+3*, CPTCODE+9, CPTCODE+10 |
STYIX | PATIMG34+7~, PATIMG34+23*, PATIMG34+24*, PATIMG34+25, PATIMG34+26, PATIMG34+28, PATIMG34+30, PATIMG34+40, FLTRSTUD~, FLTRSTUD+2 , FLTRSTUD+5, STUDYQRY+5~, STUDYQRY+9*, STUDYQRY+10*, STUDYQRY+11, STUDYQRY+12, STUDYQRY+14, STUDYQRY+24 |
TMP | PATIMG34+8~, PATIMG34+14*, PATIMG34+15, PATIMG34+18, PATIMG34+19, FLTRSER+1~, FLTRSER+5*, FLTRSER+6, FLTRSER+7, FLTRSER+8 , FLTRSTUD+1~, FLTRSTUD+2*, FLTRSTUD+3, FLTRSTUD+4 |
TODATE | QUERY34~, QUERY34+1, QUERY34+3, PATIMG34~, PATIMG34+27, STUDYQRY~, STUDYQRY+8 |
TYPE | PATIMG34+8~, PATIMG34+36*, STUDYQRY+5~, STUDYQRY+20* |
U | FLTRSTUD+3 |