A joint venture is building new medical office space at what was slated to be a standalone retail building in Gloucester County, citing tremendous demand from area health care users.