add to version converter 10 30
This commit is contained in:
parent
073a12f24e
commit
75e684dbc1
|
@ -3150,6 +3150,8 @@ public class VersionConvertor_10_30 {
|
||||||
return Medication10_30.convertMedication((org.hl7.fhir.dstu2.model.Medication) src);
|
return Medication10_30.convertMedication((org.hl7.fhir.dstu2.model.Medication) src);
|
||||||
if (src instanceof org.hl7.fhir.dstu2.model.MedicationDispense)
|
if (src instanceof org.hl7.fhir.dstu2.model.MedicationDispense)
|
||||||
return MedicationDispense10_30.convertMedicationDispense((org.hl7.fhir.dstu2.model.MedicationDispense) src);
|
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)
|
if (src instanceof org.hl7.fhir.dstu2.model.MedicationStatement)
|
||||||
return MedicationStatement10_30.convertMedicationStatement((org.hl7.fhir.dstu2.model.MedicationStatement) src);
|
return MedicationStatement10_30.convertMedicationStatement((org.hl7.fhir.dstu2.model.MedicationStatement) src);
|
||||||
if (src instanceof org.hl7.fhir.dstu2.model.MessageHeader)
|
if (src instanceof org.hl7.fhir.dstu2.model.MessageHeader)
|
||||||
|
|
|
@ -10,7 +10,7 @@ import org.hl7.fhir.exceptions.FHIRException;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class MedicationRequest10_30 {
|
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())
|
if (src == null || src.isEmpty())
|
||||||
return null;
|
return null;
|
||||||
org.hl7.fhir.dstu3.model.MedicationRequest tgt = new org.hl7.fhir.dstu3.model.MedicationRequest();
|
org.hl7.fhir.dstu3.model.MedicationRequest tgt = new org.hl7.fhir.dstu3.model.MedicationRequest();
|
||||||
|
|
Loading…
Reference in New Issue