#1005 - fix graphql processing issue
This commit is contained in:
parent
adfd0d26e6
commit
aaa53cdfb0
|
@ -587,7 +587,7 @@ public abstract class CanonicalResource extends DomainResource {
|
|||
// Manual code (from Configuration.txt):
|
||||
@Override
|
||||
public String toString() {
|
||||
return fhirType()+"["+getUrl()+"]";
|
||||
return fhirType()+"["+getUrl()+(hasVersion() ? "|"+getVersion(): "")+"]";
|
||||
}
|
||||
|
||||
public String present() {
|
||||
|
|
|
@ -697,7 +697,7 @@ public class GraphQLEngine implements IGraphQLEngine {
|
|||
Argument arg = new Argument();
|
||||
params.add(arg);
|
||||
arg.setName(getSingleValue(parg));
|
||||
arg.addValue(new StringValue(source.fhirType()+"/"+source.getId()));
|
||||
arg.addValue(new StringValue(source.fhirType()+"/"+source.getIdPart()));
|
||||
Bundle bnd = (Bundle) services.search(appInfo, field.getName().substring(0, field.getName().length()-10), params);
|
||||
Base bndWrapper = new SearchWrapper(field.getName(), bnd);
|
||||
arg = target.addField(field.getAlias()+suffix, listStatus(field, false));
|
||||
|
|
Loading…
Reference in New Issue