private void checkRange(List<ValidationMessage> errors, String path, WrapperElement focus, Range fixed) { checkFixedValue(errors, path + ".low", focus.getNamedChild("low"), fixed.getLow(), "low"); checkFixedValue(errors, path + ".high", focus.getNamedChild("high"), fixed.getHigh(), "high"); }
public org.hl7.fhir.r4.model.Range convertRange(org.hl7.fhir.instance.model.Range src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.r4.model.Range tgt = new org.hl7.fhir.r4.model.Range(); copyElement(src, tgt); tgt.setLow(convertSimpleQuantity(src.getLow())); tgt.setHigh(convertSimpleQuantity(src.getHigh())); return tgt; }
public org.hl7.fhir.dstu3.model.Range convertRange(org.hl7.fhir.instance.model.Range src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.Range tgt = new org.hl7.fhir.dstu3.model.Range(); copyElement(src, tgt); tgt.setLow(convertSimpleQuantity(src.getLow())); tgt.setHigh(convertSimpleQuantity(src.getHigh())); return tgt; }
private void checkRange(List<ValidationMessage> errors, String path, WrapperElement focus, Range fixed) { checkFixedValue(errors, path + ".low", focus.getNamedChild("low"), fixed.getLow(), "low"); checkFixedValue(errors, path + ".high", focus.getNamedChild("high"), fixed.getHigh(), "high"); }
public org.hl7.fhir.dstu3.model.Range convertRange(org.hl7.fhir.instance.model.Range src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.Range tgt = new org.hl7.fhir.dstu3.model.Range(); copyElement(src, tgt); tgt.setLow(convertSimpleQuantity(src.getLow())); tgt.setHigh(convertSimpleQuantity(src.getHigh())); return tgt; }
public org.hl7.fhir.r4.model.Range convertRange(org.hl7.fhir.instance.model.Range src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.r4.model.Range tgt = new org.hl7.fhir.r4.model.Range(); copyElement(src, tgt); tgt.setLow(convertSimpleQuantity(src.getLow())); tgt.setHigh(convertSimpleQuantity(src.getHigh())); return tgt; }