public org.hl7.fhir.instance.model.Range convertRange(org.hl7.fhir.r4.model.Range src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.Range tgt = new org.hl7.fhir.instance.model.Range(); copyElement(src, tgt); tgt.setLow(convertSimpleQuantity(src.getLow())); tgt.setHigh(convertSimpleQuantity(src.getHigh())); return tgt; }
public org.hl7.fhir.instance.model.Range convertRange(org.hl7.fhir.dstu3.model.Range src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.Range tgt = new org.hl7.fhir.instance.model.Range(); copyElement(src, tgt); tgt.setLow(convertSimpleQuantity(src.getLow())); tgt.setHigh(convertSimpleQuantity(src.getHigh())); return tgt; }
public org.hl7.fhir.instance.model.Range convertRange(org.hl7.fhir.dstu3.model.Range src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.Range tgt = new org.hl7.fhir.instance.model.Range(); copyElement(src, tgt); tgt.setLow(convertSimpleQuantity(src.getLow())); tgt.setHigh(convertSimpleQuantity(src.getHigh())); return tgt; }
public org.hl7.fhir.instance.model.Range convertRange(org.hl7.fhir.r4.model.Range src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.Range tgt = new org.hl7.fhir.instance.model.Range(); copyElement(src, tgt); tgt.setLow(convertSimpleQuantity(src.getLow())); tgt.setHigh(convertSimpleQuantity(src.getHigh())); return tgt; }