Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: BITEST

BITEST.m

Go to the documentation of this file.
BITEST ;IHS/CMI/MWR - TEST SPEED OF FORECASTING.; MAY 10, 2010
 ;;8.5;IMMUNIZATION;;SEP 01,2011
 ;;* MICHAEL REMILLARD, DDS * CIMARRON MEDICAL INFORMATICS, FOR IHS *
 ;;  TEST SPEED OF IMMSERVE FORECASTING.
 ;
 ;
 ;----------
BEGIN ;EP
 N BIERR,BIFORC,BIHX,BIPROF,BITTTB,BITTTE
 ;
 ;---> Build a sample Immunization History.
 S BIHX="0^12172005^0^0^0^0^0^0^R^I^I^1^1^1^1^1^1^1^1^0^1^1^1^IHS_10^0^0"
 S BIHX=BIHX_"^HOGU,SYLVIA  Chart#: 00-00-20^20^09202003^U"
 S BIHX=BIHX_"^0^0^0^0^0^0^0^0^0^0^0^1^0^0^0^0^0^5^2022^49^0^0^0"
 S BIHX=BIHX_"^09212003^0^2085^3^0^0^0^01012004^0^2033^3^0^0^0"
 S BIHX=BIHX_"^01012004^0^2033^3^0^0^0^10112005^0^2086^83^0^0^0^01012004"
 S BIHX=BIHX_"^0^2084^50^0^0^0^01012004^0^"
 ;
 ;
 ;---> Ensure correct call to $$DEL^%ZISH.
 N X S X=$E("BIXQY0",3,6) I '$D(@X) N @X S @X="A"
 ;
 ;---> Multiple calls to ImmServe and get Forecast and Profile.
 W !!," Begin..."
 N BISTART S BISTART=$H,BISTART=$P(BISTART,",",2)
 N I
 F I=1:1:1000 D
 .D RUN^BIXCALL(BIHX,.BIPROF,.BIFORC,.BIERR)
 ;
 ;---> Report Total Time.
 W !," Seconds: ",$P($H,",",2)-BISTART
 Q