private void writeOptionalTagWithTextNode(JsonLikeWriter theEventWriter, String theElementName, IPrimitiveDatatype<?> thePrimitive) throws IOException { if (thePrimitive == null) { return; } String str = thePrimitive.getValueAsString(); writeOptionalTagWithTextNode(theEventWriter, theElementName, str); }
if (nextValue.isEmpty()) { continue; systems.add(null); codes.add(nextValue.getValueAsString()); } else if (nextObject instanceof CodingDt) { CodingDt nextValue = (CodingDt) nextObject;
throw new FHIRException("Extension could not be converted to a string"); return ((IPrimitiveDatatype<?>) extensions.get(0).getValue()).getValueAsString();
String searchTerm = nextValue.getValueAsString(); addSearchTerm(theEntity, retVal, nextSpName, searchTerm); } else {
rawSearchTerm = id.getValueAsString(); } else { throw new IllegalArgumentException("Invalid token type: " + theParameter.getClass());
private void writeOptionalTagWithTextNode(JsonLikeWriter theEventWriter, String theElementName, IPrimitiveDatatype<?> thePrimitive) throws IOException { if (thePrimitive == null) { return; } String str = thePrimitive.getValueAsString(); writeOptionalTagWithTextNode(theEventWriter, theElementName, str); }
for (ExtensionDt uriExtensionDt : urisExtensions) { if (uriExtensionDt.getUrl().equalsIgnoreCase("authorize")) { authEndpoint = uriExtensionDt.getValueAsPrimitive().getValueAsString(); } else if (uriExtensionDt.getUrl().equalsIgnoreCase("token")) { tokenEndpoint = uriExtensionDt.getValueAsPrimitive().getValueAsString(); userInfoEndpoint = tokenEndpoint.replaceFirst("token", "userinfo");
for (ExtensionDt uriExtensionDt : urisExtensions) { if (uriExtensionDt.getUrl().equalsIgnoreCase("authorize")){ authEndpoint = uriExtensionDt.getValueAsPrimitive().getValueAsString(); tokenEndpoint = uriExtensionDt.getValueAsPrimitive().getValueAsString(); userInfoEndpoint = tokenEndpoint.replaceFirst("token", "userinfo");
rawSearchTerm = id.getValueAsString(); } else { throw new IllegalArgumentException("Invalid token type: " + theParameter.getClass());