code: public static String escapeUrlParam(String theUnescaped) {
  		if (theUnescaped == null) {
  			return null;
  		}
  		return PARAMETER_ESCAPER.escape(theUnescaped);
  	}
docs: URL encode a value according to RFC 3986
  <p>
  This method is intended to be applied to an individual parameter
  name or value. For example, if you are creating the URL
  <code>http://example.com/fhir/Patient?key=føø</code>
  it would be appropriate to pass the string "føø" to this method,
  but not appropriate to pass the entire URL since characters
  such as "/" and "?" would also be escaped.
  </P>