First, look at this screenshot:

I would like to call .get("p" + number) on this, but however I try to do this I get undefined or this:
Global.refPatients["_object"].get(p151833309)
Uncaught TypeError: Global.refPatients._object.get is not a function
    at <anonymous>:2:31
    at Object.InjectedScript._evaluateOn (<anonymous>:895:140)
    at Object.InjectedScript._evaluateAndWrap (<anonymous>:828:34)
    at Object.InjectedScript.evaluate (<anonymous>:694:21)
 
     
    