mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-10 14:54:46 +00:00
fix bug in Publisher where examples with profiles aren't properly interpreted as examples in R5
This commit is contained in:
parent
48023c0ba4
commit
7fb2b1ea00
@ -318,8 +318,10 @@ public class ImplementationGuide40_50 {
|
|||||||
tgt.setDescriptionElement(String40_50.convertStringToMarkdown(src.getDescriptionElement()));
|
tgt.setDescriptionElement(String40_50.convertStringToMarkdown(src.getDescriptionElement()));
|
||||||
if (src.hasExampleBooleanType())
|
if (src.hasExampleBooleanType())
|
||||||
tgt.setIsExampleElement(Boolean40_50.convertBoolean(src.getExampleBooleanType()));
|
tgt.setIsExampleElement(Boolean40_50.convertBoolean(src.getExampleBooleanType()));
|
||||||
if (src.hasExampleCanonicalType())
|
if (src.hasExampleCanonicalType()) {
|
||||||
|
tgt.setIsExample(true);
|
||||||
tgt.getProfile().add(Canonical40_50.convertCanonical(src.getExampleCanonicalType()));
|
tgt.getProfile().add(Canonical40_50.convertCanonical(src.getExampleCanonicalType()));
|
||||||
|
}
|
||||||
if (src.hasGroupingId())
|
if (src.hasGroupingId())
|
||||||
tgt.setGroupingIdElement(Id40_50.convertId(src.getGroupingIdElement()));
|
tgt.setGroupingIdElement(Id40_50.convertId(src.getGroupingIdElement()));
|
||||||
return tgt;
|
return tgt;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user