public org.hl7.fhir.instance.model.Ratio convertRatio(org.hl7.fhir.dstu3.model.Ratio src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.Ratio tgt = new org.hl7.fhir.instance.model.Ratio(); copyElement(src, tgt); tgt.setNumerator(convertQuantity(src.getNumerator())); tgt.setDenominator(convertQuantity(src.getDenominator())); return tgt; }
public org.hl7.fhir.instance.model.Ratio convertRatio(org.hl7.fhir.r4.model.Ratio src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.Ratio tgt = new org.hl7.fhir.instance.model.Ratio(); copyElement(src, tgt); tgt.setNumerator(convertQuantity(src.getNumerator())); tgt.setDenominator(convertQuantity(src.getDenominator())); return tgt; }
public org.hl7.fhir.instance.model.Ratio convertRatio(org.hl7.fhir.dstu3.model.Ratio src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.Ratio tgt = new org.hl7.fhir.instance.model.Ratio(); copyElement(src, tgt); tgt.setNumerator(convertQuantity(src.getNumerator())); tgt.setDenominator(convertQuantity(src.getDenominator())); return tgt; }
public org.hl7.fhir.instance.model.Ratio convertRatio(org.hl7.fhir.r4.model.Ratio src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.Ratio tgt = new org.hl7.fhir.instance.model.Ratio(); copyElement(src, tgt); tgt.setNumerator(convertQuantity(src.getNumerator())); tgt.setDenominator(convertQuantity(src.getDenominator())); return tgt; }