Ignore:
Timestamp:
Dec 4, 2009, 8:26:01 PM (14 years ago)
Author:
George Lilly
Message:

WorldVistAEHR overlayed on FOIAVistA

Location:
FOIAVistA/tag/r
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • FOIAVistA/tag/r/SURGERY-SR/SROACMP1.m

    r628 r636  
    1 SROACMP1 ;BIR/ADM - M&M VERIFICATION REPORT (CONT'D) ;11/26/07
    2  ;;3.0; Surgery ;**47,68,77,50,166**;24 Jun 93;Build 6
     1SROACMP1 ;BIR/ADM-M&M Verification Report (cont'd) ; [ 09/22/98  11:22 AM ]
     2 ;;3.0; Surgery ;**47,68,77,50**;24 Jun 93
    33EN ; entry point
    4  S (SRSOUT,SRSP)=0,SRINST=$P($$SITE^SROVAR,"^",2) W @IOF,!,?28,"M&M Verification Report"
    5  W !!,"The M&M Verification Report is a tool to assist in the review of occurrences"
    6  W !,"and their assignment to operations and in the review of death unrelated or",!,"related assignments to operations."
    7  W !!,"The full report includes all patients who had operations within the selected"
    8  W !,"date range who experienced intraoperative occurrences, postoperative"
    9  W !,"occurrences or death within 90 days of surgery. The pre-transmission report"
    10  W !,"is similar but includes only operations with completed risk assessments that"
    11  W !,"have not yet transmitted to the national database.",!
     4 S (SRSOUT,SRSP)=0,SRINST=$P($$SITE^SROVAR,"^",2) W @IOF,!,?28,"M&M Verification Report",!!,"The M&M Verification Report is a tool to assist in the review of occurrences"
     5 W !,"and their assignments to operations and in the review of death unrelated or",!,"related assignments to operations.  Two varieties of this report are available."
     6 W !,"The first variety provides a report of all patients who had operations within",!,"the selected date range who experienced introperative occurrences,",!,"postoperative occurrences, or death within 90 days of surgery.  The second"
     7 W !,"variety provides a similar report for all risk assessed operations that are in",!,"a completed state but have not yet transmitted to the national database.",!
    128 D SEL G:SRSOUT END I SRFORM=2 G SPEC
    139 D DATE^SROUTL(.SRSD,.SRED,.SRSOUT) G:SRSOUT END
     
    3834 Q
    3935SEL ; select report version
    40  K DIR S DIR("A",1)="Print which report ?",DIR("A",2)=" ",DIR("A",3)="1. Full report for selected date range.",DIR("A",4)="2. Pre-transmission report for completed risk assessments."
     36 K DIR S DIR("A",1)="Print which variety of the report ?",DIR("A",2)=" ",DIR("A",3)="1. Print full report for selected date range.",DIR("A",4)="2. Print pre-transmission report for completed risk assessments."
    4137 S DIR("A",5)=" ",DIR("A")="Enter selection (1 or 2): ",DIR("B")=1,DIR("?")="Please enter the number (1 or 2) matching your choice of report",DIR(0)="NA^1:2" D ^DIR K DIR I $D(DTOUT)!$D(DUOUT) S SRSOUT=1 Q
    4238 S SRFORM=Y
     
    5248 W:$Y @IOF W !,?(132-$L(SRINST)\2),SRINST,?124,"Page ",PAGE,!,?54,"M&M Verification Report"
    5349 W:SRFORM=1 !,?(132-$L(SRFRTO)\2),SRFRTO
    54  W:SRFORM=2 !,?41,"PRE-TRANSMISSION REPORT FOR COMPLETED ASSESSMENTS"
    55  W ?100,"REVIEWED BY:",!,?(132-$L(SRPRINT)\2),SRPRINT,?100,"DATE REVIEWED:",!
    56  W !,"OP DATE",?11,"CASE #",?25,"SURGICAL SPECIALTY",?80,"ASSESSMENT TYPE   STATUS",?116,"DEATH RELATED",!,?11,"PRINCIPAL PROCEDURE",! F LINE=1:1:132 W "="
     50 W:SRFORM=2 !,?41,"Pre-Transmission Report for Completed Assessments"
     51 W ?100,"Reviewed By:",!,?(132-$L(SRPRINT)\2),SRPRINT,?100,"Date Reviewed:",!
     52 W !,?68,"Death",?120,"Assessment",!,"Op Date",?11,"Specialty",?25,"Procedure(s)",?67,"Related  Occurrence(s) - (Date)",?120,"Type/Status",! F LINE=1:1:132 W "="
    5753 I SRNM W !,SRNAME_"   * * Continued from previous page * *"
    5854 S PAGE=PAGE+1,SRHDR=1 I '$D(^TMP("SR",$J))
    5955 Q
    6056HDR2 ; more heading
    61  ;I $Y+6<IOSL F I=$Y:1:IOSL-5 W !
     57 I $Y+5<IOSL F I=$Y:1:IOSL-5 W !
    6258FOOT ; print footer
    63  ;W ! F LINE=1:1:IOM W "-"
    64  ;W !,"Occurrences(s): '*' Denotes Postop Occurrence",! F LINE=1:1:IOM W "-"
     59 W ! F LINE=1:1:IOM W "-"
     60 W !,"Occurrences(s): '*' Denotes Postop Occurrence",?69,"Assessment Status - I:Incomplete, C:Complete, T:Transmitted",! F LINE=1:1:IOM W "-"
    6561 S SRHDR=0 I $E(IOST)'="P" W ! K DIR S DIR(0)="E" D ^DIR K DIR I 'Y S SRSOUT=1
    6662 Q
Note: See TracChangeset for help on using the changeset viewer.