Added support for medical record searches, only doing by mrid and pid