diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/VersionConvertor_10_30.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/VersionConvertor_10_30.java index e5a15c02a..7a8875b7c 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/VersionConvertor_10_30.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/VersionConvertor_10_30.java @@ -3150,6 +3150,8 @@ public class VersionConvertor_10_30 { return Medication10_30.convertMedication((org.hl7.fhir.dstu2.model.Medication) src); if (src instanceof org.hl7.fhir.dstu2.model.MedicationDispense) return MedicationDispense10_30.convertMedicationDispense((org.hl7.fhir.dstu2.model.MedicationDispense) src); + if (src instanceof org.hl7.fhir.dstu2.model.MedicationOrder) + return MedicationRequest10_30.convertMedicationOrder((org.hl7.fhir.dstu2.model.MedicationOrder)src); if (src instanceof org.hl7.fhir.dstu2.model.MedicationStatement) return MedicationStatement10_30.convertMedicationStatement((org.hl7.fhir.dstu2.model.MedicationStatement) src); if (src instanceof org.hl7.fhir.dstu2.model.MessageHeader) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_30/MedicationRequest10_30.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_30/MedicationRequest10_30.java index 4ce31a67b..042b2e886 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_30/MedicationRequest10_30.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv10_30/MedicationRequest10_30.java @@ -10,7 +10,7 @@ import org.hl7.fhir.exceptions.FHIRException; import java.util.List; public class MedicationRequest10_30 { - public static org.hl7.fhir.dstu3.model.MedicationRequest convertMedicationDispense(org.hl7.fhir.dstu2.model.MedicationOrder src) throws FHIRException { + public static org.hl7.fhir.dstu3.model.MedicationRequest convertMedicationOrder(org.hl7.fhir.dstu2.model.MedicationOrder src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.MedicationRequest tgt = new org.hl7.fhir.dstu3.model.MedicationRequest();