Changeset 588
- Timestamp:
- Oct 30, 2009, 8:51:43 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/C0CACTOR.m
r561 r588 1 C0CACTOR 1 C0CACTOR ; CCDCCR/GPL - CCR/CCD PROCESSING FOR ACTORS ; 7/3/08 2 2 ;;1.0;C0C;;May 19, 2009; 3 3 ;Copyright 2008,2009 George Lilly, University of Minnesota. … … 27 27 ; 0.4 Patient data rouine refactored; adjustments here--SMH 28 28 ; 29 EXTRACT(IPXML,ALST,AXML) 29 EXTRACT(IPXML,ALST,AXML) ; EXTRACT ACTOR FROM ALST INTO PROVIDED XML TEMPLATE 30 30 ; IPXML is the Input Actor Template into which we substitute values 31 31 ; This is straight XML. Values to be substituted are in @@VAL@@ format. … … 83 83 Q 84 84 ; 85 PATIENT(INXML,AIEN,AOID,OUTXML) 85 PATIENT(INXML,AIEN,AOID,OUTXML) ; PROCESS A PATIENT ACTOR 86 86 I DEBUG W "PROCESSING ACTOR PATIENT ",AIEN,! 87 87 ;GPL SEPARATED EXTRACT FROM MAP FOR PROCESSING PATIENTS - TO MAKE … … 109 109 X ^%ZOSF("TEST") ; TEST TO SEE IF THE ROUTINE EXISTS 110 110 I $T S MRN=$$^MSCDPTID(DFN) ;TEST FOR MRN ON OPENVISTA ;GPL 111 I $D(MRN)D ; IF MRN IS PRESENT111 I MRN'="" D ; IF MRN IS PRESENT 112 112 . S @AMAP@("ACTORSSN")=MRN 113 113 . S @AMAP@("ACTORSSNTEXT")="MRN" … … 154 154 Q 155 155 ; 156 SYSTEM(INXML,AIEN,AOID,OUTXML) 156 SYSTEM(INXML,AIEN,AOID,OUTXML) ; PROCESS A SYSTEM ACTOR 157 157 ; 158 158 ; N AMAP … … 166 166 Q 167 167 ; 168 NOK(INXML,AIEN,AOID,OUTXML) 168 NOK(INXML,AIEN,AOID,OUTXML) ; PROCESS A NEXT OF KIN TYPE ACTOR 169 169 ; 170 170 ; N AMAP … … 179 179 Q 180 180 ; 181 ORG(INXML,AIEN,AOID,OUTXML) 181 ORG(INXML,AIEN,AOID,OUTXML) ; PROCESS AN ORGANIZATION TYPE ACTOR 182 182 ; 183 183 ; N AMAP … … 190 190 Q 191 191 ; 192 PROVIDER(INXML,AIEN,AOID,OUTXML) 192 PROVIDER(INXML,AIEN,AOID,OUTXML) ; PROCESS A PROVIDER TYPE ACTOR 193 193 ; 194 194 ; N AMAP
Note:
See TracChangeset
for help on using the changeset viewer.