Changeset 1205 for ccr/trunk/p/C0CLABS.m
- Timestamp:
- Jul 8, 2011, 3:24:07 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/C0CLABS.m
r1204 r1205 130 130 S C0CQT=1 ; SURPRESS LISTING 131 131 D LIST ; EXTRACT THE VARIABLES 132 ; FOR CERTIFICATION, SEE IF THERE ARE OTHER RESULTS TO ADD 133 D EN^C0CORSLT(C0CLB,DFN) ; LOOKS FOR ECG TESTS 132 134 S C0CQT=QTSAV ; RESET SILENT FLAG 133 135 K ^TMP("HLS",$J) ; KILL HL7 MESSAGE OUTPUT … … 152 154 W "LAB LIMIT: ",C0CLLMT,! 153 155 D DT^DILF(,C0CLSTRT,.C0CEDT) ; END DATE TODAY - IMPLEMENT END DATE PARM 156 S C0CEDT=$$NOW^XLFDT ; PULL LABS STARTING NOW 154 157 S C0CR=$$LAB^C0CLA7Q(C0CPTID,C0CSDT,C0CEDT,C0CSPC,C0CSPC) ; CALL LAB LOOKUP 155 158 Q … … 172 175 . S C0CTYP=$P(@C0CHB@(C0CI),"|",1) 173 176 . D LTYP(@C0CHB@(C0CI),C0CTYP,.C0CVAR,C0CQT) 177 . I $G(C0CVAR("RESULTCODINGSYSTEM"))="LN" D ; gpl - for certification 178 . . S C0CVAR("RESULTCODINGSYSTEM")="LOINC" ; NEED TO SPELL IT OUT 179 . . N C0CRDT S C0CRDT=C0CVAR("RESULTDESCRIPTIONTEXT") ; THE DESCRIPTION 180 . . N C0CRCD S C0CRCD=C0CVAR("RESULTCODE") ; THE LOINC CODE 181 . . S C0CVAR("RESULTDESCRIPTIONTEXT")=C0CRDT_" LOINC: "_C0CRCD 174 182 . M XV=C0CVAR ; 175 183 . I C0CTYP="OBR" D ; BEGINNING OF NEW SECTION
Note:
See TracChangeset
for help on using the changeset viewer.