Merge pull request #119 from ahdis/oliveregger_fmlreference

FHIR Mapping Language reference function should return string
This commit is contained in:
Grahame Grieve 2020-01-11 05:59:16 +11:00 committed by GitHub
commit cfe7d0aaf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1922,7 +1922,7 @@ public class StructureMapUtilities {
id = UUID.randomUUID().toString().toLowerCase();
b.setIdBase(id);
}
return new Reference().setReference(b.fhirType()+"/"+id);
return new StringType(b.fhirType()+"/"+id);
}
case DATEOP :
throw new Error("Rule \""+ruleId+"\": Transform "+tgt.getTransform().toCode()+" not supported yet");