Added type resolution for medical records
added ability to pull all patient names
added new javascript file to act as an integration layer with the php api