OptiRec Engine

Scalability

Given that multiple application, database and web portal servers can run in parallel you can scale the application to any level desired. We are strong believers that boosting existing hardware will not necessary make an application reliable and provide High Availability. Having multiple systems serving the same purpose and spreading the load and data across multiple geographical locations will protect your business information in the long run.

Fault Tolerance

While the Engine may very well work as a single instance, our recommendation is to distribute the data and load across multiple machines located in different geographical locations. This provides fault tolerance and protects for data loss. The database storage platform supports native replication, so the purpose of Disaster Recovery is already embedded with no need for additional replication solutions.

Open Standard

All data stored by OptiRec is easily accessible via REST JSON formatted requests. This makes it easy for in-house developers to add additional modules, develop custom applications and screens on existing infrastructure.

Sample query validation request

{   
  "AuthHeader": 
  { 
    "AuthKey": "00000000-­‐aaaa-­‐2222-­‐bbbb-­‐34567890cdef",   
    "Auth_UName": "apiuser",    
    "Auth_UPass": "*******",  
    "Auth_UToken": ""    
  },    
  "method": "query_validation",   
  "request":    
  { 
    "emr_id": "emr01",  
    "query_params": {},   
    "query_statement": "SELECT * FROM TABLENAME"    
  } 
}

Sample query validation response

{
    "AuthHeader": {
        "AuthKey": "00000000-aaaa-2222-bbbb-34567890cdef", 
        "Auth_UName": "apiuser", 
        "Auth_UPass": "d231bdd3e009690bbafac9146788be31", 
        "Auth_UToken": "1279bdd0-d827-11e4-8d1a-c35bb6b29756"
    }, 
    "error_code": "", 
    "error_message": "", 
    "method": "query_validation", 
    "response": {
        "record_count": 2, 
        "results": {
            "1": [
                {
                    "param_name": "first_name", 
                    "param_value": "JOHN"
                }, 
                {
                    "param_name": "last_name", 
                    "param_value": "DOE"
                }, 
                {
                    "param_name": "medrec_id", 
                    "param_value": "000000000001"
                }
            ], 
            "2": [
                {
                    "param_name": "first_name", 
                    "param_value": "JANE"
                }, 
                {
                    "param_name": "last_name", 
                    "param_value": "DOE"
                }, 
                {
                    "param_name": "medrec_id", 
                    "param_value": "000000000002"
                }
            ]
        }
    }
}