MAGDFCNV ;WOIFO/PMK - Read HL7 and generate DICOM ; Jan 13, 2026@11:26:58
Source file <MAGDFCNV.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| CONSOLID() | ; check if this is a consolidated site or not
; return 0 = non-consolidated (normal) site ; return 1 = consolidated site |
|
| ACQDEV(MFGR,MODEL,SITE) | ; get pointer to the Acquisition Device file
|
|
| EQUIVGRP(P1,P2) | ; see if two SOP Class pointers are in equivalent groups
|
|
| UP(X) | ; special UPPER CASE function -- removes redundant blanks as well
|
|
| STATNUMB() | ; return numeric 3-digit station number for the VA
|
|
| DIVISION() | ; return the user's hospital division - P333 PMK 01/13/2026
|
|
| GMRCACN(GMRCIEN) | ; return a site-specific accession number for clinical specialties
; GMRCIEN is the CPRS Consult Request Tracking GMRC IEN - REQUEST/CONSULTATION file(#123) |
|
| GMRCIEN(ACNUMB) | ; return the GMRC IEN, given a consult/procedure accession number
; ACNUMB is the accession number for a consult/procedure request ; OLD Format: GMRC-<gmrcien>, where <gmrcien>is the internal entry number of the request ; New Format: <sss>-GMR-<gmrcien>, where <sss> is station number, and <gmrcien> ; is the internal entry number of the request, up to 8 digits (100 million) |
|
| HOSTNAME() | ;
|
|
| CHECKSUM | ; interactive routine checksums - P333 PMK 06/06/2022
|
|
| ROUTINE | ; get a list of routines
|
|
| SAVERTN(R,SELECT) | ; save the routine info
|
|
| PATCH | ; get a patch number
|
|
| CHECKSUMS | ; output the checksums
|
|
| NOQUOTES(X) | ; "Copy as path" has leading and trailing quotes - remove them
|
|
| RP(PROMPT,DEFAULT,CHOICE,HELP) | ; generic question driver
|
|
| CHK2(R) | ; checksum algorithm for a routine
|
|
| C2(X,K) | ; checksum algorithm for a line
|
| Name | Line Occurrences |
|---|---|
| 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: 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 |
|
| FileNo | Call Tags |
|---|---|
| ^GMR(123 - [#123] | GET1^DIQ |
| ^XPD(9.6 - [#9.6] | FIND1^DIC |
| 9.67 | GETS^DIQ |
| ^XPD(9.7 - [#9.7] | FIND^DIC |