source: WorldVistAEHR/trunk/r/IMAGING-MAG-ZMAG/MAGBRTK.m@ 701

Last change on this file since 701 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 4.4 KB
Line 
1MAGBRTK ;WOIFO/EdM - Routing - Keywords ; 08/26/2005 08:04
2 ;;3.0;IMAGING;**51**;26-August-2005
3 ;; +---------------------------------------------------------------+
4 ;; | Property of the US Government. |
5 ;; | No permission to copy or redistribute this software is given. |
6 ;; | Use of unreleased versions of this software requires the user |
7 ;; | to execute a written test agreement with the VistA Imaging |
8 ;; | Development Office of the Department of Veterans Affairs, |
9 ;; | telephone (301) 734-0100. |
10 ;; | |
11 ;; | The Food and Drug Administration classifies this software as |
12 ;; | a medical device. As such, it may not be changed in any way. |
13 ;; | Modifications to this software may result in an adulterated |
14 ;; | medical device under 21CFR820, the use of which is considered |
15 ;; | to be a violation of US Federal Statutes. |
16 ;; +---------------------------------------------------------------+
17 ;;
18 Q
19 ;
20 ; This routine is needed on the DICOM Gateway while importing
21 ; new rules, and on the VistA system while evaluating the rules.
22 ;
23KEYWORD ; build the KEYWORD array
24 N C,CD,D,KW,M,V,X
25 S CD="CONDITION" K KEYWORD
26 ; Actions
27 F X="SEND","BALANCE","DICOM" S KEYWORD("ACTION",X)="-"
28 F X="DESTINATION","HOLIDAY" S KEYWORD("ACTION",X)="I"
29 ;
30 F X="HIGH","NORMAL","LOW" S KEYWORD("PRIORITY",X)="-"
31 F X="YES","NO" S KEYWORD("PRIORSTUDY",X)="-"
32 ;
33 ; Fields in ^MAG(2005,
34 S M="LO^MAG^MAGBRTE3(IMAGE,"
35 S KEYWORD(CD,"ABSTRACT_REF")=M_"0,0,4,.VAL)"
36 S KEYWORD(CD,"ACQUISITION_DEVICE")=M_"2006.04,100,4,.VAL)"
37 S KEYWORD(CD,"BIG_JUKEBOX_PATH")=M_"2005.2,""FBIG"",2,.VAL)"
38 S KEYWORD(CD,"BIG_MAGNETIC_PATH")=M_"2005.2,""FBIG"",1,.VAL)"
39 S KEYWORD(CD,"CLASS")=M_"2005.82,40,2,.VAL)"
40 S KEYWORD(CD,"CLINIC")=M_"44,100,2,.VAL)"
41 S KEYWORD(CD,"CREATE METHOD")=M_"0,""METHOD"",1,.VAL)"
42 S KEYWORD(CD,"DESCRIPTIVE_CATEGORY")=M_"2005.81,100,1,.VAL)"
43 S KEYWORD(CD,"EXPORT_REQUEST_STATUS")=M_"0,2,9,.VAL)"
44 S KEYWORD(CD,"FILE_REF")=M_"0,0,2,.VAL)"
45 S KEYWORD(CD,"IQ")=M_"0,0,11,.VAL)"
46 S KEYWORD(CD,"MAGNETIC_REF")=M_"0,0,3,.VAL)"
47 S KEYWORD(CD,"MICROSCOPIC_OBJECTIVE")=M_"0,""PATH"",5,.VAL)"
48 S KEYWORD(CD,"MODALITY")=M_"0,0,8,.VAL)"
49 S KEYWORD(CD,"OBJECT NAME")=M_"0,0,1,.VAL)"
50 S KEYWORD(CD,"OBJECT_TYPE")=M_"2005.02,0,6,.VAL)"
51 S KEYWORD(CD,"PACKAGE")=M_"0,40,1,.VAL)"
52 S KEYWORD(CD,"PACS_PROCEDURE")=M_"71,""PACS"",3,.VAL)"
53 S KEYWORD(CD,"PACS_UID")=M_"0,""PACS"",1,.VAL)"
54 S KEYWORD(CD,"PARENT_DATA")=M_"2005.03,2,6,.VAL)"
55 S KEYWORD(CD,"PARENT_DATA_FILE_IMAGE_POINTER")=M_"0,2,8,.VAL)"
56 S KEYWORD(CD,"PARENT_GLOBAL_ROOT_D0")=M_"0,2,7,.VAL)"
57 S KEYWORD(CD,"PARENT_GLOBAL_ROOT_D1")=M_"0,2,10,.VAL)"
58 S KEYWORD(CD,"PATH_ACCESSION_NUMBER")=M_"0,""PATH"",1,.VAL)"
59 S KEYWORD(CD,"PATIENT")=M_"2,0,7,.VAL)"
60 S KEYWORD(CD,"PROCEDURE")=M_"0,0,8,.VAL)"
61 S KEYWORD(CD,"PROCEDURE_OR_EVENT")=M_"2005.85,40,4,.VAL)"
62 S KEYWORD(CD,"RADIOLOGY_REPORT")=M_"74,""PACS"",2,.VAL)"
63 S KEYWORD(CD,"SAVED_BY")=M_"200,2,2,.VAL)"
64 S KEYWORD(CD,"SHORT_DESCRIPTION")=M_"0,2,4,.VAL)"
65 S KEYWORD(CD,"SPECIALTY")=M_"2005.84,40,5,.VAL)"
66 S KEYWORD(CD,"SPECIMEN")=M_"0,""PATH"",3,.VAL)"
67 S KEYWORD(CD,"SPECIMEN_DESCRIPTION")=M_"0,""PATH"",2,.VAL)"
68 S KEYWORD(CD,"STAIN")=M_"0,""PATH"",4,.VAL)"
69 S KEYWORD(CD,"SUMMARY")=M_"0,2,3,.VAL)"
70 S KEYWORD(CD,"SUMMARY_OBJECT")=M_"0,2,3,.VAL)"
71 S KEYWORD(CD,"TRACKING_ID")=M_"0,100,5,.VAL)"
72 S KEYWORD(CD,"TYPE")=M_"2005.83,40,3,.VAL)"
73 S KEYWORD(CD,"WORM_REF")=M_"0,0,5,.VAL)"
74 ;
75 ; Date and time fields
76 S M="DT^MAG^MAGBRTE3(IMAGE,"
77 S KEYWORD(CD,"EXAM_TIME")=M_"0,2,5,.VAL)"
78 S KEYWORD(CD,"IMAGE_SAVED")=M_"0,2,1,.VAL)"
79 S KEYWORD(CD,"LAST_ACCESS")=M_"0,0,9,.VAL)"
80 S KEYWORD(CD,"PROCEDURE_TIME")=M_"0,2,5,.VAL)"
81 ;
82 S M="DT^DATE^MAGBRTE3(IMAGE,"
83 S KEYWORD(CD,"EXAM_TIME_FIRST")=M_"0,2,5,1,.VAL)"
84 S KEYWORD(CD,"EXAM_TIME_LAST")=M_"0,2,5,2,.VAL)"
85 S KEYWORD(CD,"IMAGE_SAVED_FIRST")=M_"0,2,1,1,.VAL)"
86 S KEYWORD(CD,"IMAGE_SAVED_LAST")=M_"0,2,1,2,.VAL)"
87 S KEYWORD(CD,"LAST_ACCESS_FIRST")=M_"0,0,9,1,.VAL)"
88 S KEYWORD(CD,"LAST_ACCESS_LAST")=M_"0,0,9,2,.VAL)"
89 S KEYWORD(CD,"PROCEDURE_TIME_FIRST")=M_"0,2,5,1,.VAL)"
90 S KEYWORD(CD,"PROCEDURE_TIME_LAST")=M_"0,2,5,2,.VAL)"
91 S KEYWORD(CD,"STUDY_TIME")=M_"0,2,5,1,.VAL)"
92 ;
93 ; Built-in Fields
94 S KEYWORD(CD,"NOW")="DT^NOW^MAGBRTE3(.VAL)"
95 S KEYWORD(CD,"SOURCE")="SH^SOURCE^MAGBRTE3(IMAGE,.VAL)"
96 S KEYWORD(CD,"URGENCY")="SH^URGENCY^MAGBRTE3(IMAGE,.VAL)"
97 Q
98 ;
Note: See TracBrowser for help on using the repository browser.