Why did my doctor order a hepatitis profile?

Many reasons. Many different reasons. If your liver tests are abnormal, hepatitis testing is common. If you have risk factors then one may want to screen. If you have certain co-morbidities such as diabetes then it is also wise to check.