VIAB BMS (3690)    REMOTE PROCEDURE (8994)

Name Value
NAME VIAB BMS
TAG EN
ROUTINE VIABMS
RETURN VALUE TYPE ARRAY
AVAILABILITY SUBSCRIPTION
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC is in support of the Bed Management System (BMS). It reads the
parameter "Path" and determines from it what data to return.  All BMS
requests are handled by this RPC.
INPUT PARAMETER
  1. INPUT PARAMETER:   VIA
    PARAMETER TYPE:   LIST
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The "PATH" parameter dictates what additional parameters should be passed
          VIA("PATH")="LISTADMITTEDPATIENTS"
          VIA("TO")=192210
     
          VIA("PATH")="LISTHOSPITALLOCATIONS"
     
          VIA("PATH")="LISTPATIENTAPPOINTMENT"
          VIA("IENS")=",7208163,"
          VIA("CLNIEN")=1690
          VIA("SDATE")=3101206
          VIA("EDATE")=3110429.1101
    in. Examples of input parameters passed to the RPC.
     
          VIA("PATH")="LISTROOMBED"
          VIA("FROM")=100
          VIA("MAX")=44
          VIA("PATH")="GETPATIENT"
          VIA("IENS")="7173105,"
     
          VIA("PATH")="LISTPATIENT"
          VIA("SDATE")=3010524
          VIA("EDATE")=3010524
     
    
  2. INPUT PARAMETER:   LIST ATTRIBUTES
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   512
    REQUIRED:   YES
RETURN PARAMETER DESCRIPTION
The RPC returns the output in a one dimensional array RESULT.
     RESULT(7)="36^BLIND REHAB OBSERVATION^BLIND REHAB OBSERVATION"
     RESULT(8)="13^CARDIAC INTENSIVE CARE UNIT^CARDIAC INTENSIVE CARE
               UNIT"
     RESULT(9)="48^CARDIAC SURGERY^CARDIAC SURGERY"
     RESULT(10)="16^CARDIAC-STEP DOWN UNIT^CARDIAC-STEP DOWN UNIT"
 
or;
     RESULT(1)="[Misc]"
     RESULT(2)="MORE^ZZCHY DERMATOLOGY II^"
     RESULT(3)="[Data]"
     RESULT(1)="[Data]"
     RESULT(4)="75^A MEDICINE^A M^248^1"
     RESULT(5)="695^ADJUDICATION^^^"
     RESULT(6)="93^ADMISSION MED^ADM MED^^"
     RESULT(7)="212^ADMISSIONS^ADMISS^^"
     RESULT(8)="101^ADMIT^ADMIT^^"
     RESULT(9)="374^ADMITTING POD^ADMIT P^^"
     RESULT(10)="518^AMERICAN LEGION^AL^^"
     RESULT(11)="221^BASE HOSPITAL^WAFB H^^"
     RESULT(12)="508^BLOOD BANK^BB^^"
     RESULT(13)="77^C MEDICINE^C M^246^3"
     RESULT(2)="70^ACUTE PSYCHIATRY (<45 DAYS)^ACUTE PSYCHIATRY (<45
     RESULT(14)="78^C PSYCHIATRY^A P^^8"
     RESULT(15)="80^C SURGERY^C S^^5"
               DAYS)"
     RESULT(3)="72^ALCOHOL DEPENDENCE TRMT UNIT^ALCOHOL DEPENDENCE TRMT
               UNIT"
     RESULT(4)="1^ALLERGY^ALLERGY"
     RESULT(5)="78^ANESTHESIOLOGY^ANESTHESIOLOGY"
     RESULT(6)="21^BLIND REHAB^BLIND REHAB"