ORWPCE2 ; ISL/JM,RV,JER - wrap calls to PCE ;Jul 07, 2021@07:47:42
Source file <ORWPCE2.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| GETSET(ORWLST,ORWFILE,ORWFIELD,ORWNULL) | ;gets set of codes
; ORWLST(n)=code^text for code |
|
| IMMTYPE(ORWLST,ORDT) | ;get the list of active immunizations
|
|
| SKTYPE(ORWLST,ORDT) | ;get the list of active skin test
|
|
| EDTTYPE(ORWLST) | ;get the list of active education topics
|
|
| HFTYPE(ORWLST,ADDCATS) | ;get the list of active health factors
|
|
| EXAMTYPE(ORWLST) | ;get the list of active exams
|
|
| TRTTYPE(ORWLST) | ;get the list of active treatments
|
|
| ACTIVPRV(ORRETURN,ORWPROV,ORWDT) | ;get if provider is active or not
|
|
| GETVISIT(VISIT,IEN,DFN,VSITSTR) | ;Get the visit IEN
|
|
| GAFOK(ORY) | ; Returns true if all supporting MH GAF Code exists
|
|
| MHCLINIC(ORY,ORIEN) | ||
| LOADGAF(ORY,ORINPUT) | ; Retrieve GAF scores
|
|
| SAVEGAF(ORY,ORINPUT) | ; Save new GAF score
|
|
| FORCE(ORY,USER,LOC) | ; Retrieve FORCE GUI PCE Entry for a given User/Location
|
|
| HASCPT(ORY,ORLIST) | ||
| ASKPCE(ORY,USER,LOC) | ; Returns ORWPCE ASK ENCOUNTER UPDATE parameter value IA#4213
|
|
| GAFURL(URL) | ;Returns the MH GAF Web Page URL
|
|
| MHTESTOK(ORY) | ; Returns True if all supporting MH Test APIs exist
|
|
| MHATHRZD(ORY,TEST,USER) | ;Indicates that user can score test
|
|
| ANYTIME(ORY) | ;Returns status of the ORWPCE ANYTIME ENCOUNTERS parameter
|
|
| AUTOVSIT(ORY,LOC) | ; Returns TRUE if automatic selection of Visit Type
|
|
| DOCHKOUT(ORY,LOC) | ; Returns TRUE if automatic selection of Visit Type
|
|
| CHKOUT(LOC) | ; Returns TRUE if automatic selection of Visit Type
|
|
| EXCLUDED(ORY,LOC,TYPE) | ; Returns list of excluded PCE data elements
|
|
| ISCLINIC(ORY,ORLOC) | ; Returns TRUE if location is a clinic
|
|
| HNCOK(ORY) | ; Returns true if Head and/or Neck Cancer is enabled
|
|
| CODACTIV(ORY,ORCODE,ORAPP,ORDATE) | ||
| ICDACTIV(ORCODE,ORDATE) | ; Check for active ICD code
|
|
| CPTACTIV(ORCODE,ORDATE) | ; Check for active CPT code
|
|
| CXNOSHOW(ORY,ORDOCIEN) | ; Should workload requirement be skipped for this note's visit?
; RETURN VALUE: 0=SKIP ALL GUI WORKLOAD REQUIREMENTS ; 1=CONTINUE WITH OTHER GUI WORKLOAD LOGIC |
| RPC Name | Call Tags |
|---|---|
| ORWPCE GET SET OF CODES | GETSET |
| ORWPCE GET IMMUNIZATION TYPE | IMMTYPE |
| ORWPCE GET SKIN TEST TYPE | SKTYPE |
| ORWPCE GET EDUCATION TOPICS | EDTTYPE |
| ORWPCE GET HEALTH FACTORS TY | HFTYPE |
| ORWPCE GET EXAM TYPE | EXAMTYPE |
| ORWPCE GET TREATMENT TYPE | TRTTYPE |
| ORWPCE ACTIVE PROV | ACTIVPRV |
| ORWPCE GET VISIT | GETVISIT |
| ORWPCE MHCLINIC | MHCLINIC |
| ORWPCE GAFOK | GAFOK |
| ORWPCE LOADGAF | LOADGAF |
| ORWPCE SAVEGAF | SAVEGAF |
| ORWPCE FORCE | FORCE |
| ORWPCE HASCPT | HASCPT |
| ORWPCE ASKPCE | ASKPCE |
| ORWPCE GAFURL | GAFURL |
| ORWPCE MHTESTOK | MHTESTOK |
| ORWPCE MH TEST AUTHORIZED | MHATHRZD |
| ORWPCE ANYTIME | ANYTIME |
| ORWPCE AUTO VISIT TYPE SELECT | AUTOVSIT |
| ORWPCE ALWAYS CHECKOUT | DOCHKOUT |
| ORWPCE GET EXCLUDED | EXCLUDED |
| ORWPCE ISCLINIC | ISCLINIC |
| ORWPCE HNCOK | HNCOK |
| ORWPCE ACTIVE CODE | CODACTIV |
| ORWPCE CXNOSHOW | CXNOSHOW |
| FileNo | Call Tags |
|---|---|
| ^SC - [#44] | GET1^DIQ |
| ^PXD(811.1 - [#811.1] | FIND1^DIC, GET1^DIQ |