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

ORWOTHER.m

Go to the documentation of this file.
  1. ORWOTHER ;SLC/AGP - Other Information Panel RPC ;06/03/2020
  1. ;;3.0;ORDER ENTRY/RESULTS REPORTING;**485,377,531**;Dec 17, 1997;Build 17
  1. ;
  1. ;
  1. ; Reference to ^PXRMCOVID19 supported by ICR #7146
  1. ;
  1. ;
  1. SHWOTHER(RESULT,USER) ;
  1. I $$PATCH^XPDUTL("OR*3.0*377") D Q
  1. .S RESULT("otherInfromationPanel","turnedOn")=+$$GET^XPAR("ALL","OR OTHER INFO ON",1,"I")
  1. .S RESULT("otherInfromationPanel","useColor")=+$$GET^XPAR("ALL","OR OTHER INFO USE COLOR",1,"I")
  1. .S RESULT("otherInfromationPanel","reportBoxOn")=+$$GET^XPAR("ALL","OR TURNED ON REPORT BOX",1,"I")
  1. S RESULT=+$$GET^XPAR("ALL","OR OTHER INFO ON",1,"I")
  1. S RESULT=RESULT_U_+$$GET^XPAR("ALL","OR OTHER INFO USE COLOR",1,"I")
  1. S RESULT=RESULT_U_+$$GET^XPAR("ALL","OR TURNED ON REPORT BOX",1,"I")
  1. Q
  1. ;
  1. DETAIL(RESULT,DFN,TYPE) ;
  1. N RIEN,SUB,TEMP
  1. S SUB="ORWOTHER DETAILS"
  1. K ^TMP(SUB,$J)
  1. S RESULT=$NA(^TMP(SUB,$J))
  1. S RIEN=+$$GET^XPAR("ALL","OR OTHER INFO REMINDER",1,"I")
  1. ;
  1. I RIEN=0 S ^TMP(SUB,$J,1,0)="No Reminder definition is defined" Q
  1. I TYPE<1 S ^TMP(SUB,$J,1,0)="No identifer defined" Q
  1. I DFN<1 S ^TMP(SUB,$J,1,0)="Non-existent patient" Q
  1. I '$D(^DPT(DFN)) S ^TMP(SUB,$J,1,0)="Non-existent patient" Q
  1. S TEMP=$$CLICKTEXT^PXRMCOVID19(SUB,RIEN,DFN,TYPE)
  1. I TEMP'=1 S ^TMP(SUB,$J,1,0)=$P(TEMP,U,2) Q
  1. Q
  1. ;