diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_40/resources30_40/Resource30_40.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_40/resources30_40/Resource30_40.java index fa5bff70c..f9e777512 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_40/resources30_40/Resource30_40.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_40/resources30_40/Resource30_40.java @@ -216,9 +216,10 @@ public class Resource30_40 { public org.hl7.fhir.dstu3.model.Resource convertResource(org.hl7.fhir.r4.model.Resource src, BaseAdvisor_30_40 advisor) throws FHIRException { if (src == null) return null; if (src instanceof org.hl7.fhir.r4.model.Parameters) { - if (((org.hl7.fhir.r4.model.Parameters) src).hasParameterValue("profile-url")) - return ExpansionProfile30_40.convertExpansionProfile((org.hl7.fhir.r4.model.Parameters) src); - else return Parameters30_40.convertParameters((org.hl7.fhir.r4.model.Parameters) src); +// if (((org.hl7.fhir.r4.model.Parameters) src).hasParameterValue("profile-url")) +// return ExpansionProfile30_40.convertExpansionProfile((org.hl7.fhir.r4.model.Parameters) src); +// else + return Parameters30_40.convertParameters((org.hl7.fhir.r4.model.Parameters) src); } if (src instanceof org.hl7.fhir.r4.model.Account) return Account30_40.convertAccount((org.hl7.fhir.r4.model.Account) src); diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/Resource30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/Resource30_50.java index 168c184d8..fc8917bd5 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/Resource30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/Resource30_50.java @@ -292,9 +292,10 @@ public class Resource30_50 { public org.hl7.fhir.dstu3.model.Resource convertResource(org.hl7.fhir.r5.model.Resource src) throws FHIRException { if (src == null) return null; if (src instanceof org.hl7.fhir.r5.model.Parameters) { - if (((org.hl7.fhir.r5.model.Parameters) src).hasParameterValue("profile-url")) - return ExpansionProfile30_50.convertExpansionProfile((org.hl7.fhir.r5.model.Parameters) src); - else return Parameters30_50.convertParameters((org.hl7.fhir.r5.model.Parameters) src); +// if (((org.hl7.fhir.r5.model.Parameters) src).hasParameterValue("profile-url")) +// return ExpansionProfile30_50.convertExpansionProfile((org.hl7.fhir.r5.model.Parameters) src); +// else + return Parameters30_50.convertParameters((org.hl7.fhir.r5.model.Parameters) src); } if (src instanceof org.hl7.fhir.r5.model.ActivityDefinition) return ActivityDefinition30_50.convertActivityDefinition((org.hl7.fhir.r5.model.ActivityDefinition) src);