- Timestamp:
- Nov 14, 2008, 9:43:58 AM (16 years ago)
- Location:
- ccr/trunk/p
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/CCRUTIL.m
r222 r278 38 38 I $L(S)=1 S S="0"_S 39 39 S OFF=$$TZ^XLFDT ; See Kernel Manual for documentation. 40 S OFFS=$E(OFF,1,1) 41 S OFF0=$TR(OFF,"+-") 42 S OFF1=$E(OFF0+10000,2,3) 43 S OFF2=$E(OFF0+10000,4,5) 44 S OFF=OFFS_OFF1_":"_OFF2 45 ;S OFF2=$E(OFF,1,2) ; 46 ;S OFF2=$E(100+OFF2,2,3) ; GPL 11/08 CHANGED TO -05:00 FORMAT 47 ;S OFF3=$E(OFF,3,4) ;MINUTES 48 ;S OFF=$S(OFF2="":"00",0:"00",1:OFF2)_"."_$S(OFF3="":"00",1:OFF3) 40 49 ; If H, MM and S are empty, it means that the FM date didn't supply the time. 41 50 ; In this case, set H, MM and S to "00" -
ccr/trunk/p/GPLCCR0.m
r272 r278 365 365 ;;</Route> 366 366 ;;<Frequency> 367 ;;< Text>@@MEDFREQUENCYVALUE@@</Text>367 ;;<Value>@@MEDFREQUENCYVALUE@@</Value> 368 368 ;;</Frequency> 369 369 ;;<Interval> … … 413 413 ;;</Directions> 414 414 ;;<PatientInstructions> 415 ;;< Text>@@MEDPTINSTRUCTIONS@@</Text>415 ;;<Instruction>@@MEDPTINSTRUCTIONS@@</Instruction> 416 416 ;;</PatientInstructions> 417 417 ;;<FullfillmentInstructions> -
ccr/trunk/p/GPLLABS.m
r277 r278 102 102 ; 103 103 ; 104 N C0CNSSN ; IS THERE AN SSN FLAG 105 S C0CNSSN=0 106 S C0CLB=$NA(^TMP("GPLCCR",$J,"RESULTS")) ; BASE GLB FOR LABS VARS 104 107 D GHL7 ; GET HL7 MESSAGE FOR THIS PATIENT 105 S C0CLB=$NA(^TMP("GPLCCR",$J,"RESULTS")) ; BASE GLB FOR LABS VARS 108 I C0CNSSN=1 D Q ; NO SSN, CAN'T GET HL7 FOR THIS PATIENT 109 . S @C0CLB@(0)=0 106 110 K @C0CLB ; CLEAR OUT OLD VARS IF ANY 107 111 N QTSAV S QTSAV=C0CQT ;SAVE QUIET FLAG … … 119 123 I C0CPTID="" D Q ; NO SSN, COMPLAIN AND QUIT 120 124 . W "LAB LOOKUP FAILED, NO SSN",! 125 . S C0CNSSN=1 ; SET NO SSN FLAG 121 126 S C0CSPC="*" ; LOOKING FOR ALL LABS 122 127 D DT^DILF(,"T-5000",.C0CSDT) ; START DATE LONG AGO TO GET EVERYTHING
Note:
See TracChangeset
for help on using the changeset viewer.