MAGDSTAC ;WOIFO/PMK - Q/R Retrieve of DICOM images from PACS to VistA ; Feb 15, 2022@10:52:31
Source file <MAGDSTAC.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 |
---|---|---|
QUERY(PACSSTUDYUID,SERIESCOUNT,IMAGECOUNT) | ; check PACS to see if some of the images need to be retrieved
|
|
COUNTS(PACSSTUDYUID,SERIESCOUNT,IMAGECOUNT) | ; get series and image counts from PACS
|
|
RETRIEVE(PACSSTUDYUID) | ; primary retrieve capability for studies with some missing images
|
|
GETSERIU(PACSSTUDYUID) | ; query for Series Instance UIDs for the study
|
Name | Field # of Occurrence |
---|---|
$$QRSCP^MAGDSTA8 | GETSERIU+5 |
QRSTATUS^MAGDSTAA | RETRIEVE+42, RETRIEVE+47, RETRIEVE+51, RETRIEVE+55, RETRIEVE+60, RETRIEVE+64, RETRIEVE+69, RETRIEVE+76, RETRIEVE+79 |
STTINC^MAGDSTAA | RETRIEVE+81, RETRIEVE+82 |
$$MOVEALL^MAGDSTAB | RETRIEVE+83 |
$$STUDY^MAGDSTAD | COUNTS+2 |
SERIES^MAGDSTAE | RETRIEVE+91 |
GETIMAGE^MAGDSTAF | RETRIEVE+97 |
SOPUIDQ^MAGDSTV1 | GETSERIU+8 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^TMP("MAG" | RETRIEVE+20, RETRIEVE+22, RETRIEVE+23, RETRIEVE+24, RETRIEVE+30, RETRIEVE+32, RETRIEVE+35, RETRIEVE+37, RETRIEVE+88, RETRIEVE+90 , RETRIEVE+95, RETRIEVE+96, GETSERIU+2!, GETSERIU+3*, GETSERIU+4*, GETSERIU+5*, GETSERIU+6*, GETSERIU+7*, GETSERIU+14, GETSERIU+15* |
^XTMP( | COUNTS+6, COUNTS+9, GETSERIU+9, GETSERIU+11, GETSERIU+12 |
Name | Line Occurrences |
---|---|
$$COUNTS | QUERY+16 |
GETSERIU | RETRIEVE+15 |
Name | Field # of Occurrence |
---|---|
^("IMAGE COUNT" | RETRIEVE+24*, GETSERIU+14* |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
COUNT | GETSERIU+1~, GETSERIU+9*, GETSERIU+10 |
ERROR | QUERY+1~, QUERY+9*, QUERY+16*, QUERY+18, COUNTS+1~, COUNTS+2*, COUNTS+3, RETRIEVE+1~, RETRIEVE+11*, RETRIEVE+83* , RETRIEVE+102 |
>> HOSTNAME | COUNTS+6, COUNTS+9, GETSERIU+9, GETSERIU+11, GETSERIU+12 |
I | QUERY+7~, QUERY+9*, QUERY+15*, QUERY+16, RETRIEVE+1~, RETRIEVE+14*, RETRIEVE+15, GETSERIU+1~, GETSERIU+10*, GETSERIU+11 , GETSERIU+12 |
IMAGECOUNT | QUERY~, QUERY+9*, QUERY+16, COUNTS~, COUNTS+11* |
>> MAGXTMP | COUNTS+6, COUNTS+9, GETSERIU+9, GETSERIU+11, GETSERIU+12 |
NSERIESRI | RETRIEVE+2~, RETRIEVE+23*, RETRIEVE+24, GETSERIU+1~, GETSERIU+12*, GETSERIU+14 |
NSTUDYRI | QUERY+2~, COUNTS+9*, COUNTS+10, COUNTS+11 |
NSTUDYRS | QUERY+3~, COUNTS+6*, COUNTS+7, COUNTS+8 |
>> PACS( | COUNTS+7*, COUNTS+10* |
>> PACS("IMAGE C | OUNT" , RETRIEVE+76 |
PACSIMAGECOUNT | RETRIEVE+3~, RETRIEVE+29*, RETRIEVE+32*, RETRIEVE+41, RETRIEVE+46, RETRIEVE+50, RETRIEVE+54, RETRIEVE+59, RETRIEVE+63, RETRIEVE+68 , RETRIEVE+75, RETRIEVE+82 |
PACSSERIESCOUNT | RETRIEVE+4~, RETRIEVE+29*, RETRIEVE+31*, RETRIEVE+46, RETRIEVE+50, RETRIEVE+54, RETRIEVE+59 |
PACSSERIESUID | RETRIEVE+5~, RETRIEVE+29*, RETRIEVE+30*, RETRIEVE+32, RETRIEVE+87*, RETRIEVE+88*, RETRIEVE+90, RETRIEVE+91, RETRIEVE+95, RETRIEVE+96 , RETRIEVE+97, GETSERIU+1~, GETSERIU+11*, GETSERIU+14, GETSERIU+15 |
PACSSTUDYUID | QUERY~, COUNTS~, COUNTS+2, COUNTS+3, COUNTS+7, COUNTS+10, RETRIEVE~, GETSERIU~, GETSERIU+3, GETSERIU+15 |
PACSSTUDYUID( | QUERY+15, QUERY+16, RETRIEVE+14, RETRIEVE+15 |
PACSSTUDYUID(1 | QUERY+12 |
>> QRSTACK | COUNTS+6, COUNTS+9, GETSERIU+3, GETSERIU+4, GETSERIU+5, GETSERIU+6, GETSERIU+7, GETSERIU+9, GETSERIU+11, GETSERIU+12 |
SERIESCOUNT | QUERY~, QUERY+9*, QUERY+16, COUNTS~, COUNTS+8* |
SERIESUID | QUERY+4~, RETRIEVE+6~, RETRIEVE+21*, RETRIEVE+22*, RETRIEVE+23, RETRIEVE+24 |
SOPICOUNT | QUERY+5~ |
STUDYCOUNT | QUERY+6~ |
VISTAIMAGECOUNT | RETRIEVE+7~, RETRIEVE+34*, RETRIEVE+37*, RETRIEVE+46, RETRIEVE+50, RETRIEVE+54, RETRIEVE+59, RETRIEVE+63, RETRIEVE+68, RETRIEVE+74 |
VISTASERIESCOUNT | RETRIEVE+8~, RETRIEVE+34*, RETRIEVE+36*, RETRIEVE+46, RETRIEVE+50, RETRIEVE+54, RETRIEVE+59 |
VISTASERIESUID | RETRIEVE+9~, RETRIEVE+34*, RETRIEVE+35*, RETRIEVE+37 |
>> VISTASTUDYUID | RETRIEVE+19*, RETRIEVE+20*, RETRIEVE+22, RETRIEVE+23, RETRIEVE+96* |