ORIRPC GETPANELS (5173)    REMOTE PROCEDURE (8994)

Name Value
NAME ORIRPC GETPANELS
TAG GETPANELS
ROUTINE ORIRPC
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY AGREEMENT
WORD WRAP ON FALSE
DESCRIPTION
This RPC is called when a patient is selected. It will evaluate the 
patient against the Information Panel definition and return the final 
evaluation results. The response will include information on where and 
how the Information Panel should be displayed, as well as which InfoPanel 
buttons are shown for the patient.
INPUT PARAMETER
  • IJSON
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The RPC accepts a JSON packet as input:
     {
        "patientId": "100281",
        "package": "ORDER ENTRY/RESULTS REPORTING"
     }
      
    patientId: is the patient DFN from file 2.  
    package: is the name of the package calling the RPC. This is the .01 from 
    file #9.4.
    
RETURN PARAMETER DESCRIPTION
The return value is in a JSON format describing the different action, 
            "disabled": false,
            "displayText": "COVID STATUS UNKNOWN",
            "id": 1,
            "name": "COVID PANEL",
            "popOut": false,
            "requiredData": [
                {
                    "dataName": "dataEncounterProvider",
                    "required": true,
                    "returnData": [
display values, for each panel on a pane.
                        {
                            "dataName": "id",
                            "required": "optional"
                        },
                        {
                            "dataName": "name",
                            "required": "optional"
                        }
                    ]
                },
 
                {
                    "dataName": "dataUserInformation",
                    "required": false,
                    "returnData": [
                        {
                            "dataName": "id",
                            "required": "optional"
                        },
                        {
                            "dataName": "name",
{
                            "required": "optional"
                        }
                    ]
                }
            ],
            "sectionId": 1,
            "sectionName": "ALL TABS"
        }
    ],
    "section": [
    "infoPanel": [
        {
            "displayText": "",
            "id": 1,
            "isNational": true,
            "name": "ALL TABS",
            "tab": "ALL"
        }
    ]
}
        {
            "abbreviation": "COVID",
            "action": "actShowDetail",
            "color": "clYellow",