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

PXRMXHLP.m

Go to the documentation of this file.
  1. PXRMXHLP ; SLC/PJH - Reminder Reports Help Routine;12/30/2002
  1. ;;2.0;CLINICAL REMINDERS;;Feb 04, 2005
  1. ;
  1. HELP(CALL) ;General help text routine
  1. N HTEXT
  1. N DIWF,DIWL,DIWR,IC
  1. S DIWF="C70",DIWL=0,DIWR=70
  1. ;
  1. I CALL=0 D
  1. .S HTEXT(1)="Individual Patient: Run a report against an individual patients."
  1. .S HTEXT(2)="Reminder Patient List: Run a report against a store patient list."
  1. .S HTEXT(3)="Location: Run a report for a single location or multiple locations."
  1. .S HTEXT(4)="OE/RR Team: Run a report against a OE/RR team"
  1. .S HTEXT(5)="PCMM Provider: Run a report for patient assigned to a PCMMprovider."
  1. .S HTEXT(6)="PCMM Team: Run a report against a PCMM Team."
  1. I CALL=1 D
  1. .S HTEXT(1)="Summary reports total the number of reminders applicable "
  1. .S HTEXT(2)="and due for the above patient samples."
  1. .S HTEXT(3)="Detailed reports list patients with reminders due in "
  1. .S HTEXT(4)="name order or by appointment date."
  1. I CALL=2 D
  1. .S HTEXT(1)="DETAILED reports list in alpha order patients in the"
  1. .S HTEXT(2)="selected patient sample with reminders due."
  1. .S HTEXT(3)="SUMMARY reports give totals of reminders due for the"
  1. .S HTEXT(4)="selected patient sample."
  1. I CALL=3 D
  1. .S HTEXT(1)="PREVIOUS will report on patients who visited the selected"
  1. .S HTEXT(2)="locations in the date range specified"
  1. .S HTEXT(3)="FUTURE will report on patients who have appointments at"
  1. .S HTEXT(4)="selected locations in the date range specified."
  1. I CALL=4 D
  1. .S HTEXT(1)="PRIMARY CARE ONLY excludes patients who are not assigned"
  1. .S HTEXT(2)="to the PCMM team as primary care. ALL displays all patients"
  1. .S HTEXT(3)="assigned to the provider in PCMM."
  1. I CALL=5 D
  1. .S HTEXT(1)="Selecting Y will display all future appointments for"
  1. .S HTEXT(2)="patients with reminders due. Selecting N will display"
  1. .S HTEXT(3)="for patients with due reminders only the next appointment"
  1. .I PXRMSEL="L" D
  1. ..S HTEXT(4)="AT THE SELECTED LOCATION"
  1. I CALL=6 D
  1. .S HTEXT(1)="Selecting Y will display patients with reminders in"
  1. .S HTEXT(2)="appointment date order. Selecting N will display patients"
  1. .S HTEXT(3)="with reminders in patient name order."
  1. I CALL=7 D
  1. .S HTEXT(1)="ADMISSIONS will report on inpatients admitted in the"
  1. .S HTEXT(2)="selected locations in the date range specified. "
  1. .S HTEXT(3)="CURRENT INPATIENTS will report on inpatients currently at"
  1. .S HTEXT(4)="selected locations."
  1. I CALL=8 D
  1. .S HTEXT(1)="Reports for ALL OUTPATIENT LOCATIONS, ALL INPATIENT LOCATIONS and ALL "
  1. .S HTEXT(2)="CLINIC STOPS produce a combined list of reminders due for"
  1. .S HTEXT(3)="for all locations in each facility selected."
  1. .S HTEXT(4)=""
  1. .S HTEXT(5)="Reports for SELECTED HOSPITAL LOCATIONS, SELECTED CLINIC STOPS and"
  1. .S HTEXT(6)="SELECTED CLINIC GROUPS list reminders due by location for "
  1. .S HTEXT(7)="each location selected."
  1. I CALL=9 D
  1. .I LIT="Facilities" D
  1. ..S HTEXT(1)="Selecting Y will display one report for all facilities combining"
  1. ..S HTEXT(2)="locations/teams with the same name. Selecting N will create a"
  1. ..S HTEXT(3)="separate report for each facility."
  1. .I LIT'="Facilities" D
  1. ..S HTEXT(1)="Selecting Y will display one report for all "_LIT_" selected."
  1. ..S HTEXT(2)="Selecting N will create a separate report for each "_LIT_"."
  1. I CALL=10 D
  1. .S HTEXT(1)="This option is only available if more than one location, team or provider is selected."
  1. .S HTEXT(2)="Selecting I prints only the individual reports. Selecting R prints"
  1. .S HTEXT(3)="the individual report plus overall totals for all locations, teams or providers."
  1. .S HTEXT(4)="Selecting T prints only the overall totals for all locations, teams or providers."
  1. I CALL=11 D
  1. .S HTEXT(1)="Selecting Y will display patients with reminders in ward/bed"
  1. .S HTEXT(2)="order. Selecting N will display patients with reminders in"
  1. .S HTEXT(3)="patient name order."
  1. I CALL=12 D
  1. .S HTEXT(1)="Selecting Y will display the full patient SSN. Selecting N"
  1. .S HTEXT(2)=" will display only the last 4 digits of the patient SSN."
  1. I CALL=13 D
  1. .S HTEXT(1)="Selecting Y will display the report as fields separated by"
  1. .S HTEXT(2)="a selected delimiter character. Headings are suppressed. This"
  1. .S HTEXT(3)="format of report is intended for import into PC spreadsheet (e.g. MS Excl)."
  1. .S HTEXT(4)="Selecting N will display the normal report with headings"
  1. I CALL=14 D
  1. .S HTEXT(1)="Select the character to be output as a delimiter in the report."
  1. I CALL=15 D
  1. .S HTEXT(1)="Selecting Y will display the clinic name for the appointment date/time"
  1. K ^UTILITY($J,"W")
  1. S IC=""
  1. F S IC=$O(HTEXT(IC)) Q:IC="" D
  1. . S X=HTEXT(IC)
  1. . D ^DIWP
  1. W !
  1. S IC=0
  1. F S IC=$O(^UTILITY($J,"W",0,IC)) Q:IC="" D
  1. . W !,^UTILITY($J,"W",0,IC,0)
  1. K ^UTILITY($J,"W")
  1. W !
  1. Q