Correctly return profile

This commit is contained in:
jamesagnew 2015-12-09 07:07:05 -05:00
parent 83b664e55b
commit ea89f3af28
3 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ public class ServerProfileProvider implements IResourceProvider {
@Read()
public StructureDefinition getProfileById(HttpServletRequest theRequest, @IdParam IdDt theId) {
RuntimeResourceDefinition retVal = myContext.getResourceDefinitionById(theId.getValue());
RuntimeResourceDefinition retVal = myContext.getResourceDefinitionById(theId.getIdPart());
if (retVal==null) {
return null;
}

View File

@ -55,7 +55,7 @@ public class ServerProfileProvider implements IResourceProvider {
@Read()
public StructureDefinition getProfileById(HttpServletRequest theRequest, @IdParam IdDt theId) {
RuntimeResourceDefinition retVal = myContext.getResourceDefinitionById(theId.getValue());
RuntimeResourceDefinition retVal = myContext.getResourceDefinitionById(theId.getIdPart());
if (retVal==null) {
return null;
}

View File

@ -56,7 +56,7 @@ public class ServerProfileProvider implements IResourceProvider {
@Read()
public StructureDefinition getProfileById(HttpServletRequest theRequest, @IdParam IdDt theId) {
RuntimeResourceDefinition retVal = myContext.getResourceDefinitionById(theId.getValue());
RuntimeResourceDefinition retVal = myContext.getResourceDefinitionById(theId.getIdPart());
if (retVal==null) {
return null;
}