Merge pull request #119 from ahdis/oliveregger_fmlreference
FHIR Mapping Language reference function should return string
This commit is contained in:
commit
cfe7d0aaf6
|
@ -1922,7 +1922,7 @@ public class StructureMapUtilities {
|
||||||
id = UUID.randomUUID().toString().toLowerCase();
|
id = UUID.randomUUID().toString().toLowerCase();
|
||||||
b.setIdBase(id);
|
b.setIdBase(id);
|
||||||
}
|
}
|
||||||
return new Reference().setReference(b.fhirType()+"/"+id);
|
return new StringType(b.fhirType()+"/"+id);
|
||||||
}
|
}
|
||||||
case DATEOP :
|
case DATEOP :
|
||||||
throw new Error("Rule \""+ruleId+"\": Transform "+tgt.getTransform().toCode()+" not supported yet");
|
throw new Error("Rule \""+ruleId+"\": Transform "+tgt.getTransform().toCode()+" not supported yet");
|
||||||
|
|
Loading…
Reference in New Issue