On your 1st question, when you say you need to be "able to pull in the patient ids", could you be specific as to exactly what patient ids to which you refer?

Could you give a little detail on your 2nd question as to why you need to access the edge gateways?  Is there information you are looking for that is not contained in Health Insight?