- Timestamp:
- Sep 15, 2009, 4:05:23 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/C0CVITAL.m
r563 r564 238 238 . . . S @VITVMAP@("VITALSIGNSDESCCODINGSYSTEM")="SNOMED" 239 239 . . . S @VITVMAP@("VITALSIGNSCODEVERSION")="" 240 . . . S @VITVMAP@("VITALSIGNSTESTSOURCEACTORID")="ACTORPROVIDER_"_$P( ^AUPNVMSR($P(VITPTMP,U,1),12),U,4)240 . . . S @VITVMAP@("VITALSIGNSTESTSOURCEACTORID")="ACTORPROVIDER_"_$P($G(^AUPNVMSR($P(VITPTMP,U,1),12)),U,4) 241 241 . . . S @VITVMAP@("VITALSIGNSTESTRESULTVALUE")=$P($P(VITPTMP,U,5)," ",1) 242 242 . . . S @VITVMAP@("VITALSIGNSTESTRESULTUNIT")="in" … … 252 252 . . . S @VITVMAP@("VITALSIGNSDESCCODINGSYSTEM")="SNOMED" 253 253 . . . S @VITVMAP@("VITALSIGNSCODEVERSION")="" 254 . . . S @VITVMAP@("VITALSIGNSTESTSOURCEACTORID")="ACTORPROVIDER_"_$P( ^AUPNVMSR($P(VITPTMP,U,1),12),U,4)254 . . . S @VITVMAP@("VITALSIGNSTESTSOURCEACTORID")="ACTORPROVIDER_"_$P($G(^AUPNVMSR($P(VITPTMP,U,1),12)),U,4) 255 255 . . . S @VITVMAP@("VITALSIGNSTESTRESULTVALUE")=$P($P(VITPTMP,U,5)," ",1) 256 256 . . . S @VITVMAP@("VITALSIGNSTESTRESULTUNIT")="lbs" … … 266 266 . . . S @VITVMAP@("VITALSIGNSDESCCODINGSYSTEM")="SNOMED" 267 267 . . . S @VITVMAP@("VITALSIGNSCODEVERSION")="" 268 . . . S @VITVMAP@("VITALSIGNSTESTSOURCEACTORID")="ACTORPROVIDER_"_$P( ^AUPNVMSR($P(VITPTMP,U,1),12),U,4)268 . . . S @VITVMAP@("VITALSIGNSTESTSOURCEACTORID")="ACTORPROVIDER_"_$P($G(^AUPNVMSR($P(VITPTMP,U,1),12)),U,4) 269 269 . . . S @VITVMAP@("VITALSIGNSTESTRESULTVALUE")=$P($P(VITPTMP,U,5)," ",1) 270 270 . . . S @VITVMAP@("VITALSIGNSTESTRESULTUNIT")="" … … 280 280 . . . S @VITVMAP@("VITALSIGNSDESCCODINGSYSTEM")="SNOMED" 281 281 . . . S @VITVMAP@("VITALSIGNSCODEVERSION")="" 282 . . . S @VITVMAP@("VITALSIGNSTESTSOURCEACTORID")="ACTORPROVIDER_"_$P( ^AUPNVMSR($P(VITPTMP,U,1),12),U,4)282 . . . S @VITVMAP@("VITALSIGNSTESTSOURCEACTORID")="ACTORPROVIDER_"_$P($G(^AUPNVMSR($P(VITPTMP,U,1),12)),U,4) 283 283 . . . S @VITVMAP@("VITALSIGNSTESTRESULTVALUE")=$P($P(VITPTMP,U,5)," ",1) 284 284 . . . S @VITVMAP@("VITALSIGNSTESTRESULTUNIT")="F" … … 294 294 . . . S @VITVMAP@("VITALSIGNSDESCCODINGSYSTEM")="SNOMED" 295 295 . . . S @VITVMAP@("VITALSIGNSCODEVERSION")="" 296 . . . S @VITVMAP@("VITALSIGNSTESTSOURCEACTORID")="ACTORPROVIDER_"_$P( ^AUPNVMSR($P(VITPTMP,U,1),12),U,4)296 . . . S @VITVMAP@("VITALSIGNSTESTSOURCEACTORID")="ACTORPROVIDER_"_$P($G(^AUPNVMSR($P(VITPTMP,U,1),12)),U,4) 297 297 . . . S @VITVMAP@("VITALSIGNSTESTRESULTVALUE")=$P($P(VITPTMP,U,5)," ",1) 298 298 . . . S @VITVMAP@("VITALSIGNSTESTRESULTUNIT")="" … … 308 308 . . . S @VITVMAP@("VITALSIGNSDESCCODINGSYSTEM")="SNOMED" 309 309 . . . S @VITVMAP@("VITALSIGNSCODEVERSION")="" 310 . . . S @VITVMAP@("VITALSIGNSTESTSOURCEACTORID")="ACTORPROVIDER_"_$P( ^AUPNVMSR($P(VITPTMP,U,1),12),U,4)310 . . . S @VITVMAP@("VITALSIGNSTESTSOURCEACTORID")="ACTORPROVIDER_"_$P($G(^AUPNVMSR($P(VITPTMP,U,1),12)),U,4) 311 311 . . . S @VITVMAP@("VITALSIGNSTESTRESULTVALUE")=$P($P(VITPTMP,U,5)," ",1) 312 312 . . . S @VITVMAP@("VITALSIGNSTESTRESULTUNIT")="" … … 322 322 . . . S @VITVMAP@("VITALSIGNSDESCCODINGSYSTEM")="SNOMED" 323 323 . . . S @VITVMAP@("VITALSIGNSCODEVERSION")="" 324 . . . S @VITVMAP@("VITALSIGNSTESTSOURCEACTORID")="ACTORPROVIDER_"_$P( ^AUPNVMSR($P(VITPTMP,U,1),12),U,4)324 . . . S @VITVMAP@("VITALSIGNSTESTSOURCEACTORID")="ACTORPROVIDER_"_$P($G(^AUPNVMSR($P(VITPTMP,U,1),12)),U,4) 325 325 . . . S @VITVMAP@("VITALSIGNSTESTRESULTVALUE")=$P($P(VITPTMP,U,5)," ",1) 326 326 . . . S @VITVMAP@("VITALSIGNSTESTRESULTUNIT")="" … … 334 334 . . . S @VITVMAP@("VITALSIGNSTESTTYPETEXT")="OBSERVED" 335 335 . . . S @VITVMAP@("VITALSIGNSDESCRIPTIONTEXT")=$P(VITPTMP,U,2) 336 . . . ;S @VITVMAP@("VITALSIGNSDESCCODEVALUE")=""337 . . . ;S @VITVMAP@("VITALSIGNSDESCCODINGSYSTEM")=""338 . . . ;S @VITVMAP@("VITALSIGNSCODEVERSION")=""339 . . . S @VITVMAP@("VITALSIGNSTESTSOURCEACTORID")="ACTORPROVIDER_"_$P( ^AUPNVMSR($P(VITPTMP,U,1),12),U,4)336 . . . S @VITVMAP@("VITALSIGNSDESCCODEVALUE")="" 337 . . . S @VITVMAP@("VITALSIGNSDESCCODINGSYSTEM")="" 338 . . . S @VITVMAP@("VITALSIGNSCODEVERSION")="" 339 . . . S @VITVMAP@("VITALSIGNSTESTSOURCEACTORID")="ACTORPROVIDER_"_$P($G(^AUPNVMSR($P(VITPTMP,U,1),12)),U,4) 340 340 . . . S @VITVMAP@("VITALSIGNSTESTRESULTVALUE")=$P($P(VITPTMP,U,5)," ",1) 341 341 . . . S @VITVMAP@("VITALSIGNSTESTRESULTUNIT")=$P($P(VITPTMP,U,5)," ",2) … … 359 359 Q 360 360 ; 361 ;VITDATES(VDT) ; VDT IS PASSED BY REFERENCE AND WILL CONTAIN THE ARRAY362 ; OF DATES IN THE VITALS RESULTS363 ;N VDTI,VDTJ,VTDCNT364 ;S VTDCNT=0 ; COUNT TO BUILD ARRAY365 ;S VDTJ="" ; USED TO VISIT THE RESULTS366 ;I $$SYSNAME^C0CSYS()="RPMS" D VITDRPMS E D VITDVISTA367 ;368 361 VITDRPMS(VDT) ; RUN DATE SORTING ALGORITHM FOR RPMS 369 362 ; VDT IS PASSED BY REFERENCE AND WILL CONTAIN THE ARRAY
Note:
See TracChangeset
for help on using the changeset viewer.