MAGDSTQ1 ;WOIFO/PMK - Study Tracker - Query/Retrieve user ; Feb 15, 2022@10:52:44
Source file <MAGDSTQ1.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| PNAME | ; get patient name attribute
|
|
| CHKNAME(ATTRIB) | ; convert comma(s) to caret(s) & remove leading spaces
|
|
| PID | ; get patient id attribute
|
|
| GETMODE() | ; get the patient lookup CLIENT for manual Q/R client
|
|
| SEX | ; get the patient's sex
|
|
| CHECKSEX(X) | ;
|
|
| ACNUMB | ; enter the accession number
|
|
| ANPREFIX() | ; add the site-specific accession number prefix
|
|
| GETANPFX(DEFAULT) | ; get the accession number prefix
|
|
| REFDOC | ;
|
|
| STUDYID | ; enter the study id
|
|
| SERIESNO | ; enter the series number
|
|
| REQPROID | ; enter the requested procedure id
|
|
| SPSTEPID | ; enter the scheduled procedure step id
|
|
| STUDYUID | ; enter the study instance uid
|
|
| SERIEUID | ; enter the series instance uid
|
|
| SOPUID | ; enter the SOP instance uid
|
|
| CHECKUID(X) | ; check the format of the uid
|
|
| MODALITY | ; select the modality
|
|
| CHECKMOD(X) | ; check the validity of the entered modality value
|
|
| BIRTHDAT | ; birth date, may be a range
|
|
| STDYDATE | ; study date, may be a range
|
|
| GETDATE(TYPE) | ; get the date
|
|
| CHKDATE(X) | ; check the date
|
|
| STDYTIME | ; study time, may be a range
|
|
| CHKTIME(X) | ; check the study time
|
|
| QRROOT | ; get query/retrieve root
|
|
| CHKQRR(X) | ; check the query/retrieve root
|
|
| GETKEY(ATTRIB,PROMPT,HELP,CHECK) | ; get the value for the key
|
| Name | Line Occurrences |
|---|---|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: READ |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: READ |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|