public static String createUserAgentString(FhirContext theContext, String theClientType) {
StringBuilder b = new StringBuilder();
b.append("HAPI-FHIR/");
b.append(VersionUtil.getVersion());
b.append(" (FHIR Client; FHIR ");
<BUG>b.append(theContext.getVersion().getVersion().getFhirVersionString());
b.append('/');</BUG>
b.append(theContext.getVersion().getVersion().name());
b.append("; ");
b.append(theClientType);

public static String createUserAgentString(FhirContext theContext, String theClientType) {
StringBuilder b = new StringBuilder();
b.append("HAPI-FHIR/");
b.append(VersionUtil.getVersion());
b.append(" (FHIR Client; FHIR ");
b.append(theContext.getVersion().getVersionString());
b.append('/');
b.append(theContext.getVersion().getVersion().name());
b.append("; ");
b.append(theClientType);
