fix type of extension
This commit is contained in:
parent
19760bcaf2
commit
037f74964e
|
@ -2350,7 +2350,7 @@ public class ImplementationGuide40_50 {
|
||||||
tgt.addParameter(convertImplementationGuideDefinitionParameterComponent(t));
|
tgt.addParameter(convertImplementationGuideDefinitionParameterComponent(t));
|
||||||
} else {
|
} else {
|
||||||
org.hl7.fhir.r4.model.Extension e = new org.hl7.fhir.r4.model.Extension(EXT_IG_DEFINITION_PARAMETER);
|
org.hl7.fhir.r4.model.Extension e = new org.hl7.fhir.r4.model.Extension(EXT_IG_DEFINITION_PARAMETER);
|
||||||
org.hl7.fhir.r4.model.Extension eCode = new org.hl7.fhir.r4.model.Extension("code", new org.hl7.fhir.r4.model.StringType(t.getCode().getCode()));
|
org.hl7.fhir.r4.model.Extension eCode = new org.hl7.fhir.r4.model.Extension("code", new org.hl7.fhir.r4.model.CodeType(t.getCode().getCode()));
|
||||||
org.hl7.fhir.r4.model.Extension eValue = new org.hl7.fhir.r4.model.Extension("value", new org.hl7.fhir.r4.model.StringType(t.getValue()));
|
org.hl7.fhir.r4.model.Extension eValue = new org.hl7.fhir.r4.model.Extension("value", new org.hl7.fhir.r4.model.StringType(t.getValue()));
|
||||||
e.addExtension(eCode);
|
e.addExtension(eCode);
|
||||||
e.addExtension(eValue);
|
e.addExtension(eValue);
|
||||||
|
|
|
@ -2344,7 +2344,7 @@ public class ImplementationGuide43_50 {
|
||||||
tgt.addParameter(convertImplementationGuideDefinitionParameterComponent(t));
|
tgt.addParameter(convertImplementationGuideDefinitionParameterComponent(t));
|
||||||
else {
|
else {
|
||||||
org.hl7.fhir.r4b.model.Extension e = new org.hl7.fhir.r4b.model.Extension(EXT_IG_DEFINITION_PARAMETER);
|
org.hl7.fhir.r4b.model.Extension e = new org.hl7.fhir.r4b.model.Extension(EXT_IG_DEFINITION_PARAMETER);
|
||||||
org.hl7.fhir.r4b.model.Extension eCode = new org.hl7.fhir.r4b.model.Extension("code", new org.hl7.fhir.r4b.model.StringType(t.getCode().getCode()));
|
org.hl7.fhir.r4b.model.Extension eCode = new org.hl7.fhir.r4b.model.Extension("code", new org.hl7.fhir.r4b.model.CodeType(t.getCode().getCode()));
|
||||||
org.hl7.fhir.r4b.model.Extension eValue = new org.hl7.fhir.r4b.model.Extension("value", new org.hl7.fhir.r4b.model.StringType(t.getValue()));
|
org.hl7.fhir.r4b.model.Extension eValue = new org.hl7.fhir.r4b.model.Extension("value", new org.hl7.fhir.r4b.model.StringType(t.getValue()));
|
||||||
e.addExtension(eCode);
|
e.addExtension(eCode);
|
||||||
e.addExtension(eValue);
|
e.addExtension(eValue);
|
||||||
|
|
Loading…
Reference in New Issue