typo
This commit is contained in:
parent
afc79ad74d
commit
93a09941dc
|
@ -1421,7 +1421,7 @@ public class VersionConvertor_30_40 {
|
||||||
if (src.hasDoseAndRate() && src.getDoseAndRate().get(0).hasDose()) {
|
if (src.hasDoseAndRate() && src.getDoseAndRate().get(0).hasDose()) {
|
||||||
// We need to manually make sure that the convertSimpleQuantity method is
|
// We need to manually make sure that the convertSimpleQuantity method is
|
||||||
// called. Otherwise (if we would simply forward to the convertType method), this would lead
|
// called. Otherwise (if we would simply forward to the convertType method), this would lead
|
||||||
// to a conversion to another Quantity object, that would be invalid for the DSTU3 Dosage resource.
|
// to a conversion to another Quantity object, that would be invalid for the DSTU3 Dosage resource.
|
||||||
if (src.getDoseAndRate().get(0).getDose() instanceof org.hl7.fhir.r4.model.Quantity) {
|
if (src.getDoseAndRate().get(0).getDose() instanceof org.hl7.fhir.r4.model.Quantity) {
|
||||||
tgt.setDose(convertSimpleQuantity((org.hl7.fhir.r4.model.Quantity) src.getDoseAndRate().get(0).getDose()));
|
tgt.setDose(convertSimpleQuantity((org.hl7.fhir.r4.model.Quantity) src.getDoseAndRate().get(0).getDose()));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue